Mercurial > emacs
comparison configure @ 109624:d06247ec7191
* configure.in: Restore accidentally removed use of
GCC_TEST_OPTIONS/NON_GCC_TEST_OPTIONS.
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Wed, 04 Aug 2010 23:48:36 +0200 |
parents | 4504e82595bb |
children | d8dbbecff672 |
comparison
equal
deleted
inserted
replaced
109623:7b98612e8827 | 109624:d06247ec7191 |
---|---|
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.66 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. |
948 | 948 |
949 -disable-* | --disable-*) | 949 -disable-* | --disable-*) |
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
951 # Reject names that are not valid shell variable names. | 951 # Reject names that are not valid shell variable names. |
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
953 as_fn_error "invalid feature name: $ac_useropt" | 953 as_fn_error $? "invalid feature name: $ac_useropt" |
954 ac_useropt_orig=$ac_useropt | 954 ac_useropt_orig=$ac_useropt |
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
956 case $ac_user_opts in | 956 case $ac_user_opts in |
957 *" | 957 *" |
958 "enable_$ac_useropt" | 958 "enable_$ac_useropt" |
974 | 974 |
975 -enable-* | --enable-*) | 975 -enable-* | --enable-*) |
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
977 # Reject names that are not valid shell variable names. | 977 # Reject names that are not valid shell variable names. |
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
979 as_fn_error "invalid feature name: $ac_useropt" | 979 as_fn_error $? "invalid feature name: $ac_useropt" |
980 ac_useropt_orig=$ac_useropt | 980 ac_useropt_orig=$ac_useropt |
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
982 case $ac_user_opts in | 982 case $ac_user_opts in |
983 *" | 983 *" |
984 "enable_$ac_useropt" | 984 "enable_$ac_useropt" |
1178 | 1178 |
1179 -with-* | --with-*) | 1179 -with-* | --with-*) |
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1181 # Reject names that are not valid shell variable names. | 1181 # Reject names that are not valid shell variable names. |
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1183 as_fn_error "invalid package name: $ac_useropt" | 1183 as_fn_error $? "invalid package name: $ac_useropt" |
1184 ac_useropt_orig=$ac_useropt | 1184 ac_useropt_orig=$ac_useropt |
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1186 case $ac_user_opts in | 1186 case $ac_user_opts in |
1187 *" | 1187 *" |
1188 "with_$ac_useropt" | 1188 "with_$ac_useropt" |
1194 | 1194 |
1195 -without-* | --without-*) | 1195 -without-* | --without-*) |
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1197 # Reject names that are not valid shell variable names. | 1197 # Reject names that are not valid shell variable names. |
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1199 as_fn_error "invalid package name: $ac_useropt" | 1199 as_fn_error $? "invalid package name: $ac_useropt" |
1200 ac_useropt_orig=$ac_useropt | 1200 ac_useropt_orig=$ac_useropt |
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1202 case $ac_user_opts in | 1202 case $ac_user_opts in |
1203 *" | 1203 *" |
1204 "with_$ac_useropt" | 1204 "with_$ac_useropt" |
1224 ac_prev=x_libraries ;; | 1224 ac_prev=x_libraries ;; |
1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1227 x_libraries=$ac_optarg ;; | 1227 x_libraries=$ac_optarg ;; |
1228 | 1228 |
1229 -*) as_fn_error "unrecognized option: \`$ac_option' | 1229 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1230 Try \`$0 --help' for more information." | 1230 Try \`$0 --help' for more information" |
1231 ;; | 1231 ;; |
1232 | 1232 |
1233 *=*) | 1233 *=*) |
1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1235 # Reject names that are not valid shell variable names. | 1235 # Reject names that are not valid shell variable names. |
1236 case $ac_envvar in #( | 1236 case $ac_envvar in #( |
1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1238 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1238 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1239 esac | 1239 esac |
1240 eval $ac_envvar=\$ac_optarg | 1240 eval $ac_envvar=\$ac_optarg |
1241 export $ac_envvar ;; | 1241 export $ac_envvar ;; |
1242 | 1242 |
1243 *) | 1243 *) |
1251 esac | 1251 esac |
1252 done | 1252 done |
1253 | 1253 |
1254 if test -n "$ac_prev"; then | 1254 if test -n "$ac_prev"; then |
1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1256 as_fn_error "missing argument to $ac_option" | 1256 as_fn_error $? "missing argument to $ac_option" |
1257 fi | 1257 fi |
1258 | 1258 |
1259 if test -n "$ac_unrecognized_opts"; then | 1259 if test -n "$ac_unrecognized_opts"; then |
1260 case $enable_option_checking in | 1260 case $enable_option_checking in |
1261 no) ;; | 1261 no) ;; |
1262 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1264 esac | 1264 esac |
1265 fi | 1265 fi |
1266 | 1266 |
1267 # Check all directory arguments for consistency. | 1267 # Check all directory arguments for consistency. |
1280 # Be sure to have absolute directory names. | 1280 # Be sure to have absolute directory names. |
1281 case $ac_val in | 1281 case $ac_val in |
1282 [\\/$]* | ?:[\\/]* ) continue;; | 1282 [\\/$]* | ?:[\\/]* ) continue;; |
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1284 esac | 1284 esac |
1285 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1285 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1286 done | 1286 done |
1287 | 1287 |
1288 # There might be people who depend on the old broken behavior: `$host' | 1288 # There might be people who depend on the old broken behavior: `$host' |
1289 # used to hold the argument of --host etc. | 1289 # used to hold the argument of --host etc. |
1290 # FIXME: To remove some day. | 1290 # FIXME: To remove some day. |
1294 | 1294 |
1295 # FIXME: To remove some day. | 1295 # FIXME: To remove some day. |
1296 if test "x$host_alias" != x; then | 1296 if test "x$host_alias" != x; then |
1297 if test "x$build_alias" = x; then | 1297 if test "x$build_alias" = x; then |
1298 cross_compiling=maybe | 1298 cross_compiling=maybe |
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1299 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1300 If a cross compiler is detected then cross compile mode will be used." >&2 | 1300 If a cross compiler is detected then cross compile mode will be used" >&2 |
1301 elif test "x$build_alias" != "x$host_alias"; then | 1301 elif test "x$build_alias" != "x$host_alias"; then |
1302 cross_compiling=yes | 1302 cross_compiling=yes |
1303 fi | 1303 fi |
1304 fi | 1304 fi |
1305 | 1305 |
1310 | 1310 |
1311 | 1311 |
1312 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1312 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1313 ac_ls_di=`ls -di .` && | 1313 ac_ls_di=`ls -di .` && |
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1315 as_fn_error "working directory cannot be determined" | 1315 as_fn_error $? "working directory cannot be determined" |
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1317 as_fn_error "pwd does not report name of working directory" | 1317 as_fn_error $? "pwd does not report name of working directory" |
1318 | 1318 |
1319 | 1319 |
1320 # Find the source files, if location was not specified. | 1320 # Find the source files, if location was not specified. |
1321 if test -z "$srcdir"; then | 1321 if test -z "$srcdir"; then |
1322 ac_srcdir_defaulted=yes | 1322 ac_srcdir_defaulted=yes |
1351 else | 1351 else |
1352 ac_srcdir_defaulted=no | 1352 ac_srcdir_defaulted=no |
1353 fi | 1353 fi |
1354 if test ! -r "$srcdir/$ac_unique_file"; then | 1354 if test ! -r "$srcdir/$ac_unique_file"; then |
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1356 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1357 fi | 1357 fi |
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1359 ac_abs_confdir=`( | 1359 ac_abs_confdir=`( |
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1361 pwd)` | 1361 pwd)` |
1362 # When building in place, set srcdir=. | 1362 # When building in place, set srcdir=. |
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1363 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1364 srcdir=. | 1364 srcdir=. |
1365 fi | 1365 fi |
1395 Configuration: | 1395 Configuration: |
1396 -h, --help display this help and exit | 1396 -h, --help display this help and exit |
1397 --help=short display options specific to this package | 1397 --help=short display options specific to this package |
1398 --help=recursive display the short help of all the included packages | 1398 --help=recursive display the short help of all the included packages |
1399 -V, --version display version information and exit | 1399 -V, --version display version information and exit |
1400 -q, --quiet, --silent do not print \`checking...' messages | 1400 -q, --quiet, --silent do not print \`checking ...' messages |
1401 --cache-file=FILE cache test results in FILE [disabled] | 1401 --cache-file=FILE cache test results in FILE [disabled] |
1402 -C, --config-cache alias for \`--cache-file=config.cache' | 1402 -C, --config-cache alias for \`--cache-file=config.cache' |
1403 -n, --no-create do not create output files | 1403 -n, --no-create do not create output files |
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1405 | 1405 |
1611 | 1611 |
1612 test -n "$ac_init_help" && exit $ac_status | 1612 test -n "$ac_init_help" && exit $ac_status |
1613 if $ac_init_version; then | 1613 if $ac_init_version; then |
1614 cat <<\_ACEOF | 1614 cat <<\_ACEOF |
1615 emacs configure 24.0.50 | 1615 emacs configure 24.0.50 |
1616 generated by GNU Autoconf 2.65 | 1616 generated by GNU Autoconf 2.66 |
1617 | 1617 |
1618 Copyright (C) 2009 Free Software Foundation, Inc. | 1618 Copyright (C) 2010 Free Software Foundation, Inc. |
1619 This configure script is free software; the Free Software Foundation | 1619 This configure script is free software; the Free Software Foundation |
1620 gives unlimited permission to copy, distribute and modify it. | 1620 gives unlimited permission to copy, distribute and modify it. |
1621 _ACEOF | 1621 _ACEOF |
1622 exit | 1622 exit |
1623 fi | 1623 fi |
1753 # the include files in INCLUDES and setting the cache variable VAR | 1753 # the include files in INCLUDES and setting the cache variable VAR |
1754 # accordingly. | 1754 # accordingly. |
1755 ac_fn_c_check_header_mongrel () | 1755 ac_fn_c_check_header_mongrel () |
1756 { | 1756 { |
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1758 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1758 if eval "test \"\${$3+set}\"" = set; then : |
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1760 $as_echo_n "checking for $2... " >&6; } | 1760 $as_echo_n "checking for $2... " >&6; } |
1761 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1761 if eval "test \"\${$3+set}\"" = set; then : |
1762 $as_echo_n "(cached) " >&6 | 1762 $as_echo_n "(cached) " >&6 |
1763 fi | 1763 fi |
1764 eval ac_res=\$$3 | 1764 eval ac_res=\$$3 |
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1766 $as_echo "$ac_res" >&6; } | 1766 $as_echo "$ac_res" >&6; } |
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1820 ;; | 1820 ;; |
1821 esac | 1821 esac |
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1823 $as_echo_n "checking for $2... " >&6; } | 1823 $as_echo_n "checking for $2... " >&6; } |
1824 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1824 if eval "test \"\${$3+set}\"" = set; then : |
1825 $as_echo_n "(cached) " >&6 | 1825 $as_echo_n "(cached) " >&6 |
1826 else | 1826 else |
1827 eval "$3=\$ac_header_compiler" | 1827 eval "$3=\$ac_header_compiler" |
1828 fi | 1828 fi |
1829 eval ac_res=\$$3 | 1829 eval ac_res=\$$3 |
1883 ac_fn_c_check_header_compile () | 1883 ac_fn_c_check_header_compile () |
1884 { | 1884 { |
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1887 $as_echo_n "checking for $2... " >&6; } | 1887 $as_echo_n "checking for $2... " >&6; } |
1888 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1888 if eval "test \"\${$3+set}\"" = set; then : |
1889 $as_echo_n "(cached) " >&6 | 1889 $as_echo_n "(cached) " >&6 |
1890 else | 1890 else |
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1892 /* end confdefs.h. */ | 1892 /* end confdefs.h. */ |
1893 $4 | 1893 $4 |
1905 $as_echo "$ac_res" >&6; } | 1905 $as_echo "$ac_res" >&6; } |
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1907 | 1907 |
1908 } # ac_fn_c_check_header_compile | 1908 } # ac_fn_c_check_header_compile |
1909 | 1909 |
1910 # ac_fn_c_check_decl LINENO SYMBOL VAR | 1910 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1911 # ------------------------------------ | 1911 # --------------------------------------------- |
1912 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | 1912 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1913 # accordingly. | |
1913 ac_fn_c_check_decl () | 1914 ac_fn_c_check_decl () |
1914 { | 1915 { |
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | 1917 as_decl_name=`echo $2|sed 's/ *(.*//'` |
1917 $as_echo_n "checking whether $2 is declared... " >&6; } | 1918 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1920 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
1921 if eval "test \"\${$3+set}\"" = set; then : | |
1919 $as_echo_n "(cached) " >&6 | 1922 $as_echo_n "(cached) " >&6 |
1920 else | 1923 else |
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1922 /* end confdefs.h. */ | 1925 /* end confdefs.h. */ |
1923 $4 | 1926 $4 |
1924 int | 1927 int |
1925 main () | 1928 main () |
1926 { | 1929 { |
1927 #ifndef $2 | 1930 #ifndef $as_decl_name |
1928 (void) $2; | 1931 #ifdef __cplusplus |
1932 (void) $as_decl_use; | |
1933 #else | |
1934 (void) $as_decl_name; | |
1935 #endif | |
1929 #endif | 1936 #endif |
1930 | 1937 |
1931 ; | 1938 ; |
1932 return 0; | 1939 return 0; |
1933 } | 1940 } |
1952 ac_fn_c_check_header_preproc () | 1959 ac_fn_c_check_header_preproc () |
1953 { | 1960 { |
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1956 $as_echo_n "checking for $2... " >&6; } | 1963 $as_echo_n "checking for $2... " >&6; } |
1957 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1964 if eval "test \"\${$3+set}\"" = set; then : |
1958 $as_echo_n "(cached) " >&6 | 1965 $as_echo_n "(cached) " >&6 |
1959 else | 1966 else |
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1961 /* end confdefs.h. */ | 1968 /* end confdefs.h. */ |
1962 #include <$2> | 1969 #include <$2> |
1982 ac_fn_c_check_member () | 1989 ac_fn_c_check_member () |
1983 { | 1990 { |
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1986 $as_echo_n "checking for $2.$3... " >&6; } | 1993 $as_echo_n "checking for $2.$3... " >&6; } |
1987 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | 1994 if eval "test \"\${$4+set}\"" = set; then : |
1988 $as_echo_n "(cached) " >&6 | 1995 $as_echo_n "(cached) " >&6 |
1989 else | 1996 else |
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1991 /* end confdefs.h. */ | 1998 /* end confdefs.h. */ |
1992 $5 | 1999 $5 |
2038 ac_fn_c_check_func () | 2045 ac_fn_c_check_func () |
2039 { | 2046 { |
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2042 $as_echo_n "checking for $2... " >&6; } | 2049 $as_echo_n "checking for $2... " >&6; } |
2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2050 if eval "test \"\${$3+set}\"" = set; then : |
2044 $as_echo_n "(cached) " >&6 | 2051 $as_echo_n "(cached) " >&6 |
2045 else | 2052 else |
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2047 /* end confdefs.h. */ | 2054 /* end confdefs.h. */ |
2048 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2106 ac_fn_c_check_type () | 2113 ac_fn_c_check_type () |
2107 { | 2114 { |
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2110 $as_echo_n "checking for $2... " >&6; } | 2117 $as_echo_n "checking for $2... " >&6; } |
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2118 if eval "test \"\${$3+set}\"" = set; then : |
2112 $as_echo_n "(cached) " >&6 | 2119 $as_echo_n "(cached) " >&6 |
2113 else | 2120 else |
2114 eval "$3=no" | 2121 eval "$3=no" |
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2116 /* end confdefs.h. */ | 2123 /* end confdefs.h. */ |
2155 cat >config.log <<_ACEOF | 2162 cat >config.log <<_ACEOF |
2156 This file contains any messages produced by compilers while | 2163 This file contains any messages produced by compilers while |
2157 running configure, to aid debugging if configure makes a mistake. | 2164 running configure, to aid debugging if configure makes a mistake. |
2158 | 2165 |
2159 It was created by emacs $as_me 24.0.50, which was | 2166 It was created by emacs $as_me 24.0.50, which was |
2160 generated by GNU Autoconf 2.65. Invocation command line was | 2167 generated by GNU Autoconf 2.66. Invocation command line was |
2161 | 2168 |
2162 $ $0 $@ | 2169 $ $0 $@ |
2163 | 2170 |
2164 _ACEOF | 2171 _ACEOF |
2165 exec 5>>config.log | 2172 exec 5>>config.log |
2265 trap 'exit_status=$? | 2272 trap 'exit_status=$? |
2266 # Save into config.log some information that might help in debugging. | 2273 # Save into config.log some information that might help in debugging. |
2267 { | 2274 { |
2268 echo | 2275 echo |
2269 | 2276 |
2270 cat <<\_ASBOX | 2277 $as_echo "## ---------------- ## |
2271 ## ---------------- ## | |
2272 ## Cache variables. ## | 2278 ## Cache variables. ## |
2273 ## ---------------- ## | 2279 ## ---------------- ##" |
2274 _ASBOX | |
2275 echo | 2280 echo |
2276 # The following way of writing the cache mishandles newlines in values, | 2281 # The following way of writing the cache mishandles newlines in values, |
2277 ( | 2282 ( |
2278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2279 eval ac_val=\$$ac_var | 2284 eval ac_val=\$$ac_var |
2303 esac | | 2308 esac | |
2304 sort | 2309 sort |
2305 ) | 2310 ) |
2306 echo | 2311 echo |
2307 | 2312 |
2308 cat <<\_ASBOX | 2313 $as_echo "## ----------------- ## |
2309 ## ----------------- ## | |
2310 ## Output variables. ## | 2314 ## Output variables. ## |
2311 ## ----------------- ## | 2315 ## ----------------- ##" |
2312 _ASBOX | |
2313 echo | 2316 echo |
2314 for ac_var in $ac_subst_vars | 2317 for ac_var in $ac_subst_vars |
2315 do | 2318 do |
2316 eval ac_val=\$$ac_var | 2319 eval ac_val=\$$ac_var |
2317 case $ac_val in | 2320 case $ac_val in |
2320 $as_echo "$ac_var='\''$ac_val'\''" | 2323 $as_echo "$ac_var='\''$ac_val'\''" |
2321 done | sort | 2324 done | sort |
2322 echo | 2325 echo |
2323 | 2326 |
2324 if test -n "$ac_subst_files"; then | 2327 if test -n "$ac_subst_files"; then |
2325 cat <<\_ASBOX | 2328 $as_echo "## ------------------- ## |
2326 ## ------------------- ## | |
2327 ## File substitutions. ## | 2329 ## File substitutions. ## |
2328 ## ------------------- ## | 2330 ## ------------------- ##" |
2329 _ASBOX | |
2330 echo | 2331 echo |
2331 for ac_var in $ac_subst_files | 2332 for ac_var in $ac_subst_files |
2332 do | 2333 do |
2333 eval ac_val=\$$ac_var | 2334 eval ac_val=\$$ac_var |
2334 case $ac_val in | 2335 case $ac_val in |
2338 done | sort | 2339 done | sort |
2339 echo | 2340 echo |
2340 fi | 2341 fi |
2341 | 2342 |
2342 if test -s confdefs.h; then | 2343 if test -s confdefs.h; then |
2343 cat <<\_ASBOX | 2344 $as_echo "## ----------- ## |
2344 ## ----------- ## | |
2345 ## confdefs.h. ## | 2345 ## confdefs.h. ## |
2346 ## ----------- ## | 2346 ## ----------- ##" |
2347 _ASBOX | |
2348 echo | 2347 echo |
2349 cat confdefs.h | 2348 cat confdefs.h |
2350 echo | 2349 echo |
2351 fi | 2350 fi |
2352 test "$ac_signal" != 0 && | 2351 test "$ac_signal" != 0 && |
2397 # Let the site file select an alternate cache file if it wants to. | 2396 # Let the site file select an alternate cache file if it wants to. |
2398 # Prefer an explicitly selected file to automatically selected ones. | 2397 # Prefer an explicitly selected file to automatically selected ones. |
2399 ac_site_file1=NONE | 2398 ac_site_file1=NONE |
2400 ac_site_file2=NONE | 2399 ac_site_file2=NONE |
2401 if test -n "$CONFIG_SITE"; then | 2400 if test -n "$CONFIG_SITE"; then |
2402 ac_site_file1=$CONFIG_SITE | 2401 # We do not want a PATH search for config.site. |
2402 case $CONFIG_SITE in #(( | |
2403 -*) ac_site_file1=./$CONFIG_SITE;; | |
2404 */*) ac_site_file1=$CONFIG_SITE;; | |
2405 *) ac_site_file1=./$CONFIG_SITE;; | |
2406 esac | |
2403 elif test "x$prefix" != xNONE; then | 2407 elif test "x$prefix" != xNONE; then |
2404 ac_site_file1=$prefix/share/config.site | 2408 ac_site_file1=$prefix/share/config.site |
2405 ac_site_file2=$prefix/etc/config.site | 2409 ac_site_file2=$prefix/etc/config.site |
2406 else | 2410 else |
2407 ac_site_file1=$ac_default_prefix/share/config.site | 2411 ac_site_file1=$ac_default_prefix/share/config.site |
2412 test "x$ac_site_file" = xNONE && continue | 2416 test "x$ac_site_file" = xNONE && continue |
2413 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2417 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2415 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2419 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2416 sed 's/^/| /' "$ac_site_file" >&5 | 2420 sed 's/^/| /' "$ac_site_file" >&5 |
2417 . "$ac_site_file" | 2421 . "$ac_site_file" \ |
2422 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2424 as_fn_error $? "failed to load site script $ac_site_file | |
2425 See \`config.log' for more details" "$LINENO" 5; } | |
2418 fi | 2426 fi |
2419 done | 2427 done |
2420 | 2428 |
2421 if test -r "$cache_file"; then | 2429 if test -r "$cache_file"; then |
2422 # Some versions of bash will fail to source /dev/null (special files | 2430 # Some versions of bash will fail to source /dev/null (special files |
2493 if $ac_cache_corrupted; then | 2501 if $ac_cache_corrupted; then |
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2497 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2498 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2499 fi | 2507 fi |
2500 ## -------------------- ## | 2508 ## -------------------- ## |
2501 ## Main body of script. ## | 2509 ## Main body of script. ## |
2502 ## -------------------- ## | 2510 ## -------------------- ## |
2503 | 2511 |
2667 a | at | ath | athe | athen | athena ) val=athena ;; | 2675 a | at | ath | athe | athen | athena ) val=athena ;; |
2668 m | mo | mot | moti | motif ) val=motif ;; | 2676 m | mo | mot | moti | motif ) val=motif ;; |
2669 g | gt | gtk ) val=gtk ;; | 2677 g | gt | gtk ) val=gtk ;; |
2670 gtk3 ) val=gtk3 ;; | 2678 gtk3 ) val=gtk3 ;; |
2671 * ) | 2679 * ) |
2672 as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2680 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; |
2673 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or | 2681 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or |
2674 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2682 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2675 ;; | 2683 ;; |
2676 esac | 2684 esac |
2677 with_x_toolkit=$val | 2685 with_x_toolkit=$val |
2946 stringbytes) ac_gc_check_stringbytes=1 ;; | 2954 stringbytes) ac_gc_check_stringbytes=1 ;; |
2947 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2955 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2948 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2956 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2949 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2957 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2950 conslist) ac_gc_check_cons_list=1 ;; | 2958 conslist) ac_gc_check_cons_list=1 ;; |
2951 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2959 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; |
2952 esac | 2960 esac |
2953 done | 2961 done |
2954 IFS="$ac_save_IFS" | 2962 IFS="$ac_save_IFS" |
2955 | 2963 |
2956 if test x$ac_enable_checking != x ; then | 2964 if test x$ac_enable_checking != x ; then |
3064 | 3072 |
3065 ### Canonicalize the configuration name. | 3073 ### Canonicalize the configuration name. |
3066 | 3074 |
3067 ac_aux_dir= | 3075 ac_aux_dir= |
3068 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3076 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3069 for ac_t in install-sh install.sh shtool; do | 3077 if test -f "$ac_dir/install-sh"; then |
3070 if test -f "$ac_dir/$ac_t"; then | 3078 ac_aux_dir=$ac_dir |
3071 ac_aux_dir=$ac_dir | 3079 ac_install_sh="$ac_aux_dir/install-sh -c" |
3072 ac_install_sh="$ac_aux_dir/$ac_t -c" | 3080 break |
3073 break 2 | 3081 elif test -f "$ac_dir/install.sh"; then |
3074 fi | 3082 ac_aux_dir=$ac_dir |
3075 done | 3083 ac_install_sh="$ac_aux_dir/install.sh -c" |
3084 break | |
3085 elif test -f "$ac_dir/shtool"; then | |
3086 ac_aux_dir=$ac_dir | |
3087 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3088 break | |
3089 fi | |
3076 done | 3090 done |
3077 if test -z "$ac_aux_dir"; then | 3091 if test -z "$ac_aux_dir"; then |
3078 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3092 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3079 fi | 3093 fi |
3080 | 3094 |
3081 # These three variables are undocumented and unsupported, | 3095 # These three variables are undocumented and unsupported, |
3082 # and are intended to be withdrawn in a future Autoconf release. | 3096 # and are intended to be withdrawn in a future Autoconf release. |
3083 # They can cause serious problems if a builder's source tree is in a directory | 3097 # They can cause serious problems if a builder's source tree is in a directory |
3087 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3088 | 3102 |
3089 | 3103 |
3090 # Make sure we can run config.sub. | 3104 # Make sure we can run config.sub. |
3091 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3105 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3092 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3106 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3093 | 3107 |
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3095 $as_echo_n "checking build system type... " >&6; } | 3109 $as_echo_n "checking build system type... " >&6; } |
3096 if test "${ac_cv_build+set}" = set; then : | 3110 if test "${ac_cv_build+set}" = set; then : |
3097 $as_echo_n "(cached) " >&6 | 3111 $as_echo_n "(cached) " >&6 |
3098 else | 3112 else |
3099 ac_build_alias=$build_alias | 3113 ac_build_alias=$build_alias |
3100 test "x$ac_build_alias" = x && | 3114 test "x$ac_build_alias" = x && |
3101 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3102 test "x$ac_build_alias" = x && | 3116 test "x$ac_build_alias" = x && |
3103 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 3117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
3104 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3118 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3105 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3106 | 3120 |
3107 fi | 3121 fi |
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3109 $as_echo "$ac_cv_build" >&6; } | 3123 $as_echo "$ac_cv_build" >&6; } |
3110 case $ac_cv_build in | 3124 case $ac_cv_build in |
3111 *-*-*) ;; | 3125 *-*-*) ;; |
3112 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 3126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
3113 esac | 3127 esac |
3114 build=$ac_cv_build | 3128 build=$ac_cv_build |
3115 ac_save_IFS=$IFS; IFS='-' | 3129 ac_save_IFS=$IFS; IFS='-' |
3116 set x $ac_cv_build | 3130 set x $ac_cv_build |
3117 shift | 3131 shift |
3132 else | 3146 else |
3133 if test "x$host_alias" = x; then | 3147 if test "x$host_alias" = x; then |
3134 ac_cv_host=$ac_cv_build | 3148 ac_cv_host=$ac_cv_build |
3135 else | 3149 else |
3136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3150 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3138 fi | 3152 fi |
3139 | 3153 |
3140 fi | 3154 fi |
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3142 $as_echo "$ac_cv_host" >&6; } | 3156 $as_echo "$ac_cv_host" >&6; } |
3143 case $ac_cv_host in | 3157 case $ac_cv_host in |
3144 *-*-*) ;; | 3158 *-*-*) ;; |
3145 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 3159 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
3146 esac | 3160 esac |
3147 host=$ac_cv_host | 3161 host=$ac_cv_host |
3148 ac_save_IFS=$IFS; IFS='-' | 3162 ac_save_IFS=$IFS; IFS='-' |
3149 set x $ac_cv_host | 3163 set x $ac_cv_host |
3150 shift | 3164 shift |
3434 fi | 3448 fi |
3435 | 3449 |
3436 | 3450 |
3437 | 3451 |
3438 if test $unported = yes; then | 3452 if test $unported = yes; then |
3439 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 3453 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. |
3440 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3454 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
3441 fi | 3455 fi |
3442 | 3456 |
3443 machfile="m/${machine}.h" | 3457 machfile="m/${machine}.h" |
3444 opsysfile="s/${opsys}.h" | 3458 opsysfile="s/${opsys}.h" |
3748 fi | 3762 fi |
3749 | 3763 |
3750 | 3764 |
3751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3765 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3753 as_fn_error "no acceptable C compiler found in \$PATH | 3767 as_fn_error $? "no acceptable C compiler found in \$PATH |
3754 See \`config.log' for more details." "$LINENO" 5; } | 3768 See \`config.log' for more details" "$LINENO" 5; } |
3755 | 3769 |
3756 # Provide some information about the compiler. | 3770 # Provide some information about the compiler. |
3757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3758 set X $ac_compile | 3772 set X $ac_compile |
3759 ac_compiler=$2 | 3773 ac_compiler=$2 |
3863 $as_echo "$as_me: failed program was:" >&5 | 3877 $as_echo "$as_me: failed program was:" >&5 |
3864 sed 's/^/| /' conftest.$ac_ext >&5 | 3878 sed 's/^/| /' conftest.$ac_ext >&5 |
3865 | 3879 |
3866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3868 { as_fn_set_status 77 | 3882 as_fn_error 77 "C compiler cannot create executables |
3869 as_fn_error "C compiler cannot create executables | 3883 See \`config.log' for more details" "$LINENO" 5; } |
3870 See \`config.log' for more details." "$LINENO" 5; }; } | |
3871 else | 3884 else |
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3873 $as_echo "yes" >&6; } | 3886 $as_echo "yes" >&6; } |
3874 fi | 3887 fi |
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3907 esac | 3920 esac |
3908 done | 3921 done |
3909 else | 3922 else |
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3912 as_fn_error "cannot compute suffix of executables: cannot compile and link | 3925 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3913 See \`config.log' for more details." "$LINENO" 5; } | 3926 See \`config.log' for more details" "$LINENO" 5; } |
3914 fi | 3927 fi |
3915 rm -f conftest conftest$ac_cv_exeext | 3928 rm -f conftest conftest$ac_cv_exeext |
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3917 $as_echo "$ac_cv_exeext" >&6; } | 3930 $as_echo "$ac_cv_exeext" >&6; } |
3918 | 3931 |
3965 if test "$cross_compiling" = maybe; then | 3978 if test "$cross_compiling" = maybe; then |
3966 cross_compiling=yes | 3979 cross_compiling=yes |
3967 else | 3980 else |
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3970 as_fn_error "cannot run C compiled programs. | 3983 as_fn_error $? "cannot run C compiled programs. |
3971 If you meant to cross compile, use \`--host'. | 3984 If you meant to cross compile, use \`--host'. |
3972 See \`config.log' for more details." "$LINENO" 5; } | 3985 See \`config.log' for more details" "$LINENO" 5; } |
3973 fi | 3986 fi |
3974 fi | 3987 fi |
3975 fi | 3988 fi |
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3977 $as_echo "$cross_compiling" >&6; } | 3990 $as_echo "$cross_compiling" >&6; } |
4018 $as_echo "$as_me: failed program was:" >&5 | 4031 $as_echo "$as_me: failed program was:" >&5 |
4019 sed 's/^/| /' conftest.$ac_ext >&5 | 4032 sed 's/^/| /' conftest.$ac_ext >&5 |
4020 | 4033 |
4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4023 as_fn_error "cannot compute suffix of object files: cannot compile | 4036 as_fn_error $? "cannot compute suffix of object files: cannot compile |
4024 See \`config.log' for more details." "$LINENO" 5; } | 4037 See \`config.log' for more details" "$LINENO" 5; } |
4025 fi | 4038 fi |
4026 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4039 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4027 fi | 4040 fi |
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4029 $as_echo "$ac_cv_objext" >&6; } | 4042 $as_echo "$ac_cv_objext" >&6; } |
4301 #### to use that one. | 4314 #### to use that one. |
4302 if test "x$NON_GNU_CC" != x && test x$GCC != xyes && | 4315 if test "x$NON_GNU_CC" != x && test x$GCC != xyes && |
4303 test x$cc_specified != xyes | 4316 test x$cc_specified != xyes |
4304 then | 4317 then |
4305 CC="$NON_GNU_CC" | 4318 CC="$NON_GNU_CC" |
4319 fi | |
4320 | |
4321 if test x$GCC = xyes; then | |
4322 test "x$GCC_TEST_OPTIONS" != x && CC="$CC $GCC_TEST_OPTIONS" | |
4323 else | |
4324 test "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS" | |
4306 fi | 4325 fi |
4307 | 4326 |
4308 ac_ext=c | 4327 ac_ext=c |
4309 ac_cpp='$CPP $CPPFLAGS' | 4328 ac_cpp='$CPP $CPPFLAGS' |
4310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4430 if $ac_preproc_ok; then : | 4449 if $ac_preproc_ok; then : |
4431 | 4450 |
4432 else | 4451 else |
4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4435 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4454 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4436 See \`config.log' for more details." "$LINENO" 5; } | 4455 See \`config.log' for more details" "$LINENO" 5; } |
4437 fi | 4456 fi |
4438 | 4457 |
4439 ac_ext=c | 4458 ac_ext=c |
4440 ac_cpp='$CPP $CPPFLAGS' | 4459 ac_cpp='$CPP $CPPFLAGS' |
4441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4492 done | 4511 done |
4493 done | 4512 done |
4494 done | 4513 done |
4495 IFS=$as_save_IFS | 4514 IFS=$as_save_IFS |
4496 if test -z "$ac_cv_path_GREP"; then | 4515 if test -z "$ac_cv_path_GREP"; then |
4497 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4516 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4498 fi | 4517 fi |
4499 else | 4518 else |
4500 ac_cv_path_GREP=$GREP | 4519 ac_cv_path_GREP=$GREP |
4501 fi | 4520 fi |
4502 | 4521 |
4558 done | 4577 done |
4559 done | 4578 done |
4560 done | 4579 done |
4561 IFS=$as_save_IFS | 4580 IFS=$as_save_IFS |
4562 if test -z "$ac_cv_path_EGREP"; then | 4581 if test -z "$ac_cv_path_EGREP"; then |
4563 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4582 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4564 fi | 4583 fi |
4565 else | 4584 else |
4566 ac_cv_path_EGREP=$EGREP | 4585 ac_cv_path_EGREP=$EGREP |
4567 fi | 4586 fi |
4568 | 4587 |
4690 inttypes.h stdint.h unistd.h | 4709 inttypes.h stdint.h unistd.h |
4691 do : | 4710 do : |
4692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4693 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4694 " | 4713 " |
4695 eval as_val=\$$as_ac_Header | 4714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4696 if test "x$as_val" = x""yes; then : | |
4697 cat >>confdefs.h <<_ACEOF | 4715 cat >>confdefs.h <<_ACEOF |
4698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4699 _ACEOF | 4717 _ACEOF |
4700 | 4718 |
4701 fi | 4719 fi |
4988 if $ac_preproc_ok; then : | 5006 if $ac_preproc_ok; then : |
4989 | 5007 |
4990 else | 5008 else |
4991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4993 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5011 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4994 See \`config.log' for more details." "$LINENO" 5; } | 5012 See \`config.log' for more details" "$LINENO" 5; } |
4995 fi | 5013 fi |
4996 | 5014 |
4997 ac_ext=c | 5015 ac_ext=c |
4998 ac_cpp='$CPP $CPPFLAGS' | 5016 ac_cpp='$CPP $CPPFLAGS' |
4999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5426 ## with pre-built manuals, from a Bazaar checkout. | 5444 ## with pre-built manuals, from a Bazaar checkout. |
5427 if test "$MAKEINFO" = "no"; then | 5445 if test "$MAKEINFO" = "no"; then |
5428 if test "x${with_makeinfo}" = "xno"; then | 5446 if test "x${with_makeinfo}" = "xno"; then |
5429 MAKEINFO=off | 5447 MAKEINFO=off |
5430 elif test ! -e $srcdir/info/emacs; then | 5448 elif test ! -e $srcdir/info/emacs; then |
5431 as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5449 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your |
5432 source tree does not seem to have pre-built manuals in the \`info' directory. | 5450 source tree does not seem to have pre-built manuals in the \`info' directory. |
5433 Either install a suitable version of makeinfo, or re-run configure | 5451 Either install a suitable version of makeinfo, or re-run configure |
5434 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5452 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5435 fi | 5453 fi |
5436 fi | 5454 fi |
5580 ## GNU libc, __malloc_initialized would normally be resolved to the | 5598 ## GNU libc, __malloc_initialized would normally be resolved to the |
5581 ## shared library's .bss section, which is fatal. | 5599 ## shared library's .bss section, which is fatal. |
5582 if test "x$GCC" = "xyes"; then | 5600 if test "x$GCC" = "xyes"; then |
5583 C_SWITCH_MACHINE="-fno-common" | 5601 C_SWITCH_MACHINE="-fno-common" |
5584 else | 5602 else |
5585 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 5603 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 |
5586 fi | 5604 fi |
5587 else | 5605 else |
5588 UNEXEC_OBJ=unexalpha.o | 5606 UNEXEC_OBJ=unexalpha.o |
5589 fi | 5607 fi |
5590 fi | 5608 fi |
5858 else | 5876 else |
5859 | 5877 |
5860 ## Some platforms don't use any of these files, so it is not | 5878 ## Some platforms don't use any of these files, so it is not |
5861 ## appropriate to put this test outside the if block. | 5879 ## appropriate to put this test outside the if block. |
5862 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5880 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5863 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 | 5881 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 |
5864 | 5882 |
5865 fi | 5883 fi |
5866 | 5884 |
5867 | 5885 |
5868 | 5886 |
5913 # Sound support for GNU/Linux and the free BSDs. | 5931 # Sound support for GNU/Linux and the free BSDs. |
5914 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5932 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5915 do : | 5933 do : |
5916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5917 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 5935 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5918 eval as_val=\$$as_ac_Header | 5936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5919 if test "x$as_val" = x""yes; then : | |
5920 cat >>confdefs.h <<_ACEOF | 5937 cat >>confdefs.h <<_ACEOF |
5921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5922 _ACEOF | 5939 _ACEOF |
5923 have_sound_header=yes | 5940 have_sound_header=yes |
5924 fi | 5941 fi |
6105 else | 6122 else |
6106 emacs_alsa_subdir=no | 6123 emacs_alsa_subdir=no |
6107 fi | 6124 fi |
6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6109 if test "$emacs_alsa_subdir" != yes; then | 6126 if test "$emacs_alsa_subdir" != yes; then |
6110 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6127 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6111 fi | 6128 fi |
6112 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6129 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6113 fi | 6130 fi |
6114 | 6131 |
6115 CFLAGS="$SAVE_CFLAGS" | 6132 CFLAGS="$SAVE_CFLAGS" |
6140 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6157 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6141 sys/utsname.h pwd.h utmp.h dirent.h | 6158 sys/utsname.h pwd.h utmp.h dirent.h |
6142 do : | 6159 do : |
6143 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6144 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6161 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6145 eval as_val=\$$as_ac_Header | 6162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6146 if test "x$as_val" = x""yes; then : | |
6147 cat >>confdefs.h <<_ACEOF | 6163 cat >>confdefs.h <<_ACEOF |
6148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6149 _ACEOF | 6165 _ACEOF |
6150 | 6166 |
6151 fi | 6167 fi |
6983 | 6999 |
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6985 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 7001 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6986 set x ${MAKE-make} | 7002 set x ${MAKE-make} |
6987 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 7003 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6988 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 7004 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
6989 $as_echo_n "(cached) " >&6 | 7005 $as_echo_n "(cached) " >&6 |
6990 else | 7006 else |
6991 cat >conftest.make <<\_ACEOF | 7007 cat >conftest.make <<\_ACEOF |
6992 SHELL = /bin/sh | 7008 SHELL = /bin/sh |
6993 all: | 7009 all: |
6994 @echo '@@@%%%=$(MAKE)=@@@%%%' | 7010 @echo '@@@%%%=$(MAKE)=@@@%%%' |
6995 _ACEOF | 7011 _ACEOF |
6996 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7012 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
6997 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 7013 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
6998 *@@@%%%=?*=@@@%%%*) | 7014 *@@@%%%=?*=@@@%%%*) |
6999 eval ac_cv_prog_make_${ac_make}_set=yes;; | 7015 eval ac_cv_prog_make_${ac_make}_set=yes;; |
7000 *) | 7016 *) |
7001 eval ac_cv_prog_make_${ac_make}_set=no;; | 7017 eval ac_cv_prog_make_${ac_make}_set=no;; |
7127 if test "x$with_x" = xno; then | 7143 if test "x$with_x" = xno; then |
7128 # The user explicitly disabled X. | 7144 # The user explicitly disabled X. |
7129 have_x=disabled | 7145 have_x=disabled |
7130 else | 7146 else |
7131 case $x_includes,$x_libraries in #( | 7147 case $x_includes,$x_libraries in #( |
7132 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 7148 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
7133 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 7149 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
7134 $as_echo_n "(cached) " >&6 | 7150 $as_echo_n "(cached) " >&6 |
7135 else | 7151 else |
7136 # One or both of the vars are not set, and there is no cached value. | 7152 # One or both of the vars are not set, and there is no cached value. |
7137 ac_x_includes=no ac_x_libraries=no | 7153 ac_x_includes=no ac_x_libraries=no |
7145 @echo usrlibdir='${USRLIBDIR}' | 7161 @echo usrlibdir='${USRLIBDIR}' |
7146 libdir: | 7162 libdir: |
7147 @echo libdir='${LIBDIR}' | 7163 @echo libdir='${LIBDIR}' |
7148 _ACEOF | 7164 _ACEOF |
7149 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | 7165 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
7150 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7166 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
7151 for ac_var in incroot usrlibdir libdir; do | 7167 for ac_var in incroot usrlibdir libdir; do |
7152 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | 7168 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
7153 done | 7169 done |
7154 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 7170 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
7155 for ac_extension in a so sl dylib la dll; do | 7171 for ac_extension in a so sl dylib la dll; do |
7414 fi | 7430 fi |
7415 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 7431 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
7416 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 7432 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
7417 HAVE_NS=yes | 7433 HAVE_NS=yes |
7418 else | 7434 else |
7419 as_fn_error "\`--with-ns' was specified, but the include | 7435 as_fn_error $? "\`--with-ns' was specified, but the include |
7420 files are missing or cannot be compiled." "$LINENO" 5 | 7436 files are missing or cannot be compiled." "$LINENO" 5 |
7421 fi | 7437 fi |
7422 | 7438 |
7423 | 7439 |
7424 NS_HAVE_NSINTEGER=yes | 7440 NS_HAVE_NSINTEGER=yes |
7530 | 7546 |
7531 | 7547 |
7532 if test "$HAVE_XSERVER" = true || | 7548 if test "$HAVE_XSERVER" = true || |
7533 test -n "$DISPLAY" || | 7549 test -n "$DISPLAY" || |
7534 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7550 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7535 as_fn_error "You seem to be running X, but no X development libraries | 7551 as_fn_error $? "You seem to be running X, but no X development libraries |
7536 were found. You should install the relevant development files for X | 7552 were found. You should install the relevant development files for X |
7537 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7553 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7538 sure you have development files for image handling, i.e. | 7554 sure you have development files for image handling, i.e. |
7539 tiff, gif, jpeg, png and xpm. | 7555 tiff, gif, jpeg, png and xpm. |
7540 If you are sure you want Emacs compiled without X window support, pass | 7556 If you are sure you want Emacs compiled without X window support, pass |
7653 for ac_header in $ac_header_list | 7669 for ac_header in $ac_header_list |
7654 do : | 7670 do : |
7655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7657 " | 7673 " |
7658 eval as_val=\$$as_ac_Header | 7674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7659 if test "x$as_val" = x""yes; then : | |
7660 cat >>confdefs.h <<_ACEOF | 7675 cat >>confdefs.h <<_ACEOF |
7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7662 _ACEOF | 7677 _ACEOF |
7663 | 7678 |
7664 fi | 7679 fi |
7760 | 7775 |
7761 int | 7776 int |
7762 main () | 7777 main () |
7763 { | 7778 { |
7764 char *data, *data2, *data3; | 7779 char *data, *data2, *data3; |
7780 const char *cdata2; | |
7765 int i, pagesize; | 7781 int i, pagesize; |
7766 int fd, fd2; | 7782 int fd, fd2; |
7767 | 7783 |
7768 pagesize = getpagesize (); | 7784 pagesize = getpagesize (); |
7769 | 7785 |
7784 /* Next, check that the tail of a page is zero-filled. File must have | 7800 /* Next, check that the tail of a page is zero-filled. File must have |
7785 non-zero length, otherwise we risk SIGBUS for entire page. */ | 7801 non-zero length, otherwise we risk SIGBUS for entire page. */ |
7786 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | 7802 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
7787 if (fd2 < 0) | 7803 if (fd2 < 0) |
7788 return 4; | 7804 return 4; |
7789 data2 = ""; | 7805 cdata2 = ""; |
7790 if (write (fd2, data2, 1) != 1) | 7806 if (write (fd2, cdata2, 1) != 1) |
7791 return 5; | 7807 return 5; |
7792 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | 7808 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
7793 if (data2 == MAP_FAILED) | 7809 if (data2 == MAP_FAILED) |
7794 return 6; | 7810 return 6; |
7795 for (i = 0; i < pagesize; ++i) | 7811 for (i = 0; i < pagesize; ++i) |
7796 if (*(data2 + i)) | 7812 if (*(data2 + i)) |
7797 return 7; | 7813 return 7; |
8160 for ac_func in XrmSetDatabase XScreenResourceString \ | 8176 for ac_func in XrmSetDatabase XScreenResourceString \ |
8161 XScreenNumberOfScreen XSetWMProtocols | 8177 XScreenNumberOfScreen XSetWMProtocols |
8162 do : | 8178 do : |
8163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8165 eval as_val=\$$as_ac_var | 8181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
8166 if test "x$as_val" = x""yes; then : | |
8167 cat >>confdefs.h <<_ACEOF | 8182 cat >>confdefs.h <<_ACEOF |
8168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8169 _ACEOF | 8184 _ACEOF |
8170 | 8185 |
8171 fi | 8186 fi |
8442 else | 8457 else |
8443 pkg_check_gtk=no | 8458 pkg_check_gtk=no |
8444 fi | 8459 fi |
8445 | 8460 |
8446 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8461 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8447 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8462 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8448 fi | 8463 fi |
8449 fi | 8464 fi |
8450 | 8465 |
8451 if test "$pkg_check_gtk" != "yes"; then | 8466 if test "$pkg_check_gtk" != "yes"; then |
8452 HAVE_GTK=no | 8467 HAVE_GTK=no |
8548 else | 8563 else |
8549 pkg_check_gtk=no | 8564 pkg_check_gtk=no |
8550 fi | 8565 fi |
8551 | 8566 |
8552 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8567 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8553 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8568 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8554 fi | 8569 fi |
8555 fi | 8570 fi |
8556 fi | 8571 fi |
8557 | 8572 |
8558 GTK_OBJ= | 8573 GTK_OBJ= |
8575 fi | 8590 fi |
8576 done | 8591 done |
8577 | 8592 |
8578 if test "${GTK_COMPILES}" != "yes"; then | 8593 if test "${GTK_COMPILES}" != "yes"; then |
8579 if test "$USE_X_TOOLKIT" != "maybe"; then | 8594 if test "$USE_X_TOOLKIT" != "maybe"; then |
8580 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 8595 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
8581 fi | 8596 fi |
8582 else | 8597 else |
8583 HAVE_GTK=yes | 8598 HAVE_GTK=yes |
8584 | 8599 |
8585 $as_echo "#define USE_GTK 1" >>confdefs.h | 8600 $as_echo "#define USE_GTK 1" >>confdefs.h |
8705 gtk_widget_get_mapped gtk_adjustment_get_page_size \ | 8720 gtk_widget_get_mapped gtk_adjustment_get_page_size \ |
8706 gtk_orientable_set_orientation | 8721 gtk_orientable_set_orientation |
8707 do : | 8722 do : |
8708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8710 eval as_val=\$$as_ac_var | 8725 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
8711 if test "x$as_val" = x""yes; then : | |
8712 cat >>confdefs.h <<_ACEOF | 8726 cat >>confdefs.h <<_ACEOF |
8713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8714 _ACEOF | 8728 _ACEOF |
8715 | 8729 |
8716 fi | 8730 fi |
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
9072 $as_echo "yes; using Lucid toolkit" >&6; } | 9086 $as_echo "yes; using Lucid toolkit" >&6; } |
9073 USE_X_TOOLKIT=LUCID | 9087 USE_X_TOOLKIT=LUCID |
9074 LUCID_LIBW=-lXaw | 9088 LUCID_LIBW=-lXaw |
9075 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 9089 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
9076 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 9090 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
9077 else | 9091 else |
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
9079 $as_echo "no; do not use toolkit by default" >&6; } | 9093 $as_echo "no; do not use toolkit by default" >&6; } |
9080 USE_X_TOOLKIT=none | 9094 USE_X_TOOLKIT=none |
9081 fi | 9095 fi |
10248 # in /usr/include/libpng. | 10262 # in /usr/include/libpng. |
10249 for ac_header in png.h libpng/png.h | 10263 for ac_header in png.h libpng/png.h |
10250 do : | 10264 do : |
10251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 10266 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10253 eval as_val=\$$as_ac_Header | 10267 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
10254 if test "x$as_val" = x""yes; then : | |
10255 cat >>confdefs.h <<_ACEOF | 10268 cat >>confdefs.h <<_ACEOF |
10256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10257 _ACEOF | 10270 _ACEOF |
10258 | 10271 |
10259 fi | 10272 fi |
10501 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 10514 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10502 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 10515 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10503 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 10516 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10504 | 10517 |
10505 if test "X${MISSING}" != X; then | 10518 if test "X${MISSING}" != X; then |
10506 as_fn_error "The following required libraries were not found: | 10519 as_fn_error $? "The following required libraries were not found: |
10507 $MISSING | 10520 $MISSING |
10508 Maybe some development libraries/packages are missing? | 10521 Maybe some development libraries/packages are missing? |
10509 If you don't want to link with them give | 10522 If you don't want to link with them give |
10510 $WITH_NO | 10523 $WITH_NO |
10511 as options to configure" "$LINENO" 5 | 10524 as options to configure" "$LINENO" 5 |
10836 $as_echo "$ac_cv_os_cray" >&6; } | 10849 $as_echo "$ac_cv_os_cray" >&6; } |
10837 if test $ac_cv_os_cray = yes; then | 10850 if test $ac_cv_os_cray = yes; then |
10838 for ac_func in _getb67 GETB67 getb67; do | 10851 for ac_func in _getb67 GETB67 getb67; do |
10839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 10853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
10841 eval as_val=\$$as_ac_var | 10854 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
10842 if test "x$as_val" = x""yes; then : | |
10843 | 10855 |
10844 cat >>confdefs.h <<_ACEOF | 10856 cat >>confdefs.h <<_ACEOF |
10845 #define CRAY_STACKSEG_END $ac_func | 10857 #define CRAY_STACKSEG_END $ac_func |
10846 _ACEOF | 10858 _ACEOF |
10847 | 10859 |
10901 | 10913 |
10902 fi | 10914 fi |
10903 | 10915 |
10904 | 10916 |
10905 if test x"$ac_cv_func_alloca_works" != xyes; then | 10917 if test x"$ac_cv_func_alloca_works" != xyes; then |
10906 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 10918 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 |
10907 fi | 10919 fi |
10908 | 10920 |
10909 # fmod, logb, and frexp are found in -lm on most systems. | 10921 # fmod, logb, and frexp are found in -lm on most systems. |
10910 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 10922 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
11097 $as_echo "no" >&6; } | 11109 $as_echo "no" >&6; } |
11098 fi | 11110 fi |
11099 | 11111 |
11100 | 11112 |
11101 if test $ac_cv_prog_liblockfile = yes; then | 11113 if test $ac_cv_prog_liblockfile = yes; then |
11102 as_fn_error "Shared liblockfile found but can't link against it. | 11114 as_fn_error $? "Shared liblockfile found but can't link against it. |
11103 This probably means that movemail could lose mail. | 11115 This probably means that movemail could lose mail. |
11104 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 11116 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
11105 fi | 11117 fi |
11106 fi | 11118 fi |
11107 for ac_func in touchlock | 11119 for ac_func in touchlock |
11186 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 11198 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11187 cfmakeraw cfsetspeed isnan copysign __executable_start | 11199 cfmakeraw cfsetspeed isnan copysign __executable_start |
11188 do : | 11200 do : |
11189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11191 eval as_val=\$$as_ac_var | 11203 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11192 if test "x$as_val" = x""yes; then : | |
11193 cat >>confdefs.h <<_ACEOF | 11204 cat >>confdefs.h <<_ACEOF |
11194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11195 _ACEOF | 11206 _ACEOF |
11196 | 11207 |
11197 fi | 11208 fi |
11218 | 11229 |
11219 for ac_func in $ac_func_list | 11230 for ac_func in $ac_func_list |
11220 do : | 11231 do : |
11221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11223 eval as_val=\$$as_ac_var | 11234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11224 if test "x$as_val" = x""yes; then : | |
11225 cat >>confdefs.h <<_ACEOF | 11235 cat >>confdefs.h <<_ACEOF |
11226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11227 _ACEOF | 11237 _ACEOF |
11228 | 11238 |
11229 fi | 11239 fi |
11271 | 11281 |
11272 static time_t time_t_max; | 11282 static time_t time_t_max; |
11273 static time_t time_t_min; | 11283 static time_t time_t_min; |
11274 | 11284 |
11275 /* Values we'll use to set the TZ environment variable. */ | 11285 /* Values we'll use to set the TZ environment variable. */ |
11276 static char *tz_strings[] = { | 11286 static const char *tz_strings[] = { |
11277 (char *) 0, "TZ=GMT0", "TZ=JST-9", | 11287 (const char *) 0, "TZ=GMT0", "TZ=JST-9", |
11278 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 11288 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
11279 }; | 11289 }; |
11280 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 11290 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
11281 | 11291 |
11282 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 11292 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
11289 | 11299 |
11290 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11300 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11291 instead of "TZ=America/Vancouver" in order to detect the bug even | 11301 instead of "TZ=America/Vancouver" in order to detect the bug even |
11292 on systems that don't support the Olson extension, or don't have the | 11302 on systems that don't support the Olson extension, or don't have the |
11293 full zoneinfo tables installed. */ | 11303 full zoneinfo tables installed. */ |
11294 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 11304 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
11295 | 11305 |
11296 tm.tm_year = 98; | 11306 tm.tm_year = 98; |
11297 tm.tm_mon = 3; | 11307 tm.tm_mon = 3; |
11298 tm.tm_mday = 5; | 11308 tm.tm_mday = 5; |
11299 tm.tm_hour = 2; | 11309 tm.tm_hour = 2; |
11302 tm.tm_isdst = -1; | 11312 tm.tm_isdst = -1; |
11303 return mktime (&tm) != (time_t) -1; | 11313 return mktime (&tm) != (time_t) -1; |
11304 } | 11314 } |
11305 | 11315 |
11306 static int | 11316 static int |
11307 mktime_test1 (now) | 11317 mktime_test1 (time_t now) |
11308 time_t now; | |
11309 { | 11318 { |
11310 struct tm *lt; | 11319 struct tm *lt; |
11311 return ! (lt = localtime (&now)) || mktime (lt) == now; | 11320 return ! (lt = localtime (&now)) || mktime (lt) == now; |
11312 } | 11321 } |
11313 | 11322 |
11314 static int | 11323 static int |
11315 mktime_test (now) | 11324 mktime_test (time_t now) |
11316 time_t now; | |
11317 { | 11325 { |
11318 return (mktime_test1 (now) | 11326 return (mktime_test1 (now) |
11319 && mktime_test1 ((time_t) (time_t_max - now)) | 11327 && mktime_test1 ((time_t) (time_t_max - now)) |
11320 && mktime_test1 ((time_t) (time_t_min + now))); | 11328 && mktime_test1 ((time_t) (time_t_min + now))); |
11321 } | 11329 } |
11335 mktime (&tm); | 11343 mktime (&tm); |
11336 return tm.tm_mon == 2 && tm.tm_mday == 31; | 11344 return tm.tm_mon == 2 && tm.tm_mday == 31; |
11337 } | 11345 } |
11338 | 11346 |
11339 static int | 11347 static int |
11340 bigtime_test (j) | 11348 bigtime_test (int j) |
11341 int j; | |
11342 { | 11349 { |
11343 struct tm tm; | 11350 struct tm tm; |
11344 time_t now; | 11351 time_t now; |
11345 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | 11352 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; |
11346 now = mktime (&tm); | 11353 now = mktime (&tm); |
11380 | 11387 |
11381 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11388 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11382 instead of "TZ=America/Vancouver" in order to detect the bug even | 11389 instead of "TZ=America/Vancouver" in order to detect the bug even |
11383 on systems that don't support the Olson extension, or don't have the | 11390 on systems that don't support the Olson extension, or don't have the |
11384 full zoneinfo tables installed. */ | 11391 full zoneinfo tables installed. */ |
11385 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 11392 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
11386 | 11393 |
11387 t = mktime (&tm); | 11394 t = mktime (&tm); |
11388 | 11395 |
11389 /* Check that the result is either a failure, or close enough | 11396 /* Check that the result is either a failure, or close enough |
11390 to the correct answer that we can assume the discrepancy is | 11397 to the correct answer that we can assume the discrepancy is |
11415 | 11422 |
11416 delta = time_t_max / 997; /* a suitable prime number */ | 11423 delta = time_t_max / 997; /* a suitable prime number */ |
11417 for (i = 0; i < N_STRINGS; i++) | 11424 for (i = 0; i < N_STRINGS; i++) |
11418 { | 11425 { |
11419 if (tz_strings[i]) | 11426 if (tz_strings[i]) |
11420 putenv (tz_strings[i]); | 11427 putenv ((char*) tz_strings[i]); |
11421 | 11428 |
11422 for (t = 0; t <= time_t_max - delta; t += delta) | 11429 for (t = 0; t <= time_t_max - delta; t += delta) |
11423 if (! mktime_test (t)) | 11430 if (! mktime_test (t)) |
11424 return 1; | 11431 return 1; |
11425 if (! (mktime_test ((time_t) 1) | 11432 if (! (mktime_test ((time_t) 1) |
11467 | 11474 |
11468 ac_have_func=no # yes means we've found a way to get the load average. | 11475 ac_have_func=no # yes means we've found a way to get the load average. |
11469 | 11476 |
11470 # Make sure getloadavg.c is where it belongs, at configure-time. | 11477 # Make sure getloadavg.c is where it belongs, at configure-time. |
11471 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 11478 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11472 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 11479 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
11473 | 11480 |
11474 ac_save_LIBS=$LIBS | 11481 ac_save_LIBS=$LIBS |
11475 | 11482 |
11476 # Check for getloadavg, but be sure not to touch the cache variable. | 11483 # Check for getloadavg, but be sure not to touch the cache variable. |
11477 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 11484 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12336 else | 12343 else |
12337 have_tputs_et_al=false | 12344 have_tputs_et_al=false |
12338 fi | 12345 fi |
12339 | 12346 |
12340 if test "$have_tputs_et_al" != true; then | 12347 if test "$have_tputs_et_al" != true; then |
12341 as_fn_error "I couldn't find termcap functions (tputs and friends). | 12348 as_fn_error $? "I couldn't find termcap functions (tputs and friends). |
12342 Maybe some development libraries/packages are missing? Try installing | 12349 Maybe some development libraries/packages are missing? Try installing |
12343 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 12350 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
12344 fi | 12351 fi |
12345 # Must define this when any termcap library is found. | 12352 # Must define this when any termcap library is found. |
12346 | 12353 |
13483 | 13490 |
13484 for ac_func in fork vfork | 13491 for ac_func in fork vfork |
13485 do : | 13492 do : |
13486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 13494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13488 eval as_val=\$$as_ac_var | 13495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13489 if test "x$as_val" = x""yes; then : | |
13490 cat >>confdefs.h <<_ACEOF | 13496 cat >>confdefs.h <<_ACEOF |
13491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13492 _ACEOF | 13498 _ACEOF |
13493 | 13499 |
13494 fi | 13500 fi |
13858 ## Hack to detect a buggy GCC version. | 13864 ## Hack to detect a buggy GCC version. |
13859 if test "x$GCC" = xyes \ | 13865 if test "x$GCC" = xyes \ |
13860 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ | 13866 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ |
13861 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ | 13867 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ |
13862 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then | 13868 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then |
13863 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 | 13869 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 |
13864 fi | 13870 fi |
13865 | 13871 |
13866 #### Find out which version of Emacs this is. | 13872 #### Find out which version of Emacs this is. |
13867 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 13873 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
13868 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 13874 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
13869 if test x"${version}" = x; then | 13875 if test x"${version}" = x; then |
13870 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 13876 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 |
13871 fi | 13877 fi |
13872 if test x"${version}" != x"$PACKAGE_VERSION"; then | 13878 if test x"${version}" != x"$PACKAGE_VERSION"; then |
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 | 13879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 |
13874 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} | 13880 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
13875 fi | 13881 fi |
14423 | 14429 |
14424 DEFS=-DHAVE_CONFIG_H | 14430 DEFS=-DHAVE_CONFIG_H |
14425 | 14431 |
14426 ac_libobjs= | 14432 ac_libobjs= |
14427 ac_ltlibobjs= | 14433 ac_ltlibobjs= |
14434 U= | |
14428 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 14435 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14429 # 1. Remove the extension, and $U if already installed. | 14436 # 1. Remove the extension, and $U if already installed. |
14430 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 14437 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14431 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 14438 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14432 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 14439 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
14584 | 14591 |
14585 # CDPATH. | 14592 # CDPATH. |
14586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 14593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14587 | 14594 |
14588 | 14595 |
14589 # as_fn_error ERROR [LINENO LOG_FD] | 14596 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
14590 # --------------------------------- | 14597 # ---------------------------------------- |
14591 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 14598 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14592 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 14599 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14593 # script with status $?, using 1 if that was 0. | 14600 # script with STATUS, using 1 if that was 0. |
14594 as_fn_error () | 14601 as_fn_error () |
14595 { | 14602 { |
14596 as_status=$?; test $as_status -eq 0 && as_status=1 | 14603 as_status=$1; test $as_status -eq 0 && as_status=1 |
14597 if test "$3"; then | 14604 if test "$4"; then |
14598 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 14605 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14599 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 14606 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
14600 fi | 14607 fi |
14601 $as_echo "$as_me: error: $1" >&2 | 14608 $as_echo "$as_me: error: $2" >&2 |
14602 as_fn_exit $as_status | 14609 as_fn_exit $as_status |
14603 } # as_fn_error | 14610 } # as_fn_error |
14604 | 14611 |
14605 | 14612 |
14606 # as_fn_set_status STATUS | 14613 # as_fn_set_status STATUS |
14792 } | 14799 } |
14793 s/.*/./; q'` | 14800 s/.*/./; q'` |
14794 test -d "$as_dir" && break | 14801 test -d "$as_dir" && break |
14795 done | 14802 done |
14796 test -z "$as_dirs" || eval "mkdir $as_dirs" | 14803 test -z "$as_dirs" || eval "mkdir $as_dirs" |
14797 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 14804 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
14798 | 14805 |
14799 | 14806 |
14800 } # as_fn_mkdir_p | 14807 } # as_fn_mkdir_p |
14801 if mkdir -p . 2>/dev/null; then | 14808 if mkdir -p . 2>/dev/null; then |
14802 as_mkdir_p='mkdir -p "$as_dir"' | 14809 as_mkdir_p='mkdir -p "$as_dir"' |
14846 # Save the log message, to keep $0 and so on meaningful, and to | 14853 # Save the log message, to keep $0 and so on meaningful, and to |
14847 # report actual input values of CONFIG_FILES etc. instead of their | 14854 # report actual input values of CONFIG_FILES etc. instead of their |
14848 # values after options handling. | 14855 # values after options handling. |
14849 ac_log=" | 14856 ac_log=" |
14850 This file was extended by emacs $as_me 24.0.50, which was | 14857 This file was extended by emacs $as_me 24.0.50, which was |
14851 generated by GNU Autoconf 2.65. Invocation command line was | 14858 generated by GNU Autoconf 2.66. Invocation command line was |
14852 | 14859 |
14853 CONFIG_FILES = $CONFIG_FILES | 14860 CONFIG_FILES = $CONFIG_FILES |
14854 CONFIG_HEADERS = $CONFIG_HEADERS | 14861 CONFIG_HEADERS = $CONFIG_HEADERS |
14855 CONFIG_LINKS = $CONFIG_LINKS | 14862 CONFIG_LINKS = $CONFIG_LINKS |
14856 CONFIG_COMMANDS = $CONFIG_COMMANDS | 14863 CONFIG_COMMANDS = $CONFIG_COMMANDS |
14912 _ACEOF | 14919 _ACEOF |
14913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14914 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 14921 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14915 ac_cs_version="\\ | 14922 ac_cs_version="\\ |
14916 emacs config.status 24.0.50 | 14923 emacs config.status 24.0.50 |
14917 configured by $0, generated by GNU Autoconf 2.65, | 14924 configured by $0, generated by GNU Autoconf 2.66, |
14918 with options \\"\$ac_cs_config\\" | 14925 with options \\"\$ac_cs_config\\" |
14919 | 14926 |
14920 Copyright (C) 2009 Free Software Foundation, Inc. | 14927 Copyright (C) 2010 Free Software Foundation, Inc. |
14921 This config.status script is free software; the Free Software Foundation | 14928 This config.status script is free software; the Free Software Foundation |
14922 gives unlimited permission to copy, distribute and modify it." | 14929 gives unlimited permission to copy, distribute and modify it." |
14923 | 14930 |
14924 ac_pwd='$ac_pwd' | 14931 ac_pwd='$ac_pwd' |
14925 srcdir='$srcdir' | 14932 srcdir='$srcdir' |
14969 esac | 14976 esac |
14970 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 14977 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
14971 ac_need_defaults=false;; | 14978 ac_need_defaults=false;; |
14972 --he | --h) | 14979 --he | --h) |
14973 # Conflict between --help and --header | 14980 # Conflict between --help and --header |
14974 as_fn_error "ambiguous option: \`$1' | 14981 as_fn_error $? "ambiguous option: \`$1' |
14975 Try \`$0 --help' for more information.";; | 14982 Try \`$0 --help' for more information.";; |
14976 --help | --hel | -h ) | 14983 --help | --hel | -h ) |
14977 $as_echo "$ac_cs_usage"; exit ;; | 14984 $as_echo "$ac_cs_usage"; exit ;; |
14978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 14985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14979 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 14986 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
14980 ac_cs_silent=: ;; | 14987 ac_cs_silent=: ;; |
14981 | 14988 |
14982 # This is an error. | 14989 # This is an error. |
14983 -*) as_fn_error "unrecognized option: \`$1' | 14990 -*) as_fn_error $? "unrecognized option: \`$1' |
14984 Try \`$0 --help' for more information." ;; | 14991 Try \`$0 --help' for more information." ;; |
14985 | 14992 |
14986 *) as_fn_append ac_config_targets " $1" | 14993 *) as_fn_append ac_config_targets " $1" |
14987 ac_need_defaults=false ;; | 14994 ac_need_defaults=false ;; |
14988 | 14995 |
15046 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 15053 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
15047 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 15054 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
15048 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 15055 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
15049 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 15056 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
15050 | 15057 |
15051 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15058 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15052 esac | 15059 esac |
15053 done | 15060 done |
15054 | 15061 |
15055 | 15062 |
15056 # If the user did not use the arguments to specify the items to instantiate, | 15063 # If the user did not use the arguments to specify the items to instantiate, |
15084 test -n "$tmp" && test -d "$tmp" | 15091 test -n "$tmp" && test -d "$tmp" |
15085 } || | 15092 } || |
15086 { | 15093 { |
15087 tmp=./conf$$-$RANDOM | 15094 tmp=./conf$$-$RANDOM |
15088 (umask 077 && mkdir "$tmp") | 15095 (umask 077 && mkdir "$tmp") |
15089 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 15096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15090 | 15097 |
15091 # Set up the scripts for CONFIG_FILES section. | 15098 # Set up the scripts for CONFIG_FILES section. |
15092 # No need to generate them if there are no CONFIG_FILES. | 15099 # No need to generate them if there are no CONFIG_FILES. |
15093 # This happens for instance with `./config.status config.h'. | 15100 # This happens for instance with `./config.status config.h'. |
15094 if test -n "$CONFIG_FILES"; then | 15101 if test -n "$CONFIG_FILES"; then |
15118 if test "x$ac_cr" = x; then | 15125 if test "x$ac_cr" = x; then |
15119 eval ac_cr=\$\'\\r\' | 15126 eval ac_cr=\$\'\\r\' |
15120 fi | 15127 fi |
15121 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 15128 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15122 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 15129 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15123 ac_cs_awk_cr='\r' | 15130 ac_cs_awk_cr='\\r' |
15124 else | 15131 else |
15125 ac_cs_awk_cr=$ac_cr | 15132 ac_cs_awk_cr=$ac_cr |
15126 fi | 15133 fi |
15127 | 15134 |
15128 echo 'BEGIN {' >"$tmp/subs1.awk" && | 15135 echo 'BEGIN {' >"$tmp/subs1.awk" && |
15135 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | 15142 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
15136 echo "_ACAWK" && | 15143 echo "_ACAWK" && |
15137 echo "_ACEOF" | 15144 echo "_ACEOF" |
15138 } >conf$$files.sh && | 15145 } >conf$$files.sh && |
15139 . ./conf$$files.sh || | 15146 . ./conf$$files.sh || |
15140 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15147 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15141 rm -f conf$$files.sh | 15148 rm -f conf$$files.sh |
15142 | 15149 |
15143 { | 15150 { |
15144 echo "cat >conf$$subs.awk <<_ACEOF" && | 15151 echo "cat >conf$$subs.awk <<_ACEOF" && |
15145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 15152 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15146 echo "_ACEOF" | 15153 echo "_ACEOF" |
15147 } >conf$$subs.sh || | 15154 } >conf$$subs.sh || |
15148 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15149 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 15156 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15150 ac_delim='%!_!# ' | 15157 ac_delim='%!_!# ' |
15151 for ac_last_try in false false false false false :; do | 15158 for ac_last_try in false false false false false :; do |
15152 . ./conf$$subs.sh || | 15159 . ./conf$$subs.sh || |
15153 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15160 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15154 | 15161 |
15155 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 15162 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15156 if test $ac_delim_n = $ac_delim_num; then | 15163 if test $ac_delim_n = $ac_delim_num; then |
15157 break | 15164 break |
15158 elif $ac_last_try; then | 15165 elif $ac_last_try; then |
15159 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15166 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15160 else | 15167 else |
15161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15162 fi | 15169 fi |
15163 done | 15170 done |
15164 rm -f conf$$subs.sh | 15171 rm -f conf$$subs.sh |
15249 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 15256 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15250 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 15257 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15251 else | 15258 else |
15252 cat | 15259 cat |
15253 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 15260 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15254 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 15261 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15255 _ACEOF | 15262 _ACEOF |
15256 | 15263 |
15257 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 15264 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 15265 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15259 # trailing colons and then remove the whole line if VPATH becomes empty | 15266 # trailing colons and then remove the whole line if VPATH becomes empty |
15260 # (actually we leave an empty line to preserve line numbers). | 15267 # (actually we leave an empty line to preserve line numbers). |
15261 if test "x$srcdir" = x.; then | 15268 if test "x$srcdir" = x.; then |
15262 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 15269 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15263 s/:*\$(srcdir):*/:/ | 15270 h |
15264 s/:*\${srcdir}:*/:/ | 15271 s/// |
15265 s/:*@srcdir@:*/:/ | 15272 s/^/:/ |
15266 s/^\([^=]*=[ ]*\):*/\1/ | 15273 s/[ ]*$/:/ |
15274 s/:\$(srcdir):/:/g | |
15275 s/:\${srcdir}:/:/g | |
15276 s/:@srcdir@:/:/g | |
15277 s/^:*// | |
15267 s/:*$// | 15278 s/:*$// |
15279 x | |
15280 s/\(=[ ]*\).*/\1/ | |
15281 G | |
15282 s/\n// | |
15268 s/^[^=]*=[ ]*$// | 15283 s/^[^=]*=[ ]*$// |
15269 }' | 15284 }' |
15270 fi | 15285 fi |
15271 | 15286 |
15272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15290 for ac_last_try in false false :; do | 15305 for ac_last_try in false false :; do |
15291 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 15306 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15292 if test -z "$ac_t"; then | 15307 if test -z "$ac_t"; then |
15293 break | 15308 break |
15294 elif $ac_last_try; then | 15309 elif $ac_last_try; then |
15295 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 15310 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15296 else | 15311 else |
15297 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15312 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15298 fi | 15313 fi |
15299 done | 15314 done |
15300 | 15315 |
15375 } | 15390 } |
15376 { print } | 15391 { print } |
15377 _ACAWK | 15392 _ACAWK |
15378 _ACEOF | 15393 _ACEOF |
15379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15380 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 15395 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
15381 fi # test -n "$CONFIG_HEADERS" | 15396 fi # test -n "$CONFIG_HEADERS" |
15382 | 15397 |
15383 | 15398 |
15384 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 15399 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15385 shift | 15400 shift |
15388 case $ac_tag in | 15403 case $ac_tag in |
15389 :[FHLC]) ac_mode=$ac_tag; continue;; | 15404 :[FHLC]) ac_mode=$ac_tag; continue;; |
15390 esac | 15405 esac |
15391 case $ac_mode$ac_tag in | 15406 case $ac_mode$ac_tag in |
15392 :[FHL]*:*);; | 15407 :[FHL]*:*);; |
15393 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 15408 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15394 :[FH]-) ac_tag=-:-;; | 15409 :[FH]-) ac_tag=-:-;; |
15395 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 15410 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15396 esac | 15411 esac |
15397 ac_save_IFS=$IFS | 15412 ac_save_IFS=$IFS |
15398 IFS=: | 15413 IFS=: |
15416 test -f "$ac_f" || | 15431 test -f "$ac_f" || |
15417 case $ac_f in | 15432 case $ac_f in |
15418 [\\/$]*) false;; | 15433 [\\/$]*) false;; |
15419 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 15434 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15420 esac || | 15435 esac || |
15421 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 15436 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15422 esac | 15437 esac |
15423 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 15438 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15424 as_fn_append ac_file_inputs " '$ac_f'" | 15439 as_fn_append ac_file_inputs " '$ac_f'" |
15425 done | 15440 done |
15426 | 15441 |
15443 *) ac_sed_conf_input=$configure_input;; | 15458 *) ac_sed_conf_input=$configure_input;; |
15444 esac | 15459 esac |
15445 | 15460 |
15446 case $ac_tag in | 15461 case $ac_tag in |
15447 *:-:* | *:-) cat >"$tmp/stdin" \ | 15462 *:-:* | *:-) cat >"$tmp/stdin" \ |
15448 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 15463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
15449 esac | 15464 esac |
15450 ;; | 15465 ;; |
15451 esac | 15466 esac |
15452 | 15467 |
15453 ac_dir=`$as_dirname -- "$ac_file" || | 15468 ac_dir=`$as_dirname -- "$ac_file" || |
15579 if $ac_cs_awk_getline; then | 15594 if $ac_cs_awk_getline; then |
15580 $AWK -f "$tmp/subs.awk" | 15595 $AWK -f "$tmp/subs.awk" |
15581 else | 15596 else |
15582 $AWK -f "$tmp/subs.awk" | $SHELL | 15597 $AWK -f "$tmp/subs.awk" | $SHELL |
15583 fi >$tmp/out \ | 15598 fi >$tmp/out \ |
15584 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15585 | 15600 |
15586 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 15601 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15587 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 15602 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
15588 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 15603 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15590 which seems to be undefined. Please make sure it is defined." >&5 | 15605 which seems to be undefined. Please make sure it is defined" >&5 |
15591 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15606 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15592 which seems to be undefined. Please make sure it is defined." >&2;} | 15607 which seems to be undefined. Please make sure it is defined" >&2;} |
15593 | 15608 |
15594 rm -f "$tmp/stdin" | 15609 rm -f "$tmp/stdin" |
15595 case $ac_file in | 15610 case $ac_file in |
15596 -) cat "$tmp/out" && rm -f "$tmp/out";; | 15611 -) cat "$tmp/out" && rm -f "$tmp/out";; |
15597 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 15612 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
15598 esac \ | 15613 esac \ |
15599 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15600 ;; | 15615 ;; |
15601 :H) | 15616 :H) |
15602 # | 15617 # |
15603 # CONFIG_HEADER | 15618 # CONFIG_HEADER |
15604 # | 15619 # |
15605 if test x"$ac_file" != x-; then | 15620 if test x"$ac_file" != x-; then |
15606 { | 15621 { |
15607 $as_echo "/* $configure_input */" \ | 15622 $as_echo "/* $configure_input */" \ |
15608 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 15623 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
15609 } >"$tmp/config.h" \ | 15624 } >"$tmp/config.h" \ |
15610 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15611 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 15626 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 15627 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15613 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 15628 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
15614 else | 15629 else |
15615 rm -f "$ac_file" | 15630 rm -f "$ac_file" |
15616 mv "$tmp/config.h" "$ac_file" \ | 15631 mv "$tmp/config.h" "$ac_file" \ |
15617 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15632 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15618 fi | 15633 fi |
15619 else | 15634 else |
15620 $as_echo "/* $configure_input */" \ | 15635 $as_echo "/* $configure_input */" \ |
15621 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 15636 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
15622 || as_fn_error "could not create -" "$LINENO" 5 | 15637 || as_fn_error $? "could not create -" "$LINENO" 5 |
15623 fi | 15638 fi |
15624 ;; | 15639 ;; |
15625 | 15640 |
15626 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 15641 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15627 $as_echo "$as_me: executing $ac_file commands" >&6;} | 15642 $as_echo "$as_me: executing $ac_file commands" >&6;} |
15654 as_fn_exit 0 | 15669 as_fn_exit 0 |
15655 _ACEOF | 15670 _ACEOF |
15656 ac_clean_files=$ac_clean_files_save | 15671 ac_clean_files=$ac_clean_files_save |
15657 | 15672 |
15658 test $ac_write_fail = 0 || | 15673 test $ac_write_fail = 0 || |
15659 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 15674 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15660 | 15675 |
15661 | 15676 |
15662 # configure is writing to config.log, and then calls config.status. | 15677 # configure is writing to config.log, and then calls config.status. |
15663 # config.status does its own redirection, appending to config.log. | 15678 # config.status does its own redirection, appending to config.log. |
15664 # Unfortunately, on DOS this fails, as config.log is still kept open | 15679 # Unfortunately, on DOS this fails, as config.log is still kept open |
15675 exec 5>/dev/null | 15690 exec 5>/dev/null |
15676 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 15691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15677 exec 5>>config.log | 15692 exec 5>>config.log |
15678 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 15693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15679 # would make configure fail if this is the last instruction. | 15694 # would make configure fail if this is the last instruction. |
15680 $ac_cs_success || as_fn_exit $? | 15695 $ac_cs_success || as_fn_exit 1 |
15681 fi | 15696 fi |
15682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 15697 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 15698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 15699 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15685 fi | 15700 fi |