comparison configure @ 83518:ab6ab63755f7

Merged from emacs@sv.gnu.org Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-285 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-286 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-287 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-288 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-102 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-558
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 20 May 2006 10:32:11 +0000
parents 966a40e7fb54 e5cd81bde625
children b19aaf4ab0ee
comparison
equal deleted inserted replaced
83517:b6689e223e2f 83518:ab6ab63755f7
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
5149 fi 5149 fi
5150 rm -f conftest* 5150 rm -f conftest*
5151 fi 5151 fi
5152 5152
5153 5153
5154
5155
5156
5157
5154 if test "${with_sound}" != "no"; then 5158 if test "${with_sound}" != "no"; then
5155 # Sound support for GNU/Linux and the free BSDs. 5159 # Sound support for GNU/Linux and the free BSDs.
5156 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5160 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5157 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5161 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5158 if test "${ac_cv_header_stdc+set}" = set; then 5162 if test "${ac_cv_header_stdc+set}" = set; then
5609 else 5613 else
5610 LIBSOUND= 5614 LIBSOUND=
5611 fi 5615 fi
5612 5616
5613 5617
5618
5619 ALSA_REQUIRED=1.0.0
5620 ALSA_MODULES="alsa >= $ALSA_REQUIRED"
5621 if test "X${with_pkg_config_prog}" != X; then
5622 PKG_CONFIG="${with_pkg_config_prog}"
5623 fi
5624
5625 succeeded=no
5626
5627 if test -z "$PKG_CONFIG"; then
5628 # Extract the first word of "pkg-config", so it can be a program name with args.
5629 set dummy pkg-config; ac_word=$2
5630 echo "$as_me:$LINENO: checking for $ac_word" >&5
5631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5632 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 else
5635 case $PKG_CONFIG in
5636 [\\/]* | ?:[\\/]*)
5637 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5638 ;;
5639 *)
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 for as_dir in $PATH
5642 do
5643 IFS=$as_save_IFS
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 break 2
5650 fi
5651 done
5652 done
5653
5654 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5655 ;;
5656 esac
5657 fi
5658 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5659
5660 if test -n "$PKG_CONFIG"; then
5661 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5662 echo "${ECHO_T}$PKG_CONFIG" >&6
5663 else
5664 echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6
5666 fi
5667
5668 fi
5669
5670 if test "$PKG_CONFIG" = "no" ; then
5671 HAVE_ALSA=no
5672 else
5673 PKG_CONFIG_MIN_VERSION=0.9.0
5674 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5675 echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
5676 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6
5677
5678 if $PKG_CONFIG --exists "$ALSA_MODULES" ; then
5679 echo "$as_me:$LINENO: result: yes" >&5
5680 echo "${ECHO_T}yes" >&6
5681 succeeded=yes
5682
5683 echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
5684 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6
5685 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"`
5686 echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
5687 echo "${ECHO_T}$ALSA_CFLAGS" >&6
5688
5689 echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
5690 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6
5691 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"`
5692 echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
5693 echo "${ECHO_T}$ALSA_LIBS" >&6
5694 else
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5697 ALSA_CFLAGS=""
5698 ALSA_LIBS=""
5699 ## If we have a custom action on failure, don't print errors, but
5700 ## do set a variable so people can do so.
5701 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"`
5702
5703 fi
5704
5705
5706
5707 else
5708 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5709 echo "*** See http://www.freedesktop.org/software/pkgconfig"
5710 fi
5711 fi
5712
5713 if test $succeeded = yes; then
5714 HAVE_ALSA=yes
5715 else
5716 HAVE_ALSA=no
5717 fi
5718
5719 if test $HAVE_ALSA = yes; then
5720 LIBSOUND="$LIBSOUND $ALSA_LIBS"
5721 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS"
5722
5723 cat >>confdefs.h <<\_ACEOF
5724 #define HAVE_ALSA 1
5725 _ACEOF
5726
5727 fi
5728
5614 fi 5729 fi
5615 5730
5616 5731
5617 5732
5618 5733
10130 echo "$as_me:$LINENO: result: before 5" >&5 10245 echo "$as_me:$LINENO: result: before 5" >&5
10131 echo "${ECHO_T}before 5" >&6 10246 echo "${ECHO_T}before 5" >&6
10132 fi 10247 fi
10133 fi 10248 fi
10134 10249
10135
10136
10137 HAVE_GTK=no 10250 HAVE_GTK=no
10138 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then 10251 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then
10139 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then 10252 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
10140 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5 10253 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
10141 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;} 10254 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
10193 fi 10306 fi
10194 10307
10195 fi 10308 fi
10196 10309
10197 if test "$PKG_CONFIG" = "no" ; then 10310 if test "$PKG_CONFIG" = "no" ; then
10198 echo "*** The pkg-config script could not be found. Make sure it is" 10311 { { echo "$as_me:$LINENO: error:
10199 echo "*** in your path, or give the full path to pkg-config with" 10312 *** 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
10200 echo "*** the PKG_CONFIG environment variable or --with-pkg-config-prog." 10313 echo "$as_me: error:
10201 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 10314 *** 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;}
10315 { (exit 1); exit 1; }; }
10202 else 10316 else
10203 PKG_CONFIG_MIN_VERSION=0.9.0 10317 PKG_CONFIG_MIN_VERSION=0.9.0
10204 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 10318 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10205 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 10319 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
10206 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6 10320 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6
10220 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 10334 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
10221 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` 10335 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"`
10222 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 10336 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
10223 echo "${ECHO_T}$GTK_LIBS" >&6 10337 echo "${ECHO_T}$GTK_LIBS" >&6
10224 else 10338 else
10339 echo "$as_me:$LINENO: result: no" >&5
10340 echo "${ECHO_T}no" >&6
10225 GTK_CFLAGS="" 10341 GTK_CFLAGS=""
10226 GTK_LIBS="" 10342 GTK_LIBS=""
10227 ## If we have a custom action on failure, don't print errors, but 10343 ## If we have a custom action on failure, don't print errors, but
10228 ## do set a variable so people can do so. 10344 ## do set a variable so people can do so.
10229 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` 10345 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
23372 s,@RANLIB@,$RANLIB,;t t 23488 s,@RANLIB@,$RANLIB,;t t
23373 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 23489 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23374 s,@INSTALL_INFO@,$INSTALL_INFO,;t t 23490 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
23375 s,@GZIP_PROG@,$GZIP_PROG,;t t 23491 s,@GZIP_PROG@,$GZIP_PROG,;t t
23376 s,@LIBSOUND@,$LIBSOUND,;t t 23492 s,@LIBSOUND@,$LIBSOUND,;t t
23493 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23494 s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t
23495 s,@ALSA_LIBS@,$ALSA_LIBS,;t t
23496 s,@CFLAGS_SOUND@,$CFLAGS_SOUND,;t t
23377 s,@SET_MAKE@,$SET_MAKE,;t t 23497 s,@SET_MAKE@,$SET_MAKE,;t t
23378 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23379 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t 23498 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
23380 s,@GTK_LIBS@,$GTK_LIBS,;t t 23499 s,@GTK_LIBS@,$GTK_LIBS,;t t
23381 s,@ALLOCA@,$ALLOCA,;t t 23500 s,@ALLOCA@,$ALLOCA,;t t
23382 s,@liblockfile@,$liblockfile,;t t 23501 s,@liblockfile@,$liblockfile,;t t
23383 s,@LIBOBJS@,$LIBOBJS,;t t 23502 s,@LIBOBJS@,$LIBOBJS,;t t