Mercurial > emacs
comparison configure @ 91204:53108e6cea98
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 06 Dec 2007 09:51:45 +0000 |
parents | 293155ed2cf4 038ec9c21c41 |
children | 2fcaae6177a5 |
comparison
equal
deleted
inserted
replaced
91203:db40129142b2 | 91204:53108e6cea98 |
---|---|
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.61. | 3 # Generated by GNU Autoconf 2.61 for emacs 23.0.50. |
4 # | 4 # |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
7 # This configure script is free software; the Free Software Foundation | 7 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 8 # gives unlimited permission to copy, distribute and modify it. |
568 MFLAGS= | 568 MFLAGS= |
569 MAKEFLAGS= | 569 MAKEFLAGS= |
570 SHELL=${CONFIG_SHELL-/bin/sh} | 570 SHELL=${CONFIG_SHELL-/bin/sh} |
571 | 571 |
572 # Identity of this package. | 572 # Identity of this package. |
573 PACKAGE_NAME= | 573 PACKAGE_NAME='emacs' |
574 PACKAGE_TARNAME= | 574 PACKAGE_TARNAME='emacs' |
575 PACKAGE_VERSION= | 575 PACKAGE_VERSION='23.0.50' |
576 PACKAGE_STRING= | 576 PACKAGE_STRING='emacs 23.0.50' |
577 PACKAGE_BUGREPORT= | 577 PACKAGE_BUGREPORT='' |
578 | 578 |
579 ac_unique_file="src/lisp.h" | 579 ac_unique_file="src/lisp.h" |
580 ac_config_libobj_dir=src | 580 ac_config_libobj_dir=src |
581 # Factoring default headers for most tests. | 581 # Factoring default headers for most tests. |
582 ac_includes_default="\ | 582 ac_includes_default="\ |
690 HAVE_XSERVER | 690 HAVE_XSERVER |
691 RSVG_CFLAGS | 691 RSVG_CFLAGS |
692 RSVG_LIBS | 692 RSVG_LIBS |
693 GTK_CFLAGS | 693 GTK_CFLAGS |
694 GTK_LIBS | 694 GTK_LIBS |
695 DBUS_CFLAGS | |
696 DBUS_LIBS | |
695 XFT_CFLAGS | 697 XFT_CFLAGS |
696 XFT_LIBS | 698 XFT_LIBS |
697 FREETYPE_CFLAGS | 699 FREETYPE_CFLAGS |
698 FREETYPE_LIBS | 700 FREETYPE_LIBS |
699 FONTCONFIG_CFLAGS | 701 FONTCONFIG_CFLAGS |
781 sysconfdir='${prefix}/etc' | 783 sysconfdir='${prefix}/etc' |
782 sharedstatedir='${prefix}/com' | 784 sharedstatedir='${prefix}/com' |
783 localstatedir='${prefix}/var' | 785 localstatedir='${prefix}/var' |
784 includedir='${prefix}/include' | 786 includedir='${prefix}/include' |
785 oldincludedir='/usr/include' | 787 oldincludedir='/usr/include' |
786 docdir='${datarootdir}/doc/${PACKAGE}' | 788 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
787 infodir='${datarootdir}/info' | 789 infodir='${datarootdir}/info' |
788 htmldir='${docdir}' | 790 htmldir='${docdir}' |
789 dvidir='${docdir}' | 791 dvidir='${docdir}' |
790 pdfdir='${docdir}' | 792 pdfdir='${docdir}' |
791 psdir='${docdir}' | 793 psdir='${docdir}' |
1245 # | 1247 # |
1246 if test "$ac_init_help" = "long"; then | 1248 if test "$ac_init_help" = "long"; then |
1247 # Omit some internal or obsolete options to make the list less imposing. | 1249 # Omit some internal or obsolete options to make the list less imposing. |
1248 # This message is too long to be a string in the A/UX 3.1 sh. | 1250 # This message is too long to be a string in the A/UX 3.1 sh. |
1249 cat <<_ACEOF | 1251 cat <<_ACEOF |
1250 \`configure' configures this package to adapt to many kinds of systems. | 1252 \`configure' configures emacs 23.0.50 to adapt to many kinds of systems. |
1251 | 1253 |
1252 Usage: $0 [OPTION]... [VAR=VALUE]... | 1254 Usage: $0 [OPTION]... [VAR=VALUE]... |
1253 | 1255 |
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as | 1256 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1255 VAR=VALUE. See below for descriptions of some of the useful variables. | 1257 VAR=VALUE. See below for descriptions of some of the useful variables. |
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1295 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1296 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1295 --infodir=DIR info documentation [DATAROOTDIR/info] | 1297 --infodir=DIR info documentation [DATAROOTDIR/info] |
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1298 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1297 --mandir=DIR man documentation [DATAROOTDIR/man] | 1299 --mandir=DIR man documentation [DATAROOTDIR/man] |
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | 1300 --docdir=DIR documentation root [DATAROOTDIR/doc/emacs] |
1299 --htmldir=DIR html documentation [DOCDIR] | 1301 --htmldir=DIR html documentation [DOCDIR] |
1300 --dvidir=DIR dvi documentation [DOCDIR] | 1302 --dvidir=DIR dvi documentation [DOCDIR] |
1301 --pdfdir=DIR pdf documentation [DOCDIR] | 1303 --pdfdir=DIR pdf documentation [DOCDIR] |
1302 --psdir=DIR ps documentation [DOCDIR] | 1304 --psdir=DIR ps documentation [DOCDIR] |
1303 _ACEOF | 1305 _ACEOF |
1318 --host=HOST cross-compile to build programs to run on HOST [BUILD] | 1320 --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1319 _ACEOF | 1321 _ACEOF |
1320 fi | 1322 fi |
1321 | 1323 |
1322 if test -n "$ac_init_help"; then | 1324 if test -n "$ac_init_help"; then |
1323 | 1325 case $ac_init_help in |
1326 short | recursive ) echo "Configuration of emacs 23.0.50:";; | |
1327 esac | |
1324 cat <<\_ACEOF | 1328 cat <<\_ACEOF |
1325 | 1329 |
1326 Optional Features: | 1330 Optional Features: |
1327 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1331 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1328 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1332 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1364 --without-toolkit-scroll-bars | 1368 --without-toolkit-scroll-bars |
1365 don't use Motif or Xaw3d scroll bars | 1369 don't use Motif or Xaw3d scroll bars |
1366 --without-xaw3d don't use Xaw3d | 1370 --without-xaw3d don't use Xaw3d |
1367 --without-xim don't use X11 XIM | 1371 --without-xim don't use X11 XIM |
1368 --without-carbon don't use Carbon GUI on Mac OS X | 1372 --without-carbon don't use Carbon GUI on Mac OS X |
1373 --without-dbus don't use D-Bus | |
1369 --with-x use the X Window System | 1374 --with-x use the X Window System |
1370 | 1375 |
1371 Some influential environment variables: | 1376 Some influential environment variables: |
1372 CC C compiler command | 1377 CC C compiler command |
1373 CFLAGS C compiler flags | 1378 CFLAGS C compiler flags |
1440 fi | 1445 fi |
1441 | 1446 |
1442 test -n "$ac_init_help" && exit $ac_status | 1447 test -n "$ac_init_help" && exit $ac_status |
1443 if $ac_init_version; then | 1448 if $ac_init_version; then |
1444 cat <<\_ACEOF | 1449 cat <<\_ACEOF |
1445 configure | 1450 emacs configure 23.0.50 |
1446 generated by GNU Autoconf 2.61 | 1451 generated by GNU Autoconf 2.61 |
1447 | 1452 |
1448 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1453 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 1454 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1450 This configure script is free software; the Free Software Foundation | 1455 This configure script is free software; the Free Software Foundation |
1454 fi | 1459 fi |
1455 cat >config.log <<_ACEOF | 1460 cat >config.log <<_ACEOF |
1456 This file contains any messages produced by compilers while | 1461 This file contains any messages produced by compilers while |
1457 running configure, to aid debugging if configure makes a mistake. | 1462 running configure, to aid debugging if configure makes a mistake. |
1458 | 1463 |
1459 It was created by $as_me, which was | 1464 It was created by emacs $as_me 23.0.50, which was |
1460 generated by GNU Autoconf 2.61. Invocation command line was | 1465 generated by GNU Autoconf 2.61. Invocation command line was |
1461 | 1466 |
1462 $ $0 $@ | 1467 $ $0 $@ |
1463 | 1468 |
1464 _ACEOF | 1469 _ACEOF |
1795 | 1800 |
1796 | 1801 |
1797 | 1802 |
1798 | 1803 |
1799 | 1804 |
1805 | |
1806 | |
1807 | |
1808 | |
1809 | |
1810 | |
1811 | |
1812 | |
1800 ac_ext=c | 1813 ac_ext=c |
1801 ac_cpp='$CPP $CPPFLAGS' | 1814 ac_cpp='$CPP $CPPFLAGS' |
1802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1804 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1817 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1805 | 1818 |
1806 | 1819 |
1807 ac_config_headers="$ac_config_headers src/config.h:src/config.in" | 1820 ac_config_headers="$ac_config_headers src/config.h:src/config.in" |
1821 | |
1808 | 1822 |
1809 | 1823 |
1810 test "$program_prefix" != NONE && | 1824 test "$program_prefix" != NONE && |
1811 program_transform_name="s&^&$program_prefix&;$program_transform_name" | 1825 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1812 # Use a double $ so make ignores it. | 1826 # Use a double $ so make ignores it. |
2023 | 2037 |
2024 | 2038 |
2025 # Check whether --with-carbon was given. | 2039 # Check whether --with-carbon was given. |
2026 if test "${with_carbon+set}" = set; then | 2040 if test "${with_carbon+set}" = set; then |
2027 withval=$with_carbon; | 2041 withval=$with_carbon; |
2042 fi | |
2043 | |
2044 | |
2045 # Check whether --with-dbus was given. | |
2046 if test "${with_dbus+set}" = set; then | |
2047 withval=$with_dbus; | |
2028 fi | 2048 fi |
2029 | 2049 |
2030 | 2050 |
2031 # Check whether --enable-carbon-app was given. | 2051 # Check whether --enable-carbon-app was given. |
2032 if test "${enable_carbon_app+set}" = set; then | 2052 if test "${enable_carbon_app+set}" = set; then |
2273 ia64-*-freebsd*) machine=ia64 ;; | 2293 ia64-*-freebsd*) machine=ia64 ;; |
2274 sparc64-*-freebsd*) machine=sparc ;; | 2294 sparc64-*-freebsd*) machine=sparc ;; |
2275 powerpc-*-freebsd*) machine=macppc ;; | 2295 powerpc-*-freebsd*) machine=macppc ;; |
2276 i[3456]86-*-freebsd*) machine=intel386 ;; | 2296 i[3456]86-*-freebsd*) machine=intel386 ;; |
2277 amd64-*-freebsd*|x86_64-*-freebsd*) machine=amdx86-64 ;; | 2297 amd64-*-freebsd*|x86_64-*-freebsd*) machine=amdx86-64 ;; |
2298 esac | |
2299 ;; | |
2300 | |
2301 ## FreeBSD kernel + glibc based userland | |
2302 *-*-kfreebsd*gnu* ) | |
2303 opsys=gnu-kfreebsd | |
2304 case "${canonical}" in | |
2305 alpha*-*-kfreebsd*) machine=alpha ;; | |
2306 ia64-*-kfreebsd*) machine=ia64 ;; | |
2307 sparc64-*-kfreebsd*) machine=sparc ;; | |
2308 powerpc-*-kfreebsd*) machine=macppc ;; | |
2309 i[3456]86-*-kfreebsd*) machine=intel386 ;; | |
2310 amd64-*-kfreebsd*|x86_64-*-kfreebsd*) machine=amdx86-64 ;; | |
2278 esac | 2311 esac |
2279 ;; | 2312 ;; |
2280 | 2313 |
2281 ## NetBSD ports | 2314 ## NetBSD ports |
2282 *-*-netbsd* ) | 2315 *-*-netbsd* ) |
12010 | 12043 |
12011 fi | 12044 fi |
12012 fi | 12045 fi |
12013 fi | 12046 fi |
12014 | 12047 |
12048 HAVE_DBUS=no | |
12049 if test "${with_dbus}" = "yes"; then | |
12050 | |
12051 succeeded=no | |
12052 | |
12053 if test -z "$PKG_CONFIG"; then | |
12054 # Extract the first word of "pkg-config", so it can be a program name with args. | |
12055 set dummy pkg-config; ac_word=$2 | |
12056 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
12057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
12058 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
12059 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12060 else | |
12061 case $PKG_CONFIG in | |
12062 [\\/]* | ?:[\\/]*) | |
12063 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
12064 ;; | |
12065 *) | |
12066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
12067 for as_dir in $PATH | |
12068 do | |
12069 IFS=$as_save_IFS | |
12070 test -z "$as_dir" && as_dir=. | |
12071 for ac_exec_ext in '' $ac_executable_extensions; do | |
12072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
12073 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
12074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
12075 break 2 | |
12076 fi | |
12077 done | |
12078 done | |
12079 IFS=$as_save_IFS | |
12080 | |
12081 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | |
12082 ;; | |
12083 esac | |
12084 fi | |
12085 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
12086 if test -n "$PKG_CONFIG"; then | |
12087 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | |
12088 echo "${ECHO_T}$PKG_CONFIG" >&6; } | |
12089 else | |
12090 { echo "$as_me:$LINENO: result: no" >&5 | |
12091 echo "${ECHO_T}no" >&6; } | |
12092 fi | |
12093 | |
12094 | |
12095 fi | |
12096 | |
12097 if test "$PKG_CONFIG" = "no" ; then | |
12098 HAVE_DBUS=no | |
12099 else | |
12100 PKG_CONFIG_MIN_VERSION=0.9.0 | |
12101 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
12102 { echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 | |
12103 echo $ECHO_N "checking for dbus-1 >= 1.0... $ECHO_C" >&6; } | |
12104 | |
12105 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | |
12106 { echo "$as_me:$LINENO: result: yes" >&5 | |
12107 echo "${ECHO_T}yes" >&6; } | |
12108 succeeded=yes | |
12109 | |
12110 { echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 | |
12111 echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6; } | |
12112 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | |
12113 { echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 | |
12114 echo "${ECHO_T}$DBUS_CFLAGS" >&6; } | |
12115 | |
12116 { echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 | |
12117 echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6; } | |
12118 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | |
12119 { echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 | |
12120 echo "${ECHO_T}$DBUS_LIBS" >&6; } | |
12121 else | |
12122 { echo "$as_me:$LINENO: result: no" >&5 | |
12123 echo "${ECHO_T}no" >&6; } | |
12124 DBUS_CFLAGS="" | |
12125 DBUS_LIBS="" | |
12126 ## If we have a custom action on failure, don't print errors, but | |
12127 ## do set a variable so people can do so. | |
12128 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 1.0"` | |
12129 | |
12130 fi | |
12131 | |
12132 | |
12133 | |
12134 else | |
12135 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
12136 echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
12137 fi | |
12138 fi | |
12139 | |
12140 if test $succeeded = yes; then | |
12141 HAVE_DBUS=yes | |
12142 else | |
12143 HAVE_DBUS=no | |
12144 fi | |
12145 | |
12146 if test "$HAVE_DBUS" = yes; then | |
12147 | |
12148 cat >>confdefs.h <<\_ACEOF | |
12149 #define HAVE_DBUS 1 | |
12150 _ACEOF | |
12151 | |
12152 fi | |
12153 fi | |
12154 | |
12015 HAVE_XAW3D=no | 12155 HAVE_XAW3D=no |
12016 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 12156 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
12017 if test "$with_xaw3d" != no; then | 12157 if test "$with_xaw3d" != no; then |
12018 { echo "$as_me:$LINENO: checking for xaw3d" >&5 | 12158 { echo "$as_me:$LINENO: checking for xaw3d" >&5 |
12019 echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; } | 12159 echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; } |
18960 /* confdefs.h. */ | 19100 /* confdefs.h. */ |
18961 _ACEOF | 19101 _ACEOF |
18962 cat confdefs.h >>conftest.$ac_ext | 19102 cat confdefs.h >>conftest.$ac_ext |
18963 cat >>conftest.$ac_ext <<_ACEOF | 19103 cat >>conftest.$ac_ext <<_ACEOF |
18964 /* end confdefs.h. */ | 19104 /* end confdefs.h. */ |
18965 #include <sys/types.h> /* for off_t */ | 19105 #include <stdio.h> |
18966 #include <stdio.h> | |
18967 int | 19106 int |
18968 main () | 19107 main () |
18969 { | 19108 { |
18970 int (*fp) (FILE *, off_t, int) = fseeko; | 19109 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
18971 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | |
18972 ; | 19110 ; |
18973 return 0; | 19111 return 0; |
18974 } | 19112 } |
18975 _ACEOF | 19113 _ACEOF |
18976 rm -f conftest.$ac_objext conftest$ac_exeext | 19114 rm -f conftest.$ac_objext conftest$ac_exeext |
19006 _ACEOF | 19144 _ACEOF |
19007 cat confdefs.h >>conftest.$ac_ext | 19145 cat confdefs.h >>conftest.$ac_ext |
19008 cat >>conftest.$ac_ext <<_ACEOF | 19146 cat >>conftest.$ac_ext <<_ACEOF |
19009 /* end confdefs.h. */ | 19147 /* end confdefs.h. */ |
19010 #define _LARGEFILE_SOURCE 1 | 19148 #define _LARGEFILE_SOURCE 1 |
19011 #include <sys/types.h> /* for off_t */ | 19149 #include <stdio.h> |
19012 #include <stdio.h> | |
19013 int | 19150 int |
19014 main () | 19151 main () |
19015 { | 19152 { |
19016 int (*fp) (FILE *, off_t, int) = fseeko; | 19153 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
19017 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | |
19018 ; | 19154 ; |
19019 return 0; | 19155 return 0; |
19020 } | 19156 } |
19021 _ACEOF | 19157 _ACEOF |
19022 rm -f conftest.$ac_objext conftest$ac_exeext | 19158 rm -f conftest.$ac_objext conftest$ac_exeext |
20044 | 20180 |
20045 | 20181 |
20046 # Do we have res_init, for detecting changes in /etc/resolv.conf? | 20182 # Do we have res_init, for detecting changes in /etc/resolv.conf? |
20047 | 20183 |
20048 resolv=no | 20184 resolv=no |
20049 { echo "$as_me:$LINENO: checking for res_init" >&5 | 20185 cat >conftest.$ac_ext <<_ACEOF |
20050 echo $ECHO_N "checking for res_init... $ECHO_C" >&6; } | |
20051 if test "${ac_cv_func_res_init+set}" = set; then | |
20052 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
20053 else | |
20054 cat >conftest.$ac_ext <<_ACEOF | |
20055 /* confdefs.h. */ | |
20056 _ACEOF | |
20057 cat confdefs.h >>conftest.$ac_ext | |
20058 cat >>conftest.$ac_ext <<_ACEOF | |
20059 /* end confdefs.h. */ | |
20060 /* Define res_init to an innocuous variant, in case <limits.h> declares res_init. | |
20061 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
20062 #define res_init innocuous_res_init | |
20063 | |
20064 /* System header to define __stub macros and hopefully few prototypes, | |
20065 which can conflict with char res_init (); below. | |
20066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
20067 <limits.h> exists even on freestanding compilers. */ | |
20068 | |
20069 #ifdef __STDC__ | |
20070 # include <limits.h> | |
20071 #else | |
20072 # include <assert.h> | |
20073 #endif | |
20074 | |
20075 #undef res_init | |
20076 | |
20077 /* Override any GCC internal prototype to avoid an error. | |
20078 Use char because int might match the return type of a GCC | |
20079 builtin and then its argument prototype would still apply. */ | |
20080 #ifdef __cplusplus | |
20081 extern "C" | |
20082 #endif | |
20083 char res_init (); | |
20084 /* The GNU C library defines this for functions which it implements | |
20085 to always fail with ENOSYS. Some functions are actually named | |
20086 something starting with __ and the normal name is an alias. */ | |
20087 #if defined __stub_res_init || defined __stub___res_init | |
20088 choke me | |
20089 #endif | |
20090 | |
20091 int | |
20092 main () | |
20093 { | |
20094 return res_init (); | |
20095 ; | |
20096 return 0; | |
20097 } | |
20098 _ACEOF | |
20099 rm -f conftest.$ac_objext conftest$ac_exeext | |
20100 if { (ac_try="$ac_link" | |
20101 case "(($ac_try" in | |
20102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20103 *) ac_try_echo=$ac_try;; | |
20104 esac | |
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20106 (eval "$ac_link") 2>conftest.er1 | |
20107 ac_status=$? | |
20108 grep -v '^ *+' conftest.er1 >conftest.err | |
20109 rm -f conftest.er1 | |
20110 cat conftest.err >&5 | |
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20112 (exit $ac_status); } && { | |
20113 test -z "$ac_c_werror_flag" || | |
20114 test ! -s conftest.err | |
20115 } && test -s conftest$ac_exeext && | |
20116 $as_test_x conftest$ac_exeext; then | |
20117 ac_cv_func_res_init=yes | |
20118 else | |
20119 echo "$as_me: failed program was:" >&5 | |
20120 sed 's/^/| /' conftest.$ac_ext >&5 | |
20121 | |
20122 ac_cv_func_res_init=no | |
20123 fi | |
20124 | |
20125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20126 conftest$ac_exeext conftest.$ac_ext | |
20127 fi | |
20128 { echo "$as_me:$LINENO: result: $ac_cv_func_res_init" >&5 | |
20129 echo "${ECHO_T}$ac_cv_func_res_init" >&6; } | |
20130 if test $ac_cv_func_res_init = yes; then | |
20131 have_res_init=yes | |
20132 else | |
20133 have_res_init=no | |
20134 fi | |
20135 | |
20136 if test "$have_res_init" = no; then | |
20137 OLIBS="$LIBS" | |
20138 LIBS="$LIBS -lresolv" | |
20139 { echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 | |
20140 echo $ECHO_N "checking for res_init with -lresolv... $ECHO_C" >&6; } | |
20141 cat >conftest.$ac_ext <<_ACEOF | |
20142 /* confdefs.h. */ | 20186 /* confdefs.h. */ |
20143 _ACEOF | 20187 _ACEOF |
20144 cat confdefs.h >>conftest.$ac_ext | 20188 cat confdefs.h >>conftest.$ac_ext |
20145 cat >>conftest.$ac_ext <<_ACEOF | 20189 cat >>conftest.$ac_ext <<_ACEOF |
20146 /* end confdefs.h. */ | 20190 /* end confdefs.h. */ |
20148 #include <arpa/nameser.h> | 20192 #include <arpa/nameser.h> |
20149 #include <resolv.h> | 20193 #include <resolv.h> |
20150 int | 20194 int |
20151 main () | 20195 main () |
20152 { | 20196 { |
20153 res_init(); | 20197 return res_init(); |
20198 ; | |
20199 return 0; | |
20200 } | |
20201 _ACEOF | |
20202 rm -f conftest.$ac_objext conftest$ac_exeext | |
20203 if { (ac_try="$ac_link" | |
20204 case "(($ac_try" in | |
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20206 *) ac_try_echo=$ac_try;; | |
20207 esac | |
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20209 (eval "$ac_link") 2>conftest.er1 | |
20210 ac_status=$? | |
20211 grep -v '^ *+' conftest.er1 >conftest.err | |
20212 rm -f conftest.er1 | |
20213 cat conftest.err >&5 | |
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
20215 (exit $ac_status); } && { | |
20216 test -z "$ac_c_werror_flag" || | |
20217 test ! -s conftest.err | |
20218 } && test -s conftest$ac_exeext && | |
20219 $as_test_x conftest$ac_exeext; then | |
20220 have_res_init=yes | |
20221 else | |
20222 echo "$as_me: failed program was:" >&5 | |
20223 sed 's/^/| /' conftest.$ac_ext >&5 | |
20224 | |
20225 have_res_init=no | |
20226 fi | |
20227 | |
20228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
20229 conftest$ac_exeext conftest.$ac_ext | |
20230 if test "$have_res_init" = no; then | |
20231 OLIBS="$LIBS" | |
20232 LIBS="$LIBS -lresolv" | |
20233 { echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 | |
20234 echo $ECHO_N "checking for res_init with -lresolv... $ECHO_C" >&6; } | |
20235 cat >conftest.$ac_ext <<_ACEOF | |
20236 /* confdefs.h. */ | |
20237 _ACEOF | |
20238 cat confdefs.h >>conftest.$ac_ext | |
20239 cat >>conftest.$ac_ext <<_ACEOF | |
20240 /* end confdefs.h. */ | |
20241 #include <netinet/in.h> | |
20242 #include <arpa/nameser.h> | |
20243 #include <resolv.h> | |
20244 int | |
20245 main () | |
20246 { | |
20247 return res_init(); | |
20154 ; | 20248 ; |
20155 return 0; | 20249 return 0; |
20156 } | 20250 } |
20157 _ACEOF | 20251 _ACEOF |
20158 rm -f conftest.$ac_objext conftest$ac_exeext | 20252 rm -f conftest.$ac_objext conftest$ac_exeext |
24354 known problems. It is not recommended for use by non-developers. | 24448 known problems. It is not recommended for use by non-developers. |
24355 Read the emacs-devel archives for more information." | 24449 Read the emacs-devel archives for more information." |
24356 echo | 24450 echo |
24357 fi | 24451 fi |
24358 | 24452 |
24453 if test "$HAVE_DBUS" = yes && test "${opsys}" != "gnu-linux"; then | |
24454 echo "D-Bus integration has been tested for GNU/Linux only." | |
24455 echo | |
24456 fi | |
24457 | |
24359 | 24458 |
24360 # Remove any trailing slashes in these variables. | 24459 # Remove any trailing slashes in these variables. |
24361 test "${prefix}" != NONE && | 24460 test "${prefix}" != NONE && |
24362 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` | 24461 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |
24363 test "${exec_prefix}" != NONE && | 24462 test "${exec_prefix}" != NONE && |
24783 | 24882 |
24784 # Save the log message, to keep $[0] and so on meaningful, and to | 24883 # Save the log message, to keep $[0] and so on meaningful, and to |
24785 # report actual input values of CONFIG_FILES etc. instead of their | 24884 # report actual input values of CONFIG_FILES etc. instead of their |
24786 # values after options handling. | 24885 # values after options handling. |
24787 ac_log=" | 24886 ac_log=" |
24788 This file was extended by $as_me, which was | 24887 This file was extended by emacs $as_me 23.0.50, which was |
24789 generated by GNU Autoconf 2.61. Invocation command line was | 24888 generated by GNU Autoconf 2.61. Invocation command line was |
24790 | 24889 |
24791 CONFIG_FILES = $CONFIG_FILES | 24890 CONFIG_FILES = $CONFIG_FILES |
24792 CONFIG_HEADERS = $CONFIG_HEADERS | 24891 CONFIG_HEADERS = $CONFIG_HEADERS |
24793 CONFIG_LINKS = $CONFIG_LINKS | 24892 CONFIG_LINKS = $CONFIG_LINKS |
24836 Report bugs to <bug-autoconf@gnu.org>." | 24935 Report bugs to <bug-autoconf@gnu.org>." |
24837 | 24936 |
24838 _ACEOF | 24937 _ACEOF |
24839 cat >>$CONFIG_STATUS <<_ACEOF | 24938 cat >>$CONFIG_STATUS <<_ACEOF |
24840 ac_cs_version="\\ | 24939 ac_cs_version="\\ |
24841 config.status | 24940 emacs config.status 23.0.50 |
24842 configured by $0, generated by GNU Autoconf 2.61, | 24941 configured by $0, generated by GNU Autoconf 2.61, |
24843 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 24942 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
24844 | 24943 |
24845 Copyright (C) 2006 Free Software Foundation, Inc. | 24944 Copyright (C) 2006 Free Software Foundation, Inc. |
24846 This config.status script is free software; the Free Software Foundation | 24945 This config.status script is free software; the Free Software Foundation |
25100 HAVE_XSERVER!$HAVE_XSERVER$ac_delim | 25199 HAVE_XSERVER!$HAVE_XSERVER$ac_delim |
25101 RSVG_CFLAGS!$RSVG_CFLAGS$ac_delim | 25200 RSVG_CFLAGS!$RSVG_CFLAGS$ac_delim |
25102 RSVG_LIBS!$RSVG_LIBS$ac_delim | 25201 RSVG_LIBS!$RSVG_LIBS$ac_delim |
25103 GTK_CFLAGS!$GTK_CFLAGS$ac_delim | 25202 GTK_CFLAGS!$GTK_CFLAGS$ac_delim |
25104 GTK_LIBS!$GTK_LIBS$ac_delim | 25203 GTK_LIBS!$GTK_LIBS$ac_delim |
25204 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim | |
25205 DBUS_LIBS!$DBUS_LIBS$ac_delim | |
25105 XFT_CFLAGS!$XFT_CFLAGS$ac_delim | 25206 XFT_CFLAGS!$XFT_CFLAGS$ac_delim |
25106 XFT_LIBS!$XFT_LIBS$ac_delim | 25207 XFT_LIBS!$XFT_LIBS$ac_delim |
25107 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim | 25208 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim |
25108 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim | 25209 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim |
25109 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim | 25210 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim |
25119 NEED_SETGID!$NEED_SETGID$ac_delim | 25220 NEED_SETGID!$NEED_SETGID$ac_delim |
25120 KMEM_GROUP!$KMEM_GROUP$ac_delim | 25221 KMEM_GROUP!$KMEM_GROUP$ac_delim |
25121 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim | 25222 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim |
25122 GETOPT_H!$GETOPT_H$ac_delim | 25223 GETOPT_H!$GETOPT_H$ac_delim |
25123 GETOPTOBJS!$GETOPTOBJS$ac_delim | 25224 GETOPTOBJS!$GETOPTOBJS$ac_delim |
25124 version!$version$ac_delim | |
25125 configuration!$configuration$ac_delim | |
25126 _ACEOF | 25225 _ACEOF |
25127 | 25226 |
25128 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 25227 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
25129 break | 25228 break |
25130 elif $ac_last_try; then | 25229 elif $ac_last_try; then |
25162 | 25261 |
25163 | 25262 |
25164 ac_delim='%!_!# ' | 25263 ac_delim='%!_!# ' |
25165 for ac_last_try in false false false false false :; do | 25264 for ac_last_try in false false false false false :; do |
25166 cat >conf$$subs.sed <<_ACEOF | 25265 cat >conf$$subs.sed <<_ACEOF |
25266 version!$version$ac_delim | |
25267 configuration!$configuration$ac_delim | |
25167 canonical!$canonical$ac_delim | 25268 canonical!$canonical$ac_delim |
25168 srcdir!$srcdir$ac_delim | 25269 srcdir!$srcdir$ac_delim |
25169 lispdir!$lispdir$ac_delim | 25270 lispdir!$lispdir$ac_delim |
25170 locallisppath!$locallisppath$ac_delim | 25271 locallisppath!$locallisppath$ac_delim |
25171 lisppath!$lisppath$ac_delim | 25272 lisppath!$lisppath$ac_delim |
25185 opsysfile!$opsysfile$ac_delim | 25286 opsysfile!$opsysfile$ac_delim |
25186 carbon_appdir!$carbon_appdir$ac_delim | 25287 carbon_appdir!$carbon_appdir$ac_delim |
25187 LTLIBOBJS!$LTLIBOBJS$ac_delim | 25288 LTLIBOBJS!$LTLIBOBJS$ac_delim |
25188 _ACEOF | 25289 _ACEOF |
25189 | 25290 |
25190 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then | 25291 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then |
25191 break | 25292 break |
25192 elif $ac_last_try; then | 25293 elif $ac_last_try; then |
25193 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 25294 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
25194 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | 25295 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
25195 { (exit 1); exit 1; }; } | 25296 { (exit 1); exit 1; }; } |