comparison configure @ 70714:e5cd81bde625

* configure: Regenerate.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 18 May 2006 16:58:44 +0000
parents b99080e25b28
children 4d53a83f4cae ab6ab63755f7 a8190f7e546e
comparison
equal deleted inserted replaced
70713:2b8661046f9e 70714:e5cd81bde625
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59. 3 # Generated by GNU Autoconf 2.59.
4 # 4 #
5 # Copyright (C) 2003, 2006 Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation 6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it. 7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ## 8 ## --------------------- ##
9 ## M4sh Initialization. ## 9 ## M4sh Initialization. ##
10 ## --------------------- ## 10 ## --------------------- ##
308 #endif 308 #endif
309 #if HAVE_UNISTD_H 309 #if HAVE_UNISTD_H
310 # include <unistd.h> 310 # include <unistd.h>
311 #endif" 311 #endif"
312 312
313 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 MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO GZIP_PROG LIBSOUND SET_MAKE PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS GETOPT_H GETOPTOBJS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS' 313 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 MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO GZIP_PROG LIBSOUND PKG_CONFIG ALSA_CFLAGS ALSA_LIBS CFLAGS_SOUND SET_MAKE GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS GETOPT_H GETOPTOBJS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS'
314 ac_subst_files='' 314 ac_subst_files=''
315 315
316 # Initialize some variables set by options. 316 # Initialize some variables set by options.
317 ac_init_help= 317 ac_init_help=
318 ac_init_version=false 318 ac_init_version=false
5163 fi 5163 fi
5164 rm -f conftest* 5164 rm -f conftest*
5165 fi 5165 fi
5166 5166
5167 5167
5168
5169
5170
5171
5168 if test "${with_sound}" != "no"; then 5172 if test "${with_sound}" != "no"; then
5169 # Sound support for GNU/Linux and the free BSDs. 5173 # Sound support for GNU/Linux and the free BSDs.
5170 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5174 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5172 if test "${ac_cv_header_stdc+set}" = set; then 5176 if test "${ac_cv_header_stdc+set}" = set; then
5627 else 5631 else
5628 LIBSOUND= 5632 LIBSOUND=
5629 fi 5633 fi
5630 5634
5631 5635
5636
5637 ALSA_REQUIRED=1.0.0
5638 ALSA_MODULES="alsa >= $ALSA_REQUIRED"
5639 if test "X${with_pkg_config_prog}" != X; then
5640 PKG_CONFIG="${with_pkg_config_prog}"
5641 fi
5642
5643 succeeded=no
5644
5645 if test -z "$PKG_CONFIG"; then
5646 # Extract the first word of "pkg-config", so it can be a program name with args.
5647 set dummy pkg-config; ac_word=$2
5648 echo "$as_me:$LINENO: checking for $ac_word" >&5
5649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5650 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 else
5653 case $PKG_CONFIG in
5654 [\\/]* | ?:[\\/]*)
5655 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5656 ;;
5657 *)
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 for as_dir in $PATH
5660 do
5661 IFS=$as_save_IFS
5662 test -z "$as_dir" && as_dir=.
5663 for ac_exec_ext in '' $ac_executable_extensions; do
5664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5665 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 break 2
5668 fi
5669 done
5670 done
5671
5672 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5673 ;;
5674 esac
5675 fi
5676 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5677
5678 if test -n "$PKG_CONFIG"; then
5679 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5680 echo "${ECHO_T}$PKG_CONFIG" >&6
5681 else
5682 echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6
5684 fi
5685
5686 fi
5687
5688 if test "$PKG_CONFIG" = "no" ; then
5689 HAVE_ALSA=no
5690 else
5691 PKG_CONFIG_MIN_VERSION=0.9.0
5692 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5693 echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
5694 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6
5695
5696 if $PKG_CONFIG --exists "$ALSA_MODULES" ; then
5697 echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6
5699 succeeded=yes
5700
5701 echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
5702 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6
5703 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"`
5704 echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
5705 echo "${ECHO_T}$ALSA_CFLAGS" >&6
5706
5707 echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
5708 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6
5709 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"`
5710 echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
5711 echo "${ECHO_T}$ALSA_LIBS" >&6
5712 else
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5715 ALSA_CFLAGS=""
5716 ALSA_LIBS=""
5717 ## If we have a custom action on failure, don't print errors, but
5718 ## do set a variable so people can do so.
5719 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"`
5720
5721 fi
5722
5723
5724
5725 else
5726 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5727 echo "*** See http://www.freedesktop.org/software/pkgconfig"
5728 fi
5729 fi
5730
5731 if test $succeeded = yes; then
5732 HAVE_ALSA=yes
5733 else
5734 HAVE_ALSA=no
5735 fi
5736
5737 if test $HAVE_ALSA = yes; then
5738 LIBSOUND="$LIBSOUND $ALSA_LIBS"
5739 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS"
5740
5741 cat >>confdefs.h <<\_ACEOF
5742 #define HAVE_ALSA 1
5743 _ACEOF
5744
5745 fi
5746
5632 fi 5747 fi
5633 5748
5634 5749
5635 5750
5636 5751
10193 echo "$as_me:$LINENO: result: before 5" >&5 10308 echo "$as_me:$LINENO: result: before 5" >&5
10194 echo "${ECHO_T}before 5" >&6 10309 echo "${ECHO_T}before 5" >&6
10195 fi 10310 fi
10196 fi 10311 fi
10197 10312
10198
10199
10200 HAVE_GTK=no 10313 HAVE_GTK=no
10201 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then 10314 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then
10202 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then 10315 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
10203 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5 10316 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
10204 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;} 10317 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
10256 fi 10369 fi
10257 10370
10258 fi 10371 fi
10259 10372
10260 if test "$PKG_CONFIG" = "no" ; then 10373 if test "$PKG_CONFIG" = "no" ; then
10261 echo "*** The pkg-config script could not be found. Make sure it is" 10374 { { echo "$as_me:$LINENO: error:
10262 echo "*** in your path, or give the full path to pkg-config with" 10375 *** The pkg-config script could not be found. Make sure it is in your path, or give the full path to pkg-config with the PKG_CONFIG environment variable or --with-pkg-config-prog. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." >&5
10263 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog." 10376 echo "$as_me: error:
10264 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 10377 *** The pkg-config script could not be found. Make sure it is in your path, or give the full path to pkg-config with the PKG_CONFIG environment variable or --with-pkg-config-prog. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." >&2;}
10378 { (exit 1); exit 1; }; }
10265 else 10379 else
10266 PKG_CONFIG_MIN_VERSION=0.9.0 10380 PKG_CONFIG_MIN_VERSION=0.9.0
10267 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 10381 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10268 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 10382 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
10269 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6 10383 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
10283 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 10397 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
10284 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` 10398 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"`
10285 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 10399 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
10286 echo "${ECHO_T}$GTK_LIBS" >&6 10400 echo "${ECHO_T}$GTK_LIBS" >&6
10287 else 10401 else
10402 echo "$as_me:$LINENO: result: no" >&5
10403 echo "${ECHO_T}no" >&6
10288 GTK_CFLAGS="" 10404 GTK_CFLAGS=""
10289 GTK_LIBS="" 10405 GTK_LIBS=""
10290 ## If we have a custom action on failure, don't print errors, but 10406 ## If we have a custom action on failure, don't print errors, but
10291 ## do set a variable so people can do so. 10407 ## do set a variable so people can do so.
10292 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` 10408 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
23651 s,@RANLIB@,$RANLIB,;t t 23767 s,@RANLIB@,$RANLIB,;t t
23652 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 23768 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23653 s,@INSTALL_INFO@,$INSTALL_INFO,;t t 23769 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
23654 s,@GZIP_PROG@,$GZIP_PROG,;t t 23770 s,@GZIP_PROG@,$GZIP_PROG,;t t
23655 s,@LIBSOUND@,$LIBSOUND,;t t 23771 s,@LIBSOUND@,$LIBSOUND,;t t
23772 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23773 s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t
23774 s,@ALSA_LIBS@,$ALSA_LIBS,;t t
23775 s,@CFLAGS_SOUND@,$CFLAGS_SOUND,;t t
23656 s,@SET_MAKE@,$SET_MAKE,;t t 23776 s,@SET_MAKE@,$SET_MAKE,;t t
23657 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23658 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t 23777 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
23659 s,@GTK_LIBS@,$GTK_LIBS,;t t 23778 s,@GTK_LIBS@,$GTK_LIBS,;t t
23660 s,@ALLOCA@,$ALLOCA,;t t 23779 s,@ALLOCA@,$ALLOCA,;t t
23661 s,@liblockfile@,$liblockfile,;t t 23780 s,@liblockfile@,$liblockfile,;t t
23662 s,@LIBOBJS@,$LIBOBJS,;t t 23781 s,@LIBOBJS@,$LIBOBJS,;t t