#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for TiMidity++ current.
+# Generated by GNU Autoconf 2.59 for TiMidity++ 2.14.0.
#
-# Report bugs to <root@mput.dip.jp>.
+# Report bugs to <timidity-talk@lists.sourceforge.net>.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# Identity of this package.
PACKAGE_NAME='TiMidity++'
PACKAGE_TARNAME='TiMidity++'
-PACKAGE_VERSION='current'
-PACKAGE_STRING='TiMidity++ current'
-PACKAGE_BUGREPORT='root@mput.dip.jp'
+PACKAGE_VERSION='2.14.0'
+PACKAGE_STRING='TiMidity++ 2.14.0'
+PACKAGE_BUGREPORT='timidity-talk@lists.sourceforge.net'
ac_unique_file="timidity/timidity.c"
# Factoring default headers for most tests.
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT EMACS lispdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB LN_S X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBOBJS NEEDGETOPT_TRUE NEEDGETOPT_FALSE ALSA_CFLAGS ALSA_LIBS ARTS_CONFIG ARTS_CFLAGS ARTS_LIBS ESD_CONFIG ESD_CFLAGS ESD_LIBS AO_CFLAGS AO_LIBS VORBIS_CFLAGS VORBIS_LIBS VORBISFILE_LIBS VORBISENC_LIBS OGG_CFLAGS OGG_LIBS LIBFLAC_CFLAGS LIBFLAC_LIBS LIBOGGFLAC_CFLAGS LIBOGGFLAC_LIBS NEEDDLOPEN_TRUE NEEDDLOPEN_FALSE ENABLE_NCURSES_TRUE ENABLE_NCURSES_FALSE n_so_libs ENABLE_SLANG_TRUE ENABLE_SLANG_FALSE s_so_libs ENABLE_MOTIF_TRUE ENABLE_MOTIF_FALSE m_so_libs ENABLE_TCLTK_TRUE ENABLE_TCLTK_FALSE k_so_libs ENABLE_DYNAMIC_TCLTK_TRUE ENABLE_DYNAMIC_TCLTK_FALSE ENABLE_EMACS_TRUE ENABLE_EMACS_FALSE e_so_libs ENABLE_VT100_TRUE ENABLE_VT100_FALSE T_so_libs ENABLE_XAW_TRUE ENABLE_XAW_FALSE a_so_libs ENABLE_DYNAMIC_XAW_TRUE ENABLE_DYNAMIC_XAW_FALSE ENABLE_XSKIN_TRUE ENABLE_XSKIN_FALSE i_so_libs ENABLE_GTK_TRUE ENABLE_GTK_FALSE GTK_CONFIG GTK_CFLAGS GTK_LIBS g_so_libs ENABLE_SERVER_TRUE ENABLE_SERVER_FALSE r_so_libs ENABLE_ALSASEQ_TRUE ENABLE_ALSASEQ_FALSE A_so_libs ENABLE_WINSYN_TRUE ENABLE_WINSYN_FALSE W_so_libs ENABLE_PORTMIDISYN_TRUE ENABLE_PORTMIDISYN_FALSE P_so_libs ENABLE_W32G_SYN_TRUE ENABLE_W32G_SYN_FALSE ENABLE_W32GUI_TRUE ENABLE_W32GUI_FALSE w_so_libs ENABLE_PLUGIN_TRUE ENABLE_PLUGIN_FALSE p_so_libs ENABLE_NETWORK_TRUE ENABLE_NETWORK_FALSE ENABLE_SOUND_SPEC_TRUE ENABLE_SOUND_SPEC_FALSE ENABLE_WRD_TRUE ENABLE_WRD_FALSE CYGNUS_TRUE CYGNUS_FALSE MINGW_TRUE MINGW_FALSE W32READDIR_TRUE W32READDIR_FALSE timidity_LDFLAGS SYSEXTRAS EXTRALIBS NETSRCS ELFILES SHLD SHCFLAGS dynamic_targets so WISH tcltk_dep INTERFACE_SRCS pkgdatadir pkglibdir LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT XAW_INSTALL_RESOURCE_FILES_TRUE XAW_INSTALL_RESOURCE_FILES_FALSE xawresdir EMACS lispdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB LN_S X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBOBJS NEEDGETOPT_TRUE NEEDGETOPT_FALSE ALSA_CFLAGS ALSA_LIBS ARTSCCONFIG ARTSLIBS ARTSINCL ESD_CONFIG ESD_CFLAGS ESD_LIBS AO_CFLAGS AO_LIBS VORBIS_CFLAGS VORBIS_LIBS VORBISFILE_LIBS VORBISENC_LIBS OGG_CFLAGS OGG_LIBS LIBFLAC_CFLAGS LIBFLAC_LIBS LIBOGGFLAC_CFLAGS LIBOGGFLAC_LIBS NEEDDLOPEN_TRUE NEEDDLOPEN_FALSE ENABLE_XDND_TRUE ENABLE_XDND_FALSE ENABLE_NCURSES_TRUE ENABLE_NCURSES_FALSE n_so_libs ENABLE_SLANG_TRUE ENABLE_SLANG_FALSE s_so_libs ENABLE_MOTIF_TRUE ENABLE_MOTIF_FALSE m_so_libs ENABLE_TCLTK_TRUE ENABLE_TCLTK_FALSE k_so_libs ENABLE_DYNAMIC_TCLTK_TRUE ENABLE_DYNAMIC_TCLTK_FALSE ENABLE_EMACS_TRUE ENABLE_EMACS_FALSE e_so_libs ENABLE_VT100_TRUE ENABLE_VT100_FALSE T_so_libs ENABLE_XAW_TRUE ENABLE_XAW_FALSE a_so_libs ENABLE_DYNAMIC_XAW_TRUE ENABLE_DYNAMIC_XAW_FALSE ENABLE_XSKIN_TRUE ENABLE_XSKIN_FALSE i_so_libs ENABLE_GTK_TRUE ENABLE_GTK_FALSE PKG_CONFIG GTK_CONFIG GTK_CFLAGS GTK_LIBS g_so_libs ENABLE_SERVER_TRUE ENABLE_SERVER_FALSE r_so_libs ENABLE_ALSASEQ_TRUE ENABLE_ALSASEQ_FALSE A_so_libs ENABLE_WINSYN_TRUE ENABLE_WINSYN_FALSE W_so_libs ENABLE_PORTMIDISYN_TRUE ENABLE_PORTMIDISYN_FALSE P_so_libs ENABLE_NPSYN_TRUE ENABLE_NPSYN_FALSE ENABLE_W32G_SYN_TRUE ENABLE_W32G_SYN_FALSE ENABLE_W32GUI_TRUE ENABLE_W32GUI_FALSE w_so_libs ENABLE_PLUGIN_TRUE ENABLE_PLUGIN_FALSE p_so_libs ENABLE_NETWORK_TRUE ENABLE_NETWORK_FALSE ENABLE_SOUND_SPEC_TRUE ENABLE_SOUND_SPEC_FALSE ENABLE_WRD_TRUE ENABLE_WRD_FALSE W32G_GUI_TRUE W32G_GUI_FALSE WINDRV_TRUE WINDRV_FALSE MSYS_TRUE MSYS_FALSE VCPP_TRUE VCPP_FALSE POCC_TRUE POCC_FALSE BORLANDC_TRUE BORLANDC_FALSE WATCOM_C_TRUE WATCOM_C_FALSE DMC_TRUE DMC_FALSE MINGWGCC_TRUE MINGWGCC_FALSE W32READDIR_TRUE W32READDIR_FALSE BORLANDC_START BORLANDC_LDFLAGS timidity_LDFLAGS WATCOM_LDFLAGS DMC_LDFLAGS VCPP_LDFLAGS POCC_LDFLAGS SYSEXTRAS EXTRALIBS NETSRCS ELFILES SHLD SHCFLAGS dynamic_targets so WISH tcltk_dep INTERFACE_SRCS pkgdatadir pkglibdir LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures TiMidity++ current to adapt to many kinds of systems.
+\`configure' configures TiMidity++ 2.14.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of TiMidity++ current:";;
+ short | recursive ) echo "Configuration of TiMidity++ 2.14.0:";;
esac
cat <<\_ACEOF
--enable-debug Build a debugging version.
--disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency extractors
+ --enable-xft Enable use of Xft
--enable-audio=mode_list Enable audio (Specify comma separated mode list):
default: Automatically select audio device.
oss: OSS /dev/dsp
arts: aRts
esd: EsounD - Enlightened Sound Daemon
portaudio: PortAudio
+ npipe: Named Pipe(windows)
jack: JACK
ao: Libao
vorbis: Ogg Vorbis
flac: FLAC / OggFLAC
speex: Ogg Speex
gogo: MP3 GOGO (Only Windows is supported)
+
--disable-alsatest Do not try to compile and run a test Alsa program
- --disable-artstest Do not try to compile and run a test ARTS program
--disable-esdtest Do not try to compile and run a test ESD program
- --disable-aotest Do not try to compile and run a test ao program
+ --disable-aotest Do not try to compile and run a test ao program
--disable-oggtest Do not try to compile and run a test Ogg program
- --disable-vorbistest Do not try to compile and run a test Vorbis program
- --disable-libFLACtest Do not try to compile and run a test libFLAC program
- --disable-libOggFLACtest Do not try to compile and run a test libOggFLAC program
+ --disable-vorbistest Do not try to compile and run a test Vorbis program
+ --disable-libFLACtest Do not try to compile and run a test libFLAC program
+ --disable-libOggFLACtest
+ Do not try to compile and run a test libOggFLAC
+ program
--enable-interface=interface_list
Comma separated interface list
- --enable-dynamic Enable dynamic link interface (default is no)
- --enable-dynamic=dynamic_list
- Comma separated dynamic interface list
- --enable-ncurses Enable ncurses interface (default is no)
- --enable-slang Enable slang interface (default is no)
- --enable-motif Enable motif interface (default is no)
- --enable-tcltk Enable tcltk interface (default is no)
- --enable-emacs Enable emacs interface (default is no)
- --enable-vt100 Enable VT100 interface (default is no)
- --enable-xaw Enable athena interface (default is no)
- --enable-xskin Enable X skin interface (default is no)
- --enable-gtk Enable GTK+ interface (default is no)
+ --enable-dynamic Enable dynamic link interface (default is no)
+ --enable-dynamic=dynamic_list Comma separated dynamic interface list
+
+ --enable-xdnd Enable xdnd support (default is no)
+ --enable-ncurses Enable ncurses interface (default is no)
+ --enable-slang Enable slang interface (default is no)
+ --enable-motif Enable motif interface (default is no)
+ --enable-tcltk Enable tcltk interface (default is no)
+ --enable-emacs Enable emacs interface (default is no)
+ --enable-vt100 Enable VT100 interface (default is no)
+ --enable-xaw Enable athena interface (default is no)
+ --enable-xskin Enable X skin interface (default is no)
+ --enable-gtk Enable GTK+ interface (default is no)
+ --disable-gtktest do not try to compile and run a test GTK+ program
--disable-gtktest Do not try to compile and run a test GTK program
- --enable-server Enable server interface (default is no)
- --enable-alsaseq Enable ALSA sequencer server interface
- (default is no)
- --enable-winsyn Enable Windows Synthesizer interface
- (default is no)
- --enable-portmidisyn Enable PortMIDI Synthesizer interface
- (default is no)
- --enable-winsyng Enable Windows GUI Synthesizer interface
- (default is no)
- --enable-w32gui Enable Windows GUI interface (default is no)
- --enable-ump UMP configuration (default is no)
- --enable-offix Enable offix support (default is no)
- --enable-network Enable network support (default is no)
+ --enable-server Enable server interface (default is no)
+ --enable-alsaseq Enable ALSA sequencer server interface (default is
+ no)
+ --enable-winsyn Enable Windows Synthesizer interface (default is no)
+ --enable-portmidisyn Enable PortMIDI Synthesizer interface (default is
+ no)
+ --enable-npsyn Enable Windows Named Pipe Synthesizer interface
+ (default is no)
+ --enable-winsyng Enable Windows GUI Synthesizer interface (default is
+ no)
+ --enable-w32gui Enable Windows GUI interface (default is no)
+ --enable-ump UMP configuration (default is no)
+ --enable-windrv Windows Driver interface(requires winsyn)
+ --enable-offix Enable offix support (default is no)
+ --enable-network Enable network support (default is no)
--enable-spectrogram Enable Sound Spectrogram Viewer (default is no)
- --enable-spline=method Specify spline method.
- one of no,linear,cubic,lagrange,newton,gauss
- (default is linear)
- --enable-wrd Enable WRD interface for X (default is no)
+ --enable-spline=method Specify spline method. one of
+ no,linear,cubic,lagrange,newton,gauss (default is
+ linear)
+ --enable-wrd Enable WRD interface for X (default is no)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-includes=DIR Specify include directories (colon separated)
--with-libraries=DIR Specify library directories (colon separated)
- --with-default-path=DIR Where timidity.cfg is (PREFIX/share/timidity)
+ --with-default-path=DIR Where timidity.cfg is (PREFIX/share/timidity)
--with-module-dir=DIR Where to install interfaces (PREFIX/lib/timidity)
+ --with-xaw-resource-prefix=DIR
+ What prefix to install XAW's resource files to
+ (optinal)
--with-lispdir Override the default lisp directory
--with-elf create ELF shared object instead of AOUT
--with-x use the X Window System
+ --with-xawlib=lib Try to link to these xaw widget libraries by the
+ order specified by the comma separated value list:
+ xaw: libXaw
+ xaw3d: Xaw3d
+ neXtaw: neXtaw
+ XawPlus: XawPlus
+ default is --with-xawlib=xaw3d,xaw
--with-tcl-includes=DIR Tcl include file path
--with-tcl-libs=DIR Tcl library file path
--with-tk-includes=DIR Tk include file path
--with-tk-libs=DIR Tk library file path
- --with-offix-includes=DIR Offix include file path
+ --with-offix-includes=DIR
+ Offix include file path
--with-offix-libs=DIR Offix include file path
- --with-nas-library=library NAS absolute library path(Don't use -laudio)
+ --with-nas-library=library
+ NAS absolute library path(Don't use -laudio)
--with-nas-includes=DIR NAS include files are in dir
- --with-default-output=<mode> Specify default output mode (optional):
- (default|alsa|alib|arts|nas|
- esd|wav|au|aiff|list|vorbis|flac|speex|
- gogo|portaudio|jack|ao)
+ --with-default-output=<mode>
+ Specify default output mode (optional):
+ (default|alsa|alib|arts|nas|
+ esd|wav|au|aiff|list|vorbis|flac|speex|
+ gogo|portaudio|npipe|jack|ao)
--with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)
- --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)
- --with-arts-prefix=PFX Prefix where ARTS is installed (optional)
+ --with-alsa-inc-prefix=PFX
+ Prefix where include libraries are (optional)
--with-esd-prefix=PFX Prefix where ESD is installed (optional)
- --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
- --with-ao=PFX Prefix where libao is installed (optional)
- --with-ao-libraries=DIR Directory where libao library is installed (optional)
- --with-ao-includes=DIR Directory where libao header files are installed (optional)
- --with-ogg=PFX Prefix where libogg is installed (optional)
- --with-ogg-libraries=DIR Directory where libogg library is installed (optional)
- --with-ogg-includes=DIR Directory where libogg header files are installed (optional)
- --with-vorbis=PFX Prefix where libvorbis is installed (optional)
- --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)
- --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)
- --with-libFLAC=PFX Prefix where libFLAC is installed (optional)
- --with-libFLAC-libraries=DIR Directory where libFLAC library is installed (optional)
- --with-libFLAC-includes=DIR Directory where libFLAC header files are installed (optional)
+ --with-esd-exec-prefix=PFX
+ Exec prefix where ESD is installed (optional)
+ --with-ao=PFX Prefix where libao is installed (optional)
+ --with-ao-libraries=DIR Directory where libao library is installed
+ (optional)
+ --with-ao-includes=DIR Directory where libao header files are installed
+ (optional)
+ --with-ogg=PFX Prefix where libogg is installed (optional)
+ --with-ogg-libraries=DIR
+ Directory where libogg library is installed
+ (optional)
+ --with-ogg-includes=DIR Directory where libogg header files are installed
+ (optional)
+ --with-vorbis=PFX Prefix where libvorbis is installed (optional)
+ --with-vorbis-libraries=DIR
+ Directory where libvorbis library is installed
+ (optional)
+ --with-vorbis-includes=DIR
+ Directory where libvorbis header files are installed
+ (optional)
+ --with-libFLAC=PFX Prefix where libFLAC is installed (optional)
+ --with-libFLAC-libraries=DIR
+ Directory where libFLAC library is installed
+ (optional)
+ --with-libFLAC-includes=DIR
+ Directory where libFLAC header files are installed
+ (optional)
--with-libOggFLAC=PFX Prefix where libOggFLAC is installed (optional)
- --with-libOggFLAC-libraries=DIR Directory where libOggFLAC library is installed (optional)
- --with-libOggFLAC-includes=DIR Directory where libOggFLAC header files are installed (optional)
+ --with-libOggFLAC-libraries=DIR
+ Directory where libOggFLAC library is installed
+ (optional)
+ --with-libOggFLAC-includes=DIR
+ Directory where libOggFLAC header files are
+ installed (optional)
--with-gtk-prefix=PFX Prefix where GTK is installed (optional)
- --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
+ --with-gtk-exec-prefix=PFX
+ Exec prefix where GTK is installed (optional)
Some influential environment variables:
CC C compiler command
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <root@mput.dip.jp>.
+Report bugs to <timidity-talk@lists.sourceforge.net>.
_ACEOF
fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-TiMidity++ configure current
+TiMidity++ configure 2.14.0
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by TiMidity++ $as_me current, which was
+It was created by TiMidity++ $as_me 2.14.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='TiMidity++'
- VERSION='current'
+ VERSION='2.14.0'
cat >>confdefs.h <<_ACEOF
echo "$as_me:$LINENO: result: $timidity_cv_debug" >&5
echo "${ECHO_T}$timidity_cv_debug" >&6
-CFLAGS=${CFLAGS-"-O2"}
+if test "x$CFLAGS" = "x"; then
+ NOCFLAGS="yes"
+fi
if test "x$with_x" = x; then
with_x=yes
+# Check whether --with-xaw-resource-prefix or --without-xaw-resource-prefix was given.
+if test "${with_xaw_resource_prefix+set}" = set; then
+ withval="$with_xaw_resource_prefix"
+ xawresdir=$withval
+fi;
+
+
+if test "x$xawresdir" != "x"; then
+ XAW_INSTALL_RESOURCE_FILES_TRUE=
+ XAW_INSTALL_RESOURCE_FILES_FALSE='#'
+else
+ XAW_INSTALL_RESOURCE_FILES_TRUE='#'
+ XAW_INSTALL_RESOURCE_FILES_FALSE=
+fi
+
+
+
# Checks for programs.
# Check whether --with-lispdir or --without-lispdir was given.
fi
+if test "x$NOCFLAGS" = "xyes"; then
+ if test "x$GCC" = "xyes"; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=""
+ fi
+fi
+
# Checks for target dependencies
fi;
# AC_ARG_WITH(simd,
-# [ --with-simd create SIMD friendly binary (default is no) ],
+# AS_HELP_STRING([--with-simd], [create SIMD friendly binary (default is no) ]),
# [ SIMD=$withval ], [ SIMD="no" ])
case "$target" in
# so="so"
# ;;
- *-*-cygwin*)
+ *-*-cygwin*|*-*-mingw*)
EXTRADEFS="-D__W32__"
# ??
case "x${CC} " in
- "xbcc32 "*) test -n "$SHLD" || SHLD="tlink32 -Tpd" ;;
- "xcl "*) test -n "$SHLD" || SHLD="link -dll" ;;
- "xgcc "*) test -n "$SHLD" || SHLD="gcc -mdll" ;;
- *) test -n "$SHLD" || SHLD="unknown" ;;
- esac
- so="dll"
- CYGNUS=yes
- lib_user32_test=-luser32
- ;;
- *-*-mingw*)
- EXTRADEFS="-D__W32__"
- # ??
- case "x${CC} " in
- "xbcc32 "*) test -n "$SHLD" || SHLD="tlink32 -Tpd" ;;
- "xcl "*) test -n "$SHLD" || SHLD="link -dll" ;;
- "xgcc "*) test -n "$SHLD" || SHLD="gcc -mdll" ;;
+ "xbcc32 "*|xbcc32)
+# test -n "$SHLD" || SHLD="tlink32 -Tpd"
+ test -n "$SHLD" || SHLD="BCC32 -WD"
+ BORLANDC=yes
+ BORLANDC_LDFLAGS="kernel32.lib winspool.lib comdlg32.lib advapi32.lib oleaut32.lib uuid.lib odbc32.lib ws2_32.lib user32.lib shell32.lib cw32mt.lib"
+ BORLANDC_START='C0X32.OBJ'
+ CFLAGS="$CFLAGS -tWM -VM"
+ EXTRADEFS="$EXTRADEFS -D_WINDOWS -DWIN32"
+ ;;
+ "xcc "*|xcc)
+ test -n "$SHLD" || SHLD="polink -DLL"
+ POCC=yes
+ case " $CFLAGS " in
+ *" -MT "*) NODEF="-nodefaultlib:pocrt.lib -nodefaultlib:crt.lib -defaultlib:crtmt.lib" ;;
+ *" -MD "*) NODEF="-nodefaultlib:crtmt.lib -nodefaultlib:crt.lib -defaultlib:pocrt.lib" ;;
+ *) CFLAGS="$CFLAGS -MT"; NODEF="-nodefaultlib:pocrt.lib -nodefaultlib:crtmt.lib -defaultlib:crt.lib" ;;
+ esac
+ POCC_LDFLAGS="$NODEF winmm.lib ws2_32.lib user32.lib kernel32.lib shell32.lib gdi32.lib comctl32.lib comdlg32.lib ole32.lib advapi32.lib oldnames.lib"
+ CFLAGS="$CFLAGS -Ze -D__POCC__OLDNAMES"
+ EXTRADEFS="$EXTRADEFS -D_WINDOWS -DWIN32"
+ ;;
+ "xdmc "*|xdmc)
+ test -n "$SHLD" || SHLD="dmc -WD"
+ DMC=yes
+ DMC_LDFLAGS="winmm.lib ws2_32.lib user32.lib kernel32.lib shell32.lib gdi32.lib comctl32.lib comdlg32.lib ole32.lib advapi32.lib"
+ CFLAGS="$CFLAGS -mn -j0"
+ DLLFLAG=" "
+ EXTRADEFS="$EXTRADEFS -D_WINDOWS -DWIN32"
+ ;;
+ "xwcc386_w.sh "*|xwcc386)
+ WATCOM_C=yes
+ CFLAGS="$CFLAGS -br -bm -5s -zk0 -zp=16 -w=4 -D_WINDOWS -DWIN32 -DINCLUDE_WINDOWS_H"
+ DLLFLAG=" "
+ WATCOM_LDFLAGS=
+ EXTRALIBS="$EXTRALIBS kernel32.lib winspool.lib comdlg32.lib advapi32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib user32.lib shell32.lib"
+ ;;
+ "xcl "*|xcl)
+ test -n "$SHLD" || SHLD="link -dll"
+ VCPP=yes
+ case " $CFLAGS " in
+ *" -MT "*) NODEF="-nodefaultlib:msvcrt.lib -nodefaultlib:msvcrtd.lib -nodefaultlib:libcmtd.lib -nodefaultlib:libc.lib -nodefaultlib:libcd.lib" ;;
+ *" -MD "*) NODEF="-nodefaultlib:libcmt.lib -nodefaultlib:libcmtd.lib -nodefaultlib:msvcrtd.lib -nodefaultlib:libc.lib -nodefaultlib:libcd.lib" ;;
+ *" -MTd "*) NODEF="-nodefaultlib:msvcrt.lib -nodefaultlib:msvcrtd.lib -nodefaultlib:libcmt.lib -nodefaultlib:libc.lib -nodefaultlib:libcd.lib" ;;
+ *" -MDd "*) NODEF="-nodefaultlib:libcmt.lib -nodefaultlib:libcmtd.lib -nodefaultlib:msvcrt.lib -nodefaultlib:libc.lib -nodefaultlib:libcd.lib" ;;
+ *) CFLAGS="$CFLAGS -MT"; NODEF="-nodefaultlib:msvcrt.lib -nodefaultlib:msvcrtd.lib -nodefaultlib:libcmtd.lib -nodefaultlib:libc.lib -nodefaultlib:libcd.lib" ;;
+ esac
+ VCPP_LDFLAGS="-nologo -incremental:no $NODEF kernel32.lib winspool.lib comdlg32.lib advapi32.lib oleaut32.lib uuid.lib ws2_32.lib user32.lib shell32.lib"
+ CFLAGS="$CFLAGS -nologo -Zp16 -W3 -GX -Ob2"
+ EXTRADEFS="$EXTRADEFS -DNDEBUG -D_WINDOWS -DWIN32 -DMBCS -D_MT -YX -FD -c"
+ ;;
+ x*gcc*) test -n "$SHLD" || SHLD="gcc -mdll"; MINGWGCC=yes ;;
*) test -n "$SHLD" || SHLD="unknown" ;;
esac
so="dll"
- MINGW=yes
+ MSYS=yes
lib_user32_test=-luser32
;;
*-dec-*)
lib_dl_opt=-lobjc
fi
# Mac OS X need this.
+if test "x$VCPP" != "xyes" && test "x$BORLANDC" != "xyes" && test "x$WATCOM_C" != "xyes" && test "x$POCC" != "xyes"; then
echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
fi
# Mac OS X (and maybe NetBSD) need this.
+fi
for ac_func in gethostbyname
do
fi
+# Check whether --enable-xft or --disable-xft was given.
+if test "${enable_xft+set}" = set; then
+ enableval="$enable_xft"
+
+fi;
+
+
+# Check whether --with-xawlib or --without-xawlib was given.
+if test "${with_xawlib+set}" = set; then
+ withval="$with_xawlib"
+ with_xawlib="$withval"
+else
+ with_xawlib="xaw3d,xaw"
+fi;
+
# Checks for X
if test "x$with_x" = xyes; then
if test "x$have_x" = xno; then
CPPFLAGS="$CPPFLAGS -I$x_includes"
fi
-
-echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
+ echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
if test $ac_cv_lib_X11_XOpenDisplay = yes; then
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBX11 1
_ACEOF
- LIBS="-lX11 $LIBS"
-
fi
echo "$as_me:$LINENO: checking X11 version 6" >&5
fi
done
- echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw3d" >&5
-echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw3d... $ECHO_C" >&6
-if test "${ac_cv_lib_Xaw3d_XawInitializeWidgetSet+set}" = set; then
+ if test "x$enable_xft" = "xyes"; then
+ echo "$as_me:$LINENO: checking for XftInit in -lXft" >&5
+echo $ECHO_N "checking for XftInit in -lXft... $ECHO_C" >&6
+if test "${ac_cv_lib_Xft_XftInit+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lXaw3d $LIBS"
+LIBS="-lXft $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char XawInitializeWidgetSet ();
+char XftInit ();
int
main ()
{
-XawInitializeWidgetSet ();
+XftInit ();
;
return 0;
}
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_Xaw3d_XawInitializeWidgetSet=yes
+ ac_cv_lib_Xft_XftInit=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_Xaw3d_XawInitializeWidgetSet=no
+ac_cv_lib_Xft_XftInit=no
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawInitializeWidgetSet" >&5
-echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawInitializeWidgetSet" >&6
-if test $ac_cv_lib_Xaw3d_XawInitializeWidgetSet = yes; then
- have_xaw=3d
+echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftInit" >&5
+echo "${ECHO_T}$ac_cv_lib_Xft_XftInit" >&6
+if test $ac_cv_lib_Xft_XftInit = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBXFT 1
+_ACEOF
+
else
- echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw" >&5
+ enable_xft=no
+fi
+
+ fi
+ for i in `echo $with_xawlib | sed 's/,/ /g'`; do
+ case "$i" in
+ "xaw")
+ echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw" >&5
echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw... $ECHO_C" >&6
if test "${ac_cv_lib_Xaw_XawInitializeWidgetSet+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
have_xaw=no
fi
-fi
-
- echo "$as_me:$LINENO: checking for XmCreateForm in -lXm" >&5
-echo $ECHO_N "checking for XmCreateForm in -lXm... $ECHO_C" >&6
-if test "${ac_cv_lib_Xm_XmCreateForm+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lXm $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char XmCreateForm ();
-int
-main ()
-{
-XmCreateForm ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_lib_Xm_XmCreateForm=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_lib_Xm_XmCreateForm=no
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_XmCreateForm" >&5
-echo "${ECHO_T}$ac_cv_lib_Xm_XmCreateForm" >&6
-if test $ac_cv_lib_Xm_XmCreateForm = yes; then
- have_xm=yes
-else
- have_xm=no
-fi
-
-
-for ac_func in XShmCreatePixmap
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
-if eval "test \"\${$as_ac_var+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
-#define $ac_func innocuous_$ac_func
-
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func (); below.
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- <limits.h> exists even on freestanding compilers. */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $ac_func
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func ();
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-char (*f) () = $ac_func;
-#endif
-#ifdef __cplusplus
-}
-#endif
-
-int
-main ()
-{
-return f != $ac_func;
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- eval "$as_ac_var=yes"
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-eval "$as_ac_var=no"
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
-if test `eval echo '${'$as_ac_var'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
- LIBS=$KEEPLIBS
-fi
-
-# Checks for header files.
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+ ;;
+ "xaw3d")
+ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
done
-echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
-echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
-if test "${ac_cv_header_stdbool_h+set}" = set; then
+echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw3d" >&5
+echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw3d... $ECHO_C" >&6
+if test "${ac_cv_lib_Xaw3d_XawInitializeWidgetSet+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- cat >conftest.$ac_ext <<_ACEOF
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lXaw3d $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <stdbool.h>
-#ifndef bool
-# error bool is not defined
-#endif
-#ifndef false
-# error false is not defined
-#endif
-#if false
-# error false is not 0
-#endif
-#ifndef true
-# error true is not defined
-#endif
-#if true != 1
-# error true is not 1
-#endif
-#ifndef __bool_true_false_are_defined
-# error __bool_true_false_are_defined is not defined
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
#endif
-
- struct s { _Bool s: 1; _Bool t; } s;
-
- char a[true == 1 ? 1 : -1];
- char b[false == 0 ? 1 : -1];
- char c[__bool_true_false_are_defined == 1 ? 1 : -1];
- char d[(bool) -0.5 == true ? 1 : -1];
- bool e = &s;
- char f[(_Bool) -0.0 == false ? 1 : -1];
- char g[true];
- char h[sizeof (_Bool)];
- char i[sizeof s.t];
-
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char XawInitializeWidgetSet ();
int
main ()
{
- return !a + !b + !c + !d + !e + !f + !g + !h + !i;
+XawInitializeWidgetSet ();
;
return 0;
}
_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_Xaw3d_XawInitializeWidgetSet=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_Xaw3d_XawInitializeWidgetSet=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawInitializeWidgetSet" >&5
+echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawInitializeWidgetSet" >&6
+if test $ac_cv_lib_Xaw3d_XawInitializeWidgetSet = yes; then
+ have_xaw=3d;
+ if test "${ac_cv_header_X11_Xaw3d_Tip_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for X11/Xaw3d/Tip.h" >&5
+echo $ECHO_N "checking for X11/Xaw3d/Tip.h... $ECHO_C" >&6
+if test "${ac_cv_header_X11_Xaw3d_Tip_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Tip_h" >&5
+echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Tip_h" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking X11/Xaw3d/Tip.h usability" >&5
+echo $ECHO_N "checking X11/Xaw3d/Tip.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <X11/Xaw3d/Tip.h>
+_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_header_stdbool_h=yes
+ ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_header_stdbool_h=no
+ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking X11/Xaw3d/Tip.h presence" >&5
+echo $ECHO_N "checking X11/Xaw3d/Tip.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <X11/Xaw3d/Tip.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Tip.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: X11/Xaw3d/Tip.h: in the future, the compiler will take precedence" >&2;}
+ (
+ cat <<\_ASBOX
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
+_ASBOX
+ ) |
+ sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+echo "$as_me:$LINENO: checking for X11/Xaw3d/Tip.h" >&5
+echo $ECHO_N "checking for X11/Xaw3d/Tip.h... $ECHO_C" >&6
+if test "${ac_cv_header_X11_Xaw3d_Tip_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_X11_Xaw3d_Tip_h=$ac_header_preproc
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Tip_h" >&5
+echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Tip_h" >&6
+
+fi
+if test $ac_cv_header_X11_Xaw3d_Tip_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_XAW3D_TIP 1
+_ACEOF
+
+fi
+
+
+
+else
+ have_xaw=no
+
+fi
+
+ ;;
+ "neXtaw")
+ echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lneXtaw" >&5
+echo $ECHO_N "checking for XawInitializeWidgetSet in -lneXtaw... $ECHO_C" >&6
+if test "${ac_cv_lib_neXtaw_XawInitializeWidgetSet+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lneXtaw $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char XawInitializeWidgetSet ();
+int
+main ()
+{
+XawInitializeWidgetSet ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_neXtaw_XawInitializeWidgetSet=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_neXtaw_XawInitializeWidgetSet=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
-echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
-echo "$as_me:$LINENO: checking for _Bool" >&5
-echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
-if test "${ac_cv_type__Bool+set}" = set; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_neXtaw_XawInitializeWidgetSet" >&5
+echo "${ECHO_T}$ac_cv_lib_neXtaw_XawInitializeWidgetSet" >&6
+if test $ac_cv_lib_neXtaw_XawInitializeWidgetSet = yes; then
+ have_xaw=next
+else
+ have_xaw=no
+fi
+
+ ;;
+ "XawPlus")
+
+echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
+echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6
+if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lXpm $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char XpmCreatePixmapFromData ();
+int
+main ()
+{
+XpmCreatePixmapFromData ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
+echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6
+if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBXPM 1
+_ACEOF
+
+ LIBS="-lXpm $LIBS"
+
+fi
+
+ echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXawPlus" >&5
+echo $ECHO_N "checking for XawInitializeWidgetSet in -lXawPlus... $ECHO_C" >&6
+if test "${ac_cv_lib_XawPlus_XawInitializeWidgetSet+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lXawPlus $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char XawInitializeWidgetSet ();
+int
+main ()
+{
+XawInitializeWidgetSet ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_XawPlus_XawInitializeWidgetSet=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_XawPlus_XawInitializeWidgetSet=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_XawPlus_XawInitializeWidgetSet" >&5
+echo "${ECHO_T}$ac_cv_lib_XawPlus_XawInitializeWidgetSet" >&6
+if test $ac_cv_lib_XawPlus_XawInitializeWidgetSet = yes; then
+ have_xaw=plus
+else
+ have_xaw=no
+fi
+
+ ;;
+ *)
+ have_xaw=no
+ ;;
+ esac
+ if test "x$have_xaw" != "xno"; then break; fi
+ done
+ echo "$as_me:$LINENO: checking for XmCreateForm in -lXm" >&5
+echo $ECHO_N "checking for XmCreateForm in -lXm... $ECHO_C" >&6
+if test "${ac_cv_lib_Xm_XmCreateForm+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lXm $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char XmCreateForm ();
+int
+main ()
+{
+XmCreateForm ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_Xm_XmCreateForm=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_Xm_XmCreateForm=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_XmCreateForm" >&5
+echo "${ECHO_T}$ac_cv_lib_Xm_XmCreateForm" >&6
+if test $ac_cv_lib_Xm_XmCreateForm = yes; then
+ have_xm=yes
+else
+ have_xm=no
+fi
+
+
+for ac_func in XShmCreatePixmap
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
+if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-$ac_includes_default
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+char (*f) () = $ac_func;
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+int
+main ()
+{
+return f != $ac_func;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ eval "$as_ac_var=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+eval "$as_ac_var=no"
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+ LIBS=$KEEPLIBS
+fi
+
+# Checks for header files.
+echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
+if test "${ac_cv_header_stdc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
int
main ()
{
-if ((_Bool *) 0)
- return 0;
-if (sizeof (_Bool))
- return 0;
+
;
return 0;
}
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_type__Bool=yes
+ ac_cv_header_stdc=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_type__Bool=no
+ac_cv_header_stdc=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
fi
-echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
-echo "${ECHO_T}$ac_cv_type__Bool" >&6
-if test $ac_cv_type__Bool = yes; then
-cat >>confdefs.h <<_ACEOF
-#define HAVE__BOOL 1
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
fi
-if test $ac_cv_header_stdbool_h = yes; then
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ctype.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ exit(2);
+ exit (0);
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6
+if test $ac_cv_header_stdc = yes; then
cat >>confdefs.h <<\_ACEOF
-#define HAVE_STDBOOL_H 1
+#define STDC_HEADERS 1
_ACEOF
fi
+#AC_HEADER_STDBOOL
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
if test "${ac_cv_header_sys_wait_h+set}" = set; then
fi
+if test "x$WATCOM_C" != xyes ; then
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
fi
+fi
sys/param.h \
sys/time.h \
sys/types.h \
+ sys/stat.h \
sys/sysctl.h \
termios.h \
+ X11/Xlib.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+ (
+ cat <<\_ASBOX
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
+_ASBOX
+ ) |
+ sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+if test "x$DMC" != xyes ; then
+
+for ac_header in \
unistd.h \
- X11/Xlib.h
+
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
done
+fi
+
for ac_header in \
echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
# Checks for typedefs, structures, and compiler characteristics.
+if test "x$WATCOM_C" != xyes ; then
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
if test "${ac_cv_c_bigendian+set}" = set; then
{ (exit 1); exit 1; }; } ;;
esac
+fi
echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
fi
+if test "x$DMC" != xyes ; then
echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
fi
+fi
+if test "x$POCC" != xyes ; then
echo "$as_me:$LINENO: checking for off_t" >&5
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
if test "${ac_cv_type_off_t+set}" = set; then
fi
+fi
echo "$as_me:$LINENO: checking volatile declaration" >&5
echo $ECHO_N "checking volatile declaration... $ECHO_C" >&6
fi
-
-case "x${CC} ${CFLAGS}" in
-*-mno-cygwin*)
+if test "x$MSYS" = xyes ; then
+ case "x${CC}" in
+ "xgcc"*)
msnative_struct=''
echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6
echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
echo "${ECHO_T}${msnative_struct}" >&6
fi
- ;;
-"xgcc "*)
- if test "x$MINGW" = xyes; then
- msnative_struct=''
- echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
-echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6
- if test -z "$ac_cv_prog_CC"; then
- our_gcc="$CC"
- else
- our_gcc="$ac_cv_prog_CC"
- fi
- case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
- 2.)
- if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
- msnative_struct='-fnative-struct'
- fi
;;
- *)
- if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
- msnative_struct='-mms-bitfields'
- fi
+ *)
;;
- esac
- if test x"$msnative_struct" = x ; then
- echo "$as_me:$LINENO: result: no way" >&5
-echo "${ECHO_T}no way" >&6
- { echo "$as_me:$LINENO: WARNING: produced binary will be incompatible with windows' GUI " >&5
-echo "$as_me: WARNING: produced binary will be incompatible with windows' GUI " >&2;}
- else
- CFLAGS="$CFLAGS $msnative_struct"
- CPPFLAGS="$CPPFLAGS $msnative_struct"
- echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
-echo "${ECHO_T}${msnative_struct}" >&6
- fi
- fi
- ;;
-*)
- ;;
-esac
-
-if test "x$CYGNUS" = xyes || test "x$MINGW" = xyes; then
+ esac
+fi
+if test "x$MSYS" = xyes ; then
echo "$as_me:$LINENO: checking Cygwin new mmsystem" >&5
echo $ECHO_N "checking Cygwin new mmsystem... $ECHO_C" >&6
if test "${timidity_cv_header_new_mmsystem+set}" = set; then
fi
+if test "x$DMC" != xyes ; then
for ac_header in unistd.h vfork.h
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
fi
+fi
echo "$as_me:$LINENO: checking for working memcmp" >&5
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
if test "${ac_cv_func_memcmp_working+set}" = set; then
esac
+if test "x$DMC" != xyes ; then
for ac_header in stdlib.h unistd.h
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
fi
rm -f conftest.mmap
+fi
echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
_ACEOF
+if test "x$VCPP" != xyes && test "x$BORLANDC" != xyes && test "x$WATCOM_C" != "xyes" && test "x$POCC" != "xyes"; then
for ac_func in vprintf
do
done
+fi
+
+
+
dup2 \
floor \
getcwd \
- getopt \
gethostbyname \
+ getopt \
gettimeofday \
getwd \
isatty \
memchr \
memmove \
memset \
+ mkstemp \
modf \
munmap \
popen \
strrchr \
strstr \
strtol \
+ strlcat \
+ strlcpy \
usleep
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
done
+if test "x$VCPP" = xyes; then
+ cat >>confdefs.h <<\_ACEOF
+#define RETSIGTYPE int
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_GETCWD 1
+_ACEOF
+
+fi
+if test "x$POCC" = xyes; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_GETCWD 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_GETHOSTBYNAME 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_POPEN 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_SELECT 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_SNPRINTF 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRDUP 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRERROR 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRCASECMP 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRSTR 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_SOCKET 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_VSNPRINTF 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_GETOPT 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define TIMID_VERSION $(PACKAGE_VERSION)
+_ACEOF
+
+fi
+if test "x$VCPP" = xyes || test "x$BORLANDC" = xyes || test "x$WATCOM_C" = xyes; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_GETHOSTBYNAME 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_POPEN 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define popen _popen
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define pclose _pclose
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_SELECT 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_SNPRINTF 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRDUP 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRERROR 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRNCASECMP 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRSTR 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define snprintf _snprintf
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_SOCKET 1
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_VSNPRINTF 1
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define TIMID_VERSION $(PACKAGE_VERSION)
+_ACEOF
+
+fi
+
echo "$as_me:$LINENO: checking for getopt_long" >&5
echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6
if test "${ac_cv_func_getopt_long+set}" = set; then
fi
-# Checks on cygnus
-if test "x$CYGNUS" = xyes; then
- case "$ac_cv_header_dirent_dirent_h$ac_cv_header_dirent_sys_ndir_h$ac_cv_header_dirent_sys_dir_h$ac_cv_header_dirent_ndir_h" in
- *yes*)
- echo "$as_me:$LINENO: checking for opendir" >&5
-echo $ECHO_N "checking for opendir... $ECHO_C" >&6
-if test "${ac_cv_func_opendir+set}" = set; then
+echo "$as_me:$LINENO: checking for open_memstream" >&5
+echo $ECHO_N "checking for open_memstream... $ECHO_C" >&6
+if test "${ac_cv_func_open_memstream+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-/* Define opendir to an innocuous variant, in case <limits.h> declares opendir.
+/* Define open_memstream to an innocuous variant, in case <limits.h> declares open_memstream.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
-#define opendir innocuous_opendir
+#define open_memstream innocuous_open_memstream
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char opendir (); below.
+ which can conflict with char open_memstream (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
# include <assert.h>
#endif
-#undef opendir
+#undef open_memstream
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char opendir ();
+char open_memstream ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
-#if defined (__stub_opendir) || defined (__stub___opendir)
+#if defined (__stub_open_memstream) || defined (__stub___open_memstream)
choke me
#else
-char (*f) () = opendir;
+char (*f) () = open_memstream;
#endif
#ifdef __cplusplus
}
int
main ()
{
-return f != opendir;
+return f != open_memstream;
;
return 0;
}
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_func_opendir=yes
+ ac_cv_func_open_memstream=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_func_opendir=no
+ac_cv_func_open_memstream=no
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:$LINENO: result: $ac_cv_func_opendir" >&5
-echo "${ECHO_T}$ac_cv_func_opendir" >&6
-if test $ac_cv_func_opendir = yes; then
- :
-else
- EXTRADEFS="$EXTRADEFS -D__W32READDIR__"
- W32READDIR=yes
-fi
+echo "$as_me:$LINENO: result: $ac_cv_func_open_memstream" >&5
+echo "${ECHO_T}$ac_cv_func_open_memstream" >&6
+if test $ac_cv_func_open_memstream = yes; then
- ;;
- *)EXTRADEFS="$EXTRADEFS -D__W32READDIR__"
- W32READDIR=yes
- ;;
- esac
- if test "x$enable_network" = "xyes"; then
- echo "$as_me:$LINENO: checking for socket" >&5
-echo $ECHO_N "checking for socket... $ECHO_C" >&6
-if test "${ac_cv_func_socket+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_OPEN_MEMSTREAM 1
_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-/* Define socket to an innocuous variant, in case <limits.h> declares socket.
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
-#define socket innocuous_socket
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char socket (); below.
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- <limits.h> exists even on freestanding compilers. */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
+fi
-#undef socket
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char socket ();
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_socket) || defined (__stub___socket)
-choke me
-#else
-char (*f) () = socket;
-#endif
-#ifdef __cplusplus
-}
-#endif
-int
-main ()
-{
-return f != socket;
- ;
- return 0;
-}
+echo "$as_me:$LINENO: checking for an implementation of va_copy()" >&5
+echo $ECHO_N "checking for an implementation of va_copy()... $ECHO_C" >&6
+if test "${lib_cv_va_copy+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ if test "$cross_compiling" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <stdarg.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
+ va_copy (args2, args1);
+ if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
+ exit (1);
+ va_end (args1); va_end (args2);
+ }
+ int main() {
+ f (0, 42);
+ return 0;
+ }
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_func_socket=yes
+ lib_cv_va_copy=yes
else
- echo "$as_me: failed program was:" >&5
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_func_socket=no
+( exit $ac_status )
+lib_cv_va_copy=no
fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
-echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
-echo "${ECHO_T}$ac_cv_func_socket" >&6
-if test $ac_cv_func_socket = yes; then
- :
-else
- echo "$as_me:$LINENO: checking for WSAStartup in -lwsock32" >&5
-echo $ECHO_N "checking for WSAStartup in -lwsock32... $ECHO_C" >&6
-ac_lib_var=`echo wsock32'_'WSAStartup | sed 'y%./+-%__p_%'`
-if eval "test \"\${wapi_cv_lib_$ac_lib_var+set}\" = set"; then
+
+fi
+echo "$as_me:$LINENO: result: $lib_cv_va_copy" >&5
+echo "${ECHO_T}$lib_cv_va_copy" >&6
+
+echo "$as_me:$LINENO: checking for an implementation of __va_copy()" >&5
+echo $ECHO_N "checking for an implementation of __va_copy()... $ECHO_C" >&6
+if test "${lib_cv___va_copy+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_save_LIBS="$LIBS"
-LIBS="-lwsock32 $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
+
+ if test "$cross_compiling" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+else
+ cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <windows.h>
-#include <winsock.h>
-int
-main ()
-{
-WSAStartup(0,0);
- ;
- return 0;
-}
+ #include <stdarg.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
+ __va_copy (args2, args1);
+ if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
+ exit (1);
+ va_end (args1); va_end (args2);
+ }
+ int main() {
+ f (0, 42);
+ return 0;
+ }
_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
+rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
+ (eval $ac_link) 2>&5
ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
+ (exit $ac_status); }; }; then
+ lib_cv___va_copy=yes
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+lib_cv___va_copy=no
+fi
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+fi
+echo "$as_me:$LINENO: result: $lib_cv___va_copy" >&5
+echo "${ECHO_T}$lib_cv___va_copy" >&6
+
+if test "x$lib_cv_va_copy" = "xyes"; then
+ va_copy_func=va_copy
+else if test "x$lib_cv___va_copy" = "xyes"; then
+ va_copy_func=__va_copy
+fi
+fi
+
+if test -n "$va_copy_func"; then
+
+cat >>confdefs.h <<_ACEOF
+#define VA_COPY $va_copy_func
+_ACEOF
+
+fi
+
+echo "$as_me:$LINENO: checking whether va_lists can be copied by value" >&5
+echo $ECHO_N "checking whether va_lists can be copied by value... $ECHO_C" >&6
+if test "${lib_cv_va_val_copy+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ if test "$cross_compiling" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot run test program while cross compiling
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <stdarg.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
+ args2 = args1;
+ if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
+ exit (1);
+ va_end (args1); va_end (args2);
+ }
+ int main() {
+ f (0, 42);
+ return 0;
+ }
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- eval "wapi_cv_lib_$ac_lib_var=yes"
+ lib_cv_va_val_copy=yes
else
- echo "$as_me: failed program was:" >&5
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-eval "wapi_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS="$ac_save_LIBS"
-
+( exit $ac_status )
+lib_cv_va_val_copy=no
fi
-if eval "test \"`echo '$wapi_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- EXTRALIBS="$EXTRALIBS -lwsock32"
- EXTRADEFS="$EXTRADEFS -DWINSOCK"
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
+echo "$as_me:$LINENO: result: $lib_cv_va_val_copy" >&5
+echo "${ECHO_T}$lib_cv_va_val_copy" >&6
+
+if test "x$lib_cv_va_val_copy" = "xno"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define VA_COPY_AS_ARRAY 1
+_ACEOF
- fi
fi
-# Checks on Mingw
-if test "x$CYGWIN" = xyes || test "x$MINGW" = xyes ; then
+# Checks on cygnus and MSYS
+if test "x$MSYS" = xyes ; then
case "$ac_cv_header_dirent_dirent_h$ac_cv_header_dirent_sys_ndir_h$ac_cv_header_dirent_sys_dir_h$ac_cv_header_dirent_ndir_h" in
*yes*)
echo "$as_me:$LINENO: checking for opendir" >&5
W32READDIR=yes
;;
esac
- if test "x$enable_network" = "xyes"; then
+ if test "x$VCPP" = xyes || test "x$BORLANDC" = xyes || test "x$WATCOM_C" = xyes || test "x$DMC" = xyes || test "x$POCC" = xyes; then
+ EXTRALIBS="$EXTRALIBS ws2_32.lib"
+ EXTRADEFS="$EXTRADEFS -DWINSOCK"
+ else
echo "$as_me:$LINENO: checking for socket" >&5
echo $ECHO_N "checking for socket... $ECHO_C" >&6
if test "${ac_cv_func_socket+set}" = set; then
if test $ac_cv_func_socket = yes; then
:
else
- echo "$as_me:$LINENO: checking for WSAStartup in -lwsock32" >&5
-echo $ECHO_N "checking for WSAStartup in -lwsock32... $ECHO_C" >&6
-ac_lib_var=`echo wsock32'_'WSAStartup | sed 'y%./+-%__p_%'`
+ echo "$as_me:$LINENO: checking for WSAStartup in -lws2_32" >&5
+echo $ECHO_N "checking for WSAStartup in -lws2_32... $ECHO_C" >&6
+ac_lib_var=`echo ws2_32'_'WSAStartup | sed 'y%./+-%__p_%'`
if eval "test \"\${wapi_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lwsock32 $LIBS"
+LIBS="-lws2_32 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
if eval "test \"`echo '$wapi_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- EXTRALIBS="$EXTRALIBS -lwsock32"
- EXTRADEFS="$EXTRADEFS -DWINSOCK"
+ EXTRALIBS="$EXTRALIBS -lws2_32"
+ EXTRADEFS="$EXTRADEFS -DWINSOCK"
+
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
+
fi
fi
# audio section
#
-audio_targets='default oss alsa sun hpux irix mme sb_dsp w32 alib nas arts esd vorbis flac gogo portaudio jack ao'
+audio_targets='default oss alsa sun hpux irix mme sb_dsp w32 alib nas arts esd vorbis flac gogo portaudio npipe jack ao'
# Check whether --with-nas-library or --without-nas-library was given.
*-*-netbsd*)
au_enable_sun=yes
;;
+ *-*-openbsd*)
+ au_enable_sun=yes
+ ;;
*-*-cygwin*)
au_enable_w32=yes
;;
;;
esac
SYSEXTRAS="$SYSEXTRAS w32_a.c"
- EXTRALIBS="$EXTRALIBS -lwinmm"
+ if test "x$VCPP" = xyes || test "x$BORLANDC" = xyes || test "x$WATCOM_C" = xyes || test "x$DMC" = xyes || test "x$POCC" = xyes; then
+ EXTRALIBS="$EXTRALIBS winmm.lib"
+ else
+ EXTRALIBS="$EXTRALIBS -lwinmm"
+ fi
EXTRADEFS="$EXTRADEFS -DAU_W32"
else
echo "$as_me:$LINENO: result: no" >&5
for f in $ALSA_CFLAGS; do
case ".$f" in
.-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
esac
done
if test "x$have_xprelibs" = xyes; then
lib_xprelibs_opt='-lSM -lICE'
fi
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
-echo "$as_me:$LINENO: checking enable_audio=arts" >&5
-echo $ECHO_N "checking enable_audio=arts... $ECHO_C" >&6
-if test "x$au_enable_arts" = xyes; then
- echo "$as_me:$LINENO: result: yes, configuring aRts" >&5
-echo "${ECHO_T}yes, configuring aRts" >&6
- KEEPCFLAGS=$CFLAGS
- KEEPLIBS=$LIBS
- KEEPLDFLAGS=$LDFLAGS
-
-# Check whether --with-arts-prefix or --without-arts-prefix was given.
-if test "${with_arts_prefix+set}" = set; then
- withval="$with_arts_prefix"
- arts_prefix="$withval"
-else
- arts_prefix=""
-fi;
-# Check whether --enable-artstest or --disable-artstest was given.
-if test "${enable_artstest+set}" = set; then
- enableval="$enable_artstest"
-
-else
- enable_artstest=yes
-fi;
-
- if test x$arts_prefix != x ; then
- arts_args="$arts_args --prefix=$arts_prefix"
- if test x${ARTS_CONFIG+set} != xset ; then
- ARTS_CONFIG=$arts_prefix/bin/artsc-config
- fi
- fi
-
- # Extract the first word of "artsc-config", so it can be a program name with args.
-set dummy artsc-config; ac_word=$2
-echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-if test "${ac_cv_path_ARTS_CONFIG+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $ARTS_CONFIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_ARTS_CONFIG="$ARTS_CONFIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_ARTS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-
- test -z "$ac_cv_path_ARTS_CONFIG" && ac_cv_path_ARTS_CONFIG="no"
- ;;
-esac
-fi
-ARTS_CONFIG=$ac_cv_path_ARTS_CONFIG
-
-if test -n "$ARTS_CONFIG"; then
- echo "$as_me:$LINENO: result: $ARTS_CONFIG" >&5
-echo "${ECHO_T}$ARTS_CONFIG" >&6
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
- min_arts_version=0.9.5
- echo "$as_me:$LINENO: checking for ARTS - version >= $min_arts_version" >&5
-echo $ECHO_N "checking for ARTS - version >= $min_arts_version... $ECHO_C" >&6
- no_arts=""
- if test "$ARTS_CONFIG" = "no" ; then
- no_arts=yes
- else
- ARTS_CFLAGS=`$ARTS_CONFIG $artsconf_args --cflags`
- ARTS_LIBS=`$ARTS_CONFIG $artsconf_args --libs`
-
- arts_major_version=`$ARTS_CONFIG $arts_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
- arts_minor_version=`$ARTS_CONFIG $arts_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
- arts_micro_version=`$ARTS_CONFIG $arts_config_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
- if test "x$enable_artstest" = "xyes" ; then
- ac_save_CFLAGS="$CFLAGS"
- ac_save_LIBS="$LIBS"
- CFLAGS="$CFLAGS $ARTS_CFLAGS"
- LIBS="$LIBS $ARTS_LIBS"
- rm -f conf.artstest
- if test "$cross_compiling" = yes; then
- echo $ac_n "cross compiling; assumed OK... $ac_c"
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <artsc.h>
-
-char*
-my_strdup (char *str)
-{
- char *new_str;
-
- if (str)
- {
- new_str = malloc ((strlen (str) + 1) * sizeof(char));
- strcpy (new_str, str);
- }
- else
- new_str = NULL;
-
- return new_str;
-}
-
-int main ()
-{
- int major, minor, micro;
- char *tmp_version;
-
- system ("touch conf.artstest");
-
- /* HP/UX 9 (%@#!) writes to sscanf strings */
- tmp_version = my_strdup("$min_arts_version");
- if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
- printf("%s, bad version string\n", "$min_arts_version");
- exit(1);
- }
-
- if (($arts_major_version > major) ||
- (($arts_major_version == major) && ($arts_minor_version > minor)) ||
- (($arts_major_version == major) && ($arts_minor_version == minor) && ($arts_micro_version >= micro)))
- {
- return 0;
- }
- else
- {
- printf("\n*** 'artsc-config --version' returned %d.%d.%d, but the minimum version\n", $arts_major_version, $arts_minor_version, $arts_micro_version);
- printf("*** of ARTS required is %d.%d.%d. If artsc-config is correct, then it is\n", major, minor, micro);
- printf("*** best to upgrade to the required version.\n");
- printf("*** If artsc-config was wrong, set the environment variable ARTS_CONFIG\n");
- printf("*** to point to the correct copy of artsc-config, and remove the file\n");
- printf("*** config.cache before re-running configure\n");
- return 1;
- }
-}
-
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
-_ACEOF
-rm -f conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- :
+echo "$as_me:$LINENO: checking enable_audio=arts" >&5
+echo $ECHO_N "checking enable_audio=arts... $ECHO_C" >&6
+if test "x$au_enable_arts" = xyes; then
+ echo "$as_me:$LINENO: result: yes, configuring aRts" >&5
+echo "${ECHO_T}yes, configuring aRts" >&6
+ # Extract the first word of "artsc-config", so it can be a program name with args.
+set dummy artsc-config; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
- echo "$as_me: program exited with status $ac_status" >&5
-echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+ case $ARTSCCONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
-( exit $ac_status )
-no_arts=yes
-fi
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+ ;;
+esac
fi
- CFLAGS="$ac_save_CFLAGS"
- LIBS="$ac_save_LIBS"
- fi
- fi
- if test "x$no_arts" = x ; then
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- :
- else
- echo "$as_me:$LINENO: result: no" >&5
+ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
+
+if test -n "$ARTSCCONFIG"; then
+ echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
+echo "${ECHO_T}$ARTSCCONFIG" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
- if test "$ARTS_CONFIG" = "no" ; then
- echo "*** The artsc-config script installed by ARTS could not be found"
- echo "*** If ARTS was installed in PREFIX, make sure PREFIX/bin is in"
- echo "*** your path, or set the ARTS_CONFIG environment variable to the"
- echo "*** full path to artsc-config."
- else
- if test -f conf.artstest ; then
- :
- else
- echo "*** Could not run ARTS test program, checking why..."
- CFLAGS="$CFLAGS $ARTS_CFLAGS"
- LIBS="$LIBS $ARTS_LIBS"
- cat >conftest.$ac_ext <<_ACEOF
+fi
+
+ if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
+ then
+ ARTSC_CFLAGS=""
+ for i in `$ARTSCCONFIG --cflags`
+ do
+ case "$i" in
+ -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
+ esac
+ done
+ ARTSC_LIBS=`$ARTSCCONFIG --libs`
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $ARTSC_CFLAGS"
+ cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
-#include <stdio.h>
#include <artsc.h>
-
int
main ()
{
- return 0;
+arts_stream_t stream;
;
return 0;
}
_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
+ { ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "*** The test program compiled, but did not run. This usually means"
- echo "*** that the run-time linker is not finding ARTS or finding the wrong"
- echo "*** version of ARTS. If it is not finding ARTS, you'll need to set your"
- echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
- echo "*** to the installed location Also, make sure you have run ldconfig if that"
- echo "*** is required on your system"
- echo "***"
- echo "*** If you have an old version installed, it is best to remove it, although"
- echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
+ ARTSLIBS=$ARTSC_LIBS
+
+ ARTSINCL=$ARTSC_CFLAGS
+
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_ARTS 1
+_ACEOF
+
+ have_arts="yes"
+
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- echo "*** The test program failed to compile or link. See the file config.log for the"
- echo "*** exact error that occured. This usually means ARTS was incorrectly installed"
- echo "*** or that you have moved ARTS since it was installed. In the latter case, you"
- echo "*** may want to edit the arts-config script: $ARTS_CONFIG"
fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- CFLAGS="$ac_save_CFLAGS"
- LIBS="$ac_save_LIBS"
- fi
- fi
- ARTS_CFLAGS=""
- ARTS_LIBS=""
- :
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+ CFLAGS="$save_CFLAGS"
fi
-
- rm -f conf.artstest
-
- CFLAGS=$KEEPCFLAGS
- LIBS=$KEEPLIBS
- LDFLAGS=$KEEPLDFLAGS
- if test "x$no_arts" = x; then
+ if test "$have_arts" = "yes"; then
EXTRADEFS="$EXTRADEFS -DAU_ARTS"
SYSEXTRAS="$SYSEXTRAS aRts_a.c"
- for f in $ARTS_CFLAGS; do
+ for f in $ARTSC_CFLAGS; do
case ".$f" in
.-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
esac
done
- LIBS="$LIBS $ARTS_LIBS"
+ LIBS="$LIBS $ARTSC_LIBS"
else
{ echo "$as_me:$LINENO: WARNING: aRts: Couldn't configure" >&5
echo "$as_me: WARNING: aRts: Couldn't configure" >&2;}
for f in $ESD_CFLAGS; do
case ".$f" in
.-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
esac
done
if test "x$au_enable_portaudio" = xyes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- if test "x$CYGNUS" = xyes ||test "x$MINGW" = xyes; then
+ if test "x$MSYS" = xyes ; then
SYSEXTRAS="$SYSEXTRAS portaudio_a.c w32_portaudio_dll.c"
EXTRALIBS="$EXTRALIBS -lportaudio"
EXTRADEFS="$EXTRADEFS -DAU_PORTAUDIO -DAU_PORTAUDIO_DLL"
echo "${ECHO_T}no" >&6
fi
+echo "$as_me:$LINENO: checking enable_audio=npipe" >&5
+echo $ECHO_N "checking enable_audio=npipe... $ECHO_C" >&6
+if test "x$au_enable_npipe" = xyes; then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ SYSEXTRAS="$SYSEXTRAS npipe_a.c"
+ EXTRADEFS="$EXTRADEFS -DAU_NPIPE"
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+
echo "$as_me:$LINENO: checking enable_audio=jack" >&5
echo $ECHO_N "checking enable_audio=jack... $ECHO_C" >&6
if test "x$au_enable_jack" = xyes; then
echo "*** exact error that occured. This usually means ao was incorrectly installed"
echo "*** or that you have moved ao since it was installed."
fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- CFLAGS="$ac_save_CFLAGS"
- LIBS="$ac_save_LIBS"
- fi
- AO_CFLAGS=""
- AO_LIBS=""
- :
- fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ AO_CFLAGS=""
+ AO_LIBS=""
+ :
+ fi
+
+
+ rm -f conf.aotest
+
+ if test "x$no_ao" = "x" ; then
+ # AC_MSG_RESULT(yes)
+ EXTRADEFS="$EXTRADEFS -DAU_AO"
+ SYSEXTRAS="$SYSEXTRAS ao_a.c"
+ for f in $AO_CFLAGS; do
+ case ".$f" in
+ .-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
+ esac
+done
+
+ LIBS="$LIBS $AO_LIBS"
+ else
+ { echo "$as_me:$LINENO: WARNING: Couldn't configure libao." >&5
+echo "$as_me: WARNING: Couldn't configure libao." >&2;}
+ fi
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+echo "$as_me:$LINENO: checking enable_audio=vorbis" >&5
+echo $ECHO_N "checking enable_audio=vorbis... $ECHO_C" >&6
+if test "x$au_enable_vorbis" = xyes; then
+ echo "$as_me:$LINENO: result: yes, configuring vorbis" >&5
+echo "${ECHO_T}yes, configuring vorbis" >&6
+ if test "x$MSYS" = "xyes" && test "x$MINGWGCC" != "xyes" ; then
+ if test "${ac_cv_header_vorbis_vorbisenc_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for vorbis/vorbisenc.h" >&5
+echo $ECHO_N "checking for vorbis/vorbisenc.h... $ECHO_C" >&6
+if test "${ac_cv_header_vorbis_vorbisenc_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisenc_h" >&5
+echo "${ECHO_T}$ac_cv_header_vorbis_vorbisenc_h" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking vorbis/vorbisenc.h usability" >&5
+echo $ECHO_N "checking vorbis/vorbisenc.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <vorbis/vorbisenc.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking vorbis/vorbisenc.h presence" >&5
+echo $ECHO_N "checking vorbis/vorbisenc.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <vorbis/vorbisenc.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: vorbis/vorbisenc.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: vorbis/vorbisenc.h: in the future, the compiler will take precedence" >&2;}
+ (
+ cat <<\_ASBOX
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
+_ASBOX
+ ) |
+ sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+echo "$as_me:$LINENO: checking for vorbis/vorbisenc.h" >&5
+echo $ECHO_N "checking for vorbis/vorbisenc.h... $ECHO_C" >&6
+if test "${ac_cv_header_vorbis_vorbisenc_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_vorbis_vorbisenc_h=$ac_header_preproc
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisenc_h" >&5
+echo "${ECHO_T}$ac_cv_header_vorbis_vorbisenc_h" >&6
+
+fi
+if test $ac_cv_header_vorbis_vorbisenc_h = yes; then
+ :
+else
+ EXTRADEFS="-DAU_VORBIS_DLL $EXTRADEFS"
+ SYSEXTRAS="$SYSEXTRAS w32g_vorbisenc_dll.c w32g_vorbis_dll.c w32g_ogg_dll.c"
- rm -f conf.aotest
+fi
- if test "x$no_ao" = "x" ; then
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- EXTRADEFS="$EXTRADEFS -DAU_AO"
- SYSEXTRAS="$SYSEXTRAS ao_a.c"
- for f in $AO_CFLAGS; do
- case ".$f" in
- .-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
- esac
-done
- LIBS="$LIBS $AO_LIBS"
else
- { echo "$as_me:$LINENO: WARNING: Couldn't configure libao." >&5
-echo "$as_me: WARNING: Couldn't configure libao." >&2;}
- fi
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
-echo "$as_me:$LINENO: checking enable_audio=vorbis" >&5
-echo $ECHO_N "checking enable_audio=vorbis... $ECHO_C" >&6
-if test "x$au_enable_vorbis" = xyes; then
- echo "$as_me:$LINENO: result: yes, configuring vorbis" >&5
-echo "${ECHO_T}yes, configuring vorbis" >&6
# Check whether --with-ogg or --without-ogg was given.
if test "${with_ogg+set}" = set; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
- LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
+ LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
rm -f conf.vorbistest
if test "$cross_compiling" = yes; then
echo $ac_n "cross compiling; assumed OK... $ac_c"
#include <stdlib.h>
#include <string.h>
#include <vorbis/codec.h>
+#include <vorbis/vorbisenc.h>
int main ()
{
- system("touch conf.vorbistest");
- return 0;
+ vorbis_block vb;
+ vorbis_dsp_state vd;
+ vorbis_info vi;
+
+ vorbis_info_init (&vi);
+ vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
+ vorbis_analysis_init (&vd, &vi);
+ vorbis_block_init (&vd, &vb);
+ /* this function was added in 1.0rc3, so this is what we're testing for */
+ vorbis_bitrate_addblock (&vb);
+
+ system("touch conf.vorbistest");
+ return 0;
}
SYSEXTRAS="$SYSEXTRAS vorbis_a.c"
EXTRADEFS="$EXTRADEFS -DAU_VORBIS $OGG_CFLAGS $VORBIS_CFLAGS"
EXTRALIBS="$EXTRALIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
- if test "x$CYGNUS" = "xyes"; then
- EXTRADEFS="-DAU_VORBIS_DLL $EXTRADEFS"
- SYSEXTRAS="$SYSEXTRAS w32g_vorbisenc_dll.c w32g_vorbis_dll.c w32g_ogg_dll.c"
- fi
- if test "x$MINGW" = "xyes"; then
+ if test "x$MSYS" = "xyes" && test "x$MINGWGCC" = "xyes" ; then
EXTRADEFS="-DAU_VORBIS_DLL $EXTRADEFS"
SYSEXTRAS="$SYSEXTRAS w32g_vorbisenc_dll.c w32g_vorbis_dll.c w32g_ogg_dll.c"
fi
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- echo "*** The test program failed to compile or link. See the file config.log for the"
- echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
- echo "*** or that you have moved Ogg since it was installed. In the latter case, you"
- echo "*** may want to edit the ogg-config script: $OGG_CONFIG"
+ echo "*** The test program failed to compile or link. See the file config.log for the"
+ echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
+ echo "*** or that you have moved Ogg since it was installed."
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ OGG_CFLAGS=""
+ OGG_LIBS=""
+
+ { echo "$as_me:$LINENO: WARNING: Unable to configure vorbis!" >&5
+echo "$as_me: WARNING: Unable to configure vorbis!" >&2;}
+ have_vorbis=no
+
+ fi
+
+
+ rm -f conf.oggtest
+
+ fi
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+if test "x$MSYS" = xyes ; then
+ echo "$as_me:$LINENO: checking enable_audio=flac" >&5
+echo $ECHO_N "checking enable_audio=flac... $ECHO_C" >&6
+ if test "x$au_enable_flac" = xyes; then
+ echo "$as_me:$LINENO: result: yes, configuring flac" >&5
+echo "${ECHO_T}yes, configuring flac" >&6
+ SYSEXTRAS="$SYSEXTRAS flac_a.c w32_libFLAC_dll.c w32_libOggFLAC_dll.c"
+ if test "${ac_cv_header_FLAC_all_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for FLAC/all.h" >&5
+echo $ECHO_N "checking for FLAC/all.h... $ECHO_C" >&6
+if test "${ac_cv_header_FLAC_all_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_FLAC_all_h" >&5
+echo "${ECHO_T}$ac_cv_header_FLAC_all_h" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking FLAC/all.h usability" >&5
+echo $ECHO_N "checking FLAC/all.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <FLAC/all.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking FLAC/all.h presence" >&5
+echo $ECHO_N "checking FLAC/all.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <FLAC/all.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: FLAC/all.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: FLAC/all.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: FLAC/all.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: FLAC/all.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: FLAC/all.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: FLAC/all.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: FLAC/all.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: FLAC/all.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: FLAC/all.h: in the future, the compiler will take precedence" >&2;}
+ (
+ cat <<\_ASBOX
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
+_ASBOX
+ ) |
+ sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+echo "$as_me:$LINENO: checking for FLAC/all.h" >&5
+echo $ECHO_N "checking for FLAC/all.h... $ECHO_C" >&6
+if test "${ac_cv_header_FLAC_all_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_FLAC_all_h=$ac_header_preproc
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_FLAC_all_h" >&5
+echo "${ECHO_T}$ac_cv_header_FLAC_all_h" >&6
+
+fi
+if test $ac_cv_header_FLAC_all_h = yes; then
+
+ EXTRADEFS="$EXTRADEFS -DAU_FLAC -DAU_FLAC_DLL"
+
+fi
+
+
+ if test "${ac_cv_header_OggFLAC_all_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for OggFLAC/all.h" >&5
+echo $ECHO_N "checking for OggFLAC/all.h... $ECHO_C" >&6
+if test "${ac_cv_header_OggFLAC_all_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_OggFLAC_all_h" >&5
+echo "${ECHO_T}$ac_cv_header_OggFLAC_all_h" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking OggFLAC/all.h usability" >&5
+echo $ECHO_N "checking OggFLAC/all.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <OggFLAC/all.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking OggFLAC/all.h presence" >&5
+echo $ECHO_N "checking OggFLAC/all.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <OggFLAC/all.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: OggFLAC/all.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: OggFLAC/all.h: in the future, the compiler will take precedence" >&2;}
+ (
+ cat <<\_ASBOX
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
+_ASBOX
+ ) |
+ sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+echo "$as_me:$LINENO: checking for OggFLAC/all.h" >&5
+echo $ECHO_N "checking for OggFLAC/all.h... $ECHO_C" >&6
+if test "${ac_cv_header_OggFLAC_all_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_OggFLAC_all_h=$ac_header_preproc
fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- CFLAGS="$ac_save_CFLAGS"
- LIBS="$ac_save_LIBS"
- fi
- OGG_CFLAGS=""
- OGG_LIBS=""
+echo "$as_me:$LINENO: result: $ac_cv_header_OggFLAC_all_h" >&5
+echo "${ECHO_T}$ac_cv_header_OggFLAC_all_h" >&6
- { echo "$as_me:$LINENO: WARNING: Unable to configure vorbis!" >&5
-echo "$as_me: WARNING: Unable to configure vorbis!" >&2;}
- have_vorbis=no
+fi
+if test $ac_cv_header_OggFLAC_all_h = yes; then
- fi
+ EXTRADEFS="$EXTRADEFS -DAU_OGGFLAC -DAU_OGGFLAC_DLL"
+fi
- rm -f conf.oggtest
-else
- echo "$as_me:$LINENO: result: no" >&5
+ else
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
-fi
-
-echo "$as_me:$LINENO: checking enable_audio=flac" >&5
+ fi
+else
+ echo "$as_me:$LINENO: checking enable_audio=flac" >&5
echo $ECHO_N "checking enable_audio=flac... $ECHO_C" >&6
-if test "x$au_enable_flac" = xyes; then
- echo "$as_me:$LINENO: result: yes, configuring flac" >&5
+ if test "x$au_enable_flac" = xyes; then
+ echo "$as_me:$LINENO: result: yes, configuring flac" >&5
echo "${ECHO_T}yes, configuring flac" >&6
- SYSEXTRAS="$SYSEXTRAS flac_a.c"
+ SYSEXTRAS="$SYSEXTRAS flac_a.c"
# Check whether --with-libFLAC or --without-libFLAC was given.
if test "${with_libFLAC+set}" = set; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- EXTRADEFS="$EXTRADEFS -DAU_FLAC"
- for f in $LIBFLAC_CFLAGS; do
+ EXTRADEFS="$EXTRADEFS -DAU_FLAC"
+ for f in $LIBFLAC_CFLAGS; do
case ".$f" in
.-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
esac
done
- LIBS="$LIBS $LIBFLAC_LIBS"
+ LIBS="$LIBS $LIBFLAC_LIBS"
else
echo "$as_me:$LINENO: result: no" >&5
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- EXTRADEFS="$EXTRADEFS -DAU_OGGFLAC"
- for f in $LIBOGGFLAC_CFLAGS; do
+ EXTRADEFS="$EXTRADEFS -DAU_OGGFLAC"
+ for f in $LIBOGGFLAC_CFLAGS; do
case ".$f" in
.-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
esac
done
- LIBS="$LIBS $LIBOGGFLAC_LIBS"
+ LIBS="$LIBS $LIBOGGFLAC_LIBS"
else
echo "$as_me:$LINENO: result: no" >&5
rm -f conf.libOggFLACtest
-else
- echo "$as_me:$LINENO: result: no" >&5
+ else
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
+ fi
fi
-
echo "$as_me:$LINENO: checking enable_audio=speex" >&5
echo $ECHO_N "checking enable_audio=speex... $ECHO_C" >&6
if test "x$au_enable_speex" = xyes; then
- if test "${have_speex+set}" = set; then
+ if test "${timidity_cv_have_speex+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
- #include <speex.h>
+ #include <speex/speex.h>
#include <ogg/ogg.h>
int
echo "$as_me:$LINENO: checking enable_audio=gogo" >&5
echo $ECHO_N "checking enable_audio=gogo... $ECHO_C" >&6
if test "x$au_enable_gogo" = xyes; then
- if test "x$CYGNUS" = "xyes"; then
+ if test "x$MSYS" = "xyes"; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
- if test "x$MINGW" = "xyes"; then
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- else
- { echo "$as_me:$LINENO: WARNING: May be gogo is not supported. You need hack the gogo_a.c" >&5
+ { echo "$as_me:$LINENO: WARNING: May be gogo is not supported. You need hack the gogo_a.c" >&5
echo "$as_me: WARNING: May be gogo is not supported. You need hack the gogo_a.c" >&2;}
- fi
fi
- have_gogo=yes
+ if test "${ac_cv_header_gogo_gogo_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for gogo/gogo.h" >&5
+echo $ECHO_N "checking for gogo/gogo.h... $ECHO_C" >&6
+if test "${ac_cv_header_gogo_gogo_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_gogo_gogo_h" >&5
+echo "${ECHO_T}$ac_cv_header_gogo_gogo_h" >&6
+else
+ # Is the header compilable?
+echo "$as_me:$LINENO: checking gogo/gogo.h usability" >&5
+echo $ECHO_N "checking gogo/gogo.h usability... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <gogo/gogo.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_header_compiler=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6
+
+# Is the header present?
+echo "$as_me:$LINENO: checking gogo/gogo.h presence" >&5
+echo $ECHO_N "checking gogo/gogo.h presence... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <gogo/gogo.h>
+_ACEOF
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.$ac_ext
+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: gogo/gogo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: gogo/gogo.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: gogo/gogo.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: gogo/gogo.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: gogo/gogo.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: gogo/gogo.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: gogo/gogo.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: gogo/gogo.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: gogo/gogo.h: in the future, the compiler will take precedence" >&2;}
+ (
+ cat <<\_ASBOX
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
+_ASBOX
+ ) |
+ sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+echo "$as_me:$LINENO: checking for gogo/gogo.h" >&5
+echo $ECHO_N "checking for gogo/gogo.h... $ECHO_C" >&6
+if test "${ac_cv_header_gogo_gogo_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_gogo_gogo_h=$ac_header_preproc
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_gogo_gogo_h" >&5
+echo "${ECHO_T}$ac_cv_header_gogo_gogo_h" >&6
+
+fi
+if test $ac_cv_header_gogo_gogo_h = yes; then
+
+ have_gogo=yes
+
+fi
+
+
SYSEXTRAS="$SYSEXTRAS gogo_a.c w32_gogo.c"
EXTRADEFS="$EXTRADEFS -DAU_GOGO -DAU_GOGO_DLL"
- EXTRALIBS="$EXTRALIBS -lgogo"
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
.arts) TIMIDITY_OUTPUT_ID=R ;;
.esd) TIMIDITY_OUTPUT_ID=e ;;
.portaudio) TIMIDITY_OUTPUT_ID=p ;;
+ .npipe) TIMIDITY_OUTPUT_ID=N ;;
.wav) TIMIDITY_OUTPUT_ID=w ;;
.au) TIMIDITY_OUTPUT_ID=u ;;
.aiff) TIMIDITY_OUTPUT_ID=a ;;
.speex) TIMIDITY_OUTPUT_ID=S ;;
.gogo) TIMIDITY_OUTPUT_ID=g ;;
.jack) TIMIDITY_OUTPUT_ID=j ;;
+ .ao) TIMIDITY_OUTPUT_ID=O ;;
*) TIMIDITY_OUTPUT_ID= ;;
esac
echo "$as_me:$LINENO: result: $DEFAULT_PLAYMODE/$TIMIDITY_OUTPUT_ID" >&5
echo "${ECHO_T}$DEFAULT_PLAYMODE/$TIMIDITY_OUTPUT_ID" >&6
+
#
# Interface Section
#
-interface_targets='dynamic ncurses slang motif tcltk emacs vt100 xaw xskin gtk alsaseq winsyn winsyng portmidisyng'
+interface_targets='dynamic ncurses slang motif tcltk emacs vt100 xaw xskin gtk alsaseq winsyn winsyng portmidisyng npsyn'
# Check whether --enable-interface or --disable-interface was given.
if test "${enable_interface+set}" = set; then
#define SHARED_LIB_EXT ".$so"
_ACEOF
- test "x$GCC" = xyes -a "x$timidity_cv_ccoption_rdynamic" = xyes && timidity_LDFLAGS="-rdynamic"
+ if test "x$GCC" = xyes; then
+ if test "x$timidity_cv_ccoption_rdynamic" = xyes; then
+ timidity_LDFLAGS="-rdynamic"
+ else
+ timidity_LDFLAGS="-Wl,--export-dynamic"
+ fi
+ fi
fi
fi
+# Check whether --enable-xdnd or --disable-xdnd was given.
+if test "${enable_xdnd+set}" = set; then
+ enableval="$enable_xdnd"
+ if test "$enableval" = "yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define XDND 1
+_ACEOF
+
+ XDND_SRCS="xdnd.c"
+ enable_xdnd=yes
+ fi
+
+fi;
+
+
+if test "x$enable_xdnd" = "xyes"; then
+ ENABLE_XDND_TRUE=
+ ENABLE_XDND_FALSE='#'
+else
+ ENABLE_XDND_TRUE='#'
+ ENABLE_XDND_FALSE=
+fi
+
+
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
;;
*)
- { echo "$as_me:$LINENO: WARNING: ncurses interface is not enabled" >&5
+ if test "x$VCPP" = xyes || test "x$BORLANDC" = xyes || test "x$WATCOM_C" = xyes || test "x$DMC" = xyes || test "x$POCC" = xyes; then
+ lib_curses_opt=libpdcurses.lib
+
+cat >>confdefs.h <<\_ACEOF
+#define USE_PDCURSES 1
+_ACEOF
+
+ else
+ { echo "$as_me:$LINENO: WARNING: ncurses interface is not enabled" >&5
echo "$as_me: WARNING: ncurses interface is not enabled" >&2;}
- enable_ncurses=no
+ enable_ncurses=no
+ fi
;;
esac
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_n.\$(so)"
+ dynamic_targets="$dynamic_targets if_ncurses.\$(so)"
n_so_libs="$lib_curses_opt"
case "$target" in
*-*-freebsd123*)
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+ ;; esac
+fi;
+case "x$enable_slang" in
+xyes)
+ cat >> confdefs.h <<EOF
+#define IA_SLANG 1
+EOF
+
+
+
+if true; then
+ ENABLE_SLANG_TRUE=
+ ENABLE_SLANG_FALSE='#'
+else
+ ENABLE_SLANG_TRUE='#'
+ ENABLE_SLANG_FALSE=
+fi
+
+ case "$target" in
+ *openbsd*)
+ echo "$as_me:$LINENO: checking for initscr in -ltermcap" >&5
+echo $ECHO_N "checking for initscr in -ltermcap... $ECHO_C" >&6
+if test "${ac_cv_lib_termcap_initscr+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ltermcap $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char initscr ();
+int
+main ()
+{
+initscr ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_lib_termcap_initscr=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_termcap_initscr=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_initscr" >&5
+echo "${ECHO_T}$ac_cv_lib_termcap_initscr" >&6
+if test $ac_cv_lib_termcap_initscr = yes; then
+ LIBS="$LIBS -lslang -ltermcap"
+ INTERFACE_SRCS="$INTERFACE_SRCS slang_c.c"
-done
-
- ;; esac
-fi;
-case "x$enable_slang" in
-xyes)
- cat >> confdefs.h <<EOF
-#define IA_SLANG 1
-EOF
-
-
+ { echo "$as_me:$LINENO: WARNING: slang interface is not enabled" >&5
+echo "$as_me: WARNING: slang interface is not enabled" >&2;}
+ enable_slang=no
-if true; then
- ENABLE_SLANG_TRUE=
- ENABLE_SLANG_FALSE='#'
-else
- ENABLE_SLANG_TRUE='#'
- ENABLE_SLANG_FALSE=
fi
- LIBS="$LIBS -lslang"
- INTERFACE_SRCS="$INTERFACE_SRCS slang_c.c"
+ ;;
+ *)
+ LIBS="$LIBS -lslang"
+ INTERFACE_SRCS="$INTERFACE_SRCS slang_c.c"
+ ;;
+ esac
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_s.\$(so)"
+ dynamic_targets="$dynamic_targets if_slang.\$(so)"
s_so_libs="-lslang"
echo "$as_me:$LINENO: checking for initscr in -ltermcap" >&5
echo $ECHO_N "checking for initscr in -ltermcap... $ECHO_C" >&6
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_m.\$(so)"
+ dynamic_targets="$dynamic_targets if_motif.\$(so)"
if test x$have_xprelibs = xyes; then
m_so_libs="-lXext -lSM -lICE"
fi
tcl_lib=
tk_lib=
- for l in tcl tcl8.4 tcl8.3 tcl8.0jp tcl7.6jp tcl80jp tcl76jp tcl8.0 tcl7.6 tcl80 tcl76; do
+ for l in tcl tcl8.5 tcl8.4 tcl84 tcl8.3 tcl8.0jp tcl7.6jp tcl80jp tcl76jp tcl8.0 tcl7.6 tcl80 tcl76; do
case "x$tcl_lib" in x) as_ac_Lib=`echo "ac_cv_lib_$l''_Tcl_Init" | $as_tr_sh`
echo "$as_me:$LINENO: checking for Tcl_Init in -l$l" >&5
echo $ECHO_N "checking for Tcl_Init in -l$l... $ECHO_C" >&6
;; esac
done
LIBS="$LIBS $tcl_lib"
- for l in tk tk8.4 tk8.3 tk8.0jp tk4.2jp tk80jp tk42jp tk8.0 tk4.2 tk80 tk42; do
+ for l in tk tk8.5 tk8.4 tcl84 tk8.3 tk8.0jp tk4.2jp tk80jp tk42jp tk8.0 tk4.2 tk80 tk42; do
case "x$tk_lib" in x) as_ac_Lib=`echo "ac_cv_lib_$l''_Tk_Init" | $as_tr_sh`
echo "$as_me:$LINENO: checking for Tk_Init in -l$l" >&5
echo $ECHO_N "checking for Tk_Init in -l$l... $ECHO_C" >&6
ENABLE_TCLTK_FALSE=
fi
- LIBS=`echo $LIBS | sed "s/-lX11/$tk_lib $tcl_lib -lX11/"`
+ LIBS="$tk_lib $tcl_lib -lX11 $LIBS"
case "$target" in
*-*-bsdi*)
EXTRALIBS="$EXTRALIBS -lipc"
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_k.\$(so)"
+ dynamic_targets="$dynamic_targets if_tcltk.\$(so)"
k_so_libs="$tcl_libdir $tk_libdir $tcl_lib $tk_lib $lib_dl_opt"
case "$target" in
*-*-bsdi*)
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_e.\$(so)"
- ELFILES="$ELFILES timidity.el"
+ dynamic_targets="$dynamic_targets if_emacs.\$(so)"
+
+
+if true; then
+ ENABLE_EMACS_TRUE=
+ ENABLE_EMACS_FALSE='#'
+else
+ ENABLE_EMACS_TRUE='#'
+ ENABLE_EMACS_FALSE=
+fi
+
+ ELFILES="$ELFILES timidity.el"
;;
*)
INTERFACE_SRCS="$INTERFACE_SRCS vt100_c.c vt100.c"
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_T.\$(so)"
+ dynamic_targets="$dynamic_targets if_vt100.\$(so)"
;;
*)
echo "$as_me: error: xaw: --with-x option must be specified" >&2;}
{ (exit 1); exit 1; }; }
fi
- if test "x$have_xaw" != "xyes" -a "x$have_xaw" != "x3d"; then
+ if test "x$have_xaw" = "xno"; then
{ echo "$as_me:$LINENO: WARNING: X Athena Widget library is not found." >&5
echo "$as_me: WARNING: X Athena Widget library is not found." >&2;}
enable_xaw=no
fi
lib_xmu_opt=-lXmu
lib_xt_opt=-lXt
- if test "x$have_xaw" = x3d; then
+ if test "x$enable_xft" = "xyes" && test "x$have_xaw" != "xno"; then
+ XFT_CFLAGS="$(pkg-config --cflags xft)";
+ for f in $XFT_CFLAGS; do
+ case ".$f" in
+ .-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
+ esac
+done
+
+ lib_xft_opt="-lXft";
+ fi
+ case "$have_xaw" in
+ "yes")
+ lib_xaw_opt=-lXaw
+ ;;
+ "3d")
cat >>confdefs.h <<\_ACEOF
#define XAW3D 1
_ACEOF
- lib_xaw_opt=-lXaw3d
- else
- lib_xaw_opt=-lXaw
- fi
- INTERFACE_SRCS="$INTERFACE_SRCS xaw_c.c xaw_i.c"
+ lib_xaw_opt=-lXaw3d
+ ;;
+ "plus")
+
+cat >>confdefs.h <<\_ACEOF
+#define XAWPLUS 1
+_ACEOF
+
+ lib_xaw_opt="-lXpm -lXawPlus"
+ ;;
+ "next")
+
+cat >>confdefs.h <<\_ACEOF
+#define NEXTAW 1
+_ACEOF
+
+ lib_xaw_opt=-lneXtaw
+ ;;
+ esac
+ INTERFACE_SRCS="$INTERFACE_SRCS xaw_c.c xaw_i.c x_trace.c $XDND_SRCS"
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_a.\$(so)"
+ dynamic_targets="$dynamic_targets if_xaw.\$(so)"
if test "x$have_xext" = xyes; then
a_so_libs="-lXext -lX11"
else
if test "x$have_xprelibs" = xyes; then
a_so_libs="-lSM -lICE $a_so_libs"
fi
- if test "x$have_xaw" = xyes; then
- a_so_libs="-lXaw -lXmu -lXt $a_so_libs"
- elif test "x$have_xaw" = x3d; then
+ case "$have_xaw" in
+ "yes")
+ a_so_libs="-lXaw -lXmu -lXt $a_so_libs"
+ ;;
+ "3d")
cat >>confdefs.h <<\_ACEOF
#define XAW3D 1
_ACEOF
- a_so_libs="-lXaw3d -lXmu -lXt $a_so_libs"
+ a_so_libs="-lXaw3d -lXmu -lXt $a_so_libs"
+ ;;
+ "plus")
+
+cat >>confdefs.h <<\_ACEOF
+#define XAWPLUS 1
+_ACEOF
+
+ a_so_libs="-lXawPlus -lXpm -lXmu -lXt $a_so_libs"
+ ;;
+ "next")
+
+cat >>confdefs.h <<\_ACEOF
+#define NEXTAW 1
+_ACEOF
+
+ a_so_libs="-lneXtaw -lXmu -lXt $a_so_libs"
+ ;;
+ esac
+ if test "x$enable_xft" = "xyes" && test "x$have_xaw" != "xno"; then
+ XFT_CFLAGS="$(pkg-config --cflags xft)";
+ for f in $XFT_CFLAGS; do
+ case ".$f" in
+ .-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
+ esac
+done
+
+ a_so_libs="$a_so_libs -lXft";
fi
a_so_libs="$ldflags_x_opt $a_so_libs"
INTERFACE_SRCS="$INTERFACE_SRCS xskin_c.c xskin_i.c xskin_loadBMP.c xskin_spectrum.c"
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_i.\$(so)"
+ dynamic_targets="$dynamic_targets if_xskin.\$(so)"
i_so_libs="$ldflags_x_opt -lX11"
;;
*)
-if false; then
- ENABLE_GTK_TRUE=
- ENABLE_GTK_FALSE='#'
+if false; then
+ ENABLE_GTK_TRUE=
+ ENABLE_GTK_FALSE='#'
+else
+ ENABLE_GTK_TRUE='#'
+ ENABLE_GTK_FALSE=
+fi
+
+# Check whether --enable-gtk or --disable-gtk was given.
+if test "${enable_gtk+set}" = set; then
+ enableval="$enable_gtk"
+ case "x$enable_gtk" in xyes|xdynamic) # Check whether --enable-gtktest or --disable-gtktest was given.
+if test "${enable_gtktest+set}" = set; then
+ enableval="$enable_gtktest"
+
+else
+ enable_gtktest=yes
+fi;
+
+ pkg_config_args=gtk+-2.0
+ for module in .
+ do
+ case "$module" in
+ gthread)
+ pkg_config_args="$pkg_config_args gthread-2.0"
+ ;;
+ esac
+ done
+
+ no_gtk=""
+
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+
+if test -n "$PKG_CONFIG"; then
+ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
+echo "${ECHO_T}$PKG_CONFIG" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+
+ if test x$PKG_CONFIG != xno ; then
+ if pkg-config --atleast-pkgconfig-version 0.7 ; then
+ :
+ else
+ echo *** pkg-config too old; version 0.7 or better required.
+ no_gtk=yes
+ PKG_CONFIG=no
+ fi
+ else
+ no_gtk=yes
+ fi
+
+ min_gtk_version=2.0.0
+ echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
+echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
+
+ if test x$PKG_CONFIG != xno ; then
+ ## don't try to run the test against uninstalled libtool libs
+ if $PKG_CONFIG --uninstalled $pkg_config_args; then
+ echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
+ enable_gtktest=no
+ fi
+
+ if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
+ :
+ else
+ no_gtk=yes
+ fi
+ fi
+
+ if test x"$no_gtk" = x ; then
+ GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
+ GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
+ gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+ gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+ gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
+ if test "x$enable_gtktest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$GTK_LIBS $LIBS"
+ rm -f conf.gtktest
+ if test "$cross_compiling" = yes; then
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <gtk/gtk.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main ()
+{
+ int major, minor, micro;
+ char *tmp_version;
+
+ system ("touch conf.gtktest");
+
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
+ tmp_version = g_strdup("$min_gtk_version");
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
+ printf("%s, bad version string\n", "$min_gtk_version");
+ exit(1);
+ }
+
+ if ((gtk_major_version != $gtk_config_major_version) ||
+ (gtk_minor_version != $gtk_config_minor_version) ||
+ (gtk_micro_version != $gtk_config_micro_version))
+ {
+ printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf ("*** was found! If pkg-config was correct, then it is best\n");
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
+ printf("*** required on your system.\n");
+ printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
+ printf("*** to point to the correct configuration files\n");
+ }
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
+ (gtk_micro_version != GTK_MICRO_VERSION))
+ {
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
+ printf("*** library (version %d.%d.%d)\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ }
+ else
+ {
+ if ((gtk_major_version > major) ||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
+ {
+ return 0;
+ }
+ else
+ {
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
+ major, minor, micro);
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
+ printf("***\n");
+ printf("*** If you have already installed a sufficiently new version, this error\n");
+ printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
+ printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
+ printf("*** correct copy of pkg-config. (In this case, you will have to\n");
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
+ printf("*** so that the correct libraries are found at run-time))\n");
+ }
+ }
+ return 1;
+}
+
+_ACEOF
+rm -f conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+no_gtk=yes
+fi
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ if test "x$no_gtk" = x ; then
+ echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
+echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_GTK_2 1
+_ACEOF
+
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** A new enough version of pkg-config was not found."
+ echo "*** See http://pkgconfig.sourceforge.net"
+ else
+ if test -f conf.gtktest ; then
+ :
+ else
+ echo "*** Could not run GTK+ test program, checking why..."
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$LIBS $GTK_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <gtk/gtk.h>
+#include <stdio.h>
+
+int
+main ()
+{
+ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ echo "*** The test program compiled, but did not run. This usually means"
+ echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
+ echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
+ echo "*** is required on your system"
+ echo "***"
+ echo "*** If you have an old version installed, it is best to remove it, although"
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
else
- ENABLE_GTK_TRUE='#'
- ENABLE_GTK_FALSE=
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ echo "*** The test program failed to compile or link. See the file config.log for the"
+ echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
fi
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ GTK_CFLAGS=""
+ GTK_LIBS=""
-# Check whether --enable-gtk or --disable-gtk was given.
-if test "${enable_gtk+set}" = set; then
- enableval="$enable_gtk"
- case "x$enable_gtk" in xyes|xdynamic)
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
if test "${with_gtk_prefix+set}" = set; then
withval="$with_gtk_prefix"
rm -f conf.gtktest
+
+ fi
+
+
+ rm -f conf.gtktest
;; esac
fi;
case "x$enable_gtk" in
for f in $GTK_CFLAGS; do
case ".$f" in
.-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
esac
done
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_g.\$(so)"
+ dynamic_targets="$dynamic_targets if_gtk.\$(so)"
if test "x$GCC" = xyes; then
for i in $GTK_LIBS; do
case "x$i" in
for f in $GTK_CFLAGS; do
case ".$f" in
.-I?*|.-D?*) CPPFLAGS="$CPPFLAGS $f" ;;
- *) CFLAGS="$CPPFLAGS $f" ;;
+ *) CFLAGS="$CFLAGS $f" ;;
esac
done
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_r.\$(so)"
+ dynamic_targets="$dynamic_targets if_server.\$(so)"
;;
*)
# Check whether --enable-alsaseq or --disable-alsaseq was given.
if test "${enable_alsaseq+set}" = set; then
enableval="$enable_alsaseq"
- case "x$enable_alsaseq" in xyes|xdynamic) ;; esac
+ case "x$enable_alsaseq" in xyes|xdynamic) INTERFACE_SRCS="$INTERFACE_SRCS alsaseq_c.c"
+ ;; esac
fi;
case "x$enable_alsaseq" in
xyes)
ENABLE_ALSASEQ_FALSE=
fi
- INTERFACE_SRCS="$INTERFACE_SRCS alsaseq_c.c"
- alsa_save_CFLAGS="$CFLAGS"
+ alsa_save_CFLAGS="$CFLAGS"
alsa_save_LDFLAGS="$LDFLAGS"
alsa_save_LIBS="$LIBS"
alsa_found=yes
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_A.\$(so)"
+ dynamic_targets="$dynamic_targets if_alsaseq.\$(so)"
+ cat >> confdefs.h <<EOF
+#define IA_ALSASEQ 1
+EOF
+
;;
*)
ENABLE_WINSYN_FALSE=
fi
- INTERFACE_SRCS="$INTERFACE_SRCS winsyn_c.c rtsyn_common.c rtsyn_winmm.c"
+ WINSYN="yes"; INTERFACE_SRCS="$INTERFACE_SRCS winsyn_c.c rtsyn_common.c rtsyn_winmm.c"
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_W.\$(so)"
+ dynamic_targets="$dynamic_targets if_winsyn.\$(so)"
;;
*)
INTERFACE_SRCS="$INTERFACE_SRCS portmidisyn_c.c rtsyn_common.c rtsyn_portmidi.c"
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_P.\$(so)"
+ dynamic_targets="$dynamic_targets if_portmidisyn.\$(so)"
+
+ ;;
+*)
+
+ ;;
+esac
+
+
+
+
+
+if false; then
+ ENABLE_NPSYN_TRUE=
+ ENABLE_NPSYN_FALSE='#'
+else
+ ENABLE_NPSYN_TRUE='#'
+ ENABLE_NPSYN_FALSE=
+fi
+
+# Check whether --enable-npsyn or --disable-npsyn was given.
+if test "${enable_npsyn+set}" = set; then
+ enableval="$enable_npsyn"
+ case "x$enable_npsyn" in xyes|xdynamic) ;; esac
+fi;
+case "x$enable_npsyn" in
+xyes)
+ cat >> confdefs.h <<EOF
+#define IA_NPSYN 1
+EOF
+
+
+
+if true; then
+ ENABLE_NPSYN_TRUE=
+ ENABLE_NPSYN_FALSE='#'
+else
+ ENABLE_NPSYN_TRUE='#'
+ ENABLE_NPSYN_FALSE=
+fi
+
+ NPSYN="yes"; INTERFACE_SRCS="$INTERFACE_SRCS npsyn_c.c rtsyn_common.c rtsyn_npipe.c"
+ ;;
+xdynamic)
+ dynamic_targets="$dynamic_targets if_npsyn.\$(so)"
;;
*)
+
+
if false; then
ENABLE_W32G_SYN_TRUE=
ENABLE_W32G_SYN_FALSE='#'
ENABLE_W32G_SYN_FALSE=
fi
- lib_w32gui_opt='-lgdi32 -lcomctl32 -lcomdlg32 -lole32'
+
+ W32G_GUI=yes
+ if test "x$VCPP" = xyes || test "x$BORLANDC" = xyes || test "x$WATCOM_C" = xyes || test "x$DMC" = xyes || test "x$POCC" = xyes; then
+ INTERFACE_SRCS="$INTERFACE_SRCS w32g_ini.c w32g_pref.c w32g_syn.c w32g_utl.c winsyn_c.c rtsyn_common.c rtsyn_winmm.c"
+ lib_w32gui_opt='gdi32.lib comctl32.lib comdlg32.lib ole32.lib'
+ lib_user32_opt='user32.lib'
+ if test "x$VCPP" = xyes; then
+ VCPP_LDFLAGS="$VCPP_LDFLAGS -subsystem:windows "
+ fi
+ if test "x$BORLANDC" = xyes; then
+ BORLANDC_START='C0W32.OBJ'
+ CFLAGS="$CFLAGS -tW"
+ lib_w32gui_opt="-aa $lib_w32gui_opt"
+ fi
+ if test "x$WATCOM_C" = xyes; then
+ CFLAGS="$CFLAGS -bw"
+ WATCOM_LDFLAGS="$WATCOM_LDFLAGS SYS nt_win"
+ fi
+ if test "x$DMC" = xyes; then
+ DLLFLAG="-WA"
+ lib_w32gui_opt="$lib_w32gui_opt -L/exet:nt/su:windows:4.0"
+ fi
+ if test "x$POCC" = xyes; then
+ POCC_LDFLAGS="$POCC_LDFLAGS -subsystem:windows "
+ fi
+ else
+ lib_w32gui_opt='-lgdi32 -lcomctl32 -lcomdlg32 -lole32'
lib_user32_opt='-luser32'
LDFLAGS="-mwindows $LDFLAGS"
INTERFACE_SRCS="$INTERFACE_SRCS w32g_ini.c w32g_pref.c w32g_syn_escaped.c w32g_utl.c winsyn_c.c rtsyn_common.c rtsyn_winmm.c"
+ fi
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_W.\$(so)"
+ dynamic_targets="$dynamic_targets if_winsyng.\$(so)"
;;
*)
ENABLE_W32GUI_FALSE=
fi
- lib_w32gui_opt='-lgdi32 -lcomctl32 -lcomdlg32 -lole32'
+
+ W32G_GUI=yes
+ if test "x$VCPP" = xyes || test "x$BORLANDC" = xyes || test "x$WATCOM_C" = xyes || test "x$DMC" = xyes || test "x$POCC" = xyes; then
+ INTERFACE_SRCS="$INTERFACE_SRCS w32g_c.c w32g_ini.c w32g_i.c w32g_playlist.c w32g_utl.c w32g_pref.c w32g_subwin.c w32g_subwin2.c w32g_subwin3.c w32g_ut2.c w32g_dib.c wrdt_w32g.c w32g_mag.c"
+ lib_w32gui_opt='gdi32.lib comctl32.lib comdlg32.lib ole32.lib'
+ lib_user32_opt='user32.lib'
+ if test "x$VCPP" = xyes; then
+ VCPP_LDFLAGS="$VCPP_LDFLAGS -subsystem:windows "
+ fi
+ if test "x$BORLANDC" = xyes; then
+ BORLANDC_START='C0W32.OBJ'
+ CFLAGS="$CFLAGS -tW"
+ lib_w32gui_opt="-aa $lib_w32gui_opt"
+ fi
+ if test "x$WATCOM_C" = xyes; then
+ CFLAGS="$CFLAGS -bw"
+ WATCOM_LDFLAGS="$WATCOM_LDFLAGS SYS nt_win"
+ fi
+ if test "x$DMC" = xyes; then
+ lib_w32gui_opt="$lib_w32gui_opt -L/SU:window"
+ DLLFLAG="-WA"
+ fi
+ if test "x$POCC" = xyes; then
+ POCC_LDFLAGS="$POCC_LDFLAGS -subsystem:windows "
+ fi
+ else
+ lib_w32gui_opt='-lgdi32 -lcomctl32 -lcomdlg32 -lole32'
lib_user32_opt='-luser32'
LDFLAGS="-mwindows $LDFLAGS"
INTERFACE_SRCS="$INTERFACE_SRCS w32g_c.c w32g_ini.c w32g_i.c w32g_playlist.c w32g_utl.c w32g_pref.c w32g_subwin_escaped.c w32g_subwin2.c w32g_subwin3.c w32g_ut2.c w32g_dib.c wrdt_w32g.c w32g_mag.c"
+ fi
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_w.\$(so)"
+ dynamic_targets="$dynamic_targets if_w32gui.\$(so)"
;;
*)
echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
;;
xdynamic)
- dynamic_targets="$dynamic_targets interface_p.\$(so)"
+ dynamic_targets="$dynamic_targets if_ump.\$(so)"
;;
*)
+# Check whether --enable-windrv or --disable-windrv was given.
+if test "${enable_windrv+set}" = set; then
+ enableval="$enable_windrv"
+ if test "$enableval" = "yes"; then
+ if test "x$VCPP" != "xyes" && test "x$MINGWGCC" != "xyes" && test "x$BORLANDC" != "xyes" && test "x$WATCOM_C" != "xyes" && test "x$DMC" != "xyes" && test "x$POCC" != "xyes"; then
+ { { echo "$as_me:$LINENO: error: windrv: Only Support VC++ or Mingw or Borland C or Open Watcom PellesC and Digital Mars" >&5
+echo "$as_me: error: windrv: Only Support VC++ or Mingw or Borland C or Open Watcom PellesC and Digital Mars" >&2;}
+ { (exit 1); exit 1; }; }
+ elif test "x$WINSYN" != "xyes"; then
+ { { echo "$as_me:$LINENO: error: windrv: Driver must have winsyn interface" >&5
+echo "$as_me: error: windrv: Driver must have winsyn interface" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+
+cat >>confdefs.h <<\_ACEOF
+#define WINDRV 1
+_ACEOF
+
+ WINDRV=yes
+ if test "x$WATCOM_C" = "xyes"; then DLLFLAG="-bd" ;fi
+ if test "x$DMC" = "xyes"; then DLLFLAG="-WD" ;fi
+ CFLAGS="$CFLAGS -DANOTHER_MAIN "
+ fi
+ fi
+fi;
+CFLAGS="$CFLAGS $DLLFLAG "
# Check whether --enable-offix or --disable-offix was given.
if test "${enable_offix+set}" = set; then
if test "${enable_wrd+set}" = set; then
enableval="$enable_wrd"
if test "$enableval" = "yes"; then
- if test "x$with_x" != xyes; then
+ if test "x$with_x" = xyes; then
+ LIBS="-lX11 $LIBS"
+ else
{ { echo "$as_me:$LINENO: error: wrd: --with-x option must be specified" >&5
echo "$as_me: error: wrd: --with-x option must be specified" >&2;}
{ (exit 1); exit 1; }; }
echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to root@mput.dip.jp ##
-## ------------------------------- ##
+## -------------------------------------------------- ##
+## Report this to timidity-talk@lists.sourceforge.net ##
+## -------------------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
+
#
# Finish up
#
+if test "x$W32G_GUI" = xyes; then
+ W32G_GUI_TRUE=
+ W32G_GUI_FALSE='#'
+else
+ W32G_GUI_TRUE='#'
+ W32G_GUI_FALSE=
+fi
+
+
+
+if test "x$WINDRV" = xyes; then
+ WINDRV_TRUE=
+ WINDRV_FALSE='#'
+else
+ WINDRV_TRUE='#'
+ WINDRV_FALSE=
+fi
+
+
+
+if test "x$MSYS" = xyes; then
+ MSYS_TRUE=
+ MSYS_FALSE='#'
+else
+ MSYS_TRUE='#'
+ MSYS_FALSE=
+fi
+
+
+
+if test "x$VCPP" = xyes; then
+ VCPP_TRUE=
+ VCPP_FALSE='#'
+else
+ VCPP_TRUE='#'
+ VCPP_FALSE=
+fi
+
+
+
+if test "x$POCC" = xyes; then
+ POCC_TRUE=
+ POCC_FALSE='#'
+else
+ POCC_TRUE='#'
+ POCC_FALSE=
+fi
+
+
+
+if test "x$BORLANDC" = xyes; then
+ BORLANDC_TRUE=
+ BORLANDC_FALSE='#'
+else
+ BORLANDC_TRUE='#'
+ BORLANDC_FALSE=
+fi
+
+
+
+if test "x$WATCOM_C" = xyes; then
+ WATCOM_C_TRUE=
+ WATCOM_C_FALSE='#'
+else
+ WATCOM_C_TRUE='#'
+ WATCOM_C_FALSE=
+fi
+
+
-if test "x$CYGNUS" = xyes; then
- CYGNUS_TRUE=
- CYGNUS_FALSE='#'
+if test "x$DMC" = xyes; then
+ DMC_TRUE=
+ DMC_FALSE='#'
else
- CYGNUS_TRUE='#'
- CYGNUS_FALSE=
+ DMC_TRUE='#'
+ DMC_FALSE=
fi
-if test "x$MINGW" = xyes; then
- MINGW_TRUE=
- MINGW_FALSE='#'
+if test "x$MINGWGCC" = xyes; then
+ MINGWGCC_TRUE=
+ MINGWGCC_FALSE='#'
else
- MINGW_TRUE='#'
- MINGW_FALSE=
+ MINGWGCC_TRUE='#'
+ MINGWGCC_FALSE=
fi
+
if test "x$W32READDIR" = "xyes"; then
W32READDIR_TRUE=
W32READDIR_FALSE='#'
fi
-if test "x$with_x" = xyes; then
- LIBS=`echo $LIBS | sed "s/-lX11/$lib_offix_opt $lib_xm_opt $lib_xaw_opt $lib_xmu_opt $lib_xt_opt $lib_xprelibs_opt $lib_xext_opt -lX11/"`
+if test "x$au_enable_nas" = "xyes" -o \
+ "x$enable_motif" = "xyes" -o \
+ "x$enable_tcltk" = "xyes" -o \
+ "x$enable_xaw" = "xyes" -o \
+ "x$enable_xskin" = "xyes" -o \
+ "x$enable_spectrogram" = "xyes"; then
+ LIBS="$lib_offix_opt $lib_xm_opt $lib_xaw_opt $lib_xft_opt $lib_xmu_opt $lib_xt_opt $lib_xprelibs_opt $lib_xext_opt -lX11 $LIBS"
fi
LIBS="$LIBS $lib_dl_opt $lib_png_opt $lib_zip_opt $lib_user32_opt $lib_w32gui_opt $EXTRALIBS"
SHLD="$SHLD $SHLDFLAGS"
- ac_config_files="$ac_config_files Makefile autoconf/Makefile common.makefile configs/Makefile doc/Makefile doc/C/Makefile doc/ja_JP.eucJP/Makefile interface/Makefile interface/motif_bitmaps/Makefile interface/bitmaps/Makefile interface/pixmaps/Makefile libarc/Makefile libunimod/Makefile timidity/Makefile utils/Makefile script/Makefile TiMidity.ad TiMidity-uj.ad"
+
+
+
+
+
+
+ ac_config_files="$ac_config_files Makefile autoconf/Makefile common.makefile configs/Makefile doc/Makefile doc/C/Makefile doc/ja_JP.eucJP/Makefile interface/Makefile interface/motif_bitmaps/Makefile interface/bitmaps/Makefile interface/pixmaps/Makefile libarc/Makefile libunimod/Makefile timidity/Makefile windrv/Makefile utils/Makefile script/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${XAW_INSTALL_RESOURCE_FILES_TRUE}" && test -z "${XAW_INSTALL_RESOURCE_FILES_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"XAW_INSTALL_RESOURCE_FILES\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"XAW_INSTALL_RESOURCE_FILES\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${ENABLE_XDND_TRUE}" && test -z "${ENABLE_XDND_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"ENABLE_XDND\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"ENABLE_XDND\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
if test -z "${ENABLE_NCURSES_TRUE}" && test -z "${ENABLE_NCURSES_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_NCURSES\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${ENABLE_EMACS_TRUE}" && test -z "${ENABLE_EMACS_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"ENABLE_EMACS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"ENABLE_EMACS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
if test -z "${ENABLE_VT100_TRUE}" && test -z "${ENABLE_VT100_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_VT100\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${ENABLE_NPSYN_TRUE}" && test -z "${ENABLE_NPSYN_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NPSYN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"ENABLE_NPSYN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${ENABLE_NPSYN_TRUE}" && test -z "${ENABLE_NPSYN_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NPSYN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"ENABLE_NPSYN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
if test -z "${ENABLE_W32G_SYN_TRUE}" && test -z "${ENABLE_W32G_SYN_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"ENABLE_W32G_SYN\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
-if test -z "${CYGNUS_TRUE}" && test -z "${CYGNUS_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"CYGNUS\" was never defined.
+if test -z "${W32G_GUI_TRUE}" && test -z "${W32G_GUI_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"W32G_GUI\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"W32G_GUI\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${WINDRV_TRUE}" && test -z "${WINDRV_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"WINDRV\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"WINDRV\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${MSYS_TRUE}" && test -z "${MSYS_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"MSYS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"MSYS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${VCPP_TRUE}" && test -z "${VCPP_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"VCPP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"VCPP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${POCC_TRUE}" && test -z "${POCC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"POCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"POCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${BORLANDC_TRUE}" && test -z "${BORLANDC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"BORLANDC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"BORLANDC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${WATCOM_C_TRUE}" && test -z "${WATCOM_C_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"WATCOM_C\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"WATCOM_C\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${DMC_TRUE}" && test -z "${DMC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"DMC\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"CYGNUS\" was never defined.
+echo "$as_me: error: conditional \"DMC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
-if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
- { { echo "$as_me:$LINENO: error: conditional \"MINGW\" was never defined.
+if test -z "${MINGWGCC_TRUE}" && test -z "${MINGWGCC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"MINGWGCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"MINGW\" was never defined.
+echo "$as_me: error: conditional \"MINGWGCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
} >&5
cat >&5 <<_CSEOF
-This file was extended by TiMidity++ $as_me current, which was
+This file was extended by TiMidity++ $as_me 2.14.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-TiMidity++ config.status current
+TiMidity++ config.status 2.14.0
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
"libarc/Makefile" ) CONFIG_FILES="$CONFIG_FILES libarc/Makefile" ;;
"libunimod/Makefile" ) CONFIG_FILES="$CONFIG_FILES libunimod/Makefile" ;;
"timidity/Makefile" ) CONFIG_FILES="$CONFIG_FILES timidity/Makefile" ;;
+ "windrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES windrv/Makefile" ;;
"utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
"script/Makefile" ) CONFIG_FILES="$CONFIG_FILES script/Makefile" ;;
- "TiMidity.ad" ) CONFIG_FILES="$CONFIG_FILES TiMidity.ad" ;;
- "TiMidity-uj.ad" ) CONFIG_FILES="$CONFIG_FILES TiMidity-uj.ad" ;;
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"interface.h" ) CONFIG_HEADERS="$CONFIG_HEADERS interface.h" ;;
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
s,@MAINT@,$MAINT,;t t
+s,@XAW_INSTALL_RESOURCE_FILES_TRUE@,$XAW_INSTALL_RESOURCE_FILES_TRUE,;t t
+s,@XAW_INSTALL_RESOURCE_FILES_FALSE@,$XAW_INSTALL_RESOURCE_FILES_FALSE,;t t
+s,@xawresdir@,$xawresdir,;t t
s,@EMACS@,$EMACS,;t t
s,@lispdir@,$lispdir,;t t
s,@CC@,$CC,;t t
s,@NEEDGETOPT_FALSE@,$NEEDGETOPT_FALSE,;t t
s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t
s,@ALSA_LIBS@,$ALSA_LIBS,;t t
-s,@ARTS_CONFIG@,$ARTS_CONFIG,;t t
-s,@ARTS_CFLAGS@,$ARTS_CFLAGS,;t t
-s,@ARTS_LIBS@,$ARTS_LIBS,;t t
+s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
+s,@ARTSLIBS@,$ARTSLIBS,;t t
+s,@ARTSINCL@,$ARTSINCL,;t t
s,@ESD_CONFIG@,$ESD_CONFIG,;t t
s,@ESD_CFLAGS@,$ESD_CFLAGS,;t t
s,@ESD_LIBS@,$ESD_LIBS,;t t
s,@LIBOGGFLAC_LIBS@,$LIBOGGFLAC_LIBS,;t t
s,@NEEDDLOPEN_TRUE@,$NEEDDLOPEN_TRUE,;t t
s,@NEEDDLOPEN_FALSE@,$NEEDDLOPEN_FALSE,;t t
+s,@ENABLE_XDND_TRUE@,$ENABLE_XDND_TRUE,;t t
+s,@ENABLE_XDND_FALSE@,$ENABLE_XDND_FALSE,;t t
s,@ENABLE_NCURSES_TRUE@,$ENABLE_NCURSES_TRUE,;t t
s,@ENABLE_NCURSES_FALSE@,$ENABLE_NCURSES_FALSE,;t t
s,@n_so_libs@,$n_so_libs,;t t
s,@i_so_libs@,$i_so_libs,;t t
s,@ENABLE_GTK_TRUE@,$ENABLE_GTK_TRUE,;t t
s,@ENABLE_GTK_FALSE@,$ENABLE_GTK_FALSE,;t t
+s,@PKG_CONFIG@,$PKG_CONFIG,;t t
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
s,@GTK_LIBS@,$GTK_LIBS,;t t
s,@ENABLE_PORTMIDISYN_TRUE@,$ENABLE_PORTMIDISYN_TRUE,;t t
s,@ENABLE_PORTMIDISYN_FALSE@,$ENABLE_PORTMIDISYN_FALSE,;t t
s,@P_so_libs@,$P_so_libs,;t t
+s,@ENABLE_NPSYN_TRUE@,$ENABLE_NPSYN_TRUE,;t t
+s,@ENABLE_NPSYN_FALSE@,$ENABLE_NPSYN_FALSE,;t t
s,@ENABLE_W32G_SYN_TRUE@,$ENABLE_W32G_SYN_TRUE,;t t
s,@ENABLE_W32G_SYN_FALSE@,$ENABLE_W32G_SYN_FALSE,;t t
s,@ENABLE_W32GUI_TRUE@,$ENABLE_W32GUI_TRUE,;t t
s,@ENABLE_SOUND_SPEC_FALSE@,$ENABLE_SOUND_SPEC_FALSE,;t t
s,@ENABLE_WRD_TRUE@,$ENABLE_WRD_TRUE,;t t
s,@ENABLE_WRD_FALSE@,$ENABLE_WRD_FALSE,;t t
-s,@CYGNUS_TRUE@,$CYGNUS_TRUE,;t t
-s,@CYGNUS_FALSE@,$CYGNUS_FALSE,;t t
-s,@MINGW_TRUE@,$MINGW_TRUE,;t t
-s,@MINGW_FALSE@,$MINGW_FALSE,;t t
+s,@W32G_GUI_TRUE@,$W32G_GUI_TRUE,;t t
+s,@W32G_GUI_FALSE@,$W32G_GUI_FALSE,;t t
+s,@WINDRV_TRUE@,$WINDRV_TRUE,;t t
+s,@WINDRV_FALSE@,$WINDRV_FALSE,;t t
+s,@MSYS_TRUE@,$MSYS_TRUE,;t t
+s,@MSYS_FALSE@,$MSYS_FALSE,;t t
+s,@VCPP_TRUE@,$VCPP_TRUE,;t t
+s,@VCPP_FALSE@,$VCPP_FALSE,;t t
+s,@POCC_TRUE@,$POCC_TRUE,;t t
+s,@POCC_FALSE@,$POCC_FALSE,;t t
+s,@BORLANDC_TRUE@,$BORLANDC_TRUE,;t t
+s,@BORLANDC_FALSE@,$BORLANDC_FALSE,;t t
+s,@WATCOM_C_TRUE@,$WATCOM_C_TRUE,;t t
+s,@WATCOM_C_FALSE@,$WATCOM_C_FALSE,;t t
+s,@DMC_TRUE@,$DMC_TRUE,;t t
+s,@DMC_FALSE@,$DMC_FALSE,;t t
+s,@MINGWGCC_TRUE@,$MINGWGCC_TRUE,;t t
+s,@MINGWGCC_FALSE@,$MINGWGCC_FALSE,;t t
s,@W32READDIR_TRUE@,$W32READDIR_TRUE,;t t
s,@W32READDIR_FALSE@,$W32READDIR_FALSE,;t t
+s,@BORLANDC_START@,$BORLANDC_START,;t t
+s,@BORLANDC_LDFLAGS@,$BORLANDC_LDFLAGS,;t t
s,@timidity_LDFLAGS@,$timidity_LDFLAGS,;t t
+s,@WATCOM_LDFLAGS@,$WATCOM_LDFLAGS,;t t
+s,@DMC_LDFLAGS@,$DMC_LDFLAGS,;t t
+s,@VCPP_LDFLAGS@,$VCPP_LDFLAGS,;t t
+s,@POCC_LDFLAGS@,$POCC_LDFLAGS,;t t
s,@SYSEXTRAS@,$SYSEXTRAS,;t t
s,@EXTRALIBS@,$EXTRALIBS,;t t
s,@NETSRCS@,$NETSRCS,;t t