Mercurial > emacs
comparison configure @ 110317:50478146a2e1
10-09-13
author | Robert J. Chassell <bob@gnu.org> |
---|---|
date | Mon, 13 Sep 2010 10:14:52 +0000 |
parents | fd8902911ce3 |
children | f52a8c72912b |
comparison
equal
deleted
inserted
replaced
110316:14e479cda1d2 | 110317:50478146a2e1 |
---|---|
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.65 for emacs 24.0.50. | 3 # Generated by GNU Autoconf 2.67 for emacs 24.0.50. |
4 # | 4 # |
5 # | 5 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 # Inc. | 8 # Foundation, Inc. |
9 # | 9 # |
10 # | 10 # |
11 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 13 ## -------------------- ## |
314 } | 314 } |
315 s/.*/./; q'` | 315 s/.*/./; q'` |
316 test -d "$as_dir" && break | 316 test -d "$as_dir" && break |
317 done | 317 done |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | 318 test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | 320 |
321 | 321 |
322 } # as_fn_mkdir_p | 322 } # as_fn_mkdir_p |
323 # as_fn_append VAR VALUE | 323 # as_fn_append VAR VALUE |
324 # ---------------------- | 324 # ---------------------- |
354 as_val=`expr "$@" || test $? -eq 1` | 354 as_val=`expr "$@" || test $? -eq 1` |
355 } | 355 } |
356 fi # as_fn_arith | 356 fi # as_fn_arith |
357 | 357 |
358 | 358 |
359 # as_fn_error ERROR [LINENO LOG_FD] | 359 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
360 # --------------------------------- | 360 # ---------------------------------------- |
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
363 # script with status $?, using 1 if that was 0. | 363 # script with STATUS, using 1 if that was 0. |
364 as_fn_error () | 364 as_fn_error () |
365 { | 365 { |
366 as_status=$?; test $as_status -eq 0 && as_status=1 | 366 as_status=$1; test $as_status -eq 0 && as_status=1 |
367 if test "$3"; then | 367 if test "$4"; then |
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
370 fi | 370 fi |
371 $as_echo "$as_me: error: $1" >&2 | 371 $as_echo "$as_me: error: $2" >&2 |
372 as_fn_exit $as_status | 372 as_fn_exit $as_status |
373 } # as_fn_error | 373 } # as_fn_error |
374 | 374 |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 375 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
528 | 528 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 529 test -n "$DJDIR" || exec 7<&0 </dev/null |
530 exec 6>&1 | 530 exec 6>&1 |
531 | 531 |
532 # Name of the host. | 532 # Name of the host. |
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
534 # so uname gets run too. | 534 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
536 | 536 |
537 # | 537 # |
538 # Initializations. | 538 # Initializations. |
908 ac_prev= | 908 ac_prev= |
909 continue | 909 continue |
910 fi | 910 fi |
911 | 911 |
912 case $ac_option in | 912 case $ac_option in |
913 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 913 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
914 *) ac_optarg=yes ;; | 914 *=) ac_optarg= ;; |
915 *) ac_optarg=yes ;; | |
915 esac | 916 esac |
916 | 917 |
917 # Accept the important Cygnus configure options, so we can diagnose typos. | 918 # Accept the important Cygnus configure options, so we can diagnose typos. |
918 | 919 |
919 case $ac_dashdash$ac_option in | 920 case $ac_dashdash$ac_option in |
954 | 955 |
955 -disable-* | --disable-*) | 956 -disable-* | --disable-*) |
956 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 957 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
957 # Reject names that are not valid shell variable names. | 958 # Reject names that are not valid shell variable names. |
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
959 as_fn_error "invalid feature name: $ac_useropt" | 960 as_fn_error $? "invalid feature name: $ac_useropt" |
960 ac_useropt_orig=$ac_useropt | 961 ac_useropt_orig=$ac_useropt |
961 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
962 case $ac_user_opts in | 963 case $ac_user_opts in |
963 *" | 964 *" |
964 "enable_$ac_useropt" | 965 "enable_$ac_useropt" |
980 | 981 |
981 -enable-* | --enable-*) | 982 -enable-* | --enable-*) |
982 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 983 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
983 # Reject names that are not valid shell variable names. | 984 # Reject names that are not valid shell variable names. |
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
985 as_fn_error "invalid feature name: $ac_useropt" | 986 as_fn_error $? "invalid feature name: $ac_useropt" |
986 ac_useropt_orig=$ac_useropt | 987 ac_useropt_orig=$ac_useropt |
987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
988 case $ac_user_opts in | 989 case $ac_user_opts in |
989 *" | 990 *" |
990 "enable_$ac_useropt" | 991 "enable_$ac_useropt" |
1184 | 1185 |
1185 -with-* | --with-*) | 1186 -with-* | --with-*) |
1186 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1187 # Reject names that are not valid shell variable names. | 1188 # Reject names that are not valid shell variable names. |
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1189 as_fn_error "invalid package name: $ac_useropt" | 1190 as_fn_error $? "invalid package name: $ac_useropt" |
1190 ac_useropt_orig=$ac_useropt | 1191 ac_useropt_orig=$ac_useropt |
1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1192 case $ac_user_opts in | 1193 case $ac_user_opts in |
1193 *" | 1194 *" |
1194 "with_$ac_useropt" | 1195 "with_$ac_useropt" |
1200 | 1201 |
1201 -without-* | --without-*) | 1202 -without-* | --without-*) |
1202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1203 # Reject names that are not valid shell variable names. | 1204 # Reject names that are not valid shell variable names. |
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1205 as_fn_error "invalid package name: $ac_useropt" | 1206 as_fn_error $? "invalid package name: $ac_useropt" |
1206 ac_useropt_orig=$ac_useropt | 1207 ac_useropt_orig=$ac_useropt |
1207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1208 case $ac_user_opts in | 1209 case $ac_user_opts in |
1209 *" | 1210 *" |
1210 "with_$ac_useropt" | 1211 "with_$ac_useropt" |
1230 ac_prev=x_libraries ;; | 1231 ac_prev=x_libraries ;; |
1231 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1233 x_libraries=$ac_optarg ;; | 1234 x_libraries=$ac_optarg ;; |
1234 | 1235 |
1235 -*) as_fn_error "unrecognized option: \`$ac_option' | 1236 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1236 Try \`$0 --help' for more information." | 1237 Try \`$0 --help' for more information" |
1237 ;; | 1238 ;; |
1238 | 1239 |
1239 *=*) | 1240 *=*) |
1240 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1241 # Reject names that are not valid shell variable names. | 1242 # Reject names that are not valid shell variable names. |
1242 case $ac_envvar in #( | 1243 case $ac_envvar in #( |
1243 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1244 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1244 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1245 esac | 1246 esac |
1246 eval $ac_envvar=\$ac_optarg | 1247 eval $ac_envvar=\$ac_optarg |
1247 export $ac_envvar ;; | 1248 export $ac_envvar ;; |
1248 | 1249 |
1249 *) | 1250 *) |
1257 esac | 1258 esac |
1258 done | 1259 done |
1259 | 1260 |
1260 if test -n "$ac_prev"; then | 1261 if test -n "$ac_prev"; then |
1261 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1262 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1262 as_fn_error "missing argument to $ac_option" | 1263 as_fn_error $? "missing argument to $ac_option" |
1263 fi | 1264 fi |
1264 | 1265 |
1265 if test -n "$ac_unrecognized_opts"; then | 1266 if test -n "$ac_unrecognized_opts"; then |
1266 case $enable_option_checking in | 1267 case $enable_option_checking in |
1267 no) ;; | 1268 no) ;; |
1268 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1270 esac | 1271 esac |
1271 fi | 1272 fi |
1272 | 1273 |
1273 # Check all directory arguments for consistency. | 1274 # Check all directory arguments for consistency. |
1286 # Be sure to have absolute directory names. | 1287 # Be sure to have absolute directory names. |
1287 case $ac_val in | 1288 case $ac_val in |
1288 [\\/$]* | ?:[\\/]* ) continue;; | 1289 [\\/$]* | ?:[\\/]* ) continue;; |
1289 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1290 esac | 1291 esac |
1291 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1292 done | 1293 done |
1293 | 1294 |
1294 # There might be people who depend on the old broken behavior: `$host' | 1295 # There might be people who depend on the old broken behavior: `$host' |
1295 # used to hold the argument of --host etc. | 1296 # used to hold the argument of --host etc. |
1296 # FIXME: To remove some day. | 1297 # FIXME: To remove some day. |
1300 | 1301 |
1301 # FIXME: To remove some day. | 1302 # FIXME: To remove some day. |
1302 if test "x$host_alias" != x; then | 1303 if test "x$host_alias" != x; then |
1303 if test "x$build_alias" = x; then | 1304 if test "x$build_alias" = x; then |
1304 cross_compiling=maybe | 1305 cross_compiling=maybe |
1305 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1306 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1306 If a cross compiler is detected then cross compile mode will be used." >&2 | 1307 If a cross compiler is detected then cross compile mode will be used" >&2 |
1307 elif test "x$build_alias" != "x$host_alias"; then | 1308 elif test "x$build_alias" != "x$host_alias"; then |
1308 cross_compiling=yes | 1309 cross_compiling=yes |
1309 fi | 1310 fi |
1310 fi | 1311 fi |
1311 | 1312 |
1316 | 1317 |
1317 | 1318 |
1318 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1319 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1319 ac_ls_di=`ls -di .` && | 1320 ac_ls_di=`ls -di .` && |
1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1321 as_fn_error "working directory cannot be determined" | 1322 as_fn_error $? "working directory cannot be determined" |
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1323 as_fn_error "pwd does not report name of working directory" | 1324 as_fn_error $? "pwd does not report name of working directory" |
1324 | 1325 |
1325 | 1326 |
1326 # Find the source files, if location was not specified. | 1327 # Find the source files, if location was not specified. |
1327 if test -z "$srcdir"; then | 1328 if test -z "$srcdir"; then |
1328 ac_srcdir_defaulted=yes | 1329 ac_srcdir_defaulted=yes |
1357 else | 1358 else |
1358 ac_srcdir_defaulted=no | 1359 ac_srcdir_defaulted=no |
1359 fi | 1360 fi |
1360 if test ! -r "$srcdir/$ac_unique_file"; then | 1361 if test ! -r "$srcdir/$ac_unique_file"; then |
1361 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1362 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1363 fi | 1364 fi |
1364 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1365 ac_abs_confdir=`( | 1366 ac_abs_confdir=`( |
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1367 pwd)` | 1368 pwd)` |
1368 # When building in place, set srcdir=. | 1369 # When building in place, set srcdir=. |
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1370 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1370 srcdir=. | 1371 srcdir=. |
1371 fi | 1372 fi |
1401 Configuration: | 1402 Configuration: |
1402 -h, --help display this help and exit | 1403 -h, --help display this help and exit |
1403 --help=short display options specific to this package | 1404 --help=short display options specific to this package |
1404 --help=recursive display the short help of all the included packages | 1405 --help=recursive display the short help of all the included packages |
1405 -V, --version display version information and exit | 1406 -V, --version display version information and exit |
1406 -q, --quiet, --silent do not print \`checking...' messages | 1407 -q, --quiet, --silent do not print \`checking ...' messages |
1407 --cache-file=FILE cache test results in FILE [disabled] | 1408 --cache-file=FILE cache test results in FILE [disabled] |
1408 -C, --config-cache alias for \`--cache-file=config.cache' | 1409 -C, --config-cache alias for \`--cache-file=config.cache' |
1409 -n, --no-create do not create output files | 1410 -n, --no-create do not create output files |
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1411 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1411 | 1412 |
1619 | 1620 |
1620 test -n "$ac_init_help" && exit $ac_status | 1621 test -n "$ac_init_help" && exit $ac_status |
1621 if $ac_init_version; then | 1622 if $ac_init_version; then |
1622 cat <<\_ACEOF | 1623 cat <<\_ACEOF |
1623 emacs configure 24.0.50 | 1624 emacs configure 24.0.50 |
1624 generated by GNU Autoconf 2.65 | 1625 generated by GNU Autoconf 2.67 |
1625 | 1626 |
1626 Copyright (C) 2009 Free Software Foundation, Inc. | 1627 Copyright (C) 2010 Free Software Foundation, Inc. |
1627 This configure script is free software; the Free Software Foundation | 1628 This configure script is free software; the Free Software Foundation |
1628 gives unlimited permission to copy, distribute and modify it. | 1629 gives unlimited permission to copy, distribute and modify it. |
1629 _ACEOF | 1630 _ACEOF |
1630 exit | 1631 exit |
1631 fi | 1632 fi |
1737 grep -v '^ *+' conftest.err >conftest.er1 | 1738 grep -v '^ *+' conftest.err >conftest.er1 |
1738 cat conftest.er1 >&5 | 1739 cat conftest.er1 >&5 |
1739 mv -f conftest.er1 conftest.err | 1740 mv -f conftest.er1 conftest.err |
1740 fi | 1741 fi |
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1742 test $ac_status = 0; } >/dev/null && { | 1743 test $ac_status = 0; } > conftest.i && { |
1743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 1744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1744 test ! -s conftest.err | 1745 test ! -s conftest.err |
1745 }; then : | 1746 }; then : |
1746 ac_retval=0 | 1747 ac_retval=0 |
1747 else | 1748 else |
1761 # the include files in INCLUDES and setting the cache variable VAR | 1762 # the include files in INCLUDES and setting the cache variable VAR |
1762 # accordingly. | 1763 # accordingly. |
1763 ac_fn_c_check_header_mongrel () | 1764 ac_fn_c_check_header_mongrel () |
1764 { | 1765 { |
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1766 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1767 if eval "test \"\${$3+set}\"" = set; then : |
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1768 $as_echo_n "checking for $2... " >&6; } | 1769 $as_echo_n "checking for $2... " >&6; } |
1769 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1770 if eval "test \"\${$3+set}\"" = set; then : |
1770 $as_echo_n "(cached) " >&6 | 1771 $as_echo_n "(cached) " >&6 |
1771 fi | 1772 fi |
1772 eval ac_res=\$$3 | 1773 eval ac_res=\$$3 |
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1774 $as_echo "$ac_res" >&6; } | 1775 $as_echo "$ac_res" >&6; } |
1800 if ac_fn_c_try_cpp "$LINENO"; then : | 1801 if ac_fn_c_try_cpp "$LINENO"; then : |
1801 ac_header_preproc=yes | 1802 ac_header_preproc=yes |
1802 else | 1803 else |
1803 ac_header_preproc=no | 1804 ac_header_preproc=no |
1804 fi | 1805 fi |
1805 rm -f conftest.err conftest.$ac_ext | 1806 rm -f conftest.err conftest.i conftest.$ac_ext |
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1807 $as_echo "$ac_header_preproc" >&6; } | 1808 $as_echo "$ac_header_preproc" >&6; } |
1808 | 1809 |
1809 # So? What about this header? | 1810 # So? What about this header? |
1810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 1811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1827 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1828 ;; | 1829 ;; |
1829 esac | 1830 esac |
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1831 $as_echo_n "checking for $2... " >&6; } | 1832 $as_echo_n "checking for $2... " >&6; } |
1832 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1833 if eval "test \"\${$3+set}\"" = set; then : |
1833 $as_echo_n "(cached) " >&6 | 1834 $as_echo_n "(cached) " >&6 |
1834 else | 1835 else |
1835 eval "$3=\$ac_header_compiler" | 1836 eval "$3=\$ac_header_compiler" |
1836 fi | 1837 fi |
1837 eval ac_res=\$$3 | 1838 eval ac_res=\$$3 |
1891 ac_fn_c_check_header_compile () | 1892 ac_fn_c_check_header_compile () |
1892 { | 1893 { |
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1895 $as_echo_n "checking for $2... " >&6; } | 1896 $as_echo_n "checking for $2... " >&6; } |
1896 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1897 if eval "test \"\${$3+set}\"" = set; then : |
1897 $as_echo_n "(cached) " >&6 | 1898 $as_echo_n "(cached) " >&6 |
1898 else | 1899 else |
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1900 /* end confdefs.h. */ | 1901 /* end confdefs.h. */ |
1901 $4 | 1902 $4 |
1913 $as_echo "$ac_res" >&6; } | 1914 $as_echo "$ac_res" >&6; } |
1914 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1915 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1915 | 1916 |
1916 } # ac_fn_c_check_header_compile | 1917 } # ac_fn_c_check_header_compile |
1917 | 1918 |
1918 # ac_fn_c_check_decl LINENO SYMBOL VAR | 1919 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1919 # ------------------------------------ | 1920 # --------------------------------------------- |
1920 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | 1921 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1922 # accordingly. | |
1921 ac_fn_c_check_decl () | 1923 ac_fn_c_check_decl () |
1922 { | 1924 { |
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | 1926 as_decl_name=`echo $2|sed 's/ *(.*//'` |
1925 $as_echo_n "checking whether $2 is declared... " >&6; } | 1927 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1929 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
1930 if eval "test \"\${$3+set}\"" = set; then : | |
1927 $as_echo_n "(cached) " >&6 | 1931 $as_echo_n "(cached) " >&6 |
1928 else | 1932 else |
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1930 /* end confdefs.h. */ | 1934 /* end confdefs.h. */ |
1931 $4 | 1935 $4 |
1932 int | 1936 int |
1933 main () | 1937 main () |
1934 { | 1938 { |
1935 #ifndef $2 | 1939 #ifndef $as_decl_name |
1936 (void) $2; | 1940 #ifdef __cplusplus |
1941 (void) $as_decl_use; | |
1942 #else | |
1943 (void) $as_decl_name; | |
1944 #endif | |
1937 #endif | 1945 #endif |
1938 | 1946 |
1939 ; | 1947 ; |
1940 return 0; | 1948 return 0; |
1941 } | 1949 } |
1960 ac_fn_c_check_header_preproc () | 1968 ac_fn_c_check_header_preproc () |
1961 { | 1969 { |
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1964 $as_echo_n "checking for $2... " >&6; } | 1972 $as_echo_n "checking for $2... " >&6; } |
1965 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1973 if eval "test \"\${$3+set}\"" = set; then : |
1966 $as_echo_n "(cached) " >&6 | 1974 $as_echo_n "(cached) " >&6 |
1967 else | 1975 else |
1968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1969 /* end confdefs.h. */ | 1977 /* end confdefs.h. */ |
1970 #include <$2> | 1978 #include <$2> |
1972 if ac_fn_c_try_cpp "$LINENO"; then : | 1980 if ac_fn_c_try_cpp "$LINENO"; then : |
1973 eval "$3=yes" | 1981 eval "$3=yes" |
1974 else | 1982 else |
1975 eval "$3=no" | 1983 eval "$3=no" |
1976 fi | 1984 fi |
1977 rm -f conftest.err conftest.$ac_ext | 1985 rm -f conftest.err conftest.i conftest.$ac_ext |
1978 fi | 1986 fi |
1979 eval ac_res=\$$3 | 1987 eval ac_res=\$$3 |
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1981 $as_echo "$ac_res" >&6; } | 1989 $as_echo "$ac_res" >&6; } |
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1990 ac_fn_c_check_member () | 1998 ac_fn_c_check_member () |
1991 { | 1999 { |
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1994 $as_echo_n "checking for $2.$3... " >&6; } | 2002 $as_echo_n "checking for $2.$3... " >&6; } |
1995 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | 2003 if eval "test \"\${$4+set}\"" = set; then : |
1996 $as_echo_n "(cached) " >&6 | 2004 $as_echo_n "(cached) " >&6 |
1997 else | 2005 else |
1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1999 /* end confdefs.h. */ | 2007 /* end confdefs.h. */ |
2000 $5 | 2008 $5 |
2046 ac_fn_c_check_func () | 2054 ac_fn_c_check_func () |
2047 { | 2055 { |
2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2050 $as_echo_n "checking for $2... " >&6; } | 2058 $as_echo_n "checking for $2... " >&6; } |
2051 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2059 if eval "test \"\${$3+set}\"" = set; then : |
2052 $as_echo_n "(cached) " >&6 | 2060 $as_echo_n "(cached) " >&6 |
2053 else | 2061 else |
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2055 /* end confdefs.h. */ | 2063 /* end confdefs.h. */ |
2056 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 2064 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2114 ac_fn_c_check_type () | 2122 ac_fn_c_check_type () |
2115 { | 2123 { |
2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2118 $as_echo_n "checking for $2... " >&6; } | 2126 $as_echo_n "checking for $2... " >&6; } |
2119 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2127 if eval "test \"\${$3+set}\"" = set; then : |
2120 $as_echo_n "(cached) " >&6 | 2128 $as_echo_n "(cached) " >&6 |
2121 else | 2129 else |
2122 eval "$3=no" | 2130 eval "$3=no" |
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2124 /* end confdefs.h. */ | 2132 /* end confdefs.h. */ |
2163 cat >config.log <<_ACEOF | 2171 cat >config.log <<_ACEOF |
2164 This file contains any messages produced by compilers while | 2172 This file contains any messages produced by compilers while |
2165 running configure, to aid debugging if configure makes a mistake. | 2173 running configure, to aid debugging if configure makes a mistake. |
2166 | 2174 |
2167 It was created by emacs $as_me 24.0.50, which was | 2175 It was created by emacs $as_me 24.0.50, which was |
2168 generated by GNU Autoconf 2.65. Invocation command line was | 2176 generated by GNU Autoconf 2.67. Invocation command line was |
2169 | 2177 |
2170 $ $0 $@ | 2178 $ $0 $@ |
2171 | 2179 |
2172 _ACEOF | 2180 _ACEOF |
2173 exec 5>>config.log | 2181 exec 5>>config.log |
2273 trap 'exit_status=$? | 2281 trap 'exit_status=$? |
2274 # Save into config.log some information that might help in debugging. | 2282 # Save into config.log some information that might help in debugging. |
2275 { | 2283 { |
2276 echo | 2284 echo |
2277 | 2285 |
2278 cat <<\_ASBOX | 2286 $as_echo "## ---------------- ## |
2279 ## ---------------- ## | |
2280 ## Cache variables. ## | 2287 ## Cache variables. ## |
2281 ## ---------------- ## | 2288 ## ---------------- ##" |
2282 _ASBOX | |
2283 echo | 2289 echo |
2284 # The following way of writing the cache mishandles newlines in values, | 2290 # The following way of writing the cache mishandles newlines in values, |
2285 ( | 2291 ( |
2286 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2292 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2287 eval ac_val=\$$ac_var | 2293 eval ac_val=\$$ac_var |
2311 esac | | 2317 esac | |
2312 sort | 2318 sort |
2313 ) | 2319 ) |
2314 echo | 2320 echo |
2315 | 2321 |
2316 cat <<\_ASBOX | 2322 $as_echo "## ----------------- ## |
2317 ## ----------------- ## | |
2318 ## Output variables. ## | 2323 ## Output variables. ## |
2319 ## ----------------- ## | 2324 ## ----------------- ##" |
2320 _ASBOX | |
2321 echo | 2325 echo |
2322 for ac_var in $ac_subst_vars | 2326 for ac_var in $ac_subst_vars |
2323 do | 2327 do |
2324 eval ac_val=\$$ac_var | 2328 eval ac_val=\$$ac_var |
2325 case $ac_val in | 2329 case $ac_val in |
2328 $as_echo "$ac_var='\''$ac_val'\''" | 2332 $as_echo "$ac_var='\''$ac_val'\''" |
2329 done | sort | 2333 done | sort |
2330 echo | 2334 echo |
2331 | 2335 |
2332 if test -n "$ac_subst_files"; then | 2336 if test -n "$ac_subst_files"; then |
2333 cat <<\_ASBOX | 2337 $as_echo "## ------------------- ## |
2334 ## ------------------- ## | |
2335 ## File substitutions. ## | 2338 ## File substitutions. ## |
2336 ## ------------------- ## | 2339 ## ------------------- ##" |
2337 _ASBOX | |
2338 echo | 2340 echo |
2339 for ac_var in $ac_subst_files | 2341 for ac_var in $ac_subst_files |
2340 do | 2342 do |
2341 eval ac_val=\$$ac_var | 2343 eval ac_val=\$$ac_var |
2342 case $ac_val in | 2344 case $ac_val in |
2346 done | sort | 2348 done | sort |
2347 echo | 2349 echo |
2348 fi | 2350 fi |
2349 | 2351 |
2350 if test -s confdefs.h; then | 2352 if test -s confdefs.h; then |
2351 cat <<\_ASBOX | 2353 $as_echo "## ----------- ## |
2352 ## ----------- ## | |
2353 ## confdefs.h. ## | 2354 ## confdefs.h. ## |
2354 ## ----------- ## | 2355 ## ----------- ##" |
2355 _ASBOX | |
2356 echo | 2356 echo |
2357 cat confdefs.h | 2357 cat confdefs.h |
2358 echo | 2358 echo |
2359 fi | 2359 fi |
2360 test "$ac_signal" != 0 && | 2360 test "$ac_signal" != 0 && |
2405 # Let the site file select an alternate cache file if it wants to. | 2405 # Let the site file select an alternate cache file if it wants to. |
2406 # Prefer an explicitly selected file to automatically selected ones. | 2406 # Prefer an explicitly selected file to automatically selected ones. |
2407 ac_site_file1=NONE | 2407 ac_site_file1=NONE |
2408 ac_site_file2=NONE | 2408 ac_site_file2=NONE |
2409 if test -n "$CONFIG_SITE"; then | 2409 if test -n "$CONFIG_SITE"; then |
2410 ac_site_file1=$CONFIG_SITE | 2410 # We do not want a PATH search for config.site. |
2411 case $CONFIG_SITE in #(( | |
2412 -*) ac_site_file1=./$CONFIG_SITE;; | |
2413 */*) ac_site_file1=$CONFIG_SITE;; | |
2414 *) ac_site_file1=./$CONFIG_SITE;; | |
2415 esac | |
2411 elif test "x$prefix" != xNONE; then | 2416 elif test "x$prefix" != xNONE; then |
2412 ac_site_file1=$prefix/share/config.site | 2417 ac_site_file1=$prefix/share/config.site |
2413 ac_site_file2=$prefix/etc/config.site | 2418 ac_site_file2=$prefix/etc/config.site |
2414 else | 2419 else |
2415 ac_site_file1=$ac_default_prefix/share/config.site | 2420 ac_site_file1=$ac_default_prefix/share/config.site |
2420 test "x$ac_site_file" = xNONE && continue | 2425 test "x$ac_site_file" = xNONE && continue |
2421 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2426 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2423 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2428 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2424 sed 's/^/| /' "$ac_site_file" >&5 | 2429 sed 's/^/| /' "$ac_site_file" >&5 |
2425 . "$ac_site_file" | 2430 . "$ac_site_file" \ |
2431 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2433 as_fn_error $? "failed to load site script $ac_site_file | |
2434 See \`config.log' for more details" "$LINENO" 5 ; } | |
2426 fi | 2435 fi |
2427 done | 2436 done |
2428 | 2437 |
2429 if test -r "$cache_file"; then | 2438 if test -r "$cache_file"; then |
2430 # Some versions of bash will fail to source /dev/null (special files | 2439 # Some versions of bash will fail to source /dev/null (special files |
2501 if $ac_cache_corrupted; then | 2510 if $ac_cache_corrupted; then |
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2514 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2506 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2515 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2507 fi | 2516 fi |
2508 ## -------------------- ## | 2517 ## -------------------- ## |
2509 ## Main body of script. ## | 2518 ## Main body of script. ## |
2510 ## -------------------- ## | 2519 ## -------------------- ## |
2511 | 2520 |
2675 a | at | ath | athe | athen | athena ) val=athena ;; | 2684 a | at | ath | athe | athen | athena ) val=athena ;; |
2676 m | mo | mot | moti | motif ) val=motif ;; | 2685 m | mo | mot | moti | motif ) val=motif ;; |
2677 g | gt | gtk ) val=gtk ;; | 2686 g | gt | gtk ) val=gtk ;; |
2678 gtk3 ) val=gtk3 ;; | 2687 gtk3 ) val=gtk3 ;; |
2679 * ) | 2688 * ) |
2680 as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2689 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; |
2681 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or | 2690 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or |
2682 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2691 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2683 ;; | 2692 ;; |
2684 esac | 2693 esac |
2685 with_x_toolkit=$val | 2694 with_x_toolkit=$val |
2970 stringbytes) ac_gc_check_stringbytes=1 ;; | 2979 stringbytes) ac_gc_check_stringbytes=1 ;; |
2971 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2980 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2972 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2981 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2973 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2982 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2974 conslist) ac_gc_check_cons_list=1 ;; | 2983 conslist) ac_gc_check_cons_list=1 ;; |
2975 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2984 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; |
2976 esac | 2985 esac |
2977 done | 2986 done |
2978 IFS="$ac_save_IFS" | 2987 IFS="$ac_save_IFS" |
2979 | 2988 |
2980 if test x$ac_enable_checking != x ; then | 2989 if test x$ac_enable_checking != x ; then |
3088 | 3097 |
3089 ### Canonicalize the configuration name. | 3098 ### Canonicalize the configuration name. |
3090 | 3099 |
3091 ac_aux_dir= | 3100 ac_aux_dir= |
3092 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3101 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3093 for ac_t in install-sh install.sh shtool; do | 3102 if test -f "$ac_dir/install-sh"; then |
3094 if test -f "$ac_dir/$ac_t"; then | 3103 ac_aux_dir=$ac_dir |
3095 ac_aux_dir=$ac_dir | 3104 ac_install_sh="$ac_aux_dir/install-sh -c" |
3096 ac_install_sh="$ac_aux_dir/$ac_t -c" | 3105 break |
3097 break 2 | 3106 elif test -f "$ac_dir/install.sh"; then |
3098 fi | 3107 ac_aux_dir=$ac_dir |
3099 done | 3108 ac_install_sh="$ac_aux_dir/install.sh -c" |
3109 break | |
3110 elif test -f "$ac_dir/shtool"; then | |
3111 ac_aux_dir=$ac_dir | |
3112 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3113 break | |
3114 fi | |
3100 done | 3115 done |
3101 if test -z "$ac_aux_dir"; then | 3116 if test -z "$ac_aux_dir"; then |
3102 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3117 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3103 fi | 3118 fi |
3104 | 3119 |
3105 # These three variables are undocumented and unsupported, | 3120 # These three variables are undocumented and unsupported, |
3106 # and are intended to be withdrawn in a future Autoconf release. | 3121 # and are intended to be withdrawn in a future Autoconf release. |
3107 # They can cause serious problems if a builder's source tree is in a directory | 3122 # They can cause serious problems if a builder's source tree is in a directory |
3111 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3126 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3112 | 3127 |
3113 | 3128 |
3114 # Make sure we can run config.sub. | 3129 # Make sure we can run config.sub. |
3115 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3130 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3116 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3131 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3117 | 3132 |
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3119 $as_echo_n "checking build system type... " >&6; } | 3134 $as_echo_n "checking build system type... " >&6; } |
3120 if test "${ac_cv_build+set}" = set; then : | 3135 if test "${ac_cv_build+set}" = set; then : |
3121 $as_echo_n "(cached) " >&6 | 3136 $as_echo_n "(cached) " >&6 |
3122 else | 3137 else |
3123 ac_build_alias=$build_alias | 3138 ac_build_alias=$build_alias |
3124 test "x$ac_build_alias" = x && | 3139 test "x$ac_build_alias" = x && |
3125 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3126 test "x$ac_build_alias" = x && | 3141 test "x$ac_build_alias" = x && |
3127 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 3142 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
3128 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3143 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3129 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3130 | 3145 |
3131 fi | 3146 fi |
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3133 $as_echo "$ac_cv_build" >&6; } | 3148 $as_echo "$ac_cv_build" >&6; } |
3134 case $ac_cv_build in | 3149 case $ac_cv_build in |
3135 *-*-*) ;; | 3150 *-*-*) ;; |
3136 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 3151 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
3137 esac | 3152 esac |
3138 build=$ac_cv_build | 3153 build=$ac_cv_build |
3139 ac_save_IFS=$IFS; IFS='-' | 3154 ac_save_IFS=$IFS; IFS='-' |
3140 set x $ac_cv_build | 3155 set x $ac_cv_build |
3141 shift | 3156 shift |
3156 else | 3171 else |
3157 if test "x$host_alias" = x; then | 3172 if test "x$host_alias" = x; then |
3158 ac_cv_host=$ac_cv_build | 3173 ac_cv_host=$ac_cv_build |
3159 else | 3174 else |
3160 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3175 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3161 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3162 fi | 3177 fi |
3163 | 3178 |
3164 fi | 3179 fi |
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3166 $as_echo "$ac_cv_host" >&6; } | 3181 $as_echo "$ac_cv_host" >&6; } |
3167 case $ac_cv_host in | 3182 case $ac_cv_host in |
3168 *-*-*) ;; | 3183 *-*-*) ;; |
3169 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 3184 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
3170 esac | 3185 esac |
3171 host=$ac_cv_host | 3186 host=$ac_cv_host |
3172 ac_save_IFS=$IFS; IFS='-' | 3187 ac_save_IFS=$IFS; IFS='-' |
3173 set x $ac_cv_host | 3188 set x $ac_cv_host |
3174 shift | 3189 shift |
3458 fi | 3473 fi |
3459 | 3474 |
3460 | 3475 |
3461 | 3476 |
3462 if test $unported = yes; then | 3477 if test $unported = yes; then |
3463 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 3478 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. |
3464 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3479 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
3465 fi | 3480 fi |
3466 | 3481 |
3467 machfile="m/${machine}.h" | 3482 machfile="m/${machine}.h" |
3468 opsysfile="s/${opsys}.h" | 3483 opsysfile="s/${opsys}.h" |
3772 fi | 3787 fi |
3773 | 3788 |
3774 | 3789 |
3775 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3790 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3777 as_fn_error "no acceptable C compiler found in \$PATH | 3792 as_fn_error $? "no acceptable C compiler found in \$PATH |
3778 See \`config.log' for more details." "$LINENO" 5; } | 3793 See \`config.log' for more details" "$LINENO" 5 ; } |
3779 | 3794 |
3780 # Provide some information about the compiler. | 3795 # Provide some information about the compiler. |
3781 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3796 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3782 set X $ac_compile | 3797 set X $ac_compile |
3783 ac_compiler=$2 | 3798 ac_compiler=$2 |
3887 $as_echo "$as_me: failed program was:" >&5 | 3902 $as_echo "$as_me: failed program was:" >&5 |
3888 sed 's/^/| /' conftest.$ac_ext >&5 | 3903 sed 's/^/| /' conftest.$ac_ext >&5 |
3889 | 3904 |
3890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3892 { as_fn_set_status 77 | 3907 as_fn_error 77 "C compiler cannot create executables |
3893 as_fn_error "C compiler cannot create executables | 3908 See \`config.log' for more details" "$LINENO" 5 ; } |
3894 See \`config.log' for more details." "$LINENO" 5; }; } | |
3895 else | 3909 else |
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3897 $as_echo "yes" >&6; } | 3911 $as_echo "yes" >&6; } |
3898 fi | 3912 fi |
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3931 esac | 3945 esac |
3932 done | 3946 done |
3933 else | 3947 else |
3934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3936 as_fn_error "cannot compute suffix of executables: cannot compile and link | 3950 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3937 See \`config.log' for more details." "$LINENO" 5; } | 3951 See \`config.log' for more details" "$LINENO" 5 ; } |
3938 fi | 3952 fi |
3939 rm -f conftest conftest$ac_cv_exeext | 3953 rm -f conftest conftest$ac_cv_exeext |
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3941 $as_echo "$ac_cv_exeext" >&6; } | 3955 $as_echo "$ac_cv_exeext" >&6; } |
3942 | 3956 |
3989 if test "$cross_compiling" = maybe; then | 4003 if test "$cross_compiling" = maybe; then |
3990 cross_compiling=yes | 4004 cross_compiling=yes |
3991 else | 4005 else |
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3994 as_fn_error "cannot run C compiled programs. | 4008 as_fn_error $? "cannot run C compiled programs. |
3995 If you meant to cross compile, use \`--host'. | 4009 If you meant to cross compile, use \`--host'. |
3996 See \`config.log' for more details." "$LINENO" 5; } | 4010 See \`config.log' for more details" "$LINENO" 5 ; } |
3997 fi | 4011 fi |
3998 fi | 4012 fi |
3999 fi | 4013 fi |
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
4001 $as_echo "$cross_compiling" >&6; } | 4015 $as_echo "$cross_compiling" >&6; } |
4042 $as_echo "$as_me: failed program was:" >&5 | 4056 $as_echo "$as_me: failed program was:" >&5 |
4043 sed 's/^/| /' conftest.$ac_ext >&5 | 4057 sed 's/^/| /' conftest.$ac_ext >&5 |
4044 | 4058 |
4045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4047 as_fn_error "cannot compute suffix of object files: cannot compile | 4061 as_fn_error $? "cannot compute suffix of object files: cannot compile |
4048 See \`config.log' for more details." "$LINENO" 5; } | 4062 See \`config.log' for more details" "$LINENO" 5 ; } |
4049 fi | 4063 fi |
4050 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4064 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4051 fi | 4065 fi |
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4053 $as_echo "$ac_cv_objext" >&6; } | 4067 $as_echo "$ac_cv_objext" >&6; } |
4375 | 4389 |
4376 else | 4390 else |
4377 # Broken: fails on valid input. | 4391 # Broken: fails on valid input. |
4378 continue | 4392 continue |
4379 fi | 4393 fi |
4380 rm -f conftest.err conftest.$ac_ext | 4394 rm -f conftest.err conftest.i conftest.$ac_ext |
4381 | 4395 |
4382 # OK, works on sane cases. Now check whether nonexistent headers | 4396 # OK, works on sane cases. Now check whether nonexistent headers |
4383 # can be detected and how. | 4397 # can be detected and how. |
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4385 /* end confdefs.h. */ | 4399 /* end confdefs.h. */ |
4391 else | 4405 else |
4392 # Passes both tests. | 4406 # Passes both tests. |
4393 ac_preproc_ok=: | 4407 ac_preproc_ok=: |
4394 break | 4408 break |
4395 fi | 4409 fi |
4396 rm -f conftest.err conftest.$ac_ext | 4410 rm -f conftest.err conftest.i conftest.$ac_ext |
4397 | 4411 |
4398 done | 4412 done |
4399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4400 rm -f conftest.err conftest.$ac_ext | 4414 rm -f conftest.i conftest.err conftest.$ac_ext |
4401 if $ac_preproc_ok; then : | 4415 if $ac_preproc_ok; then : |
4402 break | 4416 break |
4403 fi | 4417 fi |
4404 | 4418 |
4405 done | 4419 done |
4434 | 4448 |
4435 else | 4449 else |
4436 # Broken: fails on valid input. | 4450 # Broken: fails on valid input. |
4437 continue | 4451 continue |
4438 fi | 4452 fi |
4439 rm -f conftest.err conftest.$ac_ext | 4453 rm -f conftest.err conftest.i conftest.$ac_ext |
4440 | 4454 |
4441 # OK, works on sane cases. Now check whether nonexistent headers | 4455 # OK, works on sane cases. Now check whether nonexistent headers |
4442 # can be detected and how. | 4456 # can be detected and how. |
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4444 /* end confdefs.h. */ | 4458 /* end confdefs.h. */ |
4450 else | 4464 else |
4451 # Passes both tests. | 4465 # Passes both tests. |
4452 ac_preproc_ok=: | 4466 ac_preproc_ok=: |
4453 break | 4467 break |
4454 fi | 4468 fi |
4455 rm -f conftest.err conftest.$ac_ext | 4469 rm -f conftest.err conftest.i conftest.$ac_ext |
4456 | 4470 |
4457 done | 4471 done |
4458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4459 rm -f conftest.err conftest.$ac_ext | 4473 rm -f conftest.i conftest.err conftest.$ac_ext |
4460 if $ac_preproc_ok; then : | 4474 if $ac_preproc_ok; then : |
4461 | 4475 |
4462 else | 4476 else |
4463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4465 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4479 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4466 See \`config.log' for more details." "$LINENO" 5; } | 4480 See \`config.log' for more details" "$LINENO" 5 ; } |
4467 fi | 4481 fi |
4468 | 4482 |
4469 ac_ext=c | 4483 ac_ext=c |
4470 ac_cpp='$CPP $CPPFLAGS' | 4484 ac_cpp='$CPP $CPPFLAGS' |
4471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4522 done | 4536 done |
4523 done | 4537 done |
4524 done | 4538 done |
4525 IFS=$as_save_IFS | 4539 IFS=$as_save_IFS |
4526 if test -z "$ac_cv_path_GREP"; then | 4540 if test -z "$ac_cv_path_GREP"; then |
4527 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4541 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4528 fi | 4542 fi |
4529 else | 4543 else |
4530 ac_cv_path_GREP=$GREP | 4544 ac_cv_path_GREP=$GREP |
4531 fi | 4545 fi |
4532 | 4546 |
4588 done | 4602 done |
4589 done | 4603 done |
4590 done | 4604 done |
4591 IFS=$as_save_IFS | 4605 IFS=$as_save_IFS |
4592 if test -z "$ac_cv_path_EGREP"; then | 4606 if test -z "$ac_cv_path_EGREP"; then |
4593 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4607 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4594 fi | 4608 fi |
4595 else | 4609 else |
4596 ac_cv_path_EGREP=$EGREP | 4610 ac_cv_path_EGREP=$EGREP |
4597 fi | 4611 fi |
4598 | 4612 |
4720 inttypes.h stdint.h unistd.h | 4734 inttypes.h stdint.h unistd.h |
4721 do : | 4735 do : |
4722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4723 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4737 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4724 " | 4738 " |
4725 eval as_val=\$$as_ac_Header | 4739 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4726 if test "x$as_val" = x""yes; then : | |
4727 cat >>confdefs.h <<_ACEOF | 4740 cat >>confdefs.h <<_ACEOF |
4728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4729 _ACEOF | 4742 _ACEOF |
4730 | 4743 |
4731 fi | 4744 fi |
4965 | 4978 |
4966 else | 4979 else |
4967 # Broken: fails on valid input. | 4980 # Broken: fails on valid input. |
4968 continue | 4981 continue |
4969 fi | 4982 fi |
4970 rm -f conftest.err conftest.$ac_ext | 4983 rm -f conftest.err conftest.i conftest.$ac_ext |
4971 | 4984 |
4972 # OK, works on sane cases. Now check whether nonexistent headers | 4985 # OK, works on sane cases. Now check whether nonexistent headers |
4973 # can be detected and how. | 4986 # can be detected and how. |
4974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4975 /* end confdefs.h. */ | 4988 /* end confdefs.h. */ |
4981 else | 4994 else |
4982 # Passes both tests. | 4995 # Passes both tests. |
4983 ac_preproc_ok=: | 4996 ac_preproc_ok=: |
4984 break | 4997 break |
4985 fi | 4998 fi |
4986 rm -f conftest.err conftest.$ac_ext | 4999 rm -f conftest.err conftest.i conftest.$ac_ext |
4987 | 5000 |
4988 done | 5001 done |
4989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4990 rm -f conftest.err conftest.$ac_ext | 5003 rm -f conftest.i conftest.err conftest.$ac_ext |
4991 if $ac_preproc_ok; then : | 5004 if $ac_preproc_ok; then : |
4992 break | 5005 break |
4993 fi | 5006 fi |
4994 | 5007 |
4995 done | 5008 done |
5024 | 5037 |
5025 else | 5038 else |
5026 # Broken: fails on valid input. | 5039 # Broken: fails on valid input. |
5027 continue | 5040 continue |
5028 fi | 5041 fi |
5029 rm -f conftest.err conftest.$ac_ext | 5042 rm -f conftest.err conftest.i conftest.$ac_ext |
5030 | 5043 |
5031 # OK, works on sane cases. Now check whether nonexistent headers | 5044 # OK, works on sane cases. Now check whether nonexistent headers |
5032 # can be detected and how. | 5045 # can be detected and how. |
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5034 /* end confdefs.h. */ | 5047 /* end confdefs.h. */ |
5040 else | 5053 else |
5041 # Passes both tests. | 5054 # Passes both tests. |
5042 ac_preproc_ok=: | 5055 ac_preproc_ok=: |
5043 break | 5056 break |
5044 fi | 5057 fi |
5045 rm -f conftest.err conftest.$ac_ext | 5058 rm -f conftest.err conftest.i conftest.$ac_ext |
5046 | 5059 |
5047 done | 5060 done |
5048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5049 rm -f conftest.err conftest.$ac_ext | 5062 rm -f conftest.i conftest.err conftest.$ac_ext |
5050 if $ac_preproc_ok; then : | 5063 if $ac_preproc_ok; then : |
5051 | 5064 |
5052 else | 5065 else |
5053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5055 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5068 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5056 See \`config.log' for more details." "$LINENO" 5; } | 5069 See \`config.log' for more details" "$LINENO" 5 ; } |
5057 fi | 5070 fi |
5058 | 5071 |
5059 ac_ext=c | 5072 ac_ext=c |
5060 ac_cpp='$CPP $CPPFLAGS' | 5073 ac_cpp='$CPP $CPPFLAGS' |
5061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5488 ## with pre-built manuals, from a Bazaar checkout. | 5501 ## with pre-built manuals, from a Bazaar checkout. |
5489 if test "$MAKEINFO" = "no"; then | 5502 if test "$MAKEINFO" = "no"; then |
5490 if test "x${with_makeinfo}" = "xno"; then | 5503 if test "x${with_makeinfo}" = "xno"; then |
5491 MAKEINFO=off | 5504 MAKEINFO=off |
5492 elif test ! -e $srcdir/info/emacs; then | 5505 elif test ! -e $srcdir/info/emacs; then |
5493 as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5506 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your |
5494 source tree does not seem to have pre-built manuals in the \`info' directory. | 5507 source tree does not seem to have pre-built manuals in the \`info' directory. |
5495 Either install a suitable version of makeinfo, or re-run configure | 5508 Either install a suitable version of makeinfo, or re-run configure |
5496 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5509 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5497 fi | 5510 fi |
5498 fi | 5511 fi |
5642 ## GNU libc, __malloc_initialized would normally be resolved to the | 5655 ## GNU libc, __malloc_initialized would normally be resolved to the |
5643 ## shared library's .bss section, which is fatal. | 5656 ## shared library's .bss section, which is fatal. |
5644 if test "x$GCC" = "xyes"; then | 5657 if test "x$GCC" = "xyes"; then |
5645 C_SWITCH_MACHINE="-fno-common" | 5658 C_SWITCH_MACHINE="-fno-common" |
5646 else | 5659 else |
5647 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 5660 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 |
5648 fi | 5661 fi |
5649 else | 5662 else |
5650 UNEXEC_OBJ=unexalpha.o | 5663 UNEXEC_OBJ=unexalpha.o |
5651 fi | 5664 fi |
5652 fi | 5665 fi |
5920 else | 5933 else |
5921 | 5934 |
5922 ## Some platforms don't use any of these files, so it is not | 5935 ## Some platforms don't use any of these files, so it is not |
5923 ## appropriate to put this test outside the if block. | 5936 ## appropriate to put this test outside the if block. |
5924 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5937 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5925 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 | 5938 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 |
5926 | 5939 |
5927 fi | 5940 fi |
5928 | 5941 |
5929 | 5942 |
5930 | 5943 |
5975 # Sound support for GNU/Linux and the free BSDs. | 5988 # Sound support for GNU/Linux and the free BSDs. |
5976 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5989 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5977 do : | 5990 do : |
5978 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5979 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 5992 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5980 eval as_val=\$$as_ac_Header | 5993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5981 if test "x$as_val" = x""yes; then : | |
5982 cat >>confdefs.h <<_ACEOF | 5994 cat >>confdefs.h <<_ACEOF |
5983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5984 _ACEOF | 5996 _ACEOF |
5985 have_sound_header=yes | 5997 have_sound_header=yes |
5986 fi | 5998 fi |
6167 else | 6179 else |
6168 emacs_alsa_subdir=no | 6180 emacs_alsa_subdir=no |
6169 fi | 6181 fi |
6170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6171 if test "$emacs_alsa_subdir" != yes; then | 6183 if test "$emacs_alsa_subdir" != yes; then |
6172 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6184 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6173 fi | 6185 fi |
6174 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6186 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6175 fi | 6187 fi |
6176 | 6188 |
6177 CFLAGS="$SAVE_CFLAGS" | 6189 CFLAGS="$SAVE_CFLAGS" |
6202 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6214 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6203 sys/utsname.h pwd.h utmp.h dirent.h util.h | 6215 sys/utsname.h pwd.h utmp.h dirent.h util.h |
6204 do : | 6216 do : |
6205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6217 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6206 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6218 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6207 eval as_val=\$$as_ac_Header | 6219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6208 if test "x$as_val" = x""yes; then : | |
6209 cat >>confdefs.h <<_ACEOF | 6220 cat >>confdefs.h <<_ACEOF |
6210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6211 _ACEOF | 6222 _ACEOF |
6212 | 6223 |
6213 fi | 6224 fi |
7258 | 7269 |
7259 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | 7270 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
7260 | 7271 |
7261 ;; #( | 7272 ;; #( |
7262 *) | 7273 *) |
7263 as_fn_error "unknown endianness | 7274 as_fn_error $? "unknown endianness |
7264 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | 7275 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
7265 esac | 7276 esac |
7266 | 7277 |
7267 | 7278 |
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
7269 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 7280 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
7270 set x ${MAKE-make} | 7281 set x ${MAKE-make} |
7271 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 7282 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
7272 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 7283 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
7273 $as_echo_n "(cached) " >&6 | 7284 $as_echo_n "(cached) " >&6 |
7274 else | 7285 else |
7275 cat >conftest.make <<\_ACEOF | 7286 cat >conftest.make <<\_ACEOF |
7276 SHELL = /bin/sh | 7287 SHELL = /bin/sh |
7277 all: | 7288 all: |
7278 @echo '@@@%%%=$(MAKE)=@@@%%%' | 7289 @echo '@@@%%%=$(MAKE)=@@@%%%' |
7279 _ACEOF | 7290 _ACEOF |
7280 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7291 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
7281 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 7292 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
7282 *@@@%%%=?*=@@@%%%*) | 7293 *@@@%%%=?*=@@@%%%*) |
7283 eval ac_cv_prog_make_${ac_make}_set=yes;; | 7294 eval ac_cv_prog_make_${ac_make}_set=yes;; |
7284 *) | 7295 *) |
7285 eval ac_cv_prog_make_${ac_make}_set=no;; | 7296 eval ac_cv_prog_make_${ac_make}_set=no;; |
7411 if test "x$with_x" = xno; then | 7422 if test "x$with_x" = xno; then |
7412 # The user explicitly disabled X. | 7423 # The user explicitly disabled X. |
7413 have_x=disabled | 7424 have_x=disabled |
7414 else | 7425 else |
7415 case $x_includes,$x_libraries in #( | 7426 case $x_includes,$x_libraries in #( |
7416 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 7427 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( |
7417 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 7428 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
7418 $as_echo_n "(cached) " >&6 | 7429 $as_echo_n "(cached) " >&6 |
7419 else | 7430 else |
7420 # One or both of the vars are not set, and there is no cached value. | 7431 # One or both of the vars are not set, and there is no cached value. |
7421 ac_x_includes=no ac_x_libraries=no | 7432 ac_x_includes=no ac_x_libraries=no |
7429 @echo usrlibdir='${USRLIBDIR}' | 7440 @echo usrlibdir='${USRLIBDIR}' |
7430 libdir: | 7441 libdir: |
7431 @echo libdir='${LIBDIR}' | 7442 @echo libdir='${LIBDIR}' |
7432 _ACEOF | 7443 _ACEOF |
7433 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | 7444 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
7434 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7445 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
7435 for ac_var in incroot usrlibdir libdir; do | 7446 for ac_var in incroot usrlibdir libdir; do |
7436 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | 7447 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
7437 done | 7448 done |
7438 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 7449 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
7439 for ac_extension in a so sl dylib la dll; do | 7450 for ac_extension in a so sl dylib la dll; do |
7515 ac_x_includes=$ac_dir | 7526 ac_x_includes=$ac_dir |
7516 break | 7527 break |
7517 fi | 7528 fi |
7518 done | 7529 done |
7519 fi | 7530 fi |
7520 rm -f conftest.err conftest.$ac_ext | 7531 rm -f conftest.err conftest.i conftest.$ac_ext |
7521 fi # $ac_x_includes = no | 7532 fi # $ac_x_includes = no |
7522 | 7533 |
7523 if test "$ac_x_libraries" = no; then | 7534 if test "$ac_x_libraries" = no; then |
7524 # Check for the libraries. | 7535 # Check for the libraries. |
7525 # See if we find them without any special options. | 7536 # See if we find them without any special options. |
7698 fi | 7709 fi |
7699 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 7710 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
7700 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 7711 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
7701 HAVE_NS=yes | 7712 HAVE_NS=yes |
7702 else | 7713 else |
7703 as_fn_error "\`--with-ns' was specified, but the include | 7714 as_fn_error $? "\`--with-ns' was specified, but the include |
7704 files are missing or cannot be compiled." "$LINENO" 5 | 7715 files are missing or cannot be compiled." "$LINENO" 5 |
7705 fi | 7716 fi |
7706 | 7717 |
7707 | 7718 |
7708 NS_HAVE_NSINTEGER=yes | 7719 NS_HAVE_NSINTEGER=yes |
7814 | 7825 |
7815 | 7826 |
7816 if test "$HAVE_XSERVER" = true || | 7827 if test "$HAVE_XSERVER" = true || |
7817 test -n "$DISPLAY" || | 7828 test -n "$DISPLAY" || |
7818 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7829 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7819 as_fn_error "You seem to be running X, but no X development libraries | 7830 as_fn_error $? "You seem to be running X, but no X development libraries |
7820 were found. You should install the relevant development files for X | 7831 were found. You should install the relevant development files for X |
7821 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7832 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7822 sure you have development files for image handling, i.e. | 7833 sure you have development files for image handling, i.e. |
7823 tiff, gif, jpeg, png and xpm. | 7834 tiff, gif, jpeg, png and xpm. |
7824 If you are sure you want Emacs compiled without X window support, pass | 7835 If you are sure you want Emacs compiled without X window support, pass |
7937 for ac_header in $ac_header_list | 7948 for ac_header in $ac_header_list |
7938 do : | 7949 do : |
7939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7940 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 7951 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7941 " | 7952 " |
7942 eval as_val=\$$as_ac_Header | 7953 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7943 if test "x$as_val" = x""yes; then : | |
7944 cat >>confdefs.h <<_ACEOF | 7954 cat >>confdefs.h <<_ACEOF |
7945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7946 _ACEOF | 7956 _ACEOF |
7947 | 7957 |
7948 fi | 7958 fi |
8445 for ac_func in XrmSetDatabase XScreenResourceString \ | 8455 for ac_func in XrmSetDatabase XScreenResourceString \ |
8446 XScreenNumberOfScreen XSetWMProtocols | 8456 XScreenNumberOfScreen XSetWMProtocols |
8447 do : | 8457 do : |
8448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8450 eval as_val=\$$as_ac_var | 8460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
8451 if test "x$as_val" = x""yes; then : | |
8452 cat >>confdefs.h <<_ACEOF | 8461 cat >>confdefs.h <<_ACEOF |
8453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8454 _ACEOF | 8463 _ACEOF |
8455 | 8464 |
8456 fi | 8465 fi |
8846 else | 8855 else |
8847 pkg_check_gtk=no | 8856 pkg_check_gtk=no |
8848 fi | 8857 fi |
8849 | 8858 |
8850 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8859 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8851 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8860 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8852 fi | 8861 fi |
8853 fi | 8862 fi |
8854 | 8863 |
8855 if test "$pkg_check_gtk" != "yes"; then | 8864 if test "$pkg_check_gtk" != "yes"; then |
8856 HAVE_GTK=no | 8865 HAVE_GTK=no |
8952 else | 8961 else |
8953 pkg_check_gtk=no | 8962 pkg_check_gtk=no |
8954 fi | 8963 fi |
8955 | 8964 |
8956 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8965 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8957 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8966 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8958 fi | 8967 fi |
8959 fi | 8968 fi |
8960 fi | 8969 fi |
8961 | 8970 |
8962 GTK_OBJ= | 8971 GTK_OBJ= |
8979 fi | 8988 fi |
8980 done | 8989 done |
8981 | 8990 |
8982 if test "${GTK_COMPILES}" != "yes"; then | 8991 if test "${GTK_COMPILES}" != "yes"; then |
8983 if test "$USE_X_TOOLKIT" != "maybe"; then | 8992 if test "$USE_X_TOOLKIT" != "maybe"; then |
8984 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 8993 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5 ; |
8985 fi | 8994 fi |
8986 else | 8995 else |
8987 HAVE_GTK=yes | 8996 HAVE_GTK=yes |
8988 | 8997 |
8989 $as_echo "#define USE_GTK 1" >>confdefs.h | 8998 $as_echo "#define USE_GTK 1" >>confdefs.h |
9109 gtk_widget_get_mapped gtk_adjustment_get_page_size \ | 9118 gtk_widget_get_mapped gtk_adjustment_get_page_size \ |
9110 gtk_orientable_set_orientation | 9119 gtk_orientable_set_orientation |
9111 do : | 9120 do : |
9112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 9122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
9114 eval as_val=\$$as_ac_var | 9123 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
9115 if test "x$as_val" = x""yes; then : | |
9116 cat >>confdefs.h <<_ACEOF | 9124 cat >>confdefs.h <<_ACEOF |
9117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9118 _ACEOF | 9126 _ACEOF |
9119 | 9127 |
9120 fi | 9128 fi |
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
9476 $as_echo "yes; using Lucid toolkit" >&6; } | 9484 $as_echo "yes; using Lucid toolkit" >&6; } |
9477 USE_X_TOOLKIT=LUCID | 9485 USE_X_TOOLKIT=LUCID |
9478 LUCID_LIBW=-lXaw | 9486 LUCID_LIBW=-lXaw |
9479 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 9487 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
9480 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 9488 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
9481 else | 9489 else |
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
9483 $as_echo "no; do not use toolkit by default" >&6; } | 9491 $as_echo "no; do not use toolkit by default" >&6; } |
9484 USE_X_TOOLKIT=none | 9492 USE_X_TOOLKIT=none |
9485 fi | 9493 fi |
10652 # in /usr/include/libpng. | 10660 # in /usr/include/libpng. |
10653 for ac_header in png.h libpng/png.h | 10661 for ac_header in png.h libpng/png.h |
10654 do : | 10662 do : |
10655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10656 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 10664 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10657 eval as_val=\$$as_ac_Header | 10665 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
10658 if test "x$as_val" = x""yes; then : | |
10659 cat >>confdefs.h <<_ACEOF | 10666 cat >>confdefs.h <<_ACEOF |
10660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10661 _ACEOF | 10668 _ACEOF |
10662 | 10669 |
10663 fi | 10670 fi |
10905 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 10912 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10906 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 10913 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10907 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 10914 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10908 | 10915 |
10909 if test "X${MISSING}" != X; then | 10916 if test "X${MISSING}" != X; then |
10910 as_fn_error "The following required libraries were not found: | 10917 as_fn_error $? "The following required libraries were not found: |
10911 $MISSING | 10918 $MISSING |
10912 Maybe some development libraries/packages are missing? | 10919 Maybe some development libraries/packages are missing? |
10913 If you don't want to link with them give | 10920 If you don't want to link with them give |
10914 $WITH_NO | 10921 $WITH_NO |
10915 as options to configure" "$LINENO" 5 | 10922 as options to configure" "$LINENO" 5 |
11346 $as_echo "$ac_cv_os_cray" >&6; } | 11353 $as_echo "$ac_cv_os_cray" >&6; } |
11347 if test $ac_cv_os_cray = yes; then | 11354 if test $ac_cv_os_cray = yes; then |
11348 for ac_func in _getb67 GETB67 getb67; do | 11355 for ac_func in _getb67 GETB67 getb67; do |
11349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11351 eval as_val=\$$as_ac_var | 11358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11352 if test "x$as_val" = x""yes; then : | |
11353 | 11359 |
11354 cat >>confdefs.h <<_ACEOF | 11360 cat >>confdefs.h <<_ACEOF |
11355 #define CRAY_STACKSEG_END $ac_func | 11361 #define CRAY_STACKSEG_END $ac_func |
11356 _ACEOF | 11362 _ACEOF |
11357 | 11363 |
11411 | 11417 |
11412 fi | 11418 fi |
11413 | 11419 |
11414 | 11420 |
11415 if test x"$ac_cv_func_alloca_works" != xyes; then | 11421 if test x"$ac_cv_func_alloca_works" != xyes; then |
11416 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 11422 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 |
11417 fi | 11423 fi |
11418 | 11424 |
11419 # fmod, logb, and frexp are found in -lm on most systems. | 11425 # fmod, logb, and frexp are found in -lm on most systems. |
11420 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 11426 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
11607 $as_echo "no" >&6; } | 11613 $as_echo "no" >&6; } |
11608 fi | 11614 fi |
11609 | 11615 |
11610 | 11616 |
11611 if test $ac_cv_prog_liblockfile = yes; then | 11617 if test $ac_cv_prog_liblockfile = yes; then |
11612 as_fn_error "Shared liblockfile found but can't link against it. | 11618 as_fn_error $? "Shared liblockfile found but can't link against it. |
11613 This probably means that movemail could lose mail. | 11619 This probably means that movemail could lose mail. |
11614 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 11620 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
11615 fi | 11621 fi |
11616 fi | 11622 fi |
11617 for ac_func in touchlock | 11623 for ac_func in touchlock |
11696 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 11702 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11697 cfmakeraw cfsetspeed isnan copysign __executable_start | 11703 cfmakeraw cfsetspeed isnan copysign __executable_start |
11698 do : | 11704 do : |
11699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11701 eval as_val=\$$as_ac_var | 11707 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11702 if test "x$as_val" = x""yes; then : | |
11703 cat >>confdefs.h <<_ACEOF | 11708 cat >>confdefs.h <<_ACEOF |
11704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11705 _ACEOF | 11710 _ACEOF |
11706 | 11711 |
11707 fi | 11712 fi |
11728 | 11733 |
11729 for ac_func in $ac_func_list | 11734 for ac_func in $ac_func_list |
11730 do : | 11735 do : |
11731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11733 eval as_val=\$$as_ac_var | 11738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11734 if test "x$as_val" = x""yes; then : | |
11735 cat >>confdefs.h <<_ACEOF | 11739 cat >>confdefs.h <<_ACEOF |
11736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11737 _ACEOF | 11741 _ACEOF |
11738 | 11742 |
11739 fi | 11743 fi |
11781 | 11785 |
11782 static time_t time_t_max; | 11786 static time_t time_t_max; |
11783 static time_t time_t_min; | 11787 static time_t time_t_min; |
11784 | 11788 |
11785 /* Values we'll use to set the TZ environment variable. */ | 11789 /* Values we'll use to set the TZ environment variable. */ |
11786 static char *tz_strings[] = { | 11790 static const char *tz_strings[] = { |
11787 (char *) 0, "TZ=GMT0", "TZ=JST-9", | 11791 (const char *) 0, "TZ=GMT0", "TZ=JST-9", |
11788 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 11792 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
11789 }; | 11793 }; |
11790 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 11794 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
11791 | 11795 |
11792 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 11796 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
11799 | 11803 |
11800 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11804 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11801 instead of "TZ=America/Vancouver" in order to detect the bug even | 11805 instead of "TZ=America/Vancouver" in order to detect the bug even |
11802 on systems that don't support the Olson extension, or don't have the | 11806 on systems that don't support the Olson extension, or don't have the |
11803 full zoneinfo tables installed. */ | 11807 full zoneinfo tables installed. */ |
11804 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 11808 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
11805 | 11809 |
11806 tm.tm_year = 98; | 11810 tm.tm_year = 98; |
11807 tm.tm_mon = 3; | 11811 tm.tm_mon = 3; |
11808 tm.tm_mday = 5; | 11812 tm.tm_mday = 5; |
11809 tm.tm_hour = 2; | 11813 tm.tm_hour = 2; |
11812 tm.tm_isdst = -1; | 11816 tm.tm_isdst = -1; |
11813 return mktime (&tm) != (time_t) -1; | 11817 return mktime (&tm) != (time_t) -1; |
11814 } | 11818 } |
11815 | 11819 |
11816 static int | 11820 static int |
11817 mktime_test1 (now) | 11821 mktime_test1 (time_t now) |
11818 time_t now; | |
11819 { | 11822 { |
11820 struct tm *lt; | 11823 struct tm *lt; |
11821 return ! (lt = localtime (&now)) || mktime (lt) == now; | 11824 return ! (lt = localtime (&now)) || mktime (lt) == now; |
11822 } | 11825 } |
11823 | 11826 |
11824 static int | 11827 static int |
11825 mktime_test (now) | 11828 mktime_test (time_t now) |
11826 time_t now; | |
11827 { | 11829 { |
11828 return (mktime_test1 (now) | 11830 return (mktime_test1 (now) |
11829 && mktime_test1 ((time_t) (time_t_max - now)) | 11831 && mktime_test1 ((time_t) (time_t_max - now)) |
11830 && mktime_test1 ((time_t) (time_t_min + now))); | 11832 && mktime_test1 ((time_t) (time_t_min + now))); |
11831 } | 11833 } |
11845 mktime (&tm); | 11847 mktime (&tm); |
11846 return tm.tm_mon == 2 && tm.tm_mday == 31; | 11848 return tm.tm_mon == 2 && tm.tm_mday == 31; |
11847 } | 11849 } |
11848 | 11850 |
11849 static int | 11851 static int |
11850 bigtime_test (j) | 11852 bigtime_test (int j) |
11851 int j; | |
11852 { | 11853 { |
11853 struct tm tm; | 11854 struct tm tm; |
11854 time_t now; | 11855 time_t now; |
11855 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | 11856 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; |
11856 now = mktime (&tm); | 11857 now = mktime (&tm); |
11890 | 11891 |
11891 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11892 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11892 instead of "TZ=America/Vancouver" in order to detect the bug even | 11893 instead of "TZ=America/Vancouver" in order to detect the bug even |
11893 on systems that don't support the Olson extension, or don't have the | 11894 on systems that don't support the Olson extension, or don't have the |
11894 full zoneinfo tables installed. */ | 11895 full zoneinfo tables installed. */ |
11895 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 11896 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
11896 | 11897 |
11897 t = mktime (&tm); | 11898 t = mktime (&tm); |
11898 | 11899 |
11899 /* Check that the result is either a failure, or close enough | 11900 /* Check that the result is either a failure, or close enough |
11900 to the correct answer that we can assume the discrepancy is | 11901 to the correct answer that we can assume the discrepancy is |
11925 | 11926 |
11926 delta = time_t_max / 997; /* a suitable prime number */ | 11927 delta = time_t_max / 997; /* a suitable prime number */ |
11927 for (i = 0; i < N_STRINGS; i++) | 11928 for (i = 0; i < N_STRINGS; i++) |
11928 { | 11929 { |
11929 if (tz_strings[i]) | 11930 if (tz_strings[i]) |
11930 putenv (tz_strings[i]); | 11931 putenv ((char*) tz_strings[i]); |
11931 | 11932 |
11932 for (t = 0; t <= time_t_max - delta; t += delta) | 11933 for (t = 0; t <= time_t_max - delta; t += delta) |
11933 if (! mktime_test (t)) | 11934 if (! mktime_test (t)) |
11934 return 1; | 11935 return 1; |
11935 if (! (mktime_test ((time_t) 1) | 11936 if (! (mktime_test ((time_t) 1) |
11977 | 11978 |
11978 ac_have_func=no # yes means we've found a way to get the load average. | 11979 ac_have_func=no # yes means we've found a way to get the load average. |
11979 | 11980 |
11980 # Make sure getloadavg.c is where it belongs, at configure-time. | 11981 # Make sure getloadavg.c is where it belongs, at configure-time. |
11981 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 11982 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11982 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 11983 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
11983 | 11984 |
11984 ac_save_LIBS=$LIBS | 11985 ac_save_LIBS=$LIBS |
11985 | 11986 |
11986 # Check for getloadavg, but be sure not to touch the cache variable. | 11987 # Check for getloadavg, but be sure not to touch the cache variable. |
11987 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 11988 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12846 else | 12847 else |
12847 have_tputs_et_al=false | 12848 have_tputs_et_al=false |
12848 fi | 12849 fi |
12849 | 12850 |
12850 if test "$have_tputs_et_al" != true; then | 12851 if test "$have_tputs_et_al" != true; then |
12851 as_fn_error "I couldn't find termcap functions (tputs and friends). | 12852 as_fn_error $? "I couldn't find termcap functions (tputs and friends). |
12852 Maybe some development libraries/packages are missing? Try installing | 12853 Maybe some development libraries/packages are missing? Try installing |
12853 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 12854 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
12854 fi | 12855 fi |
12855 # Must define this when any termcap library is found. | 12856 # Must define this when any termcap library is found. |
12856 | 12857 |
13993 | 13994 |
13994 for ac_func in fork vfork | 13995 for ac_func in fork vfork |
13995 do : | 13996 do : |
13996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 13998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13998 eval as_val=\$$as_ac_var | 13999 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13999 if test "x$as_val" = x""yes; then : | |
14000 cat >>confdefs.h <<_ACEOF | 14000 cat >>confdefs.h <<_ACEOF |
14001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14002 _ACEOF | 14002 _ACEOF |
14003 | 14003 |
14004 fi | 14004 fi |
14368 ## Hack to detect a buggy GCC version. | 14368 ## Hack to detect a buggy GCC version. |
14369 if test "x$GCC" = xyes \ | 14369 if test "x$GCC" = xyes \ |
14370 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ | 14370 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ |
14371 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ | 14371 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ |
14372 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then | 14372 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then |
14373 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 | 14373 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 |
14374 fi | 14374 fi |
14375 | 14375 |
14376 #### Find out which version of Emacs this is. | 14376 #### Find out which version of Emacs this is. |
14377 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 14377 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
14378 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 14378 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
14379 if test x"${version}" = x; then | 14379 if test x"${version}" = x; then |
14380 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 14380 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 |
14381 fi | 14381 fi |
14382 if test x"${version}" != x"$PACKAGE_VERSION"; then | 14382 if test x"${version}" != x"$PACKAGE_VERSION"; then |
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 | 14383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 |
14384 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} | 14384 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
14385 fi | 14385 fi |
14934 | 14934 |
14935 DEFS=-DHAVE_CONFIG_H | 14935 DEFS=-DHAVE_CONFIG_H |
14936 | 14936 |
14937 ac_libobjs= | 14937 ac_libobjs= |
14938 ac_ltlibobjs= | 14938 ac_ltlibobjs= |
14939 U= | |
14939 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 14940 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14940 # 1. Remove the extension, and $U if already installed. | 14941 # 1. Remove the extension, and $U if already installed. |
14941 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 14942 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14942 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 14943 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14943 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 14944 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
15096 | 15097 |
15097 # CDPATH. | 15098 # CDPATH. |
15098 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 15099 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
15099 | 15100 |
15100 | 15101 |
15101 # as_fn_error ERROR [LINENO LOG_FD] | 15102 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
15102 # --------------------------------- | 15103 # ---------------------------------------- |
15103 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 15104 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
15104 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 15105 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
15105 # script with status $?, using 1 if that was 0. | 15106 # script with STATUS, using 1 if that was 0. |
15106 as_fn_error () | 15107 as_fn_error () |
15107 { | 15108 { |
15108 as_status=$?; test $as_status -eq 0 && as_status=1 | 15109 as_status=$1; test $as_status -eq 0 && as_status=1 |
15109 if test "$3"; then | 15110 if test "$4"; then |
15110 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 15111 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
15111 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 15112 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
15112 fi | 15113 fi |
15113 $as_echo "$as_me: error: $1" >&2 | 15114 $as_echo "$as_me: error: $2" >&2 |
15114 as_fn_exit $as_status | 15115 as_fn_exit $as_status |
15115 } # as_fn_error | 15116 } # as_fn_error |
15116 | 15117 |
15117 | 15118 |
15118 # as_fn_set_status STATUS | 15119 # as_fn_set_status STATUS |
15304 } | 15305 } |
15305 s/.*/./; q'` | 15306 s/.*/./; q'` |
15306 test -d "$as_dir" && break | 15307 test -d "$as_dir" && break |
15307 done | 15308 done |
15308 test -z "$as_dirs" || eval "mkdir $as_dirs" | 15309 test -z "$as_dirs" || eval "mkdir $as_dirs" |
15309 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 15310 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
15310 | 15311 |
15311 | 15312 |
15312 } # as_fn_mkdir_p | 15313 } # as_fn_mkdir_p |
15313 if mkdir -p . 2>/dev/null; then | 15314 if mkdir -p . 2>/dev/null; then |
15314 as_mkdir_p='mkdir -p "$as_dir"' | 15315 as_mkdir_p='mkdir -p "$as_dir"' |
15358 # Save the log message, to keep $0 and so on meaningful, and to | 15359 # Save the log message, to keep $0 and so on meaningful, and to |
15359 # report actual input values of CONFIG_FILES etc. instead of their | 15360 # report actual input values of CONFIG_FILES etc. instead of their |
15360 # values after options handling. | 15361 # values after options handling. |
15361 ac_log=" | 15362 ac_log=" |
15362 This file was extended by emacs $as_me 24.0.50, which was | 15363 This file was extended by emacs $as_me 24.0.50, which was |
15363 generated by GNU Autoconf 2.65. Invocation command line was | 15364 generated by GNU Autoconf 2.67. Invocation command line was |
15364 | 15365 |
15365 CONFIG_FILES = $CONFIG_FILES | 15366 CONFIG_FILES = $CONFIG_FILES |
15366 CONFIG_HEADERS = $CONFIG_HEADERS | 15367 CONFIG_HEADERS = $CONFIG_HEADERS |
15367 CONFIG_LINKS = $CONFIG_LINKS | 15368 CONFIG_LINKS = $CONFIG_LINKS |
15368 CONFIG_COMMANDS = $CONFIG_COMMANDS | 15369 CONFIG_COMMANDS = $CONFIG_COMMANDS |
15424 _ACEOF | 15425 _ACEOF |
15425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15426 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 15427 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15427 ac_cs_version="\\ | 15428 ac_cs_version="\\ |
15428 emacs config.status 24.0.50 | 15429 emacs config.status 24.0.50 |
15429 configured by $0, generated by GNU Autoconf 2.65, | 15430 configured by $0, generated by GNU Autoconf 2.67, |
15430 with options \\"\$ac_cs_config\\" | 15431 with options \\"\$ac_cs_config\\" |
15431 | 15432 |
15432 Copyright (C) 2009 Free Software Foundation, Inc. | 15433 Copyright (C) 2010 Free Software Foundation, Inc. |
15433 This config.status script is free software; the Free Software Foundation | 15434 This config.status script is free software; the Free Software Foundation |
15434 gives unlimited permission to copy, distribute and modify it." | 15435 gives unlimited permission to copy, distribute and modify it." |
15435 | 15436 |
15436 ac_pwd='$ac_pwd' | 15437 ac_pwd='$ac_pwd' |
15437 srcdir='$srcdir' | 15438 srcdir='$srcdir' |
15443 # The default lists apply if the user does not specify any file. | 15444 # The default lists apply if the user does not specify any file. |
15444 ac_need_defaults=: | 15445 ac_need_defaults=: |
15445 while test $# != 0 | 15446 while test $# != 0 |
15446 do | 15447 do |
15447 case $1 in | 15448 case $1 in |
15448 --*=*) | 15449 --*=?*) |
15449 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 15450 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15450 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 15451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
15452 ac_shift=: | |
15453 ;; | |
15454 --*=) | |
15455 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
15456 ac_optarg= | |
15451 ac_shift=: | 15457 ac_shift=: |
15452 ;; | 15458 ;; |
15453 *) | 15459 *) |
15454 ac_option=$1 | 15460 ac_option=$1 |
15455 ac_optarg=$2 | 15461 ac_optarg=$2 |
15469 debug=: ;; | 15475 debug=: ;; |
15470 --file | --fil | --fi | --f ) | 15476 --file | --fil | --fi | --f ) |
15471 $ac_shift | 15477 $ac_shift |
15472 case $ac_optarg in | 15478 case $ac_optarg in |
15473 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 15479 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15480 '') as_fn_error $? "missing file argument" ;; | |
15474 esac | 15481 esac |
15475 as_fn_append CONFIG_FILES " '$ac_optarg'" | 15482 as_fn_append CONFIG_FILES " '$ac_optarg'" |
15476 ac_need_defaults=false;; | 15483 ac_need_defaults=false;; |
15477 --header | --heade | --head | --hea ) | 15484 --header | --heade | --head | --hea ) |
15478 $ac_shift | 15485 $ac_shift |
15481 esac | 15488 esac |
15482 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 15489 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
15483 ac_need_defaults=false;; | 15490 ac_need_defaults=false;; |
15484 --he | --h) | 15491 --he | --h) |
15485 # Conflict between --help and --header | 15492 # Conflict between --help and --header |
15486 as_fn_error "ambiguous option: \`$1' | 15493 as_fn_error $? "ambiguous option: \`$1' |
15487 Try \`$0 --help' for more information.";; | 15494 Try \`$0 --help' for more information.";; |
15488 --help | --hel | -h ) | 15495 --help | --hel | -h ) |
15489 $as_echo "$ac_cs_usage"; exit ;; | 15496 $as_echo "$ac_cs_usage"; exit ;; |
15490 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 15497 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
15491 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 15498 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
15492 ac_cs_silent=: ;; | 15499 ac_cs_silent=: ;; |
15493 | 15500 |
15494 # This is an error. | 15501 # This is an error. |
15495 -*) as_fn_error "unrecognized option: \`$1' | 15502 -*) as_fn_error $? "unrecognized option: \`$1' |
15496 Try \`$0 --help' for more information." ;; | 15503 Try \`$0 --help' for more information." ;; |
15497 | 15504 |
15498 *) as_fn_append ac_config_targets " $1" | 15505 *) as_fn_append ac_config_targets " $1" |
15499 ac_need_defaults=false ;; | 15506 ac_need_defaults=false ;; |
15500 | 15507 |
15558 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 15565 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
15559 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 15566 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
15560 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 15567 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
15561 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 15568 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
15562 | 15569 |
15563 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15570 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
15564 esac | 15571 esac |
15565 done | 15572 done |
15566 | 15573 |
15567 | 15574 |
15568 # If the user did not use the arguments to specify the items to instantiate, | 15575 # If the user did not use the arguments to specify the items to instantiate, |
15596 test -n "$tmp" && test -d "$tmp" | 15603 test -n "$tmp" && test -d "$tmp" |
15597 } || | 15604 } || |
15598 { | 15605 { |
15599 tmp=./conf$$-$RANDOM | 15606 tmp=./conf$$-$RANDOM |
15600 (umask 077 && mkdir "$tmp") | 15607 (umask 077 && mkdir "$tmp") |
15601 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 15608 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15602 | 15609 |
15603 # Set up the scripts for CONFIG_FILES section. | 15610 # Set up the scripts for CONFIG_FILES section. |
15604 # No need to generate them if there are no CONFIG_FILES. | 15611 # No need to generate them if there are no CONFIG_FILES. |
15605 # This happens for instance with `./config.status config.h'. | 15612 # This happens for instance with `./config.status config.h'. |
15606 if test -n "$CONFIG_FILES"; then | 15613 if test -n "$CONFIG_FILES"; then |
15630 if test "x$ac_cr" = x; then | 15637 if test "x$ac_cr" = x; then |
15631 eval ac_cr=\$\'\\r\' | 15638 eval ac_cr=\$\'\\r\' |
15632 fi | 15639 fi |
15633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 15640 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 15641 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15635 ac_cs_awk_cr='\r' | 15642 ac_cs_awk_cr='\\r' |
15636 else | 15643 else |
15637 ac_cs_awk_cr=$ac_cr | 15644 ac_cs_awk_cr=$ac_cr |
15638 fi | 15645 fi |
15639 | 15646 |
15640 echo 'BEGIN {' >"$tmp/subs1.awk" && | 15647 echo 'BEGIN {' >"$tmp/subs1.awk" && |
15647 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | 15654 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
15648 echo "_ACAWK" && | 15655 echo "_ACAWK" && |
15649 echo "_ACEOF" | 15656 echo "_ACEOF" |
15650 } >conf$$files.sh && | 15657 } >conf$$files.sh && |
15651 . ./conf$$files.sh || | 15658 . ./conf$$files.sh || |
15652 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15659 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15653 rm -f conf$$files.sh | 15660 rm -f conf$$files.sh |
15654 | 15661 |
15655 { | 15662 { |
15656 echo "cat >conf$$subs.awk <<_ACEOF" && | 15663 echo "cat >conf$$subs.awk <<_ACEOF" && |
15657 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 15664 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15658 echo "_ACEOF" | 15665 echo "_ACEOF" |
15659 } >conf$$subs.sh || | 15666 } >conf$$subs.sh || |
15660 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15661 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 15668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15662 ac_delim='%!_!# ' | 15669 ac_delim='%!_!# ' |
15663 for ac_last_try in false false false false false :; do | 15670 for ac_last_try in false false false false false :; do |
15664 . ./conf$$subs.sh || | 15671 . ./conf$$subs.sh || |
15665 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15672 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15666 | 15673 |
15667 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 15674 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15668 if test $ac_delim_n = $ac_delim_num; then | 15675 if test $ac_delim_n = $ac_delim_num; then |
15669 break | 15676 break |
15670 elif $ac_last_try; then | 15677 elif $ac_last_try; then |
15671 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15678 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15672 else | 15679 else |
15673 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15680 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15674 fi | 15681 fi |
15675 done | 15682 done |
15676 rm -f conf$$subs.sh | 15683 rm -f conf$$subs.sh |
15761 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 15768 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15762 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 15769 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15763 else | 15770 else |
15764 cat | 15771 cat |
15765 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 15772 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15766 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 15773 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15767 _ACEOF | 15774 _ACEOF |
15768 | 15775 |
15769 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 15776 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15770 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 15777 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15771 # trailing colons and then remove the whole line if VPATH becomes empty | 15778 # trailing colons and then remove the whole line if VPATH becomes empty |
15772 # (actually we leave an empty line to preserve line numbers). | 15779 # (actually we leave an empty line to preserve line numbers). |
15773 if test "x$srcdir" = x.; then | 15780 if test "x$srcdir" = x.; then |
15774 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 15781 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15775 s/:*\$(srcdir):*/:/ | 15782 h |
15776 s/:*\${srcdir}:*/:/ | 15783 s/// |
15777 s/:*@srcdir@:*/:/ | 15784 s/^/:/ |
15778 s/^\([^=]*=[ ]*\):*/\1/ | 15785 s/[ ]*$/:/ |
15786 s/:\$(srcdir):/:/g | |
15787 s/:\${srcdir}:/:/g | |
15788 s/:@srcdir@:/:/g | |
15789 s/^:*// | |
15779 s/:*$// | 15790 s/:*$// |
15791 x | |
15792 s/\(=[ ]*\).*/\1/ | |
15793 G | |
15794 s/\n// | |
15780 s/^[^=]*=[ ]*$// | 15795 s/^[^=]*=[ ]*$// |
15781 }' | 15796 }' |
15782 fi | 15797 fi |
15783 | 15798 |
15784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15802 for ac_last_try in false false :; do | 15817 for ac_last_try in false false :; do |
15803 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 15818 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15804 if test -z "$ac_t"; then | 15819 if test -z "$ac_t"; then |
15805 break | 15820 break |
15806 elif $ac_last_try; then | 15821 elif $ac_last_try; then |
15807 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 15822 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15808 else | 15823 else |
15809 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15824 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15810 fi | 15825 fi |
15811 done | 15826 done |
15812 | 15827 |
15887 } | 15902 } |
15888 { print } | 15903 { print } |
15889 _ACAWK | 15904 _ACAWK |
15890 _ACEOF | 15905 _ACEOF |
15891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15892 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 15907 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
15893 fi # test -n "$CONFIG_HEADERS" | 15908 fi # test -n "$CONFIG_HEADERS" |
15894 | 15909 |
15895 | 15910 |
15896 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 15911 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15897 shift | 15912 shift |
15900 case $ac_tag in | 15915 case $ac_tag in |
15901 :[FHLC]) ac_mode=$ac_tag; continue;; | 15916 :[FHLC]) ac_mode=$ac_tag; continue;; |
15902 esac | 15917 esac |
15903 case $ac_mode$ac_tag in | 15918 case $ac_mode$ac_tag in |
15904 :[FHL]*:*);; | 15919 :[FHL]*:*);; |
15905 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 15920 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
15906 :[FH]-) ac_tag=-:-;; | 15921 :[FH]-) ac_tag=-:-;; |
15907 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 15922 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15908 esac | 15923 esac |
15909 ac_save_IFS=$IFS | 15924 ac_save_IFS=$IFS |
15910 IFS=: | 15925 IFS=: |
15928 test -f "$ac_f" || | 15943 test -f "$ac_f" || |
15929 case $ac_f in | 15944 case $ac_f in |
15930 [\\/$]*) false;; | 15945 [\\/$]*) false;; |
15931 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 15946 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15932 esac || | 15947 esac || |
15933 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 15948 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
15934 esac | 15949 esac |
15935 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 15950 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15936 as_fn_append ac_file_inputs " '$ac_f'" | 15951 as_fn_append ac_file_inputs " '$ac_f'" |
15937 done | 15952 done |
15938 | 15953 |
15955 *) ac_sed_conf_input=$configure_input;; | 15970 *) ac_sed_conf_input=$configure_input;; |
15956 esac | 15971 esac |
15957 | 15972 |
15958 case $ac_tag in | 15973 case $ac_tag in |
15959 *:-:* | *:-) cat >"$tmp/stdin" \ | 15974 *:-:* | *:-) cat >"$tmp/stdin" \ |
15960 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 15975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
15961 esac | 15976 esac |
15962 ;; | 15977 ;; |
15963 esac | 15978 esac |
15964 | 15979 |
15965 ac_dir=`$as_dirname -- "$ac_file" || | 15980 ac_dir=`$as_dirname -- "$ac_file" || |
16091 if $ac_cs_awk_getline; then | 16106 if $ac_cs_awk_getline; then |
16092 $AWK -f "$tmp/subs.awk" | 16107 $AWK -f "$tmp/subs.awk" |
16093 else | 16108 else |
16094 $AWK -f "$tmp/subs.awk" | $SHELL | 16109 $AWK -f "$tmp/subs.awk" | $SHELL |
16095 fi >$tmp/out \ | 16110 fi >$tmp/out \ |
16096 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16097 | 16112 |
16098 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 16113 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
16099 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 16114 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
16100 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 16115 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 16116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16102 which seems to be undefined. Please make sure it is defined." >&5 | 16117 which seems to be undefined. Please make sure it is defined" >&5 |
16103 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 16118 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16104 which seems to be undefined. Please make sure it is defined." >&2;} | 16119 which seems to be undefined. Please make sure it is defined" >&2;} |
16105 | 16120 |
16106 rm -f "$tmp/stdin" | 16121 rm -f "$tmp/stdin" |
16107 case $ac_file in | 16122 case $ac_file in |
16108 -) cat "$tmp/out" && rm -f "$tmp/out";; | 16123 -) cat "$tmp/out" && rm -f "$tmp/out";; |
16109 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 16124 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
16110 esac \ | 16125 esac \ |
16111 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16126 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16112 ;; | 16127 ;; |
16113 :H) | 16128 :H) |
16114 # | 16129 # |
16115 # CONFIG_HEADER | 16130 # CONFIG_HEADER |
16116 # | 16131 # |
16117 if test x"$ac_file" != x-; then | 16132 if test x"$ac_file" != x-; then |
16118 { | 16133 { |
16119 $as_echo "/* $configure_input */" \ | 16134 $as_echo "/* $configure_input */" \ |
16120 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 16135 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
16121 } >"$tmp/config.h" \ | 16136 } >"$tmp/config.h" \ |
16122 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16123 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 16138 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 16139 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16125 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 16140 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
16126 else | 16141 else |
16127 rm -f "$ac_file" | 16142 rm -f "$ac_file" |
16128 mv "$tmp/config.h" "$ac_file" \ | 16143 mv "$tmp/config.h" "$ac_file" \ |
16129 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16144 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16130 fi | 16145 fi |
16131 else | 16146 else |
16132 $as_echo "/* $configure_input */" \ | 16147 $as_echo "/* $configure_input */" \ |
16133 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 16148 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
16134 || as_fn_error "could not create -" "$LINENO" 5 | 16149 || as_fn_error $? "could not create -" "$LINENO" 5 |
16135 fi | 16150 fi |
16136 ;; | 16151 ;; |
16137 | 16152 |
16138 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 16153 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
16139 $as_echo "$as_me: executing $ac_file commands" >&6;} | 16154 $as_echo "$as_me: executing $ac_file commands" >&6;} |
16166 as_fn_exit 0 | 16181 as_fn_exit 0 |
16167 _ACEOF | 16182 _ACEOF |
16168 ac_clean_files=$ac_clean_files_save | 16183 ac_clean_files=$ac_clean_files_save |
16169 | 16184 |
16170 test $ac_write_fail = 0 || | 16185 test $ac_write_fail = 0 || |
16171 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 16186 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16172 | 16187 |
16173 | 16188 |
16174 # configure is writing to config.log, and then calls config.status. | 16189 # configure is writing to config.log, and then calls config.status. |
16175 # config.status does its own redirection, appending to config.log. | 16190 # config.status does its own redirection, appending to config.log. |
16176 # Unfortunately, on DOS this fails, as config.log is still kept open | 16191 # Unfortunately, on DOS this fails, as config.log is still kept open |
16187 exec 5>/dev/null | 16202 exec 5>/dev/null |
16188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 16203 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
16189 exec 5>>config.log | 16204 exec 5>>config.log |
16190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 16205 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
16191 # would make configure fail if this is the last instruction. | 16206 # would make configure fail if this is the last instruction. |
16192 $ac_cs_success || as_fn_exit $? | 16207 $ac_cs_success || as_fn_exit 1 |
16193 fi | 16208 fi |
16194 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 16209 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 16210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
16196 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 16211 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
16197 fi | 16212 fi |