comparison configure @ 32:8aee6a5bcc70 trunk

[svn] Libmikmod.
author nenolod
date Tue, 25 Oct 2005 22:53:38 -0700
parents 0db4a1dc75c4
children ffddef61dd83
comparison
equal deleted inserted replaced
31:b1dcf238b2ba 32:8aee6a5bcc70
460 #endif 460 #endif
461 #if HAVE_UNISTD_H 461 #if HAVE_UNISTD_H
462 # include <unistd.h> 462 # include <unistd.h>
463 #endif" 463 #endif"
464 464
465 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar LIBBEEP_MAJOR_VERSION LIBBEEP_MINOR_VERSION LIBBEEP_MICRO_VERSION MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE 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 RANLIB ac_ct_RANLIB CPP EGREP ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CCAS CCASFLAGS LN_S ECHO AR ac_ct_AR CXXCPP LIBTOOL BEEP_PATH BMP_RCPATH EFFECT_PLUGINS GENERAL_PLUGINS INPUT_PLUGINS OUTPUT_PLUGINS VISUALIZATION_PLUGINS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PKG_CONFIG GTK_CFLAGS GTK_LIBS PC_REQUIRES LIBGLADE_CFLAGS LIBGLADE_LIBS USE_SIMD_TRUE USE_SIMD_FALSE GCONF_CFLAGS GCONF_LIBS HAVE_GCONF_TRUE HAVE_GCONF_FALSE GNOMEVFS_CFLAGS GNOMEVFS_LIBS HAVE_GNOME_VFS_TRUE HAVE_GNOME_VFS_FALSE ESD_CFLAGS ESD_LIBS HAVE_ESD_TRUE HAVE_ESD_FALSE ENABLE_MPG123_TRUE ENABLE_MPG123_FALSE ID3LIBS OGG_VORBIS_CFLAGS OGG_VORBIS_LIBS HAVE_OGGVORBIS_TRUE HAVE_OGGVORBIS_FALSE ENABLE_AAC_TRUE ENABLE_AAC_FALSE HAVE_OSS_TRUE HAVE_OSS_FALSE ALSA_CFLAGS ALSA_LIBS HAVE_ALSA_TRUE HAVE_ALSA_FALSE HAVE_CDROM_TRUE HAVE_CDROM_FALSE HAVE_LINUX_JOYSTICK_TRUE HAVE_LINUX_JOYSTICK_FALSE ARCH_DEFINES ARCH_X86_TRUE ARCH_X86_FALSE USE_X86ASM_TRUE USE_X86ASM_FALSE HAVE_SOLARIS_TRUE HAVE_SOLARIS_FALSE HAVE_SUN_TRUE HAVE_SUN_FALSE plugindir INPUT_PLUGIN_DIR OUTPUT_PLUGIN_DIR EFFECT_PLUGIN_DIR GENERAL_PLUGIN_DIR VISUALIZATION_PLUGIN_DIR pluginsubs localedir BEEP_DEFINES PLUGIN_LDFLAGS beepdir LIBOBJS LTLIBOBJS' 465 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar LIBBEEP_MAJOR_VERSION LIBBEEP_MINOR_VERSION LIBBEEP_MICRO_VERSION MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE 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 RANLIB ac_ct_RANLIB CPP EGREP ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CCAS CCASFLAGS LN_S ECHO AR ac_ct_AR CXXCPP LIBTOOL BEEP_PATH BMP_RCPATH EFFECT_PLUGINS GENERAL_PLUGINS INPUT_PLUGINS OUTPUT_PLUGINS VISUALIZATION_PLUGINS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PKG_CONFIG GTK_CFLAGS GTK_LIBS PC_REQUIRES LIBGLADE_CFLAGS LIBGLADE_LIBS USE_SIMD_TRUE USE_SIMD_FALSE GCONF_CFLAGS GCONF_LIBS HAVE_GCONF_TRUE HAVE_GCONF_FALSE GNOMEVFS_CFLAGS GNOMEVFS_LIBS HAVE_GNOME_VFS_TRUE HAVE_GNOME_VFS_FALSE ESD_CFLAGS ESD_LIBS HAVE_ESD_TRUE HAVE_ESD_FALSE ENABLE_MPG123_TRUE ENABLE_MPG123_FALSE ID3LIBS OGG_VORBIS_CFLAGS OGG_VORBIS_LIBS HAVE_OGGVORBIS_TRUE HAVE_OGGVORBIS_FALSE ENABLE_AAC_TRUE ENABLE_AAC_FALSE LIBMIKMOD_CONFIG LIBMIKMOD_CFLAGS LIBMIKMOD_LIBS LIBMIKMOD_LDADD HAVE_MIKMOD_TRUE HAVE_MIKMOD_FALSE HAVE_OSS_TRUE HAVE_OSS_FALSE ALSA_CFLAGS ALSA_LIBS HAVE_ALSA_TRUE HAVE_ALSA_FALSE HAVE_CDROM_TRUE HAVE_CDROM_FALSE HAVE_LINUX_JOYSTICK_TRUE HAVE_LINUX_JOYSTICK_FALSE ARCH_DEFINES ARCH_X86_TRUE ARCH_X86_FALSE USE_X86ASM_TRUE USE_X86ASM_FALSE HAVE_SOLARIS_TRUE HAVE_SOLARIS_FALSE HAVE_SUN_TRUE HAVE_SUN_FALSE plugindir INPUT_PLUGIN_DIR OUTPUT_PLUGIN_DIR EFFECT_PLUGIN_DIR GENERAL_PLUGIN_DIR VISUALIZATION_PLUGIN_DIR pluginsubs localedir BEEP_DEFINES PLUGIN_LDFLAGS beepdir LIBOBJS LTLIBOBJS'
466 ac_subst_files='' 466 ac_subst_files=''
467 467
468 # Initialize some variables set by options. 468 # Initialize some variables set by options.
469 ac_init_help= 469 ac_init_help=
470 ac_init_version=false 470 ac_init_version=false
1047 --enable-gnome-vfs enable GnomeVFS support (default=disabled) 1047 --enable-gnome-vfs enable GnomeVFS support (default=disabled)
1048 --disable-esd disable esound output plugin default=enabled 1048 --disable-esd disable esound output plugin default=enabled
1049 --disable-mp3 disable mp3 plugin. default=enabled 1049 --disable-mp3 disable mp3 plugin. default=enabled
1050 --disable-vorbis disable Ogg Vorbis input plugin (default=enabled) 1050 --disable-vorbis disable Ogg Vorbis input plugin (default=enabled)
1051 --disable-aac disable aac plugin. default=enabled 1051 --disable-aac disable aac plugin. default=enabled
1052 --disable-mikmod Disable mikmod input plugin default=enabled
1053 --disable-libmikmodtest Do not try to compile and run a test libmikmod program
1052 --disable-oss disable the OSS output plugin 1054 --disable-oss disable the OSS output plugin
1053 --disable-alsa disable ALSA input plugin (default=enabled) 1055 --disable-alsa disable ALSA input plugin (default=enabled)
1054 1056
1055 Optional Packages: 1057 Optional Packages:
1056 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1058 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1071 --with-dev-mixer=path Path to OSS sound mixer, default is /dev/mixer. 1073 --with-dev-mixer=path Path to OSS sound mixer, default is /dev/mixer.
1072 --with-cdda-device=path Path to default cdaudio device. 1074 --with-cdda-device=path Path to default cdaudio device.
1073 --with-cdda-dir=path Path to default cdaudio directory. 1075 --with-cdda-dir=path Path to default cdaudio directory.
1074 --with-xmms-eq Use old XMMS equalization code. 1076 --with-xmms-eq Use old XMMS equalization code.
1075 --with-x use the X Window System 1077 --with-x use the X Window System
1078 --with-libmikmod-prefix=PFX Prefix where libmikmod is installed (optional)
1079 --with-libmikmod-exec-prefix=PFX Exec prefix where libmikmod is installed (optional)
1076 1080
1077 Some influential environment variables: 1081 Some influential environment variables:
1078 CC C compiler command 1082 CC C compiler command
1079 CFLAGS C compiler flags 1083 CFLAGS C compiler flags
1080 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
9295 fi 9299 fi
9296 rm -rf conftest* 9300 rm -rf conftest*
9297 ;; 9301 ;;
9298 *-*-irix6*) 9302 *-*-irix6*)
9299 # Find out which ABI we are using. 9303 # Find out which ABI we are using.
9300 echo '#line 9300 "configure"' > conftest.$ac_ext 9304 echo '#line 9304 "configure"' > conftest.$ac_ext
9301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9302 (eval $ac_compile) 2>&5 9306 (eval $ac_compile) 2>&5
9303 ac_status=$? 9307 ac_status=$?
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; then 9309 (exit $ac_status); }; then
10758 # The option is referenced via a variable to avoid confusing sed. 10762 # The option is referenced via a variable to avoid confusing sed.
10759 lt_compile=`echo "$ac_compile" | $SED \ 10763 lt_compile=`echo "$ac_compile" | $SED \
10760 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 10764 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10761 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10762 -e 's:$: $lt_compiler_flag:'` 10766 -e 's:$: $lt_compiler_flag:'`
10763 (eval echo "\"\$as_me:10763: $lt_compile\"" >&5) 10767 (eval echo "\"\$as_me:10767: $lt_compile\"" >&5)
10764 (eval "$lt_compile" 2>conftest.err) 10768 (eval "$lt_compile" 2>conftest.err)
10765 ac_status=$? 10769 ac_status=$?
10766 cat conftest.err >&5 10770 cat conftest.err >&5
10767 echo "$as_me:10767: \$? = $ac_status" >&5 10771 echo "$as_me:10771: \$? = $ac_status" >&5
10768 if (exit $ac_status) && test -s "$ac_outfile"; then 10772 if (exit $ac_status) && test -s "$ac_outfile"; then
10769 # The compiler can only warn and ignore the option if not recognized 10773 # The compiler can only warn and ignore the option if not recognized
10770 # So say no if there are warnings 10774 # So say no if there are warnings
10771 if test ! -s conftest.err; then 10775 if test ! -s conftest.err; then
10772 lt_cv_prog_compiler_rtti_exceptions=yes 10776 lt_cv_prog_compiler_rtti_exceptions=yes
11001 # The option is referenced via a variable to avoid confusing sed. 11005 # The option is referenced via a variable to avoid confusing sed.
11002 lt_compile=`echo "$ac_compile" | $SED \ 11006 lt_compile=`echo "$ac_compile" | $SED \
11003 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 11007 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11008 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11005 -e 's:$: $lt_compiler_flag:'` 11009 -e 's:$: $lt_compiler_flag:'`
11006 (eval echo "\"\$as_me:11006: $lt_compile\"" >&5) 11010 (eval echo "\"\$as_me:11010: $lt_compile\"" >&5)
11007 (eval "$lt_compile" 2>conftest.err) 11011 (eval "$lt_compile" 2>conftest.err)
11008 ac_status=$? 11012 ac_status=$?
11009 cat conftest.err >&5 11013 cat conftest.err >&5
11010 echo "$as_me:11010: \$? = $ac_status" >&5 11014 echo "$as_me:11014: \$? = $ac_status" >&5
11011 if (exit $ac_status) && test -s "$ac_outfile"; then 11015 if (exit $ac_status) && test -s "$ac_outfile"; then
11012 # The compiler can only warn and ignore the option if not recognized 11016 # The compiler can only warn and ignore the option if not recognized
11013 # So say no if there are warnings 11017 # So say no if there are warnings
11014 if test ! -s conftest.err; then 11018 if test ! -s conftest.err; then
11015 lt_prog_compiler_pic_works=yes 11019 lt_prog_compiler_pic_works=yes
11061 # with a dollar sign (not a hyphen), so the echo should work correctly. 11065 # with a dollar sign (not a hyphen), so the echo should work correctly.
11062 lt_compile=`echo "$ac_compile" | $SED \ 11066 lt_compile=`echo "$ac_compile" | $SED \
11063 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 11067 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11064 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11068 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11065 -e 's:$: $lt_compiler_flag:'` 11069 -e 's:$: $lt_compiler_flag:'`
11066 (eval echo "\"\$as_me:11066: $lt_compile\"" >&5) 11070 (eval echo "\"\$as_me:11070: $lt_compile\"" >&5)
11067 (eval "$lt_compile" 2>out/conftest.err) 11071 (eval "$lt_compile" 2>out/conftest.err)
11068 ac_status=$? 11072 ac_status=$?
11069 cat out/conftest.err >&5 11073 cat out/conftest.err >&5
11070 echo "$as_me:11070: \$? = $ac_status" >&5 11074 echo "$as_me:11074: \$? = $ac_status" >&5
11071 if (exit $ac_status) && test -s out/conftest2.$ac_objext 11075 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11072 then 11076 then
11073 # The compiler can only warn and ignore the option if not recognized 11077 # The compiler can only warn and ignore the option if not recognized
11074 # So say no if there are warnings 11078 # So say no if there are warnings
11075 if test ! -s out/conftest.err; then 11079 if test ! -s out/conftest.err; then
13246 lt_cv_dlopen_self=cross 13250 lt_cv_dlopen_self=cross
13247 else 13251 else
13248 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13252 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13249 lt_status=$lt_dlunknown 13253 lt_status=$lt_dlunknown
13250 cat > conftest.$ac_ext <<EOF 13254 cat > conftest.$ac_ext <<EOF
13251 #line 13251 "configure" 13255 #line 13255 "configure"
13252 #include "confdefs.h" 13256 #include "confdefs.h"
13253 13257
13254 #if HAVE_DLFCN_H 13258 #if HAVE_DLFCN_H
13255 #include <dlfcn.h> 13259 #include <dlfcn.h>
13256 #endif 13260 #endif
13344 lt_cv_dlopen_self_static=cross 13348 lt_cv_dlopen_self_static=cross
13345 else 13349 else
13346 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13350 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13347 lt_status=$lt_dlunknown 13351 lt_status=$lt_dlunknown
13348 cat > conftest.$ac_ext <<EOF 13352 cat > conftest.$ac_ext <<EOF
13349 #line 13349 "configure" 13353 #line 13353 "configure"
13350 #include "confdefs.h" 13354 #include "confdefs.h"
13351 13355
13352 #if HAVE_DLFCN_H 13356 #if HAVE_DLFCN_H
13353 #include <dlfcn.h> 13357 #include <dlfcn.h>
13354 #endif 13358 #endif
15537 # The option is referenced via a variable to avoid confusing sed. 15541 # The option is referenced via a variable to avoid confusing sed.
15538 lt_compile=`echo "$ac_compile" | $SED \ 15542 lt_compile=`echo "$ac_compile" | $SED \
15539 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 15543 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15544 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15541 -e 's:$: $lt_compiler_flag:'` 15545 -e 's:$: $lt_compiler_flag:'`
15542 (eval echo "\"\$as_me:15542: $lt_compile\"" >&5) 15546 (eval echo "\"\$as_me:15546: $lt_compile\"" >&5)
15543 (eval "$lt_compile" 2>conftest.err) 15547 (eval "$lt_compile" 2>conftest.err)
15544 ac_status=$? 15548 ac_status=$?
15545 cat conftest.err >&5 15549 cat conftest.err >&5
15546 echo "$as_me:15546: \$? = $ac_status" >&5 15550 echo "$as_me:15550: \$? = $ac_status" >&5
15547 if (exit $ac_status) && test -s "$ac_outfile"; then 15551 if (exit $ac_status) && test -s "$ac_outfile"; then
15548 # The compiler can only warn and ignore the option if not recognized 15552 # The compiler can only warn and ignore the option if not recognized
15549 # So say no if there are warnings 15553 # So say no if there are warnings
15550 if test ! -s conftest.err; then 15554 if test ! -s conftest.err; then
15551 lt_prog_compiler_pic_works_CXX=yes 15555 lt_prog_compiler_pic_works_CXX=yes
15597 # with a dollar sign (not a hyphen), so the echo should work correctly. 15601 # with a dollar sign (not a hyphen), so the echo should work correctly.
15598 lt_compile=`echo "$ac_compile" | $SED \ 15602 lt_compile=`echo "$ac_compile" | $SED \
15599 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 15603 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15604 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15601 -e 's:$: $lt_compiler_flag:'` 15605 -e 's:$: $lt_compiler_flag:'`
15602 (eval echo "\"\$as_me:15602: $lt_compile\"" >&5) 15606 (eval echo "\"\$as_me:15606: $lt_compile\"" >&5)
15603 (eval "$lt_compile" 2>out/conftest.err) 15607 (eval "$lt_compile" 2>out/conftest.err)
15604 ac_status=$? 15608 ac_status=$?
15605 cat out/conftest.err >&5 15609 cat out/conftest.err >&5
15606 echo "$as_me:15606: \$? = $ac_status" >&5 15610 echo "$as_me:15610: \$? = $ac_status" >&5
15607 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15611 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15608 then 15612 then
15609 # The compiler can only warn and ignore the option if not recognized 15613 # The compiler can only warn and ignore the option if not recognized
15610 # So say no if there are warnings 15614 # So say no if there are warnings
15611 if test ! -s out/conftest.err; then 15615 if test ! -s out/conftest.err; then
16958 lt_cv_dlopen_self=cross 16962 lt_cv_dlopen_self=cross
16959 else 16963 else
16960 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16964 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16961 lt_status=$lt_dlunknown 16965 lt_status=$lt_dlunknown
16962 cat > conftest.$ac_ext <<EOF 16966 cat > conftest.$ac_ext <<EOF
16963 #line 16963 "configure" 16967 #line 16967 "configure"
16964 #include "confdefs.h" 16968 #include "confdefs.h"
16965 16969
16966 #if HAVE_DLFCN_H 16970 #if HAVE_DLFCN_H
16967 #include <dlfcn.h> 16971 #include <dlfcn.h>
16968 #endif 16972 #endif
17056 lt_cv_dlopen_self_static=cross 17060 lt_cv_dlopen_self_static=cross
17057 else 17061 else
17058 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 17062 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17059 lt_status=$lt_dlunknown 17063 lt_status=$lt_dlunknown
17060 cat > conftest.$ac_ext <<EOF 17064 cat > conftest.$ac_ext <<EOF
17061 #line 17061 "configure" 17065 #line 17065 "configure"
17062 #include "confdefs.h" 17066 #include "confdefs.h"
17063 17067
17064 #if HAVE_DLFCN_H 17068 #if HAVE_DLFCN_H
17065 #include <dlfcn.h> 17069 #include <dlfcn.h>
17066 #endif 17070 #endif
17893 # The option is referenced via a variable to avoid confusing sed. 17897 # The option is referenced via a variable to avoid confusing sed.
17894 lt_compile=`echo "$ac_compile" | $SED \ 17898 lt_compile=`echo "$ac_compile" | $SED \
17895 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 17899 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17897 -e 's:$: $lt_compiler_flag:'` 17901 -e 's:$: $lt_compiler_flag:'`
17898 (eval echo "\"\$as_me:17898: $lt_compile\"" >&5) 17902 (eval echo "\"\$as_me:17902: $lt_compile\"" >&5)
17899 (eval "$lt_compile" 2>conftest.err) 17903 (eval "$lt_compile" 2>conftest.err)
17900 ac_status=$? 17904 ac_status=$?
17901 cat conftest.err >&5 17905 cat conftest.err >&5
17902 echo "$as_me:17902: \$? = $ac_status" >&5 17906 echo "$as_me:17906: \$? = $ac_status" >&5
17903 if (exit $ac_status) && test -s "$ac_outfile"; then 17907 if (exit $ac_status) && test -s "$ac_outfile"; then
17904 # The compiler can only warn and ignore the option if not recognized 17908 # The compiler can only warn and ignore the option if not recognized
17905 # So say no if there are warnings 17909 # So say no if there are warnings
17906 if test ! -s conftest.err; then 17910 if test ! -s conftest.err; then
17907 lt_prog_compiler_pic_works_F77=yes 17911 lt_prog_compiler_pic_works_F77=yes
17953 # with a dollar sign (not a hyphen), so the echo should work correctly. 17957 # with a dollar sign (not a hyphen), so the echo should work correctly.
17954 lt_compile=`echo "$ac_compile" | $SED \ 17958 lt_compile=`echo "$ac_compile" | $SED \
17955 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 17959 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17956 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17957 -e 's:$: $lt_compiler_flag:'` 17961 -e 's:$: $lt_compiler_flag:'`
17958 (eval echo "\"\$as_me:17958: $lt_compile\"" >&5) 17962 (eval echo "\"\$as_me:17962: $lt_compile\"" >&5)
17959 (eval "$lt_compile" 2>out/conftest.err) 17963 (eval "$lt_compile" 2>out/conftest.err)
17960 ac_status=$? 17964 ac_status=$?
17961 cat out/conftest.err >&5 17965 cat out/conftest.err >&5
17962 echo "$as_me:17962: \$? = $ac_status" >&5 17966 echo "$as_me:17966: \$? = $ac_status" >&5
17963 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17964 then 17968 then
17965 # The compiler can only warn and ignore the option if not recognized 17969 # The compiler can only warn and ignore the option if not recognized
17966 # So say no if there are warnings 17970 # So say no if there are warnings
17967 if test ! -s out/conftest.err; then 17971 if test ! -s out/conftest.err; then
19988 # The option is referenced via a variable to avoid confusing sed. 19992 # The option is referenced via a variable to avoid confusing sed.
19989 lt_compile=`echo "$ac_compile" | $SED \ 19993 lt_compile=`echo "$ac_compile" | $SED \
19990 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 19994 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19995 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19992 -e 's:$: $lt_compiler_flag:'` 19996 -e 's:$: $lt_compiler_flag:'`
19993 (eval echo "\"\$as_me:19993: $lt_compile\"" >&5) 19997 (eval echo "\"\$as_me:19997: $lt_compile\"" >&5)
19994 (eval "$lt_compile" 2>conftest.err) 19998 (eval "$lt_compile" 2>conftest.err)
19995 ac_status=$? 19999 ac_status=$?
19996 cat conftest.err >&5 20000 cat conftest.err >&5
19997 echo "$as_me:19997: \$? = $ac_status" >&5 20001 echo "$as_me:20001: \$? = $ac_status" >&5
19998 if (exit $ac_status) && test -s "$ac_outfile"; then 20002 if (exit $ac_status) && test -s "$ac_outfile"; then
19999 # The compiler can only warn and ignore the option if not recognized 20003 # The compiler can only warn and ignore the option if not recognized
20000 # So say no if there are warnings 20004 # So say no if there are warnings
20001 if test ! -s conftest.err; then 20005 if test ! -s conftest.err; then
20002 lt_cv_prog_compiler_rtti_exceptions=yes 20006 lt_cv_prog_compiler_rtti_exceptions=yes
20231 # The option is referenced via a variable to avoid confusing sed. 20235 # The option is referenced via a variable to avoid confusing sed.
20232 lt_compile=`echo "$ac_compile" | $SED \ 20236 lt_compile=`echo "$ac_compile" | $SED \
20233 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 20237 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 20238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20235 -e 's:$: $lt_compiler_flag:'` 20239 -e 's:$: $lt_compiler_flag:'`
20236 (eval echo "\"\$as_me:20236: $lt_compile\"" >&5) 20240 (eval echo "\"\$as_me:20240: $lt_compile\"" >&5)
20237 (eval "$lt_compile" 2>conftest.err) 20241 (eval "$lt_compile" 2>conftest.err)
20238 ac_status=$? 20242 ac_status=$?
20239 cat conftest.err >&5 20243 cat conftest.err >&5
20240 echo "$as_me:20240: \$? = $ac_status" >&5 20244 echo "$as_me:20244: \$? = $ac_status" >&5
20241 if (exit $ac_status) && test -s "$ac_outfile"; then 20245 if (exit $ac_status) && test -s "$ac_outfile"; then
20242 # The compiler can only warn and ignore the option if not recognized 20246 # The compiler can only warn and ignore the option if not recognized
20243 # So say no if there are warnings 20247 # So say no if there are warnings
20244 if test ! -s conftest.err; then 20248 if test ! -s conftest.err; then
20245 lt_prog_compiler_pic_works_GCJ=yes 20249 lt_prog_compiler_pic_works_GCJ=yes
20291 # with a dollar sign (not a hyphen), so the echo should work correctly. 20295 # with a dollar sign (not a hyphen), so the echo should work correctly.
20292 lt_compile=`echo "$ac_compile" | $SED \ 20296 lt_compile=`echo "$ac_compile" | $SED \
20293 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 20297 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
20294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 20298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20295 -e 's:$: $lt_compiler_flag:'` 20299 -e 's:$: $lt_compiler_flag:'`
20296 (eval echo "\"\$as_me:20296: $lt_compile\"" >&5) 20300 (eval echo "\"\$as_me:20300: $lt_compile\"" >&5)
20297 (eval "$lt_compile" 2>out/conftest.err) 20301 (eval "$lt_compile" 2>out/conftest.err)
20298 ac_status=$? 20302 ac_status=$?
20299 cat out/conftest.err >&5 20303 cat out/conftest.err >&5
20300 echo "$as_me:20300: \$? = $ac_status" >&5 20304 echo "$as_me:20304: \$? = $ac_status" >&5
20301 if (exit $ac_status) && test -s out/conftest2.$ac_objext 20305 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20302 then 20306 then
20303 # The compiler can only warn and ignore the option if not recognized 20307 # The compiler can only warn and ignore the option if not recognized
20304 # So say no if there are warnings 20308 # So say no if there are warnings
20305 if test ! -s out/conftest.err; then 20309 if test ! -s out/conftest.err; then
22476 lt_cv_dlopen_self=cross 22480 lt_cv_dlopen_self=cross
22477 else 22481 else
22478 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 22482 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22479 lt_status=$lt_dlunknown 22483 lt_status=$lt_dlunknown
22480 cat > conftest.$ac_ext <<EOF 22484 cat > conftest.$ac_ext <<EOF
22481 #line 22481 "configure" 22485 #line 22485 "configure"
22482 #include "confdefs.h" 22486 #include "confdefs.h"
22483 22487
22484 #if HAVE_DLFCN_H 22488 #if HAVE_DLFCN_H
22485 #include <dlfcn.h> 22489 #include <dlfcn.h>
22486 #endif 22490 #endif
22574 lt_cv_dlopen_self_static=cross 22578 lt_cv_dlopen_self_static=cross
22575 else 22579 else
22576 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 22580 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22577 lt_status=$lt_dlunknown 22581 lt_status=$lt_dlunknown
22578 cat > conftest.$ac_ext <<EOF 22582 cat > conftest.$ac_ext <<EOF
22579 #line 22579 "configure" 22583 #line 22583 "configure"
22580 #include "confdefs.h" 22584 #include "confdefs.h"
22581 22585
22582 #if HAVE_DLFCN_H 22586 #if HAVE_DLFCN_H
22583 #include <dlfcn.h> 22587 #include <dlfcn.h>
22584 #endif 22588 #endif
26332 ENABLE_AAC_TRUE='#' 26336 ENABLE_AAC_TRUE='#'
26333 ENABLE_AAC_FALSE= 26337 ENABLE_AAC_FALSE=
26334 fi 26338 fi
26335 26339
26336 26340
26341 # Check whether --enable-mikmod or --disable-mikmod was given.
26342 if test "${enable_mikmod+set}" = set; then
26343 enableval="$enable_mikmod"
26344
26345 else
26346 enable_mikmod="yes"
26347 fi;
26348
26349 if test "x$enable_mikmod" = xyes; then
26350
26351 # Check whether --with-libmikmod-prefix or --without-libmikmod-prefix was given.
26352 if test "${with_libmikmod_prefix+set}" = set; then
26353 withval="$with_libmikmod_prefix"
26354 libmikmod_config_prefix="$withval"
26355 else
26356 libmikmod_config_prefix=""
26357 fi;
26358
26359 # Check whether --with-libmikmod-exec-prefix or --without-libmikmod-exec-prefix was given.
26360 if test "${with_libmikmod_exec_prefix+set}" = set; then
26361 withval="$with_libmikmod_exec_prefix"
26362 libmikmod_config_exec_prefix="$withval"
26363 else
26364 libmikmod_config_exec_prefix=""
26365 fi;
26366 # Check whether --enable-libmikmodtest or --disable-libmikmodtest was given.
26367 if test "${enable_libmikmodtest+set}" = set; then
26368 enableval="$enable_libmikmodtest"
26369
26370 else
26371 enable_libmikmodtest=yes
26372 fi;
26373
26374 if test x$libmikmod_config_exec_prefix != x ; then
26375 libmikmod_config_args="$libmikmod_config_args --exec-prefix=$libmikmod_config_exec_prefix"
26376 if test x${LIBMIKMOD_CONFIG+set} != xset ; then
26377 LIBMIKMOD_CONFIG=$libmikmod_config_exec_prefix/bin/libmikmod-config
26378 fi
26379 fi
26380 if test x$libmikmod_config_prefix != x ; then
26381 libmikmod_config_args="$libmikmod_config_args --prefix=$libmikmod_config_prefix"
26382 if test x${LIBMIKMOD_CONFIG+set} != xset ; then
26383 LIBMIKMOD_CONFIG=$libmikmod_config_prefix/bin/libmikmod-config
26384 fi
26385 fi
26386
26387 # Extract the first word of "libmikmod-config", so it can be a program name with args.
26388 set dummy libmikmod-config; ac_word=$2
26389 echo "$as_me:$LINENO: checking for $ac_word" >&5
26390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26391 if test "${ac_cv_path_LIBMIKMOD_CONFIG+set}" = set; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26393 else
26394 case $LIBMIKMOD_CONFIG in
26395 [\\/]* | ?:[\\/]*)
26396 ac_cv_path_LIBMIKMOD_CONFIG="$LIBMIKMOD_CONFIG" # Let the user override the test with a path.
26397 ;;
26398 *)
26399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26400 for as_dir in $PATH
26401 do
26402 IFS=$as_save_IFS
26403 test -z "$as_dir" && as_dir=.
26404 for ac_exec_ext in '' $ac_executable_extensions; do
26405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26406 ac_cv_path_LIBMIKMOD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26408 break 2
26409 fi
26410 done
26411 done
26412
26413 test -z "$ac_cv_path_LIBMIKMOD_CONFIG" && ac_cv_path_LIBMIKMOD_CONFIG="no"
26414 ;;
26415 esac
26416 fi
26417 LIBMIKMOD_CONFIG=$ac_cv_path_LIBMIKMOD_CONFIG
26418
26419 if test -n "$LIBMIKMOD_CONFIG"; then
26420 echo "$as_me:$LINENO: result: $LIBMIKMOD_CONFIG" >&5
26421 echo "${ECHO_T}$LIBMIKMOD_CONFIG" >&6
26422 else
26423 echo "$as_me:$LINENO: result: no" >&5
26424 echo "${ECHO_T}no" >&6
26425 fi
26426
26427 min_libmikmod_version=3.1.5
26428 echo "$as_me:$LINENO: checking for libmikmod - version >= $min_libmikmod_version" >&5
26429 echo $ECHO_N "checking for libmikmod - version >= $min_libmikmod_version... $ECHO_C" >&6
26430 no_libmikmod=""
26431 if test "$LIBMIKMOD_CONFIG" = "no" ; then
26432 no_libmikmod=yes
26433 else
26434 LIBMIKMOD_CFLAGS=`$LIBMIKMOD_CONFIG $libmikmod_config_args --cflags`
26435 LIBMIKMOD_LIBS=`$LIBMIKMOD_CONFIG $libmikmod_config_args --libs`
26436 LIBMIKMOD_LDADD=`$LIBMIKMOD_CONFIG $libmikmod_config_args --ldadd`
26437 libmikmod_config_major_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \
26438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\1/'`
26439 libmikmod_config_minor_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \
26440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\2/'`
26441 libmikmod_config_micro_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \
26442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/'`
26443 if test "x$enable_libmikmodtest" = "xyes" ; then
26444 ac_save_CFLAGS="$CFLAGS"
26445 ac_save_LIBS="$LIBS"
26446 CFLAGS="$CFLAGS $LIBMIKMOD_CFLAGS $LIBMIKMOD_LDADD"
26447 LIBS="$LIBMIKMOD_LIBS $LIBS"
26448 rm -f conf.mikmodtest
26449 if test "$cross_compiling" = yes; then
26450 echo $ac_n "cross compiling; assumed OK... $ac_c"
26451 else
26452 cat >conftest.$ac_ext <<_ACEOF
26453 /* confdefs.h. */
26454 _ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458
26459 #include <mikmod.h>
26460 #include <stdio.h>
26461 #include <stdlib.h>
26462
26463 char* my_strdup (char *str)
26464 {
26465 char *new_str;
26466
26467 if (str) {
26468 new_str = malloc ((strlen (str) + 1) * sizeof(char));
26469 strcpy (new_str, str);
26470 } else
26471 new_str = NULL;
26472
26473 return new_str;
26474 }
26475
26476 int main()
26477 {
26478 int major,minor,micro;
26479 int libmikmod_major_version,libmikmod_minor_version,libmikmod_micro_version;
26480 char *tmp_version;
26481
26482 system ("touch conf.mikmodtest");
26483
26484 /* HP/UX 9 (%@#!) writes to sscanf strings */
26485 tmp_version = my_strdup("$min_libmikmod_version");
26486 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26487 printf("%s, bad version string\n", "$min_libmikmod_version");
26488 exit(1);
26489 }
26490
26491 libmikmod_major_version=(MikMod_GetVersion()>>16)&255;
26492 libmikmod_minor_version=(MikMod_GetVersion()>> 8)&255;
26493 libmikmod_micro_version=(MikMod_GetVersion() )&255;
26494
26495 if ((libmikmod_major_version != $libmikmod_config_major_version) ||
26496 (libmikmod_minor_version != $libmikmod_config_minor_version) ||
26497 (libmikmod_micro_version != $libmikmod_config_micro_version))
26498 {
26499 printf("\n*** 'libmikmod-config --version' returned %d.%d.%d, but libmikmod (%d.%d.%d)\n",
26500 $libmikmod_config_major_version, $libmikmod_config_minor_version, $libmikmod_config_micro_version,
26501 libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
26502 printf ("*** was found! If libmikmod-config was correct, then it is best\n");
26503 printf ("*** to remove the old version of libmikmod. You may also be able to fix the error\n");
26504 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26505 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26506 printf("*** required on your system.\n");
26507 printf("*** If libmikmod-config was wrong, set the environment variable LIBMIKMOD_CONFIG\n");
26508 printf("*** to point to the correct copy of libmikmod-config, and remove the file config.cache\n");
26509 printf("*** before re-running configure\n");
26510 }
26511 else if ((libmikmod_major_version != LIBMIKMOD_VERSION_MAJOR) ||
26512 (libmikmod_minor_version != LIBMIKMOD_VERSION_MINOR) ||
26513 (libmikmod_micro_version != LIBMIKMOD_REVISION))
26514 {
26515 printf("*** libmikmod header files (version %d.%d.%d) do not match\n",
26516 LIBMIKMOD_VERSION_MAJOR, LIBMIKMOD_VERSION_MINOR, LIBMIKMOD_REVISION);
26517 printf("*** library (version %d.%d.%d)\n",
26518 libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
26519 }
26520 else
26521 {
26522 if ((libmikmod_major_version > major) ||
26523 ((libmikmod_major_version == major) && (libmikmod_minor_version > minor)) ||
26524 ((libmikmod_major_version == major) && (libmikmod_minor_version == minor) && (libmikmod_micro_version >= micro)))
26525 {
26526 return 0;
26527 }
26528 else
26529 {
26530 printf("\n*** An old version of libmikmod (%d.%d.%d) was found.\n",
26531 libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
26532 printf("*** You need a version of libmikmod newer than %d.%d.%d.\n",
26533 major, minor, micro);
26534 printf("***\n");
26535 printf("*** If you have already installed a sufficiently new version, this error\n");
26536 printf("*** probably means that the wrong copy of the libmikmod-config shell script is\n");
26537 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26538 printf("*** of libmikmod, but you can also set the LIBMIKMOD_CONFIG environment to point to the\n");
26539 printf("*** correct copy of libmikmod-config. (In this case, you will have to\n");
26540 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26541 printf("*** so that the correct libraries are found at run-time))\n");
26542 }
26543 }
26544 return 1;
26545 }
26546
26547 _ACEOF
26548 rm -f conftest$ac_exeext
26549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26550 (eval $ac_link) 2>&5
26551 ac_status=$?
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26555 (eval $ac_try) 2>&5
26556 ac_status=$?
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; }; then
26559 :
26560 else
26561 echo "$as_me: program exited with status $ac_status" >&5
26562 echo "$as_me: failed program was:" >&5
26563 sed 's/^/| /' conftest.$ac_ext >&5
26564
26565 ( exit $ac_status )
26566 no_libmikmod=yes
26567 fi
26568 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26569 fi
26570 CFLAGS="$ac_save_CFLAGS"
26571 LIBS="$ac_save_LIBS"
26572 fi
26573 fi
26574 if test "x$no_libmikmod" = x ; then
26575 echo "$as_me:$LINENO: result: yes" >&5
26576 echo "${ECHO_T}yes" >&6
26577 have_mikmod=yes
26578 else
26579 echo "$as_me:$LINENO: result: no" >&5
26580 echo "${ECHO_T}no" >&6
26581 if test "$LIBMIKMOD_CONFIG" = "no" ; then
26582 echo "*** The libmikmod-config script installed by libmikmod could not be found"
26583 echo "*** If libmikmod was installed in PREFIX, make sure PREFIX/bin is in"
26584 echo "*** your path, or set the LIBMIKMOD_CONFIG environment variable to the"
26585 echo "*** full path to libmikmod-config."
26586 else
26587 if test -f conf.mikmodtest ; then
26588 :
26589 else
26590 echo "*** Could not run libmikmod test program, checking why..."
26591 CFLAGS="$CFLAGS $LIBMIKMOD_CFLAGS"
26592 LIBS="$LIBS $LIBMIKMOD_LIBS"
26593 cat >conftest.$ac_ext <<_ACEOF
26594 /* confdefs.h. */
26595 _ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26599
26600 #include <mikmod.h>
26601 #include <stdio.h>
26602
26603 int
26604 main ()
26605 {
26606 return (MikMod_GetVersion()!=0);
26607 ;
26608 return 0;
26609 }
26610 _ACEOF
26611 rm -f conftest.$ac_objext conftest$ac_exeext
26612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26613 (eval $ac_link) 2>conftest.er1
26614 ac_status=$?
26615 grep -v '^ *+' conftest.er1 >conftest.err
26616 rm -f conftest.er1
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } &&
26620 { ac_try='test -z "$ac_cxx_werror_flag"
26621 || test ! -s conftest.err'
26622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623 (eval $ac_try) 2>&5
26624 ac_status=$?
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; } &&
26627 { ac_try='test -s conftest$ac_exeext'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26630 ac_status=$?
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; }; then
26633 echo "*** The test program compiled, but did not run. This usually means"
26634 echo "*** that the run-time linker is not finding libmikmod or finding the wrong"
26635 echo "*** version of libmikmod. If it is not finding libmikmod, you'll need to set your"
26636 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26637 echo "*** to the installed location. Also, make sure you have run ldconfig if that"
26638 echo "*** is required on your system"
26639 echo "***"
26640 echo "*** If you have an old version installed, it is best to remove it, although"
26641 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26642 else
26643 echo "$as_me: failed program was:" >&5
26644 sed 's/^/| /' conftest.$ac_ext >&5
26645
26646 echo "*** The test program failed to compile or link. See the file config.log for the"
26647 echo "*** exact error that occured. This usually means libmikmod was incorrectly installed"
26648 echo "*** or that you have moved libmikmod since it was installed. In the latter case, you"
26649 echo "*** may want to edit the libmikmod-config script: $LIBMIKMOD_CONFIG"
26650 fi
26651 rm -f conftest.err conftest.$ac_objext \
26652 conftest$ac_exeext conftest.$ac_ext
26653 CFLAGS="$ac_save_CFLAGS"
26654 LIBS="$ac_save_LIBS"
26655 fi
26656 fi
26657 LIBMIKMOD_CFLAGS=""
26658 LIBMIKMOD_LIBS=""
26659 LIBMIKMOD_LDADD=""
26660 have_mikmod=no
26661 fi
26662
26663
26664
26665 rm -f conf.mikmodtest
26666
26667 else
26668 echo "$as_me:$LINENO: result: *** mikmod plugin disabled per user request ***" >&5
26669 echo "${ECHO_T}*** mikmod plugin disabled per user request ***" >&6
26670 have_mikmod=no
26671 fi
26672
26673
26674 if test "x$have_mikmod" = xyes; then
26675 HAVE_MIKMOD_TRUE=
26676 HAVE_MIKMOD_FALSE='#'
26677 else
26678 HAVE_MIKMOD_TRUE='#'
26679 HAVE_MIKMOD_FALSE=
26680 fi
26681
26682
26683
26337 26684
26338 # Check whether --enable-oss or --disable-oss was given. 26685 # Check whether --enable-oss or --disable-oss was given.
26339 if test "${enable_oss+set}" = set; then 26686 if test "${enable_oss+set}" = set; then
26340 enableval="$enable_oss" 26687 enableval="$enable_oss"
26341 have_oss=$enableval 26688 have_oss=$enableval
28905 29252
28906 29253
28907 29254
28908 29255
28909 29256
28910 ac_config_files="$ac_config_files Makefile audacious.1 audacious.spec audacious.pc audacious/audacious.desktop audacious/Makefile audacious/glade/Makefile audacious/images/Makefile libaudacious/Makefile libvisual/Makefile Output/Makefile Output/OSS/Makefile Output/esd/Makefile Output/alsa/Makefile Input/Makefile Input/mpg123/Makefile Input/aac/Makefile Input/aac/libmp4v2/Makefile Input/aac/libfaad2/Makefile Input/aac/src/Makefile Input/tonegen/Makefile Input/vorbis/Makefile Input/cdaudio/Makefile Input/wav/Makefile Visualization/Makefile Visualization/blur_scope/Makefile po/Makefile.in intl/Makefile icons/Makefile skin/Makefile" 29257 ac_config_files="$ac_config_files Makefile audacious.1 audacious.spec audacious.pc audacious/audacious.desktop audacious/Makefile audacious/glade/Makefile audacious/images/Makefile libaudacious/Makefile libvisual/Makefile Output/Makefile Output/OSS/Makefile Output/esd/Makefile Output/alsa/Makefile Input/Makefile Input/mpg123/Makefile Input/aac/Makefile Input/aac/libmp4v2/Makefile Input/aac/libfaad2/Makefile Input/aac/src/Makefile Input/mikmod/Makefile Input/tonegen/Makefile Input/vorbis/Makefile Input/cdaudio/Makefile Input/wav/Makefile Visualization/Makefile Visualization/blur_scope/Makefile po/Makefile.in intl/Makefile icons/Makefile skin/Makefile"
28911 29258
28912 29259
28913 cat >confcache <<\_ACEOF 29260 cat >confcache <<\_ACEOF
28914 # This file is a shell script that caches the results of configure 29261 # This file is a shell script that caches the results of configure
28915 # tests run on this system so they can be shared between configure 29262 # tests run on this system so they can be shared between configure
29066 fi 29413 fi
29067 if test -z "${ENABLE_AAC_TRUE}" && test -z "${ENABLE_AAC_FALSE}"; then 29414 if test -z "${ENABLE_AAC_TRUE}" && test -z "${ENABLE_AAC_FALSE}"; then
29068 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_AAC\" was never defined. 29415 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_AAC\" was never defined.
29069 Usually this means the macro was only invoked conditionally." >&5 29416 Usually this means the macro was only invoked conditionally." >&5
29070 echo "$as_me: error: conditional \"ENABLE_AAC\" was never defined. 29417 echo "$as_me: error: conditional \"ENABLE_AAC\" was never defined.
29418 Usually this means the macro was only invoked conditionally." >&2;}
29419 { (exit 1); exit 1; }; }
29420 fi
29421 if test -z "${HAVE_MIKMOD_TRUE}" && test -z "${HAVE_MIKMOD_FALSE}"; then
29422 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MIKMOD\" was never defined.
29423 Usually this means the macro was only invoked conditionally." >&5
29424 echo "$as_me: error: conditional \"HAVE_MIKMOD\" was never defined.
29071 Usually this means the macro was only invoked conditionally." >&2;} 29425 Usually this means the macro was only invoked conditionally." >&2;}
29072 { (exit 1); exit 1; }; } 29426 { (exit 1); exit 1; }; }
29073 fi 29427 fi
29074 if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then 29428 if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then
29075 { { echo "$as_me:$LINENO: error: conditional \"HAVE_OSS\" was never defined. 29429 { { echo "$as_me:$LINENO: error: conditional \"HAVE_OSS\" was never defined.
29596 "Input/mpg123/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/mpg123/Makefile" ;; 29950 "Input/mpg123/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/mpg123/Makefile" ;;
29597 "Input/aac/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/Makefile" ;; 29951 "Input/aac/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/Makefile" ;;
29598 "Input/aac/libmp4v2/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/libmp4v2/Makefile" ;; 29952 "Input/aac/libmp4v2/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/libmp4v2/Makefile" ;;
29599 "Input/aac/libfaad2/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/libfaad2/Makefile" ;; 29953 "Input/aac/libfaad2/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/libfaad2/Makefile" ;;
29600 "Input/aac/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/src/Makefile" ;; 29954 "Input/aac/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/aac/src/Makefile" ;;
29955 "Input/mikmod/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/mikmod/Makefile" ;;
29601 "Input/tonegen/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/tonegen/Makefile" ;; 29956 "Input/tonegen/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/tonegen/Makefile" ;;
29602 "Input/vorbis/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/vorbis/Makefile" ;; 29957 "Input/vorbis/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/vorbis/Makefile" ;;
29603 "Input/cdaudio/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/cdaudio/Makefile" ;; 29958 "Input/cdaudio/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/cdaudio/Makefile" ;;
29604 "Input/wav/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/wav/Makefile" ;; 29959 "Input/wav/Makefile" ) CONFIG_FILES="$CONFIG_FILES Input/wav/Makefile" ;;
29605 "Visualization/Makefile" ) CONFIG_FILES="$CONFIG_FILES Visualization/Makefile" ;; 29960 "Visualization/Makefile" ) CONFIG_FILES="$CONFIG_FILES Visualization/Makefile" ;;
29828 s,@OGG_VORBIS_LIBS@,$OGG_VORBIS_LIBS,;t t 30183 s,@OGG_VORBIS_LIBS@,$OGG_VORBIS_LIBS,;t t
29829 s,@HAVE_OGGVORBIS_TRUE@,$HAVE_OGGVORBIS_TRUE,;t t 30184 s,@HAVE_OGGVORBIS_TRUE@,$HAVE_OGGVORBIS_TRUE,;t t
29830 s,@HAVE_OGGVORBIS_FALSE@,$HAVE_OGGVORBIS_FALSE,;t t 30185 s,@HAVE_OGGVORBIS_FALSE@,$HAVE_OGGVORBIS_FALSE,;t t
29831 s,@ENABLE_AAC_TRUE@,$ENABLE_AAC_TRUE,;t t 30186 s,@ENABLE_AAC_TRUE@,$ENABLE_AAC_TRUE,;t t
29832 s,@ENABLE_AAC_FALSE@,$ENABLE_AAC_FALSE,;t t 30187 s,@ENABLE_AAC_FALSE@,$ENABLE_AAC_FALSE,;t t
30188 s,@LIBMIKMOD_CONFIG@,$LIBMIKMOD_CONFIG,;t t
30189 s,@LIBMIKMOD_CFLAGS@,$LIBMIKMOD_CFLAGS,;t t
30190 s,@LIBMIKMOD_LIBS@,$LIBMIKMOD_LIBS,;t t
30191 s,@LIBMIKMOD_LDADD@,$LIBMIKMOD_LDADD,;t t
30192 s,@HAVE_MIKMOD_TRUE@,$HAVE_MIKMOD_TRUE,;t t
30193 s,@HAVE_MIKMOD_FALSE@,$HAVE_MIKMOD_FALSE,;t t
29833 s,@HAVE_OSS_TRUE@,$HAVE_OSS_TRUE,;t t 30194 s,@HAVE_OSS_TRUE@,$HAVE_OSS_TRUE,;t t
29834 s,@HAVE_OSS_FALSE@,$HAVE_OSS_FALSE,;t t 30195 s,@HAVE_OSS_FALSE@,$HAVE_OSS_FALSE,;t t
29835 s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t 30196 s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t
29836 s,@ALSA_LIBS@,$ALSA_LIBS,;t t 30197 s,@ALSA_LIBS@,$ALSA_LIBS,;t t
29837 s,@HAVE_ALSA_TRUE@,$HAVE_ALSA_TRUE,;t t 30198 s,@HAVE_ALSA_TRUE@,$HAVE_ALSA_TRUE,;t t
30712 echo " Input Plugins" 31073 echo " Input Plugins"
30713 echo " -------------" 31074 echo " -------------"
30714 echo " MPEG 1/2/3 (mpg123): $enable_mp3" 31075 echo " MPEG 1/2/3 (mpg123): $enable_mp3"
30715 echo " + id3v2 editing: $have_id3lib" 31076 echo " + id3v2 editing: $have_id3lib"
30716 echo " MPEG 4 Audio (AAC): $enable_aac" 31077 echo " MPEG 4 Audio (AAC): $enable_aac"
31078 echo " Module decoder (mikmod): $enable_mikmod"
30717 echo " CD Digital Audio (cdda): yes" 31079 echo " CD Digital Audio (cdda): yes"
30718 echo " Microsoft WAV (wav): yes" 31080 echo " Microsoft WAV (wav): yes"
30719 echo " Tone Generator: yes" 31081 echo " Tone Generator: yes"
30720 echo " Ogg Vorbis (vorbis): $have_oggvorbis" 31082 echo " Ogg Vorbis (vorbis): $have_oggvorbis"
30721 echo "" 31083 echo ""
30723 echo " -------------" 31085 echo " -------------"
30724 echo " Blur Scope: yes" 31086 echo " Blur Scope: yes"
30725 echo 31087 echo
30726 31088
30727 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then 31089 if test "$beep_cv_lib_xlibs_threadsafe" = "no"; then
30728 echo "Note: You need to have thread-safe xlibs to use beep." 31090 echo "Note: You need to have thread-safe xlibs to use Audacious."
30729 echo "If you are using libc5 thread aware Xlibs just skip this." 31091 echo "If you are using libc5 thread aware Xlibs just skip this."
30730 echo "" 31092 echo ""
30731 echo "If you don't have those libs and you are on a libc5 system get them at:" 31093 echo "If you don't have those libs and you are on a libc5 system get them at:"
30732 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/" 31094 echo "ftp://ftp.dent.med.uni-muenchen.de/pub/wmglo/"
30733 fi 31095 fi