Mercurial > emacs
comparison configure @ 109591:1fb35da4a097
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Thu, 29 Jul 2010 23:01:42 +0000 |
parents | 4504e82595bb |
children | d06247ec7191 |
comparison
equal
deleted
inserted
replaced
109590:3c9de3b961fe | 109591:1fb35da4a097 |
---|---|
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.66 for emacs 24.0.50. | 3 # Generated by GNU Autoconf 2.65 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, 2010 Free Software | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
8 # Foundation, Inc. | 8 # 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 STATUS ERROR [LINENO LOG_FD] | 359 # as_fn_error 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=$1; test $as_status -eq 0 && as_status=1 | 366 as_status=$?; test $as_status -eq 0 && as_status=1 |
367 if test "$4"; then | 367 if test "$3"; then |
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
370 fi | 370 fi |
371 $as_echo "$as_me: error: $2" >&2 | 371 $as_echo "$as_me: error: $1" >&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, old GNU/Linux) returns a bogus exit status, | 533 # hostname on some systems (SVR3.2, 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.66 | 1616 generated by GNU Autoconf 2.65 |
1617 | 1617 |
1618 Copyright (C) 2010 Free Software Foundation, Inc. | 1618 Copyright (C) 2009 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 eval "test \"\${$3+set}\"" = set; then : | 1758 if { as_var=$3; eval "test \"\${$as_var+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 eval "test \"\${$3+set}\"" = set; then : | 1761 if { as_var=$3; eval "test \"\${$as_var+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 eval "test \"\${$3+set}\"" = set; then : | 1824 if { as_var=$3; eval "test \"\${$as_var+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 eval "test \"\${$3+set}\"" = set; then : | 1888 if { as_var=$3; eval "test \"\${$as_var+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 INCLUDES | 1910 # ac_fn_c_check_decl LINENO SYMBOL VAR |
1911 # --------------------------------------------- | 1911 # ------------------------------------ |
1912 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR | 1912 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1913 # accordingly. | |
1914 ac_fn_c_check_decl () | 1913 ac_fn_c_check_decl () |
1915 { | 1914 { |
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1917 as_decl_name=`echo $2|sed 's/ *(.*//'` | 1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1918 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` | 1917 $as_echo_n "checking whether $2 is declared... " >&6; } |
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 | 1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1920 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
1921 if eval "test \"\${$3+set}\"" = set; then : | |
1922 $as_echo_n "(cached) " >&6 | 1919 $as_echo_n "(cached) " >&6 |
1923 else | 1920 else |
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1925 /* end confdefs.h. */ | 1922 /* end confdefs.h. */ |
1926 $4 | 1923 $4 |
1927 int | 1924 int |
1928 main () | 1925 main () |
1929 { | 1926 { |
1930 #ifndef $as_decl_name | 1927 #ifndef $2 |
1931 #ifdef __cplusplus | 1928 (void) $2; |
1932 (void) $as_decl_use; | |
1933 #else | |
1934 (void) $as_decl_name; | |
1935 #endif | |
1936 #endif | 1929 #endif |
1937 | 1930 |
1938 ; | 1931 ; |
1939 return 0; | 1932 return 0; |
1940 } | 1933 } |
1959 ac_fn_c_check_header_preproc () | 1952 ac_fn_c_check_header_preproc () |
1960 { | 1953 { |
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1963 $as_echo_n "checking for $2... " >&6; } | 1956 $as_echo_n "checking for $2... " >&6; } |
1964 if eval "test \"\${$3+set}\"" = set; then : | 1957 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1965 $as_echo_n "(cached) " >&6 | 1958 $as_echo_n "(cached) " >&6 |
1966 else | 1959 else |
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1968 /* end confdefs.h. */ | 1961 /* end confdefs.h. */ |
1969 #include <$2> | 1962 #include <$2> |
1989 ac_fn_c_check_member () | 1982 ac_fn_c_check_member () |
1990 { | 1983 { |
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1993 $as_echo_n "checking for $2.$3... " >&6; } | 1986 $as_echo_n "checking for $2.$3... " >&6; } |
1994 if eval "test \"\${$4+set}\"" = set; then : | 1987 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
1995 $as_echo_n "(cached) " >&6 | 1988 $as_echo_n "(cached) " >&6 |
1996 else | 1989 else |
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1998 /* end confdefs.h. */ | 1991 /* end confdefs.h. */ |
1999 $5 | 1992 $5 |
2045 ac_fn_c_check_func () | 2038 ac_fn_c_check_func () |
2046 { | 2039 { |
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2049 $as_echo_n "checking for $2... " >&6; } | 2042 $as_echo_n "checking for $2... " >&6; } |
2050 if eval "test \"\${$3+set}\"" = set; then : | 2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2051 $as_echo_n "(cached) " >&6 | 2044 $as_echo_n "(cached) " >&6 |
2052 else | 2045 else |
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2054 /* end confdefs.h. */ | 2047 /* end confdefs.h. */ |
2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 2048 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2113 ac_fn_c_check_type () | 2106 ac_fn_c_check_type () |
2114 { | 2107 { |
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2117 $as_echo_n "checking for $2... " >&6; } | 2110 $as_echo_n "checking for $2... " >&6; } |
2118 if eval "test \"\${$3+set}\"" = set; then : | 2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2119 $as_echo_n "(cached) " >&6 | 2112 $as_echo_n "(cached) " >&6 |
2120 else | 2113 else |
2121 eval "$3=no" | 2114 eval "$3=no" |
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2123 /* end confdefs.h. */ | 2116 /* end confdefs.h. */ |
2162 cat >config.log <<_ACEOF | 2155 cat >config.log <<_ACEOF |
2163 This file contains any messages produced by compilers while | 2156 This file contains any messages produced by compilers while |
2164 running configure, to aid debugging if configure makes a mistake. | 2157 running configure, to aid debugging if configure makes a mistake. |
2165 | 2158 |
2166 It was created by emacs $as_me 24.0.50, which was | 2159 It was created by emacs $as_me 24.0.50, which was |
2167 generated by GNU Autoconf 2.66. Invocation command line was | 2160 generated by GNU Autoconf 2.65. Invocation command line was |
2168 | 2161 |
2169 $ $0 $@ | 2162 $ $0 $@ |
2170 | 2163 |
2171 _ACEOF | 2164 _ACEOF |
2172 exec 5>>config.log | 2165 exec 5>>config.log |
2272 trap 'exit_status=$? | 2265 trap 'exit_status=$? |
2273 # Save into config.log some information that might help in debugging. | 2266 # Save into config.log some information that might help in debugging. |
2274 { | 2267 { |
2275 echo | 2268 echo |
2276 | 2269 |
2277 $as_echo "## ---------------- ## | 2270 cat <<\_ASBOX |
2271 ## ---------------- ## | |
2278 ## Cache variables. ## | 2272 ## Cache variables. ## |
2279 ## ---------------- ##" | 2273 ## ---------------- ## |
2274 _ASBOX | |
2280 echo | 2275 echo |
2281 # The following way of writing the cache mishandles newlines in values, | 2276 # The following way of writing the cache mishandles newlines in values, |
2282 ( | 2277 ( |
2283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2284 eval ac_val=\$$ac_var | 2279 eval ac_val=\$$ac_var |
2308 esac | | 2303 esac | |
2309 sort | 2304 sort |
2310 ) | 2305 ) |
2311 echo | 2306 echo |
2312 | 2307 |
2313 $as_echo "## ----------------- ## | 2308 cat <<\_ASBOX |
2309 ## ----------------- ## | |
2314 ## Output variables. ## | 2310 ## Output variables. ## |
2315 ## ----------------- ##" | 2311 ## ----------------- ## |
2312 _ASBOX | |
2316 echo | 2313 echo |
2317 for ac_var in $ac_subst_vars | 2314 for ac_var in $ac_subst_vars |
2318 do | 2315 do |
2319 eval ac_val=\$$ac_var | 2316 eval ac_val=\$$ac_var |
2320 case $ac_val in | 2317 case $ac_val in |
2323 $as_echo "$ac_var='\''$ac_val'\''" | 2320 $as_echo "$ac_var='\''$ac_val'\''" |
2324 done | sort | 2321 done | sort |
2325 echo | 2322 echo |
2326 | 2323 |
2327 if test -n "$ac_subst_files"; then | 2324 if test -n "$ac_subst_files"; then |
2328 $as_echo "## ------------------- ## | 2325 cat <<\_ASBOX |
2326 ## ------------------- ## | |
2329 ## File substitutions. ## | 2327 ## File substitutions. ## |
2330 ## ------------------- ##" | 2328 ## ------------------- ## |
2329 _ASBOX | |
2331 echo | 2330 echo |
2332 for ac_var in $ac_subst_files | 2331 for ac_var in $ac_subst_files |
2333 do | 2332 do |
2334 eval ac_val=\$$ac_var | 2333 eval ac_val=\$$ac_var |
2335 case $ac_val in | 2334 case $ac_val in |
2339 done | sort | 2338 done | sort |
2340 echo | 2339 echo |
2341 fi | 2340 fi |
2342 | 2341 |
2343 if test -s confdefs.h; then | 2342 if test -s confdefs.h; then |
2344 $as_echo "## ----------- ## | 2343 cat <<\_ASBOX |
2344 ## ----------- ## | |
2345 ## confdefs.h. ## | 2345 ## confdefs.h. ## |
2346 ## ----------- ##" | 2346 ## ----------- ## |
2347 _ASBOX | |
2347 echo | 2348 echo |
2348 cat confdefs.h | 2349 cat confdefs.h |
2349 echo | 2350 echo |
2350 fi | 2351 fi |
2351 test "$ac_signal" != 0 && | 2352 test "$ac_signal" != 0 && |
2396 # Let the site file select an alternate cache file if it wants to. | 2397 # Let the site file select an alternate cache file if it wants to. |
2397 # Prefer an explicitly selected file to automatically selected ones. | 2398 # Prefer an explicitly selected file to automatically selected ones. |
2398 ac_site_file1=NONE | 2399 ac_site_file1=NONE |
2399 ac_site_file2=NONE | 2400 ac_site_file2=NONE |
2400 if test -n "$CONFIG_SITE"; then | 2401 if test -n "$CONFIG_SITE"; then |
2401 # We do not want a PATH search for config.site. | 2402 ac_site_file1=$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 | |
2407 elif test "x$prefix" != xNONE; then | 2403 elif test "x$prefix" != xNONE; then |
2408 ac_site_file1=$prefix/share/config.site | 2404 ac_site_file1=$prefix/share/config.site |
2409 ac_site_file2=$prefix/etc/config.site | 2405 ac_site_file2=$prefix/etc/config.site |
2410 else | 2406 else |
2411 ac_site_file1=$ac_default_prefix/share/config.site | 2407 ac_site_file1=$ac_default_prefix/share/config.site |
2416 test "x$ac_site_file" = xNONE && continue | 2412 test "x$ac_site_file" = xNONE && continue |
2417 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2413 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2419 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2415 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2420 sed 's/^/| /' "$ac_site_file" >&5 | 2416 sed 's/^/| /' "$ac_site_file" >&5 |
2421 . "$ac_site_file" \ | 2417 . "$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; } | |
2426 fi | 2418 fi |
2427 done | 2419 done |
2428 | 2420 |
2429 if test -r "$cache_file"; then | 2421 if test -r "$cache_file"; then |
2430 # Some versions of bash will fail to source /dev/null (special files | 2422 # Some versions of bash will fail to source /dev/null (special files |
2501 if $ac_cache_corrupted; then | 2493 if $ac_cache_corrupted; then |
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2497 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2498 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2507 fi | 2499 fi |
2508 ## -------------------- ## | 2500 ## -------------------- ## |
2509 ## Main body of script. ## | 2501 ## Main body of script. ## |
2510 ## -------------------- ## | 2502 ## -------------------- ## |
2511 | 2503 |
2675 a | at | ath | athe | athen | athena ) val=athena ;; | 2667 a | at | ath | athe | athen | athena ) val=athena ;; |
2676 m | mo | mot | moti | motif ) val=motif ;; | 2668 m | mo | mot | moti | motif ) val=motif ;; |
2677 g | gt | gtk ) val=gtk ;; | 2669 g | gt | gtk ) val=gtk ;; |
2678 gtk3 ) val=gtk3 ;; | 2670 gtk3 ) val=gtk3 ;; |
2679 * ) | 2671 * ) |
2680 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; | 2672 as_fn_error "\`--with-x-toolkit=$withval' is invalid; |
2681 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or | 2673 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or |
2682 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2674 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2683 ;; | 2675 ;; |
2684 esac | 2676 esac |
2685 with_x_toolkit=$val | 2677 with_x_toolkit=$val |
2954 stringbytes) ac_gc_check_stringbytes=1 ;; | 2946 stringbytes) ac_gc_check_stringbytes=1 ;; |
2955 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2947 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2956 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2948 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2957 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2949 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2958 conslist) ac_gc_check_cons_list=1 ;; | 2950 conslist) ac_gc_check_cons_list=1 ;; |
2959 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; | 2951 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; |
2960 esac | 2952 esac |
2961 done | 2953 done |
2962 IFS="$ac_save_IFS" | 2954 IFS="$ac_save_IFS" |
2963 | 2955 |
2964 if test x$ac_enable_checking != x ; then | 2956 if test x$ac_enable_checking != x ; then |
3072 | 3064 |
3073 ### Canonicalize the configuration name. | 3065 ### Canonicalize the configuration name. |
3074 | 3066 |
3075 ac_aux_dir= | 3067 ac_aux_dir= |
3076 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3068 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3077 if test -f "$ac_dir/install-sh"; then | 3069 for ac_t in install-sh install.sh shtool; do |
3078 ac_aux_dir=$ac_dir | 3070 if test -f "$ac_dir/$ac_t"; then |
3079 ac_install_sh="$ac_aux_dir/install-sh -c" | 3071 ac_aux_dir=$ac_dir |
3080 break | 3072 ac_install_sh="$ac_aux_dir/$ac_t -c" |
3081 elif test -f "$ac_dir/install.sh"; then | 3073 break 2 |
3082 ac_aux_dir=$ac_dir | 3074 fi |
3083 ac_install_sh="$ac_aux_dir/install.sh -c" | 3075 done |
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 | |
3090 done | 3076 done |
3091 if test -z "$ac_aux_dir"; then | 3077 if test -z "$ac_aux_dir"; then |
3092 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3078 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3093 fi | 3079 fi |
3094 | 3080 |
3095 # These three variables are undocumented and unsupported, | 3081 # These three variables are undocumented and unsupported, |
3096 # and are intended to be withdrawn in a future Autoconf release. | 3082 # and are intended to be withdrawn in a future Autoconf release. |
3097 # They can cause serious problems if a builder's source tree is in a directory | 3083 # They can cause serious problems if a builder's source tree is in a directory |
3101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3087 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3102 | 3088 |
3103 | 3089 |
3104 # Make sure we can run config.sub. | 3090 # Make sure we can run config.sub. |
3105 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3091 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3106 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3092 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3107 | 3093 |
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3109 $as_echo_n "checking build system type... " >&6; } | 3095 $as_echo_n "checking build system type... " >&6; } |
3110 if test "${ac_cv_build+set}" = set; then : | 3096 if test "${ac_cv_build+set}" = set; then : |
3111 $as_echo_n "(cached) " >&6 | 3097 $as_echo_n "(cached) " >&6 |
3112 else | 3098 else |
3113 ac_build_alias=$build_alias | 3099 ac_build_alias=$build_alias |
3114 test "x$ac_build_alias" = x && | 3100 test "x$ac_build_alias" = x && |
3115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3101 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3116 test "x$ac_build_alias" = x && | 3102 test "x$ac_build_alias" = x && |
3117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 3103 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
3118 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3104 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3105 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3120 | 3106 |
3121 fi | 3107 fi |
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3123 $as_echo "$ac_cv_build" >&6; } | 3109 $as_echo "$ac_cv_build" >&6; } |
3124 case $ac_cv_build in | 3110 case $ac_cv_build in |
3125 *-*-*) ;; | 3111 *-*-*) ;; |
3126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 3112 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
3127 esac | 3113 esac |
3128 build=$ac_cv_build | 3114 build=$ac_cv_build |
3129 ac_save_IFS=$IFS; IFS='-' | 3115 ac_save_IFS=$IFS; IFS='-' |
3130 set x $ac_cv_build | 3116 set x $ac_cv_build |
3131 shift | 3117 shift |
3146 else | 3132 else |
3147 if test "x$host_alias" = x; then | 3133 if test "x$host_alias" = x; then |
3148 ac_cv_host=$ac_cv_build | 3134 ac_cv_host=$ac_cv_build |
3149 else | 3135 else |
3150 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3152 fi | 3138 fi |
3153 | 3139 |
3154 fi | 3140 fi |
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3156 $as_echo "$ac_cv_host" >&6; } | 3142 $as_echo "$ac_cv_host" >&6; } |
3157 case $ac_cv_host in | 3143 case $ac_cv_host in |
3158 *-*-*) ;; | 3144 *-*-*) ;; |
3159 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 3145 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
3160 esac | 3146 esac |
3161 host=$ac_cv_host | 3147 host=$ac_cv_host |
3162 ac_save_IFS=$IFS; IFS='-' | 3148 ac_save_IFS=$IFS; IFS='-' |
3163 set x $ac_cv_host | 3149 set x $ac_cv_host |
3164 shift | 3150 shift |
3448 fi | 3434 fi |
3449 | 3435 |
3450 | 3436 |
3451 | 3437 |
3452 if test $unported = yes; then | 3438 if test $unported = yes; then |
3453 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. | 3439 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. |
3454 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3440 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
3455 fi | 3441 fi |
3456 | 3442 |
3457 machfile="m/${machine}.h" | 3443 machfile="m/${machine}.h" |
3458 opsysfile="s/${opsys}.h" | 3444 opsysfile="s/${opsys}.h" |
3762 fi | 3748 fi |
3763 | 3749 |
3764 | 3750 |
3765 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3767 as_fn_error $? "no acceptable C compiler found in \$PATH | 3753 as_fn_error "no acceptable C compiler found in \$PATH |
3768 See \`config.log' for more details" "$LINENO" 5; } | 3754 See \`config.log' for more details." "$LINENO" 5; } |
3769 | 3755 |
3770 # Provide some information about the compiler. | 3756 # Provide some information about the compiler. |
3771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3772 set X $ac_compile | 3758 set X $ac_compile |
3773 ac_compiler=$2 | 3759 ac_compiler=$2 |
3877 $as_echo "$as_me: failed program was:" >&5 | 3863 $as_echo "$as_me: failed program was:" >&5 |
3878 sed 's/^/| /' conftest.$ac_ext >&5 | 3864 sed 's/^/| /' conftest.$ac_ext >&5 |
3879 | 3865 |
3880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3882 as_fn_error 77 "C compiler cannot create executables | 3868 { as_fn_set_status 77 |
3883 See \`config.log' for more details" "$LINENO" 5; } | 3869 as_fn_error "C compiler cannot create executables |
3870 See \`config.log' for more details." "$LINENO" 5; }; } | |
3884 else | 3871 else |
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3886 $as_echo "yes" >&6; } | 3873 $as_echo "yes" >&6; } |
3887 fi | 3874 fi |
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3920 esac | 3907 esac |
3921 done | 3908 done |
3922 else | 3909 else |
3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3925 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 3912 as_fn_error "cannot compute suffix of executables: cannot compile and link |
3926 See \`config.log' for more details" "$LINENO" 5; } | 3913 See \`config.log' for more details." "$LINENO" 5; } |
3927 fi | 3914 fi |
3928 rm -f conftest conftest$ac_cv_exeext | 3915 rm -f conftest conftest$ac_cv_exeext |
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3930 $as_echo "$ac_cv_exeext" >&6; } | 3917 $as_echo "$ac_cv_exeext" >&6; } |
3931 | 3918 |
3978 if test "$cross_compiling" = maybe; then | 3965 if test "$cross_compiling" = maybe; then |
3979 cross_compiling=yes | 3966 cross_compiling=yes |
3980 else | 3967 else |
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3983 as_fn_error $? "cannot run C compiled programs. | 3970 as_fn_error "cannot run C compiled programs. |
3984 If you meant to cross compile, use \`--host'. | 3971 If you meant to cross compile, use \`--host'. |
3985 See \`config.log' for more details" "$LINENO" 5; } | 3972 See \`config.log' for more details." "$LINENO" 5; } |
3986 fi | 3973 fi |
3987 fi | 3974 fi |
3988 fi | 3975 fi |
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3990 $as_echo "$cross_compiling" >&6; } | 3977 $as_echo "$cross_compiling" >&6; } |
4031 $as_echo "$as_me: failed program was:" >&5 | 4018 $as_echo "$as_me: failed program was:" >&5 |
4032 sed 's/^/| /' conftest.$ac_ext >&5 | 4019 sed 's/^/| /' conftest.$ac_ext >&5 |
4033 | 4020 |
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4036 as_fn_error $? "cannot compute suffix of object files: cannot compile | 4023 as_fn_error "cannot compute suffix of object files: cannot compile |
4037 See \`config.log' for more details" "$LINENO" 5; } | 4024 See \`config.log' for more details." "$LINENO" 5; } |
4038 fi | 4025 fi |
4039 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4026 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4040 fi | 4027 fi |
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4042 $as_echo "$ac_cv_objext" >&6; } | 4029 $as_echo "$ac_cv_objext" >&6; } |
4443 if $ac_preproc_ok; then : | 4430 if $ac_preproc_ok; then : |
4444 | 4431 |
4445 else | 4432 else |
4446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4448 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 4435 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
4449 See \`config.log' for more details" "$LINENO" 5; } | 4436 See \`config.log' for more details." "$LINENO" 5; } |
4450 fi | 4437 fi |
4451 | 4438 |
4452 ac_ext=c | 4439 ac_ext=c |
4453 ac_cpp='$CPP $CPPFLAGS' | 4440 ac_cpp='$CPP $CPPFLAGS' |
4454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4505 done | 4492 done |
4506 done | 4493 done |
4507 done | 4494 done |
4508 IFS=$as_save_IFS | 4495 IFS=$as_save_IFS |
4509 if test -z "$ac_cv_path_GREP"; then | 4496 if test -z "$ac_cv_path_GREP"; then |
4510 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4497 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4511 fi | 4498 fi |
4512 else | 4499 else |
4513 ac_cv_path_GREP=$GREP | 4500 ac_cv_path_GREP=$GREP |
4514 fi | 4501 fi |
4515 | 4502 |
4571 done | 4558 done |
4572 done | 4559 done |
4573 done | 4560 done |
4574 IFS=$as_save_IFS | 4561 IFS=$as_save_IFS |
4575 if test -z "$ac_cv_path_EGREP"; then | 4562 if test -z "$ac_cv_path_EGREP"; then |
4576 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4563 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4577 fi | 4564 fi |
4578 else | 4565 else |
4579 ac_cv_path_EGREP=$EGREP | 4566 ac_cv_path_EGREP=$EGREP |
4580 fi | 4567 fi |
4581 | 4568 |
4703 inttypes.h stdint.h unistd.h | 4690 inttypes.h stdint.h unistd.h |
4704 do : | 4691 do : |
4705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4706 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4693 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4707 " | 4694 " |
4708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4695 eval as_val=\$$as_ac_Header |
4696 if test "x$as_val" = x""yes; then : | |
4709 cat >>confdefs.h <<_ACEOF | 4697 cat >>confdefs.h <<_ACEOF |
4710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4711 _ACEOF | 4699 _ACEOF |
4712 | 4700 |
4713 fi | 4701 fi |
5000 if $ac_preproc_ok; then : | 4988 if $ac_preproc_ok; then : |
5001 | 4989 |
5002 else | 4990 else |
5003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5005 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 4993 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
5006 See \`config.log' for more details" "$LINENO" 5; } | 4994 See \`config.log' for more details." "$LINENO" 5; } |
5007 fi | 4995 fi |
5008 | 4996 |
5009 ac_ext=c | 4997 ac_ext=c |
5010 ac_cpp='$CPP $CPPFLAGS' | 4998 ac_cpp='$CPP $CPPFLAGS' |
5011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5438 ## with pre-built manuals, from a Bazaar checkout. | 5426 ## with pre-built manuals, from a Bazaar checkout. |
5439 if test "$MAKEINFO" = "no"; then | 5427 if test "$MAKEINFO" = "no"; then |
5440 if test "x${with_makeinfo}" = "xno"; then | 5428 if test "x${with_makeinfo}" = "xno"; then |
5441 MAKEINFO=off | 5429 MAKEINFO=off |
5442 elif test ! -e $srcdir/info/emacs; then | 5430 elif test ! -e $srcdir/info/emacs; then |
5443 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your | 5431 as_fn_error "You do not seem to have makeinfo >= 4.6, and your |
5444 source tree does not seem to have pre-built manuals in the \`info' directory. | 5432 source tree does not seem to have pre-built manuals in the \`info' directory. |
5445 Either install a suitable version of makeinfo, or re-run configure | 5433 Either install a suitable version of makeinfo, or re-run configure |
5446 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5434 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5447 fi | 5435 fi |
5448 fi | 5436 fi |
5592 ## GNU libc, __malloc_initialized would normally be resolved to the | 5580 ## GNU libc, __malloc_initialized would normally be resolved to the |
5593 ## shared library's .bss section, which is fatal. | 5581 ## shared library's .bss section, which is fatal. |
5594 if test "x$GCC" = "xyes"; then | 5582 if test "x$GCC" = "xyes"; then |
5595 C_SWITCH_MACHINE="-fno-common" | 5583 C_SWITCH_MACHINE="-fno-common" |
5596 else | 5584 else |
5597 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 5585 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 |
5598 fi | 5586 fi |
5599 else | 5587 else |
5600 UNEXEC_OBJ=unexalpha.o | 5588 UNEXEC_OBJ=unexalpha.o |
5601 fi | 5589 fi |
5602 fi | 5590 fi |
5870 else | 5858 else |
5871 | 5859 |
5872 ## Some platforms don't use any of these files, so it is not | 5860 ## Some platforms don't use any of these files, so it is not |
5873 ## appropriate to put this test outside the if block. | 5861 ## appropriate to put this test outside the if block. |
5874 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5862 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5875 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 | 5863 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 |
5876 | 5864 |
5877 fi | 5865 fi |
5878 | 5866 |
5879 | 5867 |
5880 | 5868 |
5925 # Sound support for GNU/Linux and the free BSDs. | 5913 # Sound support for GNU/Linux and the free BSDs. |
5926 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5914 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5927 do : | 5915 do : |
5928 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5929 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 5917 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5918 eval as_val=\$$as_ac_Header |
5919 if test "x$as_val" = x""yes; then : | |
5931 cat >>confdefs.h <<_ACEOF | 5920 cat >>confdefs.h <<_ACEOF |
5932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5933 _ACEOF | 5922 _ACEOF |
5934 have_sound_header=yes | 5923 have_sound_header=yes |
5935 fi | 5924 fi |
6116 else | 6105 else |
6117 emacs_alsa_subdir=no | 6106 emacs_alsa_subdir=no |
6118 fi | 6107 fi |
6119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6120 if test "$emacs_alsa_subdir" != yes; then | 6109 if test "$emacs_alsa_subdir" != yes; then |
6121 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6110 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6122 fi | 6111 fi |
6123 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6112 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6124 fi | 6113 fi |
6125 | 6114 |
6126 CFLAGS="$SAVE_CFLAGS" | 6115 CFLAGS="$SAVE_CFLAGS" |
6147 | 6136 |
6148 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6137 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
6149 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 6138 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
6150 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6139 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
6151 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6140 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6152 sys/utsname.h pwd.h utmp.h | 6141 sys/utsname.h pwd.h utmp.h dirent.h |
6153 do : | 6142 do : |
6154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6143 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6155 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6144 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6145 eval as_val=\$$as_ac_Header |
6146 if test "x$as_val" = x""yes; then : | |
6157 cat >>confdefs.h <<_ACEOF | 6147 cat >>confdefs.h <<_ACEOF |
6158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6159 _ACEOF | 6149 _ACEOF |
6160 | 6150 |
6161 fi | 6151 fi |
6993 | 6983 |
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6995 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 6985 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6996 set x ${MAKE-make} | 6986 set x ${MAKE-make} |
6997 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 6987 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6998 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | 6988 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
6999 $as_echo_n "(cached) " >&6 | 6989 $as_echo_n "(cached) " >&6 |
7000 else | 6990 else |
7001 cat >conftest.make <<\_ACEOF | 6991 cat >conftest.make <<\_ACEOF |
7002 SHELL = /bin/sh | 6992 SHELL = /bin/sh |
7003 all: | 6993 all: |
7004 @echo '@@@%%%=$(MAKE)=@@@%%%' | 6994 @echo '@@@%%%=$(MAKE)=@@@%%%' |
7005 _ACEOF | 6995 _ACEOF |
7006 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 6996 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
7007 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 6997 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
7008 *@@@%%%=?*=@@@%%%*) | 6998 *@@@%%%=?*=@@@%%%*) |
7009 eval ac_cv_prog_make_${ac_make}_set=yes;; | 6999 eval ac_cv_prog_make_${ac_make}_set=yes;; |
7010 *) | 7000 *) |
7011 eval ac_cv_prog_make_${ac_make}_set=no;; | 7001 eval ac_cv_prog_make_${ac_make}_set=no;; |
7137 if test "x$with_x" = xno; then | 7127 if test "x$with_x" = xno; then |
7138 # The user explicitly disabled X. | 7128 # The user explicitly disabled X. |
7139 have_x=disabled | 7129 have_x=disabled |
7140 else | 7130 else |
7141 case $x_includes,$x_libraries in #( | 7131 case $x_includes,$x_libraries in #( |
7142 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( | 7132 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( |
7143 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 7133 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
7144 $as_echo_n "(cached) " >&6 | 7134 $as_echo_n "(cached) " >&6 |
7145 else | 7135 else |
7146 # One or both of the vars are not set, and there is no cached value. | 7136 # One or both of the vars are not set, and there is no cached value. |
7147 ac_x_includes=no ac_x_libraries=no | 7137 ac_x_includes=no ac_x_libraries=no |
7155 @echo usrlibdir='${USRLIBDIR}' | 7145 @echo usrlibdir='${USRLIBDIR}' |
7156 libdir: | 7146 libdir: |
7157 @echo libdir='${LIBDIR}' | 7147 @echo libdir='${LIBDIR}' |
7158 _ACEOF | 7148 _ACEOF |
7159 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | 7149 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
7160 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 7150 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
7161 for ac_var in incroot usrlibdir libdir; do | 7151 for ac_var in incroot usrlibdir libdir; do |
7162 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | 7152 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
7163 done | 7153 done |
7164 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 7154 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
7165 for ac_extension in a so sl dylib la dll; do | 7155 for ac_extension in a so sl dylib la dll; do |
7424 fi | 7414 fi |
7425 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 7415 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
7426 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 7416 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
7427 HAVE_NS=yes | 7417 HAVE_NS=yes |
7428 else | 7418 else |
7429 as_fn_error $? "\`--with-ns' was specified, but the include | 7419 as_fn_error "\`--with-ns' was specified, but the include |
7430 files are missing or cannot be compiled." "$LINENO" 5 | 7420 files are missing or cannot be compiled." "$LINENO" 5 |
7431 fi | 7421 fi |
7432 | 7422 |
7433 | 7423 |
7434 NS_HAVE_NSINTEGER=yes | 7424 NS_HAVE_NSINTEGER=yes |
7540 | 7530 |
7541 | 7531 |
7542 if test "$HAVE_XSERVER" = true || | 7532 if test "$HAVE_XSERVER" = true || |
7543 test -n "$DISPLAY" || | 7533 test -n "$DISPLAY" || |
7544 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7534 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7545 as_fn_error $? "You seem to be running X, but no X development libraries | 7535 as_fn_error "You seem to be running X, but no X development libraries |
7546 were found. You should install the relevant development files for X | 7536 were found. You should install the relevant development files for X |
7547 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7537 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7548 sure you have development files for image handling, i.e. | 7538 sure you have development files for image handling, i.e. |
7549 tiff, gif, jpeg, png and xpm. | 7539 tiff, gif, jpeg, png and xpm. |
7550 If you are sure you want Emacs compiled without X window support, pass | 7540 If you are sure you want Emacs compiled without X window support, pass |
7663 for ac_header in $ac_header_list | 7653 for ac_header in $ac_header_list |
7664 do : | 7654 do : |
7665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 7656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7667 " | 7657 " |
7668 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 7658 eval as_val=\$$as_ac_Header |
7659 if test "x$as_val" = x""yes; then : | |
7669 cat >>confdefs.h <<_ACEOF | 7660 cat >>confdefs.h <<_ACEOF |
7670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7671 _ACEOF | 7662 _ACEOF |
7672 | 7663 |
7673 fi | 7664 fi |
7769 | 7760 |
7770 int | 7761 int |
7771 main () | 7762 main () |
7772 { | 7763 { |
7773 char *data, *data2, *data3; | 7764 char *data, *data2, *data3; |
7774 const char *cdata2; | |
7775 int i, pagesize; | 7765 int i, pagesize; |
7776 int fd, fd2; | 7766 int fd, fd2; |
7777 | 7767 |
7778 pagesize = getpagesize (); | 7768 pagesize = getpagesize (); |
7779 | 7769 |
7794 /* Next, check that the tail of a page is zero-filled. File must have | 7784 /* Next, check that the tail of a page is zero-filled. File must have |
7795 non-zero length, otherwise we risk SIGBUS for entire page. */ | 7785 non-zero length, otherwise we risk SIGBUS for entire page. */ |
7796 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | 7786 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
7797 if (fd2 < 0) | 7787 if (fd2 < 0) |
7798 return 4; | 7788 return 4; |
7799 cdata2 = ""; | 7789 data2 = ""; |
7800 if (write (fd2, cdata2, 1) != 1) | 7790 if (write (fd2, data2, 1) != 1) |
7801 return 5; | 7791 return 5; |
7802 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | 7792 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
7803 if (data2 == MAP_FAILED) | 7793 if (data2 == MAP_FAILED) |
7804 return 6; | 7794 return 6; |
7805 for (i = 0; i < pagesize; ++i) | 7795 for (i = 0; i < pagesize; ++i) |
7806 if (*(data2 + i)) | 7796 if (*(data2 + i)) |
7807 return 7; | 7797 return 7; |
8170 for ac_func in XrmSetDatabase XScreenResourceString \ | 8160 for ac_func in XrmSetDatabase XScreenResourceString \ |
8171 XScreenNumberOfScreen XSetWMProtocols | 8161 XScreenNumberOfScreen XSetWMProtocols |
8172 do : | 8162 do : |
8173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8175 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 8165 eval as_val=\$$as_ac_var |
8166 if test "x$as_val" = x""yes; then : | |
8176 cat >>confdefs.h <<_ACEOF | 8167 cat >>confdefs.h <<_ACEOF |
8177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8178 _ACEOF | 8169 _ACEOF |
8179 | 8170 |
8180 fi | 8171 fi |
8451 else | 8442 else |
8452 pkg_check_gtk=no | 8443 pkg_check_gtk=no |
8453 fi | 8444 fi |
8454 | 8445 |
8455 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8446 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8456 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 | 8447 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 |
8457 fi | 8448 fi |
8458 fi | 8449 fi |
8459 | 8450 |
8460 if test "$pkg_check_gtk" != "yes"; then | 8451 if test "$pkg_check_gtk" != "yes"; then |
8461 HAVE_GTK=no | 8452 HAVE_GTK=no |
8557 else | 8548 else |
8558 pkg_check_gtk=no | 8549 pkg_check_gtk=no |
8559 fi | 8550 fi |
8560 | 8551 |
8561 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8552 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8562 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 | 8553 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 |
8563 fi | 8554 fi |
8564 fi | 8555 fi |
8565 fi | 8556 fi |
8566 | 8557 |
8567 GTK_OBJ= | 8558 GTK_OBJ= |
8584 fi | 8575 fi |
8585 done | 8576 done |
8586 | 8577 |
8587 if test "${GTK_COMPILES}" != "yes"; then | 8578 if test "${GTK_COMPILES}" != "yes"; then |
8588 if test "$USE_X_TOOLKIT" != "maybe"; then | 8579 if test "$USE_X_TOOLKIT" != "maybe"; then |
8589 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 8580 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
8590 fi | 8581 fi |
8591 else | 8582 else |
8592 HAVE_GTK=yes | 8583 HAVE_GTK=yes |
8593 | 8584 |
8594 $as_echo "#define USE_GTK 1" >>confdefs.h | 8585 $as_echo "#define USE_GTK 1" >>confdefs.h |
8714 gtk_widget_get_mapped gtk_adjustment_get_page_size \ | 8705 gtk_widget_get_mapped gtk_adjustment_get_page_size \ |
8715 gtk_orientable_set_orientation | 8706 gtk_orientable_set_orientation |
8716 do : | 8707 do : |
8717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8719 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 8710 eval as_val=\$$as_ac_var |
8711 if test "x$as_val" = x""yes; then : | |
8720 cat >>confdefs.h <<_ACEOF | 8712 cat >>confdefs.h <<_ACEOF |
8721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8722 _ACEOF | 8714 _ACEOF |
8723 | 8715 |
8724 fi | 8716 fi |
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
9080 $as_echo "yes; using Lucid toolkit" >&6; } | 9072 $as_echo "yes; using Lucid toolkit" >&6; } |
9081 USE_X_TOOLKIT=LUCID | 9073 USE_X_TOOLKIT=LUCID |
9082 LUCID_LIBW=-lXaw | 9074 LUCID_LIBW=-lXaw |
9083 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 9075 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
9084 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 9076 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
9085 else | 9077 else |
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
9087 $as_echo "no; do not use toolkit by default" >&6; } | 9079 $as_echo "no; do not use toolkit by default" >&6; } |
9088 USE_X_TOOLKIT=none | 9080 USE_X_TOOLKIT=none |
9089 fi | 9081 fi |
10256 # in /usr/include/libpng. | 10248 # in /usr/include/libpng. |
10257 for ac_header in png.h libpng/png.h | 10249 for ac_header in png.h libpng/png.h |
10258 do : | 10250 do : |
10259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10260 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 10252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 10253 eval as_val=\$$as_ac_Header |
10254 if test "x$as_val" = x""yes; then : | |
10262 cat >>confdefs.h <<_ACEOF | 10255 cat >>confdefs.h <<_ACEOF |
10263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10264 _ACEOF | 10257 _ACEOF |
10265 | 10258 |
10266 fi | 10259 fi |
10508 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 10501 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10509 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 10502 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10510 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 10503 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10511 | 10504 |
10512 if test "X${MISSING}" != X; then | 10505 if test "X${MISSING}" != X; then |
10513 as_fn_error $? "The following required libraries were not found: | 10506 as_fn_error "The following required libraries were not found: |
10514 $MISSING | 10507 $MISSING |
10515 Maybe some development libraries/packages are missing? | 10508 Maybe some development libraries/packages are missing? |
10516 If you don't want to link with them give | 10509 If you don't want to link with them give |
10517 $WITH_NO | 10510 $WITH_NO |
10518 as options to configure" "$LINENO" 5 | 10511 as options to configure" "$LINENO" 5 |
10843 $as_echo "$ac_cv_os_cray" >&6; } | 10836 $as_echo "$ac_cv_os_cray" >&6; } |
10844 if test $ac_cv_os_cray = yes; then | 10837 if test $ac_cv_os_cray = yes; then |
10845 for ac_func in _getb67 GETB67 getb67; do | 10838 for ac_func in _getb67 GETB67 getb67; do |
10846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 10840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
10848 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 10841 eval as_val=\$$as_ac_var |
10842 if test "x$as_val" = x""yes; then : | |
10849 | 10843 |
10850 cat >>confdefs.h <<_ACEOF | 10844 cat >>confdefs.h <<_ACEOF |
10851 #define CRAY_STACKSEG_END $ac_func | 10845 #define CRAY_STACKSEG_END $ac_func |
10852 _ACEOF | 10846 _ACEOF |
10853 | 10847 |
10907 | 10901 |
10908 fi | 10902 fi |
10909 | 10903 |
10910 | 10904 |
10911 if test x"$ac_cv_func_alloca_works" != xyes; then | 10905 if test x"$ac_cv_func_alloca_works" != xyes; then |
10912 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 | 10906 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 |
10913 fi | 10907 fi |
10914 | 10908 |
10915 # fmod, logb, and frexp are found in -lm on most systems. | 10909 # fmod, logb, and frexp are found in -lm on most systems. |
10916 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 10910 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
11103 $as_echo "no" >&6; } | 11097 $as_echo "no" >&6; } |
11104 fi | 11098 fi |
11105 | 11099 |
11106 | 11100 |
11107 if test $ac_cv_prog_liblockfile = yes; then | 11101 if test $ac_cv_prog_liblockfile = yes; then |
11108 as_fn_error $? "Shared liblockfile found but can't link against it. | 11102 as_fn_error "Shared liblockfile found but can't link against it. |
11109 This probably means that movemail could lose mail. | 11103 This probably means that movemail could lose mail. |
11110 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 11104 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
11111 fi | 11105 fi |
11112 fi | 11106 fi |
11113 for ac_func in touchlock | 11107 for ac_func in touchlock |
11192 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 11186 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11193 cfmakeraw cfsetspeed isnan copysign __executable_start | 11187 cfmakeraw cfsetspeed isnan copysign __executable_start |
11194 do : | 11188 do : |
11195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11197 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11191 eval as_val=\$$as_ac_var |
11192 if test "x$as_val" = x""yes; then : | |
11198 cat >>confdefs.h <<_ACEOF | 11193 cat >>confdefs.h <<_ACEOF |
11199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11200 _ACEOF | 11195 _ACEOF |
11201 | 11196 |
11202 fi | 11197 fi |
11223 | 11218 |
11224 for ac_func in $ac_func_list | 11219 for ac_func in $ac_func_list |
11225 do : | 11220 do : |
11226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11223 eval as_val=\$$as_ac_var |
11224 if test "x$as_val" = x""yes; then : | |
11229 cat >>confdefs.h <<_ACEOF | 11225 cat >>confdefs.h <<_ACEOF |
11230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11231 _ACEOF | 11227 _ACEOF |
11232 | 11228 |
11233 fi | 11229 fi |
11275 | 11271 |
11276 static time_t time_t_max; | 11272 static time_t time_t_max; |
11277 static time_t time_t_min; | 11273 static time_t time_t_min; |
11278 | 11274 |
11279 /* Values we'll use to set the TZ environment variable. */ | 11275 /* Values we'll use to set the TZ environment variable. */ |
11280 static const char *tz_strings[] = { | 11276 static char *tz_strings[] = { |
11281 (const char *) 0, "TZ=GMT0", "TZ=JST-9", | 11277 (char *) 0, "TZ=GMT0", "TZ=JST-9", |
11282 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 11278 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
11283 }; | 11279 }; |
11284 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 11280 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
11285 | 11281 |
11286 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 11282 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
11293 | 11289 |
11294 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11290 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11295 instead of "TZ=America/Vancouver" in order to detect the bug even | 11291 instead of "TZ=America/Vancouver" in order to detect the bug even |
11296 on systems that don't support the Olson extension, or don't have the | 11292 on systems that don't support the Olson extension, or don't have the |
11297 full zoneinfo tables installed. */ | 11293 full zoneinfo tables installed. */ |
11298 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | 11294 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
11299 | 11295 |
11300 tm.tm_year = 98; | 11296 tm.tm_year = 98; |
11301 tm.tm_mon = 3; | 11297 tm.tm_mon = 3; |
11302 tm.tm_mday = 5; | 11298 tm.tm_mday = 5; |
11303 tm.tm_hour = 2; | 11299 tm.tm_hour = 2; |
11306 tm.tm_isdst = -1; | 11302 tm.tm_isdst = -1; |
11307 return mktime (&tm) != (time_t) -1; | 11303 return mktime (&tm) != (time_t) -1; |
11308 } | 11304 } |
11309 | 11305 |
11310 static int | 11306 static int |
11311 mktime_test1 (time_t now) | 11307 mktime_test1 (now) |
11308 time_t now; | |
11312 { | 11309 { |
11313 struct tm *lt; | 11310 struct tm *lt; |
11314 return ! (lt = localtime (&now)) || mktime (lt) == now; | 11311 return ! (lt = localtime (&now)) || mktime (lt) == now; |
11315 } | 11312 } |
11316 | 11313 |
11317 static int | 11314 static int |
11318 mktime_test (time_t now) | 11315 mktime_test (now) |
11316 time_t now; | |
11319 { | 11317 { |
11320 return (mktime_test1 (now) | 11318 return (mktime_test1 (now) |
11321 && mktime_test1 ((time_t) (time_t_max - now)) | 11319 && mktime_test1 ((time_t) (time_t_max - now)) |
11322 && mktime_test1 ((time_t) (time_t_min + now))); | 11320 && mktime_test1 ((time_t) (time_t_min + now))); |
11323 } | 11321 } |
11337 mktime (&tm); | 11335 mktime (&tm); |
11338 return tm.tm_mon == 2 && tm.tm_mday == 31; | 11336 return tm.tm_mon == 2 && tm.tm_mday == 31; |
11339 } | 11337 } |
11340 | 11338 |
11341 static int | 11339 static int |
11342 bigtime_test (int j) | 11340 bigtime_test (j) |
11341 int j; | |
11343 { | 11342 { |
11344 struct tm tm; | 11343 struct tm tm; |
11345 time_t now; | 11344 time_t now; |
11346 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | 11345 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; |
11347 now = mktime (&tm); | 11346 now = mktime (&tm); |
11381 | 11380 |
11382 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11381 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11383 instead of "TZ=America/Vancouver" in order to detect the bug even | 11382 instead of "TZ=America/Vancouver" in order to detect the bug even |
11384 on systems that don't support the Olson extension, or don't have the | 11383 on systems that don't support the Olson extension, or don't have the |
11385 full zoneinfo tables installed. */ | 11384 full zoneinfo tables installed. */ |
11386 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | 11385 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
11387 | 11386 |
11388 t = mktime (&tm); | 11387 t = mktime (&tm); |
11389 | 11388 |
11390 /* Check that the result is either a failure, or close enough | 11389 /* Check that the result is either a failure, or close enough |
11391 to the correct answer that we can assume the discrepancy is | 11390 to the correct answer that we can assume the discrepancy is |
11416 | 11415 |
11417 delta = time_t_max / 997; /* a suitable prime number */ | 11416 delta = time_t_max / 997; /* a suitable prime number */ |
11418 for (i = 0; i < N_STRINGS; i++) | 11417 for (i = 0; i < N_STRINGS; i++) |
11419 { | 11418 { |
11420 if (tz_strings[i]) | 11419 if (tz_strings[i]) |
11421 putenv ((char*) tz_strings[i]); | 11420 putenv (tz_strings[i]); |
11422 | 11421 |
11423 for (t = 0; t <= time_t_max - delta; t += delta) | 11422 for (t = 0; t <= time_t_max - delta; t += delta) |
11424 if (! mktime_test (t)) | 11423 if (! mktime_test (t)) |
11425 return 1; | 11424 return 1; |
11426 if (! (mktime_test ((time_t) 1) | 11425 if (! (mktime_test ((time_t) 1) |
11468 | 11467 |
11469 ac_have_func=no # yes means we've found a way to get the load average. | 11468 ac_have_func=no # yes means we've found a way to get the load average. |
11470 | 11469 |
11471 # Make sure getloadavg.c is where it belongs, at configure-time. | 11470 # Make sure getloadavg.c is where it belongs, at configure-time. |
11472 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 11471 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11473 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 11472 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
11474 | 11473 |
11475 ac_save_LIBS=$LIBS | 11474 ac_save_LIBS=$LIBS |
11476 | 11475 |
11477 # Check for getloadavg, but be sure not to touch the cache variable. | 11476 # Check for getloadavg, but be sure not to touch the cache variable. |
11478 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 11477 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12337 else | 12336 else |
12338 have_tputs_et_al=false | 12337 have_tputs_et_al=false |
12339 fi | 12338 fi |
12340 | 12339 |
12341 if test "$have_tputs_et_al" != true; then | 12340 if test "$have_tputs_et_al" != true; then |
12342 as_fn_error $? "I couldn't find termcap functions (tputs and friends). | 12341 as_fn_error "I couldn't find termcap functions (tputs and friends). |
12343 Maybe some development libraries/packages are missing? Try installing | 12342 Maybe some development libraries/packages are missing? Try installing |
12344 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 12343 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
12345 fi | 12344 fi |
12346 # Must define this when any termcap library is found. | 12345 # Must define this when any termcap library is found. |
12347 | 12346 |
13484 | 13483 |
13485 for ac_func in fork vfork | 13484 for ac_func in fork vfork |
13486 do : | 13485 do : |
13487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 13487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 13488 eval as_val=\$$as_ac_var |
13489 if test "x$as_val" = x""yes; then : | |
13490 cat >>confdefs.h <<_ACEOF | 13490 cat >>confdefs.h <<_ACEOF |
13491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13492 _ACEOF | 13492 _ACEOF |
13493 | 13493 |
13494 fi | 13494 fi |
13858 ## Hack to detect a buggy GCC version. | 13858 ## Hack to detect a buggy GCC version. |
13859 if test "x$GCC" = xyes \ | 13859 if test "x$GCC" = xyes \ |
13860 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ | 13860 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ |
13861 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ | 13861 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ |
13862 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then | 13862 && 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 | 13863 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 |
13864 fi | 13864 fi |
13865 | 13865 |
13866 #### Find out which version of Emacs this is. | 13866 #### Find out which version of Emacs this is. |
13867 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 13867 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
13868 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 13868 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
13869 if test x"${version}" = x; then | 13869 if test x"${version}" = x; then |
13870 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 13870 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 |
13871 fi | 13871 fi |
13872 if test x"${version}" != x"$PACKAGE_VERSION"; then | 13872 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 | 13873 { $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;} | 13874 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
13875 fi | 13875 fi |
14147 | 14147 |
14148 LINKER= | 14148 LINKER= |
14149 ORDINARY_LINK= | 14149 ORDINARY_LINK= |
14150 case "$opsys" in | 14150 case "$opsys" in |
14151 ## gnu: GNU needs its own crt0. | 14151 ## gnu: GNU needs its own crt0. |
14152 aix4-2|cygwin|darwin|gnu|usg5-4|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;; | 14152 aix4-2|cygwin|darwin|gnu|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;; |
14153 | 14153 |
14154 ## On post 1.3 releases of NetBSD, gcc -nostdlib also clears the | 14154 ## On post 1.3 releases of NetBSD, gcc -nostdlib also clears the |
14155 ## library search parth, i.e. it won't search /usr/lib for libc and | 14155 ## library search parth, i.e. it won't search /usr/lib for libc and |
14156 ## friends. Using -nostartfiles instead avoids this problem, and | 14156 ## friends. Using -nostartfiles instead avoids this problem, and |
14157 ## will also work on earlier NetBSD releases. | 14157 ## will also work on earlier NetBSD releases. |
14423 | 14423 |
14424 DEFS=-DHAVE_CONFIG_H | 14424 DEFS=-DHAVE_CONFIG_H |
14425 | 14425 |
14426 ac_libobjs= | 14426 ac_libobjs= |
14427 ac_ltlibobjs= | 14427 ac_ltlibobjs= |
14428 U= | |
14429 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 14428 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14430 # 1. Remove the extension, and $U if already installed. | 14429 # 1. Remove the extension, and $U if already installed. |
14431 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 14430 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14432 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 14431 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 14432 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
14585 | 14584 |
14586 # CDPATH. | 14585 # CDPATH. |
14587 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 14586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14588 | 14587 |
14589 | 14588 |
14590 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 14589 # as_fn_error ERROR [LINENO LOG_FD] |
14591 # ---------------------------------------- | 14590 # --------------------------------- |
14592 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 14591 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14593 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 14592 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14594 # script with STATUS, using 1 if that was 0. | 14593 # script with status $?, using 1 if that was 0. |
14595 as_fn_error () | 14594 as_fn_error () |
14596 { | 14595 { |
14597 as_status=$1; test $as_status -eq 0 && as_status=1 | 14596 as_status=$?; test $as_status -eq 0 && as_status=1 |
14598 if test "$4"; then | 14597 if test "$3"; then |
14599 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 14598 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14600 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 14599 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
14601 fi | 14600 fi |
14602 $as_echo "$as_me: error: $2" >&2 | 14601 $as_echo "$as_me: error: $1" >&2 |
14603 as_fn_exit $as_status | 14602 as_fn_exit $as_status |
14604 } # as_fn_error | 14603 } # as_fn_error |
14605 | 14604 |
14606 | 14605 |
14607 # as_fn_set_status STATUS | 14606 # as_fn_set_status STATUS |
14793 } | 14792 } |
14794 s/.*/./; q'` | 14793 s/.*/./; q'` |
14795 test -d "$as_dir" && break | 14794 test -d "$as_dir" && break |
14796 done | 14795 done |
14797 test -z "$as_dirs" || eval "mkdir $as_dirs" | 14796 test -z "$as_dirs" || eval "mkdir $as_dirs" |
14798 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 14797 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
14799 | 14798 |
14800 | 14799 |
14801 } # as_fn_mkdir_p | 14800 } # as_fn_mkdir_p |
14802 if mkdir -p . 2>/dev/null; then | 14801 if mkdir -p . 2>/dev/null; then |
14803 as_mkdir_p='mkdir -p "$as_dir"' | 14802 as_mkdir_p='mkdir -p "$as_dir"' |
14847 # Save the log message, to keep $0 and so on meaningful, and to | 14846 # Save the log message, to keep $0 and so on meaningful, and to |
14848 # report actual input values of CONFIG_FILES etc. instead of their | 14847 # report actual input values of CONFIG_FILES etc. instead of their |
14849 # values after options handling. | 14848 # values after options handling. |
14850 ac_log=" | 14849 ac_log=" |
14851 This file was extended by emacs $as_me 24.0.50, which was | 14850 This file was extended by emacs $as_me 24.0.50, which was |
14852 generated by GNU Autoconf 2.66. Invocation command line was | 14851 generated by GNU Autoconf 2.65. Invocation command line was |
14853 | 14852 |
14854 CONFIG_FILES = $CONFIG_FILES | 14853 CONFIG_FILES = $CONFIG_FILES |
14855 CONFIG_HEADERS = $CONFIG_HEADERS | 14854 CONFIG_HEADERS = $CONFIG_HEADERS |
14856 CONFIG_LINKS = $CONFIG_LINKS | 14855 CONFIG_LINKS = $CONFIG_LINKS |
14857 CONFIG_COMMANDS = $CONFIG_COMMANDS | 14856 CONFIG_COMMANDS = $CONFIG_COMMANDS |
14913 _ACEOF | 14912 _ACEOF |
14914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14915 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 14914 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14916 ac_cs_version="\\ | 14915 ac_cs_version="\\ |
14917 emacs config.status 24.0.50 | 14916 emacs config.status 24.0.50 |
14918 configured by $0, generated by GNU Autoconf 2.66, | 14917 configured by $0, generated by GNU Autoconf 2.65, |
14919 with options \\"\$ac_cs_config\\" | 14918 with options \\"\$ac_cs_config\\" |
14920 | 14919 |
14921 Copyright (C) 2010 Free Software Foundation, Inc. | 14920 Copyright (C) 2009 Free Software Foundation, Inc. |
14922 This config.status script is free software; the Free Software Foundation | 14921 This config.status script is free software; the Free Software Foundation |
14923 gives unlimited permission to copy, distribute and modify it." | 14922 gives unlimited permission to copy, distribute and modify it." |
14924 | 14923 |
14925 ac_pwd='$ac_pwd' | 14924 ac_pwd='$ac_pwd' |
14926 srcdir='$srcdir' | 14925 srcdir='$srcdir' |
14970 esac | 14969 esac |
14971 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 14970 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
14972 ac_need_defaults=false;; | 14971 ac_need_defaults=false;; |
14973 --he | --h) | 14972 --he | --h) |
14974 # Conflict between --help and --header | 14973 # Conflict between --help and --header |
14975 as_fn_error $? "ambiguous option: \`$1' | 14974 as_fn_error "ambiguous option: \`$1' |
14976 Try \`$0 --help' for more information.";; | 14975 Try \`$0 --help' for more information.";; |
14977 --help | --hel | -h ) | 14976 --help | --hel | -h ) |
14978 $as_echo "$ac_cs_usage"; exit ;; | 14977 $as_echo "$ac_cs_usage"; exit ;; |
14979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 14978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14980 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 14979 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
14981 ac_cs_silent=: ;; | 14980 ac_cs_silent=: ;; |
14982 | 14981 |
14983 # This is an error. | 14982 # This is an error. |
14984 -*) as_fn_error $? "unrecognized option: \`$1' | 14983 -*) as_fn_error "unrecognized option: \`$1' |
14985 Try \`$0 --help' for more information." ;; | 14984 Try \`$0 --help' for more information." ;; |
14986 | 14985 |
14987 *) as_fn_append ac_config_targets " $1" | 14986 *) as_fn_append ac_config_targets " $1" |
14988 ac_need_defaults=false ;; | 14987 ac_need_defaults=false ;; |
14989 | 14988 |
15047 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 15046 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
15048 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 15047 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
15049 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 15048 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
15050 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 15049 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
15051 | 15050 |
15052 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15051 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15053 esac | 15052 esac |
15054 done | 15053 done |
15055 | 15054 |
15056 | 15055 |
15057 # If the user did not use the arguments to specify the items to instantiate, | 15056 # If the user did not use the arguments to specify the items to instantiate, |
15085 test -n "$tmp" && test -d "$tmp" | 15084 test -n "$tmp" && test -d "$tmp" |
15086 } || | 15085 } || |
15087 { | 15086 { |
15088 tmp=./conf$$-$RANDOM | 15087 tmp=./conf$$-$RANDOM |
15089 (umask 077 && mkdir "$tmp") | 15088 (umask 077 && mkdir "$tmp") |
15090 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 15089 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
15091 | 15090 |
15092 # Set up the scripts for CONFIG_FILES section. | 15091 # Set up the scripts for CONFIG_FILES section. |
15093 # No need to generate them if there are no CONFIG_FILES. | 15092 # No need to generate them if there are no CONFIG_FILES. |
15094 # This happens for instance with `./config.status config.h'. | 15093 # This happens for instance with `./config.status config.h'. |
15095 if test -n "$CONFIG_FILES"; then | 15094 if test -n "$CONFIG_FILES"; then |
15119 if test "x$ac_cr" = x; then | 15118 if test "x$ac_cr" = x; then |
15120 eval ac_cr=\$\'\\r\' | 15119 eval ac_cr=\$\'\\r\' |
15121 fi | 15120 fi |
15122 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 15121 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15123 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 15122 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15124 ac_cs_awk_cr='\\r' | 15123 ac_cs_awk_cr='\r' |
15125 else | 15124 else |
15126 ac_cs_awk_cr=$ac_cr | 15125 ac_cs_awk_cr=$ac_cr |
15127 fi | 15126 fi |
15128 | 15127 |
15129 echo 'BEGIN {' >"$tmp/subs1.awk" && | 15128 echo 'BEGIN {' >"$tmp/subs1.awk" && |
15136 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | 15135 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
15137 echo "_ACAWK" && | 15136 echo "_ACAWK" && |
15138 echo "_ACEOF" | 15137 echo "_ACEOF" |
15139 } >conf$$files.sh && | 15138 } >conf$$files.sh && |
15140 . ./conf$$files.sh || | 15139 . ./conf$$files.sh || |
15141 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15140 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15142 rm -f conf$$files.sh | 15141 rm -f conf$$files.sh |
15143 | 15142 |
15144 { | 15143 { |
15145 echo "cat >conf$$subs.awk <<_ACEOF" && | 15144 echo "cat >conf$$subs.awk <<_ACEOF" && |
15146 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 15145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15147 echo "_ACEOF" | 15146 echo "_ACEOF" |
15148 } >conf$$subs.sh || | 15147 } >conf$$subs.sh || |
15149 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15148 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15150 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 15149 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
15151 ac_delim='%!_!# ' | 15150 ac_delim='%!_!# ' |
15152 for ac_last_try in false false false false false :; do | 15151 for ac_last_try in false false false false false :; do |
15153 . ./conf$$subs.sh || | 15152 . ./conf$$subs.sh || |
15154 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15153 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15155 | 15154 |
15156 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 15155 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15157 if test $ac_delim_n = $ac_delim_num; then | 15156 if test $ac_delim_n = $ac_delim_num; then |
15158 break | 15157 break |
15159 elif $ac_last_try; then | 15158 elif $ac_last_try; then |
15160 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15159 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15161 else | 15160 else |
15162 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15163 fi | 15162 fi |
15164 done | 15163 done |
15165 rm -f conf$$subs.sh | 15164 rm -f conf$$subs.sh |
15250 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 15249 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15251 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 15250 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15252 else | 15251 else |
15253 cat | 15252 cat |
15254 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 15253 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15255 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 15254 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
15256 _ACEOF | 15255 _ACEOF |
15257 | 15256 |
15258 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 15257 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
15259 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 15258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
15260 # trailing colons and then remove the whole line if VPATH becomes empty | 15259 # trailing colons and then remove the whole line if VPATH becomes empty |
15261 # (actually we leave an empty line to preserve line numbers). | 15260 # (actually we leave an empty line to preserve line numbers). |
15262 if test "x$srcdir" = x.; then | 15261 if test "x$srcdir" = x.; then |
15263 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | 15262 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
15264 h | 15263 s/:*\$(srcdir):*/:/ |
15265 s/// | 15264 s/:*\${srcdir}:*/:/ |
15266 s/^/:/ | 15265 s/:*@srcdir@:*/:/ |
15267 s/[ ]*$/:/ | 15266 s/^\([^=]*=[ ]*\):*/\1/ |
15268 s/:\$(srcdir):/:/g | |
15269 s/:\${srcdir}:/:/g | |
15270 s/:@srcdir@:/:/g | |
15271 s/^:*// | |
15272 s/:*$// | 15267 s/:*$// |
15273 x | |
15274 s/\(=[ ]*\).*/\1/ | |
15275 G | |
15276 s/\n// | |
15277 s/^[^=]*=[ ]*$// | 15268 s/^[^=]*=[ ]*$// |
15278 }' | 15269 }' |
15279 fi | 15270 fi |
15280 | 15271 |
15281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15299 for ac_last_try in false false :; do | 15290 for ac_last_try in false false :; do |
15300 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 15291 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15301 if test -z "$ac_t"; then | 15292 if test -z "$ac_t"; then |
15302 break | 15293 break |
15303 elif $ac_last_try; then | 15294 elif $ac_last_try; then |
15304 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 15295 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15305 else | 15296 else |
15306 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15297 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15307 fi | 15298 fi |
15308 done | 15299 done |
15309 | 15300 |
15384 } | 15375 } |
15385 { print } | 15376 { print } |
15386 _ACAWK | 15377 _ACAWK |
15387 _ACEOF | 15378 _ACEOF |
15388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15389 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 15380 as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
15390 fi # test -n "$CONFIG_HEADERS" | 15381 fi # test -n "$CONFIG_HEADERS" |
15391 | 15382 |
15392 | 15383 |
15393 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 15384 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15394 shift | 15385 shift |
15397 case $ac_tag in | 15388 case $ac_tag in |
15398 :[FHLC]) ac_mode=$ac_tag; continue;; | 15389 :[FHLC]) ac_mode=$ac_tag; continue;; |
15399 esac | 15390 esac |
15400 case $ac_mode$ac_tag in | 15391 case $ac_mode$ac_tag in |
15401 :[FHL]*:*);; | 15392 :[FHL]*:*);; |
15402 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 15393 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15403 :[FH]-) ac_tag=-:-;; | 15394 :[FH]-) ac_tag=-:-;; |
15404 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 15395 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15405 esac | 15396 esac |
15406 ac_save_IFS=$IFS | 15397 ac_save_IFS=$IFS |
15407 IFS=: | 15398 IFS=: |
15425 test -f "$ac_f" || | 15416 test -f "$ac_f" || |
15426 case $ac_f in | 15417 case $ac_f in |
15427 [\\/$]*) false;; | 15418 [\\/$]*) false;; |
15428 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 15419 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15429 esac || | 15420 esac || |
15430 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 15421 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15431 esac | 15422 esac |
15432 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 15423 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15433 as_fn_append ac_file_inputs " '$ac_f'" | 15424 as_fn_append ac_file_inputs " '$ac_f'" |
15434 done | 15425 done |
15435 | 15426 |
15452 *) ac_sed_conf_input=$configure_input;; | 15443 *) ac_sed_conf_input=$configure_input;; |
15453 esac | 15444 esac |
15454 | 15445 |
15455 case $ac_tag in | 15446 case $ac_tag in |
15456 *:-:* | *:-) cat >"$tmp/stdin" \ | 15447 *:-:* | *:-) cat >"$tmp/stdin" \ |
15457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 15448 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
15458 esac | 15449 esac |
15459 ;; | 15450 ;; |
15460 esac | 15451 esac |
15461 | 15452 |
15462 ac_dir=`$as_dirname -- "$ac_file" || | 15453 ac_dir=`$as_dirname -- "$ac_file" || |
15588 if $ac_cs_awk_getline; then | 15579 if $ac_cs_awk_getline; then |
15589 $AWK -f "$tmp/subs.awk" | 15580 $AWK -f "$tmp/subs.awk" |
15590 else | 15581 else |
15591 $AWK -f "$tmp/subs.awk" | $SHELL | 15582 $AWK -f "$tmp/subs.awk" | $SHELL |
15592 fi >$tmp/out \ | 15583 fi >$tmp/out \ |
15593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15584 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15594 | 15585 |
15595 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 15586 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15596 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 15587 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
15597 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 15588 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15599 which seems to be undefined. Please make sure it is defined" >&5 | 15590 which seems to be undefined. Please make sure it is defined." >&5 |
15600 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15591 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15601 which seems to be undefined. Please make sure it is defined" >&2;} | 15592 which seems to be undefined. Please make sure it is defined." >&2;} |
15602 | 15593 |
15603 rm -f "$tmp/stdin" | 15594 rm -f "$tmp/stdin" |
15604 case $ac_file in | 15595 case $ac_file in |
15605 -) cat "$tmp/out" && rm -f "$tmp/out";; | 15596 -) cat "$tmp/out" && rm -f "$tmp/out";; |
15606 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 15597 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
15607 esac \ | 15598 esac \ |
15608 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15599 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15609 ;; | 15600 ;; |
15610 :H) | 15601 :H) |
15611 # | 15602 # |
15612 # CONFIG_HEADER | 15603 # CONFIG_HEADER |
15613 # | 15604 # |
15614 if test x"$ac_file" != x-; then | 15605 if test x"$ac_file" != x-; then |
15615 { | 15606 { |
15616 $as_echo "/* $configure_input */" \ | 15607 $as_echo "/* $configure_input */" \ |
15617 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 15608 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
15618 } >"$tmp/config.h" \ | 15609 } >"$tmp/config.h" \ |
15619 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15610 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15620 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 15611 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 15612 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15622 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 15613 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
15623 else | 15614 else |
15624 rm -f "$ac_file" | 15615 rm -f "$ac_file" |
15625 mv "$tmp/config.h" "$ac_file" \ | 15616 mv "$tmp/config.h" "$ac_file" \ |
15626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15617 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15627 fi | 15618 fi |
15628 else | 15619 else |
15629 $as_echo "/* $configure_input */" \ | 15620 $as_echo "/* $configure_input */" \ |
15630 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 15621 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
15631 || as_fn_error $? "could not create -" "$LINENO" 5 | 15622 || as_fn_error "could not create -" "$LINENO" 5 |
15632 fi | 15623 fi |
15633 ;; | 15624 ;; |
15634 | 15625 |
15635 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 15626 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15636 $as_echo "$as_me: executing $ac_file commands" >&6;} | 15627 $as_echo "$as_me: executing $ac_file commands" >&6;} |
15663 as_fn_exit 0 | 15654 as_fn_exit 0 |
15664 _ACEOF | 15655 _ACEOF |
15665 ac_clean_files=$ac_clean_files_save | 15656 ac_clean_files=$ac_clean_files_save |
15666 | 15657 |
15667 test $ac_write_fail = 0 || | 15658 test $ac_write_fail = 0 || |
15668 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 15659 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15669 | 15660 |
15670 | 15661 |
15671 # configure is writing to config.log, and then calls config.status. | 15662 # configure is writing to config.log, and then calls config.status. |
15672 # config.status does its own redirection, appending to config.log. | 15663 # config.status does its own redirection, appending to config.log. |
15673 # Unfortunately, on DOS this fails, as config.log is still kept open | 15664 # Unfortunately, on DOS this fails, as config.log is still kept open |
15684 exec 5>/dev/null | 15675 exec 5>/dev/null |
15685 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 15676 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15686 exec 5>>config.log | 15677 exec 5>>config.log |
15687 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 15678 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15688 # would make configure fail if this is the last instruction. | 15679 # would make configure fail if this is the last instruction. |
15689 $ac_cs_success || as_fn_exit 1 | 15680 $ac_cs_success || as_fn_exit $? |
15690 fi | 15681 fi |
15691 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 15682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 15683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15693 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 15684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15694 fi | 15685 fi |