Mercurial > emacs
comparison configure @ 109732:470bed744331
Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition.
* m/alpha.h: Don't define/undef WORDS_BIG_ENDIAN.
* m/amdx86-64.h: Likewise.
* m/arm.h: Likewise.
* m/hp800.h: Likewise.
* m/ia64.h: Likewise.
* m/ibmrs6000.h: Likewise.
* m/ibms390.h: Likewise.
* m/intel386.h: Likewise.
* m/iris4d.h: Likewise.
* m/m68k.h: Likewise.
* m/macppc.h: Likewise.
* m/mips.h: Likewise.
* m/sh3.h: Likewise.
* m/sparc.h: Likewise.
* m/template.h: Likewise.
* m/vax.h: Likewise.
* m/xtensa.h: Likewise.
* fringe.c (init_fringe_bitmap): Test WORDS_BIGENDIAN instead of
WORDS_BIG_ENDIAN.
* lisp.h: Likewise.
* md5.c: Likewise.
* sound.c (le2hl, le2hs, be2hl, be2hs): Likewise.
* CPP-DEFINES (WORDS_BIG_ENDIAN): Remove.
* configure.in: Add AC_C_BIGENDIAN.
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Mon, 09 Aug 2010 21:25:41 +0200 |
parents | d50010a75cee |
children | 3226ac2da7f7 |
comparison
equal
deleted
inserted
replaced
109731:01af31a38d9e | 109732:470bed744331 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.65 for emacs 24.0.50. | 3 # Generated by GNU Autoconf 2.66 for emacs 24.0.50. |
4 # | 4 # |
5 # | 5 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 # Inc. | 8 # Foundation, Inc. |
9 # | 9 # |
10 # | 10 # |
11 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 13 ## -------------------- ## |
314 } | 314 } |
315 s/.*/./; q'` | 315 s/.*/./; q'` |
316 test -d "$as_dir" && break | 316 test -d "$as_dir" && break |
317 done | 317 done |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | 318 test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | 320 |
321 | 321 |
322 } # as_fn_mkdir_p | 322 } # as_fn_mkdir_p |
323 # as_fn_append VAR VALUE | 323 # as_fn_append VAR VALUE |
324 # ---------------------- | 324 # ---------------------- |
354 as_val=`expr "$@" || test $? -eq 1` | 354 as_val=`expr "$@" || test $? -eq 1` |
355 } | 355 } |
356 fi # as_fn_arith | 356 fi # as_fn_arith |
357 | 357 |
358 | 358 |
359 # as_fn_error ERROR [LINENO LOG_FD] | 359 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
360 # --------------------------------- | 360 # ---------------------------------------- |
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
363 # script with status $?, using 1 if that was 0. | 363 # script with STATUS, using 1 if that was 0. |
364 as_fn_error () | 364 as_fn_error () |
365 { | 365 { |
366 as_status=$?; test $as_status -eq 0 && as_status=1 | 366 as_status=$1; test $as_status -eq 0 && as_status=1 |
367 if test "$3"; then | 367 if test "$4"; then |
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
370 fi | 370 fi |
371 $as_echo "$as_me: error: $1" >&2 | 371 $as_echo "$as_me: error: $2" >&2 |
372 as_fn_exit $as_status | 372 as_fn_exit $as_status |
373 } # as_fn_error | 373 } # as_fn_error |
374 | 374 |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 375 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
528 | 528 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 529 test -n "$DJDIR" || exec 7<&0 </dev/null |
530 exec 6>&1 | 530 exec 6>&1 |
531 | 531 |
532 # Name of the host. | 532 # Name of the host. |
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
534 # so uname gets run too. | 534 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
536 | 536 |
537 # | 537 # |
538 # Initializations. | 538 # Initializations. |
948 | 948 |
949 -disable-* | --disable-*) | 949 -disable-* | --disable-*) |
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
951 # Reject names that are not valid shell variable names. | 951 # Reject names that are not valid shell variable names. |
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
953 as_fn_error "invalid feature name: $ac_useropt" | 953 as_fn_error $? "invalid feature name: $ac_useropt" |
954 ac_useropt_orig=$ac_useropt | 954 ac_useropt_orig=$ac_useropt |
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
956 case $ac_user_opts in | 956 case $ac_user_opts in |
957 *" | 957 *" |
958 "enable_$ac_useropt" | 958 "enable_$ac_useropt" |
974 | 974 |
975 -enable-* | --enable-*) | 975 -enable-* | --enable-*) |
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
977 # Reject names that are not valid shell variable names. | 977 # Reject names that are not valid shell variable names. |
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
979 as_fn_error "invalid feature name: $ac_useropt" | 979 as_fn_error $? "invalid feature name: $ac_useropt" |
980 ac_useropt_orig=$ac_useropt | 980 ac_useropt_orig=$ac_useropt |
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
982 case $ac_user_opts in | 982 case $ac_user_opts in |
983 *" | 983 *" |
984 "enable_$ac_useropt" | 984 "enable_$ac_useropt" |
1178 | 1178 |
1179 -with-* | --with-*) | 1179 -with-* | --with-*) |
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1181 # Reject names that are not valid shell variable names. | 1181 # Reject names that are not valid shell variable names. |
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1183 as_fn_error "invalid package name: $ac_useropt" | 1183 as_fn_error $? "invalid package name: $ac_useropt" |
1184 ac_useropt_orig=$ac_useropt | 1184 ac_useropt_orig=$ac_useropt |
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1186 case $ac_user_opts in | 1186 case $ac_user_opts in |
1187 *" | 1187 *" |
1188 "with_$ac_useropt" | 1188 "with_$ac_useropt" |
1194 | 1194 |
1195 -without-* | --without-*) | 1195 -without-* | --without-*) |
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1197 # Reject names that are not valid shell variable names. | 1197 # Reject names that are not valid shell variable names. |
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1199 as_fn_error "invalid package name: $ac_useropt" | 1199 as_fn_error $? "invalid package name: $ac_useropt" |
1200 ac_useropt_orig=$ac_useropt | 1200 ac_useropt_orig=$ac_useropt |
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1202 case $ac_user_opts in | 1202 case $ac_user_opts in |
1203 *" | 1203 *" |
1204 "with_$ac_useropt" | 1204 "with_$ac_useropt" |
1224 ac_prev=x_libraries ;; | 1224 ac_prev=x_libraries ;; |
1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1227 x_libraries=$ac_optarg ;; | 1227 x_libraries=$ac_optarg ;; |
1228 | 1228 |
1229 -*) as_fn_error "unrecognized option: \`$ac_option' | 1229 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1230 Try \`$0 --help' for more information." | 1230 Try \`$0 --help' for more information" |
1231 ;; | 1231 ;; |
1232 | 1232 |
1233 *=*) | 1233 *=*) |
1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1235 # Reject names that are not valid shell variable names. | 1235 # Reject names that are not valid shell variable names. |
1236 case $ac_envvar in #( | 1236 case $ac_envvar in #( |
1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1238 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1238 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1239 esac | 1239 esac |
1240 eval $ac_envvar=\$ac_optarg | 1240 eval $ac_envvar=\$ac_optarg |
1241 export $ac_envvar ;; | 1241 export $ac_envvar ;; |
1242 | 1242 |
1243 *) | 1243 *) |
1251 esac | 1251 esac |
1252 done | 1252 done |
1253 | 1253 |
1254 if test -n "$ac_prev"; then | 1254 if test -n "$ac_prev"; then |
1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1256 as_fn_error "missing argument to $ac_option" | 1256 as_fn_error $? "missing argument to $ac_option" |
1257 fi | 1257 fi |
1258 | 1258 |
1259 if test -n "$ac_unrecognized_opts"; then | 1259 if test -n "$ac_unrecognized_opts"; then |
1260 case $enable_option_checking in | 1260 case $enable_option_checking in |
1261 no) ;; | 1261 no) ;; |
1262 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1264 esac | 1264 esac |
1265 fi | 1265 fi |
1266 | 1266 |
1267 # Check all directory arguments for consistency. | 1267 # Check all directory arguments for consistency. |
1280 # Be sure to have absolute directory names. | 1280 # Be sure to have absolute directory names. |
1281 case $ac_val in | 1281 case $ac_val in |
1282 [\\/$]* | ?:[\\/]* ) continue;; | 1282 [\\/$]* | ?:[\\/]* ) continue;; |
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1284 esac | 1284 esac |
1285 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1285 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1286 done | 1286 done |
1287 | 1287 |
1288 # There might be people who depend on the old broken behavior: `$host' | 1288 # There might be people who depend on the old broken behavior: `$host' |
1289 # used to hold the argument of --host etc. | 1289 # used to hold the argument of --host etc. |
1290 # FIXME: To remove some day. | 1290 # FIXME: To remove some day. |
1294 | 1294 |
1295 # FIXME: To remove some day. | 1295 # FIXME: To remove some day. |
1296 if test "x$host_alias" != x; then | 1296 if test "x$host_alias" != x; then |
1297 if test "x$build_alias" = x; then | 1297 if test "x$build_alias" = x; then |
1298 cross_compiling=maybe | 1298 cross_compiling=maybe |
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1299 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1300 If a cross compiler is detected then cross compile mode will be used." >&2 | 1300 If a cross compiler is detected then cross compile mode will be used" >&2 |
1301 elif test "x$build_alias" != "x$host_alias"; then | 1301 elif test "x$build_alias" != "x$host_alias"; then |
1302 cross_compiling=yes | 1302 cross_compiling=yes |
1303 fi | 1303 fi |
1304 fi | 1304 fi |
1305 | 1305 |
1310 | 1310 |
1311 | 1311 |
1312 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1312 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1313 ac_ls_di=`ls -di .` && | 1313 ac_ls_di=`ls -di .` && |
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1315 as_fn_error "working directory cannot be determined" | 1315 as_fn_error $? "working directory cannot be determined" |
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1317 as_fn_error "pwd does not report name of working directory" | 1317 as_fn_error $? "pwd does not report name of working directory" |
1318 | 1318 |
1319 | 1319 |
1320 # Find the source files, if location was not specified. | 1320 # Find the source files, if location was not specified. |
1321 if test -z "$srcdir"; then | 1321 if test -z "$srcdir"; then |
1322 ac_srcdir_defaulted=yes | 1322 ac_srcdir_defaulted=yes |
1351 else | 1351 else |
1352 ac_srcdir_defaulted=no | 1352 ac_srcdir_defaulted=no |
1353 fi | 1353 fi |
1354 if test ! -r "$srcdir/$ac_unique_file"; then | 1354 if test ! -r "$srcdir/$ac_unique_file"; then |
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1356 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1357 fi | 1357 fi |
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1359 ac_abs_confdir=`( | 1359 ac_abs_confdir=`( |
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1361 pwd)` | 1361 pwd)` |
1362 # When building in place, set srcdir=. | 1362 # When building in place, set srcdir=. |
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1363 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1364 srcdir=. | 1364 srcdir=. |
1365 fi | 1365 fi |
1395 Configuration: | 1395 Configuration: |
1396 -h, --help display this help and exit | 1396 -h, --help display this help and exit |
1397 --help=short display options specific to this package | 1397 --help=short display options specific to this package |
1398 --help=recursive display the short help of all the included packages | 1398 --help=recursive display the short help of all the included packages |
1399 -V, --version display version information and exit | 1399 -V, --version display version information and exit |
1400 -q, --quiet, --silent do not print \`checking...' messages | 1400 -q, --quiet, --silent do not print \`checking ...' messages |
1401 --cache-file=FILE cache test results in FILE [disabled] | 1401 --cache-file=FILE cache test results in FILE [disabled] |
1402 -C, --config-cache alias for \`--cache-file=config.cache' | 1402 -C, --config-cache alias for \`--cache-file=config.cache' |
1403 -n, --no-create do not create output files | 1403 -n, --no-create do not create output files |
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1405 | 1405 |
1611 | 1611 |
1612 test -n "$ac_init_help" && exit $ac_status | 1612 test -n "$ac_init_help" && exit $ac_status |
1613 if $ac_init_version; then | 1613 if $ac_init_version; then |
1614 cat <<\_ACEOF | 1614 cat <<\_ACEOF |
1615 emacs configure 24.0.50 | 1615 emacs configure 24.0.50 |
1616 generated by GNU Autoconf 2.65 | 1616 generated by GNU Autoconf 2.66 |
1617 | 1617 |
1618 Copyright (C) 2009 Free Software Foundation, Inc. | 1618 Copyright (C) 2010 Free Software Foundation, Inc. |
1619 This configure script is free software; the Free Software Foundation | 1619 This configure script is free software; the Free Software Foundation |
1620 gives unlimited permission to copy, distribute and modify it. | 1620 gives unlimited permission to copy, distribute and modify it. |
1621 _ACEOF | 1621 _ACEOF |
1622 exit | 1622 exit |
1623 fi | 1623 fi |
1753 # the include files in INCLUDES and setting the cache variable VAR | 1753 # the include files in INCLUDES and setting the cache variable VAR |
1754 # accordingly. | 1754 # accordingly. |
1755 ac_fn_c_check_header_mongrel () | 1755 ac_fn_c_check_header_mongrel () |
1756 { | 1756 { |
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1758 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1758 if eval "test \"\${$3+set}\"" = set; then : |
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1760 $as_echo_n "checking for $2... " >&6; } | 1760 $as_echo_n "checking for $2... " >&6; } |
1761 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1761 if eval "test \"\${$3+set}\"" = set; then : |
1762 $as_echo_n "(cached) " >&6 | 1762 $as_echo_n "(cached) " >&6 |
1763 fi | 1763 fi |
1764 eval ac_res=\$$3 | 1764 eval ac_res=\$$3 |
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1766 $as_echo "$ac_res" >&6; } | 1766 $as_echo "$ac_res" >&6; } |
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1820 ;; | 1820 ;; |
1821 esac | 1821 esac |
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1823 $as_echo_n "checking for $2... " >&6; } | 1823 $as_echo_n "checking for $2... " >&6; } |
1824 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1824 if eval "test \"\${$3+set}\"" = set; then : |
1825 $as_echo_n "(cached) " >&6 | 1825 $as_echo_n "(cached) " >&6 |
1826 else | 1826 else |
1827 eval "$3=\$ac_header_compiler" | 1827 eval "$3=\$ac_header_compiler" |
1828 fi | 1828 fi |
1829 eval ac_res=\$$3 | 1829 eval ac_res=\$$3 |
1883 ac_fn_c_check_header_compile () | 1883 ac_fn_c_check_header_compile () |
1884 { | 1884 { |
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1887 $as_echo_n "checking for $2... " >&6; } | 1887 $as_echo_n "checking for $2... " >&6; } |
1888 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1888 if eval "test \"\${$3+set}\"" = set; then : |
1889 $as_echo_n "(cached) " >&6 | 1889 $as_echo_n "(cached) " >&6 |
1890 else | 1890 else |
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1892 /* end confdefs.h. */ | 1892 /* end confdefs.h. */ |
1893 $4 | 1893 $4 |
1905 $as_echo "$ac_res" >&6; } | 1905 $as_echo "$ac_res" >&6; } |
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1907 | 1907 |
1908 } # ac_fn_c_check_header_compile | 1908 } # ac_fn_c_check_header_compile |
1909 | 1909 |
1910 # ac_fn_c_check_decl LINENO SYMBOL VAR | 1910 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1911 # ------------------------------------ | 1911 # --------------------------------------------- |
1912 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | 1912 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1913 # accordingly. | |
1913 ac_fn_c_check_decl () | 1914 ac_fn_c_check_decl () |
1914 { | 1915 { |
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | 1917 as_decl_name=`echo $2|sed 's/ *(.*//'` |
1917 $as_echo_n "checking whether $2 is declared... " >&6; } | 1918 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1920 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
1921 if eval "test \"\${$3+set}\"" = set; then : | |
1919 $as_echo_n "(cached) " >&6 | 1922 $as_echo_n "(cached) " >&6 |
1920 else | 1923 else |
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1922 /* end confdefs.h. */ | 1925 /* end confdefs.h. */ |
1923 $4 | 1926 $4 |
1924 int | 1927 int |
1925 main () | 1928 main () |
1926 { | 1929 { |
1927 #ifndef $2 | 1930 #ifndef $as_decl_name |
1928 (void) $2; | 1931 #ifdef __cplusplus |
1932 (void) $as_decl_use; | |
1933 #else | |
1934 (void) $as_decl_name; | |
1935 #endif | |
1929 #endif | 1936 #endif |
1930 | 1937 |
1931 ; | 1938 ; |
1932 return 0; | 1939 return 0; |
1933 } | 1940 } |
1952 ac_fn_c_check_header_preproc () | 1959 ac_fn_c_check_header_preproc () |
1953 { | 1960 { |
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1956 $as_echo_n "checking for $2... " >&6; } | 1963 $as_echo_n "checking for $2... " >&6; } |
1957 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1964 if eval "test \"\${$3+set}\"" = set; then : |
1958 $as_echo_n "(cached) " >&6 | 1965 $as_echo_n "(cached) " >&6 |
1959 else | 1966 else |
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1961 /* end confdefs.h. */ | 1968 /* end confdefs.h. */ |
1962 #include <$2> | 1969 #include <$2> |
1982 ac_fn_c_check_member () | 1989 ac_fn_c_check_member () |
1983 { | 1990 { |
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1986 $as_echo_n "checking for $2.$3... " >&6; } | 1993 $as_echo_n "checking for $2.$3... " >&6; } |
1987 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | 1994 if eval "test \"\${$4+set}\"" = set; then : |
1988 $as_echo_n "(cached) " >&6 | 1995 $as_echo_n "(cached) " >&6 |
1989 else | 1996 else |
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1991 /* end confdefs.h. */ | 1998 /* end confdefs.h. */ |
1992 $5 | 1999 $5 |
2038 ac_fn_c_check_func () | 2045 ac_fn_c_check_func () |
2039 { | 2046 { |
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2042 $as_echo_n "checking for $2... " >&6; } | 2049 $as_echo_n "checking for $2... " >&6; } |
2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2050 if eval "test \"\${$3+set}\"" = set; then : |
2044 $as_echo_n "(cached) " >&6 | 2051 $as_echo_n "(cached) " >&6 |
2045 else | 2052 else |
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2047 /* end confdefs.h. */ | 2054 /* end confdefs.h. */ |
2048 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2106 ac_fn_c_check_type () | 2113 ac_fn_c_check_type () |
2107 { | 2114 { |
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2110 $as_echo_n "checking for $2... " >&6; } | 2117 $as_echo_n "checking for $2... " >&6; } |
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2118 if eval "test \"\${$3+set}\"" = set; then : |
2112 $as_echo_n "(cached) " >&6 | 2119 $as_echo_n "(cached) " >&6 |
2113 else | 2120 else |
2114 eval "$3=no" | 2121 eval "$3=no" |
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2116 /* end confdefs.h. */ | 2123 /* end confdefs.h. */ |
2155 cat >config.log <<_ACEOF | 2162 cat >config.log <<_ACEOF |
2156 This file contains any messages produced by compilers while | 2163 This file contains any messages produced by compilers while |
2157 running configure, to aid debugging if configure makes a mistake. | 2164 running configure, to aid debugging if configure makes a mistake. |
2158 | 2165 |
2159 It was created by emacs $as_me 24.0.50, which was | 2166 It was created by emacs $as_me 24.0.50, which was |
2160 generated by GNU Autoconf 2.65. Invocation command line was | 2167 generated by GNU Autoconf 2.66. Invocation command line was |
2161 | 2168 |
2162 $ $0 $@ | 2169 $ $0 $@ |
2163 | 2170 |
2164 _ACEOF | 2171 _ACEOF |
2165 exec 5>>config.log | 2172 exec 5>>config.log |
2265 trap 'exit_status=$? | 2272 trap 'exit_status=$? |
2266 # Save into config.log some information that might help in debugging. | 2273 # Save into config.log some information that might help in debugging. |
2267 { | 2274 { |
2268 echo | 2275 echo |
2269 | 2276 |
2270 cat <<\_ASBOX | 2277 $as_echo "## ---------------- ## |
2271 ## ---------------- ## | |
2272 ## Cache variables. ## | 2278 ## Cache variables. ## |
2273 ## ---------------- ## | 2279 ## ---------------- ##" |
2274 _ASBOX | |
2275 echo | 2280 echo |
2276 # The following way of writing the cache mishandles newlines in values, | 2281 # The following way of writing the cache mishandles newlines in values, |
2277 ( | 2282 ( |
2278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2279 eval ac_val=\$$ac_var | 2284 eval ac_val=\$$ac_var |
2303 esac | | 2308 esac | |
2304 sort | 2309 sort |
2305 ) | 2310 ) |
2306 echo | 2311 echo |
2307 | 2312 |
2308 cat <<\_ASBOX | 2313 $as_echo "## ----------------- ## |
2309 ## ----------------- ## | |
2310 ## Output variables. ## | 2314 ## Output variables. ## |
2311 ## ----------------- ## | 2315 ## ----------------- ##" |
2312 _ASBOX | |
2313 echo | 2316 echo |
2314 for ac_var in $ac_subst_vars | 2317 for ac_var in $ac_subst_vars |
2315 do | 2318 do |
2316 eval ac_val=\$$ac_var | 2319 eval ac_val=\$$ac_var |
2317 case $ac_val in | 2320 case $ac_val in |
2320 $as_echo "$ac_var='\''$ac_val'\''" | 2323 $as_echo "$ac_var='\''$ac_val'\''" |
2321 done | sort | 2324 done | sort |
2322 echo | 2325 echo |
2323 | 2326 |
2324 if test -n "$ac_subst_files"; then | 2327 if test -n "$ac_subst_files"; then |
2325 cat <<\_ASBOX | 2328 $as_echo "## ------------------- ## |
2326 ## ------------------- ## | |
2327 ## File substitutions. ## | 2329 ## File substitutions. ## |
2328 ## ------------------- ## | 2330 ## ------------------- ##" |
2329 _ASBOX | |
2330 echo | 2331 echo |
2331 for ac_var in $ac_subst_files | 2332 for ac_var in $ac_subst_files |
2332 do | 2333 do |
2333 eval ac_val=\$$ac_var | 2334 eval ac_val=\$$ac_var |
2334 case $ac_val in | 2335 case $ac_val in |
2338 done | sort | 2339 done | sort |
2339 echo | 2340 echo |
2340 fi | 2341 fi |
2341 | 2342 |
2342 if test -s confdefs.h; then | 2343 if test -s confdefs.h; then |
2343 cat <<\_ASBOX | 2344 $as_echo "## ----------- ## |
2344 ## ----------- ## | |
2345 ## confdefs.h. ## | 2345 ## confdefs.h. ## |
2346 ## ----------- ## | 2346 ## ----------- ##" |
2347 _ASBOX | |
2348 echo | 2347 echo |
2349 cat confdefs.h | 2348 cat confdefs.h |
2350 echo | 2349 echo |
2351 fi | 2350 fi |
2352 test "$ac_signal" != 0 && | 2351 test "$ac_signal" != 0 && |
2397 # Let the site file select an alternate cache file if it wants to. | 2396 # Let the site file select an alternate cache file if it wants to. |
2398 # Prefer an explicitly selected file to automatically selected ones. | 2397 # Prefer an explicitly selected file to automatically selected ones. |
2399 ac_site_file1=NONE | 2398 ac_site_file1=NONE |
2400 ac_site_file2=NONE | 2399 ac_site_file2=NONE |
2401 if test -n "$CONFIG_SITE"; then | 2400 if test -n "$CONFIG_SITE"; then |
2402 ac_site_file1=$CONFIG_SITE | 2401 # We do not want a PATH search for config.site. |
2402 case $CONFIG_SITE in #(( | |
2403 -*) ac_site_file1=./$CONFIG_SITE;; | |
2404 */*) ac_site_file1=$CONFIG_SITE;; | |
2405 *) ac_site_file1=./$CONFIG_SITE;; | |
2406 esac | |
2403 elif test "x$prefix" != xNONE; then | 2407 elif test "x$prefix" != xNONE; then |
2404 ac_site_file1=$prefix/share/config.site | 2408 ac_site_file1=$prefix/share/config.site |
2405 ac_site_file2=$prefix/etc/config.site | 2409 ac_site_file2=$prefix/etc/config.site |
2406 else | 2410 else |
2407 ac_site_file1=$ac_default_prefix/share/config.site | 2411 ac_site_file1=$ac_default_prefix/share/config.site |
2412 test "x$ac_site_file" = xNONE && continue | 2416 test "x$ac_site_file" = xNONE && continue |
2413 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2417 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2415 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2419 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2416 sed 's/^/| /' "$ac_site_file" >&5 | 2420 sed 's/^/| /' "$ac_site_file" >&5 |
2417 . "$ac_site_file" | 2421 . "$ac_site_file" \ |
2422 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2424 as_fn_error $? "failed to load site script $ac_site_file | |
2425 See \`config.log' for more details" "$LINENO" 5; } | |
2418 fi | 2426 fi |
2419 done | 2427 done |
2420 | 2428 |
2421 if test -r "$cache_file"; then | 2429 if test -r "$cache_file"; then |
2422 # Some versions of bash will fail to source /dev/null (special files | 2430 # Some versions of bash will fail to source /dev/null (special files |
2493 if $ac_cache_corrupted; then | 2501 if $ac_cache_corrupted; then |
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2497 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2498 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2499 fi | 2507 fi |
2500 ## -------------------- ## | 2508 ## -------------------- ## |
2501 ## Main body of script. ## | 2509 ## Main body of script. ## |
2502 ## -------------------- ## | 2510 ## -------------------- ## |
2503 | 2511 |
2667 a | at | ath | athe | athen | athena ) val=athena ;; | 2675 a | at | ath | athe | athen | athena ) val=athena ;; |
2668 m | mo | mot | moti | motif ) val=motif ;; | 2676 m | mo | mot | moti | motif ) val=motif ;; |
2669 g | gt | gtk ) val=gtk ;; | 2677 g | gt | gtk ) val=gtk ;; |
2670 gtk3 ) val=gtk3 ;; | 2678 gtk3 ) val=gtk3 ;; |
2671 * ) | 2679 * ) |
2672 as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2680 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; |
2673 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or | 2681 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or |
2674 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2682 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2675 ;; | 2683 ;; |
2676 esac | 2684 esac |
2677 with_x_toolkit=$val | 2685 with_x_toolkit=$val |
2946 stringbytes) ac_gc_check_stringbytes=1 ;; | 2954 stringbytes) ac_gc_check_stringbytes=1 ;; |
2947 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2955 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2948 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2956 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2949 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2957 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2950 conslist) ac_gc_check_cons_list=1 ;; | 2958 conslist) ac_gc_check_cons_list=1 ;; |
2951 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2959 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; |
2952 esac | 2960 esac |
2953 done | 2961 done |
2954 IFS="$ac_save_IFS" | 2962 IFS="$ac_save_IFS" |
2955 | 2963 |
2956 if test x$ac_enable_checking != x ; then | 2964 if test x$ac_enable_checking != x ; then |
3064 | 3072 |
3065 ### Canonicalize the configuration name. | 3073 ### Canonicalize the configuration name. |
3066 | 3074 |
3067 ac_aux_dir= | 3075 ac_aux_dir= |
3068 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3076 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3069 for ac_t in install-sh install.sh shtool; do | 3077 if test -f "$ac_dir/install-sh"; then |
3070 if test -f "$ac_dir/$ac_t"; then | 3078 ac_aux_dir=$ac_dir |
3071 ac_aux_dir=$ac_dir | 3079 ac_install_sh="$ac_aux_dir/install-sh -c" |
3072 ac_install_sh="$ac_aux_dir/$ac_t -c" | 3080 break |
3073 break 2 | 3081 elif test -f "$ac_dir/install.sh"; then |
3074 fi | 3082 ac_aux_dir=$ac_dir |
3075 done | 3083 ac_install_sh="$ac_aux_dir/install.sh -c" |
3084 break | |
3085 elif test -f "$ac_dir/shtool"; then | |
3086 ac_aux_dir=$ac_dir | |
3087 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3088 break | |
3089 fi | |
3076 done | 3090 done |
3077 if test -z "$ac_aux_dir"; then | 3091 if test -z "$ac_aux_dir"; then |
3078 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3092 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3079 fi | 3093 fi |
3080 | 3094 |
3081 # These three variables are undocumented and unsupported, | 3095 # These three variables are undocumented and unsupported, |
3082 # and are intended to be withdrawn in a future Autoconf release. | 3096 # and are intended to be withdrawn in a future Autoconf release. |
3083 # They can cause serious problems if a builder's source tree is in a directory | 3097 # They can cause serious problems if a builder's source tree is in a directory |
3087 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3088 | 3102 |
3089 | 3103 |
3090 # Make sure we can run config.sub. | 3104 # Make sure we can run config.sub. |
3091 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3105 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3092 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3106 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3093 | 3107 |
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3095 $as_echo_n "checking build system type... " >&6; } | 3109 $as_echo_n "checking build system type... " >&6; } |
3096 if test "${ac_cv_build+set}" = set; then : | 3110 if test "${ac_cv_build+set}" = set; then : |
3097 $as_echo_n "(cached) " >&6 | 3111 $as_echo_n "(cached) " >&6 |
3098 else | 3112 else |
3099 ac_build_alias=$build_alias | 3113 ac_build_alias=$build_alias |
3100 test "x$ac_build_alias" = x && | 3114 test "x$ac_build_alias" = x && |
3101 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3102 test "x$ac_build_alias" = x && | 3116 test "x$ac_build_alias" = x && |
3103 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 3117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
3104 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3118 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3105 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3106 | 3120 |
3107 fi | 3121 fi |
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3109 $as_echo "$ac_cv_build" >&6; } | 3123 $as_echo "$ac_cv_build" >&6; } |
3110 case $ac_cv_build in | 3124 case $ac_cv_build in |
3111 *-*-*) ;; | 3125 *-*-*) ;; |
3112 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 3126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
3113 esac | 3127 esac |
3114 build=$ac_cv_build | 3128 build=$ac_cv_build |
3115 ac_save_IFS=$IFS; IFS='-' | 3129 ac_save_IFS=$IFS; IFS='-' |
3116 set x $ac_cv_build | 3130 set x $ac_cv_build |
3117 shift | 3131 shift |
3132 else | 3146 else |
3133 if test "x$host_alias" = x; then | 3147 if test "x$host_alias" = x; then |
3134 ac_cv_host=$ac_cv_build | 3148 ac_cv_host=$ac_cv_build |
3135 else | 3149 else |
3136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3150 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3138 fi | 3152 fi |
3139 | 3153 |
3140 fi | 3154 fi |
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3142 $as_echo "$ac_cv_host" >&6; } | 3156 $as_echo "$ac_cv_host" >&6; } |
3143 case $ac_cv_host in | 3157 case $ac_cv_host in |
3144 *-*-*) ;; | 3158 *-*-*) ;; |
3145 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 3159 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
3146 esac | 3160 esac |
3147 host=$ac_cv_host | 3161 host=$ac_cv_host |
3148 ac_save_IFS=$IFS; IFS='-' | 3162 ac_save_IFS=$IFS; IFS='-' |
3149 set x $ac_cv_host | 3163 set x $ac_cv_host |
3150 shift | 3164 shift |
3434 fi | 3448 fi |
3435 | 3449 |
3436 | 3450 |
3437 | 3451 |
3438 if test $unported = yes; then | 3452 if test $unported = yes; then |
3439 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 3453 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. |
3440 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3454 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
3441 fi | 3455 fi |
3442 | 3456 |
3443 machfile="m/${machine}.h" | 3457 machfile="m/${machine}.h" |
3444 opsysfile="s/${opsys}.h" | 3458 opsysfile="s/${opsys}.h" |
3748 fi | 3762 fi |
3749 | 3763 |
3750 | 3764 |
3751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3765 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3753 as_fn_error "no acceptable C compiler found in \$PATH | 3767 as_fn_error $? "no acceptable C compiler found in \$PATH |
3754 See \`config.log' for more details." "$LINENO" 5; } | 3768 See \`config.log' for more details" "$LINENO" 5; } |
3755 | 3769 |
3756 # Provide some information about the compiler. | 3770 # Provide some information about the compiler. |
3757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3758 set X $ac_compile | 3772 set X $ac_compile |
3759 ac_compiler=$2 | 3773 ac_compiler=$2 |
3863 $as_echo "$as_me: failed program was:" >&5 | 3877 $as_echo "$as_me: failed program was:" >&5 |
3864 sed 's/^/| /' conftest.$ac_ext >&5 | 3878 sed 's/^/| /' conftest.$ac_ext >&5 |
3865 | 3879 |
3866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3868 { as_fn_set_status 77 | 3882 as_fn_error 77 "C compiler cannot create executables |
3869 as_fn_error "C compiler cannot create executables | 3883 See \`config.log' for more details" "$LINENO" 5; } |
3870 See \`config.log' for more details." "$LINENO" 5; }; } | |
3871 else | 3884 else |
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3873 $as_echo "yes" >&6; } | 3886 $as_echo "yes" >&6; } |
3874 fi | 3887 fi |
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3907 esac | 3920 esac |
3908 done | 3921 done |
3909 else | 3922 else |
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3912 as_fn_error "cannot compute suffix of executables: cannot compile and link | 3925 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3913 See \`config.log' for more details." "$LINENO" 5; } | 3926 See \`config.log' for more details" "$LINENO" 5; } |
3914 fi | 3927 fi |
3915 rm -f conftest conftest$ac_cv_exeext | 3928 rm -f conftest conftest$ac_cv_exeext |
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3917 $as_echo "$ac_cv_exeext" >&6; } | 3930 $as_echo "$ac_cv_exeext" >&6; } |
3918 | 3931 |
3965 if test "$cross_compiling" = maybe; then | 3978 if test "$cross_compiling" = maybe; then |
3966 cross_compiling=yes | 3979 cross_compiling=yes |
3967 else | 3980 else |
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3970 as_fn_error "cannot run C compiled programs. | 3983 as_fn_error $? "cannot run C compiled programs. |
3971 If you meant to cross compile, use \`--host'. | 3984 If you meant to cross compile, use \`--host'. |
3972 See \`config.log' for more details." "$LINENO" 5; } | 3985 See \`config.log' for more details" "$LINENO" 5; } |
3973 fi | 3986 fi |
3974 fi | 3987 fi |
3975 fi | 3988 fi |
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3977 $as_echo "$cross_compiling" >&6; } | 3990 $as_echo "$cross_compiling" >&6; } |
4018 $as_echo "$as_me: failed program was:" >&5 | 4031 $as_echo "$as_me: failed program was:" >&5 |
4019 sed 's/^/| /' conftest.$ac_ext >&5 | 4032 sed 's/^/| /' conftest.$ac_ext >&5 |
4020 | 4033 |
4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4023 as_fn_error "cannot compute suffix of object files: cannot compile | 4036 as_fn_error $? "cannot compute suffix of object files: cannot compile |
4024 See \`config.log' for more details." "$LINENO" 5; } | 4037 See \`config.log' for more details" "$LINENO" 5; } |
4025 fi | 4038 fi |
4026 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4039 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4027 fi | 4040 fi |
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4029 $as_echo "$ac_cv_objext" >&6; } | 4042 $as_echo "$ac_cv_objext" >&6; } |
4436 if $ac_preproc_ok; then : | 4449 if $ac_preproc_ok; then : |
4437 | 4450 |
4438 else | 4451 else |
4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4441 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4454 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4442 See \`config.log' for more details." "$LINENO" 5; } | 4455 See \`config.log' for more details" "$LINENO" 5; } |
4443 fi | 4456 fi |
4444 | 4457 |
4445 ac_ext=c | 4458 ac_ext=c |
4446 ac_cpp='$CPP $CPPFLAGS' | 4459 ac_cpp='$CPP $CPPFLAGS' |
4447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4498 done | 4511 done |
4499 done | 4512 done |
4500 done | 4513 done |
4501 IFS=$as_save_IFS | 4514 IFS=$as_save_IFS |
4502 if test -z "$ac_cv_path_GREP"; then | 4515 if test -z "$ac_cv_path_GREP"; then |
4503 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4516 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4504 fi | 4517 fi |
4505 else | 4518 else |
4506 ac_cv_path_GREP=$GREP | 4519 ac_cv_path_GREP=$GREP |
4507 fi | 4520 fi |
4508 | 4521 |
4564 done | 4577 done |
4565 done | 4578 done |
4566 done | 4579 done |
4567 IFS=$as_save_IFS | 4580 IFS=$as_save_IFS |
4568 if test -z "$ac_cv_path_EGREP"; then | 4581 if test -z "$ac_cv_path_EGREP"; then |
4569 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4582 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4570 fi | 4583 fi |
4571 else | 4584 else |
4572 ac_cv_path_EGREP=$EGREP | 4585 ac_cv_path_EGREP=$EGREP |
4573 fi | 4586 fi |
4574 | 4587 |
4696 inttypes.h stdint.h unistd.h | 4709 inttypes.h stdint.h unistd.h |
4697 do : | 4710 do : |
4698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4700 " | 4713 " |
4701 eval as_val=\$$as_ac_Header | 4714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4702 if test "x$as_val" = x""yes; then : | |
4703 cat >>confdefs.h <<_ACEOF | 4715 cat >>confdefs.h <<_ACEOF |
4704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4705 _ACEOF | 4717 _ACEOF |
4706 | 4718 |
4707 fi | 4719 fi |
5026 if $ac_preproc_ok; then : | 5038 if $ac_preproc_ok; then : |
5027 | 5039 |
5028 else | 5040 else |
5029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5031 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5043 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5032 See \`config.log' for more details." "$LINENO" 5; } | 5044 See \`config.log' for more details" "$LINENO" 5; } |
5033 fi | 5045 fi |
5034 | 5046 |
5035 ac_ext=c | 5047 ac_ext=c |
5036 ac_cpp='$CPP $CPPFLAGS' | 5048 ac_cpp='$CPP $CPPFLAGS' |
5037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5464 ## with pre-built manuals, from a Bazaar checkout. | 5476 ## with pre-built manuals, from a Bazaar checkout. |
5465 if test "$MAKEINFO" = "no"; then | 5477 if test "$MAKEINFO" = "no"; then |
5466 if test "x${with_makeinfo}" = "xno"; then | 5478 if test "x${with_makeinfo}" = "xno"; then |
5467 MAKEINFO=off | 5479 MAKEINFO=off |
5468 elif test ! -e $srcdir/info/emacs; then | 5480 elif test ! -e $srcdir/info/emacs; then |
5469 as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5481 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your |
5470 source tree does not seem to have pre-built manuals in the \`info' directory. | 5482 source tree does not seem to have pre-built manuals in the \`info' directory. |
5471 Either install a suitable version of makeinfo, or re-run configure | 5483 Either install a suitable version of makeinfo, or re-run configure |
5472 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5484 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5473 fi | 5485 fi |
5474 fi | 5486 fi |
5618 ## GNU libc, __malloc_initialized would normally be resolved to the | 5630 ## GNU libc, __malloc_initialized would normally be resolved to the |
5619 ## shared library's .bss section, which is fatal. | 5631 ## shared library's .bss section, which is fatal. |
5620 if test "x$GCC" = "xyes"; then | 5632 if test "x$GCC" = "xyes"; then |
5621 C_SWITCH_MACHINE="-fno-common" | 5633 C_SWITCH_MACHINE="-fno-common" |
5622 else | 5634 else |
5623 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 5635 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 |
5624 fi | 5636 fi |
5625 else | 5637 else |
5626 UNEXEC_OBJ=unexalpha.o | 5638 UNEXEC_OBJ=unexalpha.o |
5627 fi | 5639 fi |
5628 fi | 5640 fi |
5896 else | 5908 else |
5897 | 5909 |
5898 ## Some platforms don't use any of these files, so it is not | 5910 ## Some platforms don't use any of these files, so it is not |
5899 ## appropriate to put this test outside the if block. | 5911 ## appropriate to put this test outside the if block. |
5900 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5912 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5901 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 | 5913 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 |
5902 | 5914 |
5903 fi | 5915 fi |
5904 | 5916 |
5905 | 5917 |
5906 | 5918 |
5951 # Sound support for GNU/Linux and the free BSDs. | 5963 # Sound support for GNU/Linux and the free BSDs. |
5952 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5964 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5953 do : | 5965 do : |
5954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5955 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 5967 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5956 eval as_val=\$$as_ac_Header | 5968 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5957 if test "x$as_val" = x""yes; then : | |
5958 cat >>confdefs.h <<_ACEOF | 5969 cat >>confdefs.h <<_ACEOF |
5959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5960 _ACEOF | 5971 _ACEOF |
5961 have_sound_header=yes | 5972 have_sound_header=yes |
5962 fi | 5973 fi |
6143 else | 6154 else |
6144 emacs_alsa_subdir=no | 6155 emacs_alsa_subdir=no |
6145 fi | 6156 fi |
6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6147 if test "$emacs_alsa_subdir" != yes; then | 6158 if test "$emacs_alsa_subdir" != yes; then |
6148 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6159 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6149 fi | 6160 fi |
6150 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6161 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6151 fi | 6162 fi |
6152 | 6163 |
6153 CFLAGS="$SAVE_CFLAGS" | 6164 CFLAGS="$SAVE_CFLAGS" |
6178 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6189 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6179 sys/utsname.h pwd.h utmp.h dirent.h util.h | 6190 sys/utsname.h pwd.h utmp.h dirent.h util.h |
6180 do : | 6191 do : |
6181 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6182 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6193 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6183 eval as_val=\$$as_ac_Header | 6194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6184 if test "x$as_val" = x""yes; then : | |
6185 cat >>confdefs.h <<_ACEOF | 6195 cat >>confdefs.h <<_ACEOF |
6186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6187 _ACEOF | 6197 _ACEOF |
6188 | 6198 |
6189 fi | 6199 fi |
7014 else | 7024 else |
7015 $as_echo "#define POINTER_TYPE char" >>confdefs.h | 7025 $as_echo "#define POINTER_TYPE char" >>confdefs.h |
7016 | 7026 |
7017 fi | 7027 fi |
7018 | 7028 |
7019 | 7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
7030 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | |
7031 if test "${ac_cv_c_bigendian+set}" = set; then : | |
7032 $as_echo_n "(cached) " >&6 | |
7033 else | |
7034 ac_cv_c_bigendian=unknown | |
7035 # See if we're dealing with a universal compiler. | |
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7037 /* end confdefs.h. */ | |
7038 #ifndef __APPLE_CC__ | |
7039 not a universal capable compiler | |
7040 #endif | |
7041 typedef int dummy; | |
7042 | |
7043 _ACEOF | |
7044 if ac_fn_c_try_compile "$LINENO"; then : | |
7045 | |
7046 # Check for potential -arch flags. It is not universal unless | |
7047 # there are at least two -arch flags with different values. | |
7048 ac_arch= | |
7049 ac_prev= | |
7050 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | |
7051 if test -n "$ac_prev"; then | |
7052 case $ac_word in | |
7053 i?86 | x86_64 | ppc | ppc64) | |
7054 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | |
7055 ac_arch=$ac_word | |
7056 else | |
7057 ac_cv_c_bigendian=universal | |
7058 break | |
7059 fi | |
7060 ;; | |
7061 esac | |
7062 ac_prev= | |
7063 elif test "x$ac_word" = "x-arch"; then | |
7064 ac_prev=arch | |
7065 fi | |
7066 done | |
7067 fi | |
7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7069 if test $ac_cv_c_bigendian = unknown; then | |
7070 # See if sys/param.h defines the BYTE_ORDER macro. | |
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7072 /* end confdefs.h. */ | |
7073 #include <sys/types.h> | |
7074 #include <sys/param.h> | |
7075 | |
7076 int | |
7077 main () | |
7078 { | |
7079 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ | |
7080 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ | |
7081 && LITTLE_ENDIAN) | |
7082 bogus endian macros | |
7083 #endif | |
7084 | |
7085 ; | |
7086 return 0; | |
7087 } | |
7088 _ACEOF | |
7089 if ac_fn_c_try_compile "$LINENO"; then : | |
7090 # It does; now see whether it defined to BIG_ENDIAN or not. | |
7091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7092 /* end confdefs.h. */ | |
7093 #include <sys/types.h> | |
7094 #include <sys/param.h> | |
7095 | |
7096 int | |
7097 main () | |
7098 { | |
7099 #if BYTE_ORDER != BIG_ENDIAN | |
7100 not big endian | |
7101 #endif | |
7102 | |
7103 ; | |
7104 return 0; | |
7105 } | |
7106 _ACEOF | |
7107 if ac_fn_c_try_compile "$LINENO"; then : | |
7108 ac_cv_c_bigendian=yes | |
7109 else | |
7110 ac_cv_c_bigendian=no | |
7111 fi | |
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7113 fi | |
7114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7115 fi | |
7116 if test $ac_cv_c_bigendian = unknown; then | |
7117 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | |
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7119 /* end confdefs.h. */ | |
7120 #include <limits.h> | |
7121 | |
7122 int | |
7123 main () | |
7124 { | |
7125 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) | |
7126 bogus endian macros | |
7127 #endif | |
7128 | |
7129 ; | |
7130 return 0; | |
7131 } | |
7132 _ACEOF | |
7133 if ac_fn_c_try_compile "$LINENO"; then : | |
7134 # It does; now see whether it defined to _BIG_ENDIAN or not. | |
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7136 /* end confdefs.h. */ | |
7137 #include <limits.h> | |
7138 | |
7139 int | |
7140 main () | |
7141 { | |
7142 #ifndef _BIG_ENDIAN | |
7143 not big endian | |
7144 #endif | |
7145 | |
7146 ; | |
7147 return 0; | |
7148 } | |
7149 _ACEOF | |
7150 if ac_fn_c_try_compile "$LINENO"; then : | |
7151 ac_cv_c_bigendian=yes | |
7152 else | |
7153 ac_cv_c_bigendian=no | |
7154 fi | |
7155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7156 fi | |
7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7158 fi | |
7159 if test $ac_cv_c_bigendian = unknown; then | |
7160 # Compile a test program. | |
7161 if test "$cross_compiling" = yes; then : | |
7162 # Try to guess by grepping values from an object file. | |
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7164 /* end confdefs.h. */ | |
7165 short int ascii_mm[] = | |
7166 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | |
7167 short int ascii_ii[] = | |
7168 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
7169 int use_ascii (int i) { | |
7170 return ascii_mm[i] + ascii_ii[i]; | |
7171 } | |
7172 short int ebcdic_ii[] = | |
7173 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
7174 short int ebcdic_mm[] = | |
7175 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
7176 int use_ebcdic (int i) { | |
7177 return ebcdic_mm[i] + ebcdic_ii[i]; | |
7178 } | |
7179 extern int foo; | |
7180 | |
7181 int | |
7182 main () | |
7183 { | |
7184 return use_ascii (foo) == use_ebcdic (foo); | |
7185 ; | |
7186 return 0; | |
7187 } | |
7188 _ACEOF | |
7189 if ac_fn_c_try_compile "$LINENO"; then : | |
7190 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | |
7191 ac_cv_c_bigendian=yes | |
7192 fi | |
7193 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | |
7194 if test "$ac_cv_c_bigendian" = unknown; then | |
7195 ac_cv_c_bigendian=no | |
7196 else | |
7197 # finding both strings is unlikely to happen, but who knows? | |
7198 ac_cv_c_bigendian=unknown | |
7199 fi | |
7200 fi | |
7201 fi | |
7202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7203 else | |
7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7205 /* end confdefs.h. */ | |
7206 $ac_includes_default | |
7207 int | |
7208 main () | |
7209 { | |
7210 | |
7211 /* Are we little or big endian? From Harbison&Steele. */ | |
7212 union | |
7213 { | |
7214 long int l; | |
7215 char c[sizeof (long int)]; | |
7216 } u; | |
7217 u.l = 1; | |
7218 return u.c[sizeof (long int) - 1] == 1; | |
7219 | |
7220 ; | |
7221 return 0; | |
7222 } | |
7223 _ACEOF | |
7224 if ac_fn_c_try_run "$LINENO"; then : | |
7225 ac_cv_c_bigendian=no | |
7226 else | |
7227 ac_cv_c_bigendian=yes | |
7228 fi | |
7229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
7230 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
7231 fi | |
7232 | |
7233 fi | |
7234 fi | |
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | |
7236 $as_echo "$ac_cv_c_bigendian" >&6; } | |
7237 case $ac_cv_c_bigendian in #( | |
7238 yes) | |
7239 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | |
7240 ;; #( | |
7241 no) | |
7242 ;; #( | |
7243 universal) | |
7244 | |
7245 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | |
7246 | |
7247 ;; #( | |
7248 *) | |
7249 as_fn_error $? "unknown endianness | |
7250 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | |
7251 esac | |
7020 | 7252 |
7021 | 7253 |
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
7023 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 7255 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
7024 set x ${MAKE-make} | 7256 set x ${MAKE-make} |
7025 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 7257 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
7026 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 7258 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
7027 $as_echo_n "(cached) " >&6 | 7259 $as_echo_n "(cached) " >&6 |
7028 else | 7260 else |
7029 cat >conftest.make <<\_ACEOF | 7261 cat >conftest.make <<\_ACEOF |
7030 SHELL = /bin/sh | 7262 SHELL = /bin/sh |
7031 all: | 7263 all: |
7032 @echo '@@@%%%=$(MAKE)=@@@%%%' | 7264 @echo '@@@%%%=$(MAKE)=@@@%%%' |
7033 _ACEOF | 7265 _ACEOF |
7034 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7266 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
7035 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 7267 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
7036 *@@@%%%=?*=@@@%%%*) | 7268 *@@@%%%=?*=@@@%%%*) |
7037 eval ac_cv_prog_make_${ac_make}_set=yes;; | 7269 eval ac_cv_prog_make_${ac_make}_set=yes;; |
7038 *) | 7270 *) |
7039 eval ac_cv_prog_make_${ac_make}_set=no;; | 7271 eval ac_cv_prog_make_${ac_make}_set=no;; |
7165 if test "x$with_x" = xno; then | 7397 if test "x$with_x" = xno; then |
7166 # The user explicitly disabled X. | 7398 # The user explicitly disabled X. |
7167 have_x=disabled | 7399 have_x=disabled |
7168 else | 7400 else |
7169 case $x_includes,$x_libraries in #( | 7401 case $x_includes,$x_libraries in #( |
7170 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 7402 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
7171 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 7403 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
7172 $as_echo_n "(cached) " >&6 | 7404 $as_echo_n "(cached) " >&6 |
7173 else | 7405 else |
7174 # One or both of the vars are not set, and there is no cached value. | 7406 # One or both of the vars are not set, and there is no cached value. |
7175 ac_x_includes=no ac_x_libraries=no | 7407 ac_x_includes=no ac_x_libraries=no |
7183 @echo usrlibdir='${USRLIBDIR}' | 7415 @echo usrlibdir='${USRLIBDIR}' |
7184 libdir: | 7416 libdir: |
7185 @echo libdir='${LIBDIR}' | 7417 @echo libdir='${LIBDIR}' |
7186 _ACEOF | 7418 _ACEOF |
7187 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | 7419 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
7188 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7420 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
7189 for ac_var in incroot usrlibdir libdir; do | 7421 for ac_var in incroot usrlibdir libdir; do |
7190 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | 7422 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
7191 done | 7423 done |
7192 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 7424 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
7193 for ac_extension in a so sl dylib la dll; do | 7425 for ac_extension in a so sl dylib la dll; do |
7452 fi | 7684 fi |
7453 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 7685 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
7454 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 7686 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
7455 HAVE_NS=yes | 7687 HAVE_NS=yes |
7456 else | 7688 else |
7457 as_fn_error "\`--with-ns' was specified, but the include | 7689 as_fn_error $? "\`--with-ns' was specified, but the include |
7458 files are missing or cannot be compiled." "$LINENO" 5 | 7690 files are missing or cannot be compiled." "$LINENO" 5 |
7459 fi | 7691 fi |
7460 | 7692 |
7461 | 7693 |
7462 NS_HAVE_NSINTEGER=yes | 7694 NS_HAVE_NSINTEGER=yes |
7568 | 7800 |
7569 | 7801 |
7570 if test "$HAVE_XSERVER" = true || | 7802 if test "$HAVE_XSERVER" = true || |
7571 test -n "$DISPLAY" || | 7803 test -n "$DISPLAY" || |
7572 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7804 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7573 as_fn_error "You seem to be running X, but no X development libraries | 7805 as_fn_error $? "You seem to be running X, but no X development libraries |
7574 were found. You should install the relevant development files for X | 7806 were found. You should install the relevant development files for X |
7575 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7807 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7576 sure you have development files for image handling, i.e. | 7808 sure you have development files for image handling, i.e. |
7577 tiff, gif, jpeg, png and xpm. | 7809 tiff, gif, jpeg, png and xpm. |
7578 If you are sure you want Emacs compiled without X window support, pass | 7810 If you are sure you want Emacs compiled without X window support, pass |
7691 for ac_header in $ac_header_list | 7923 for ac_header in $ac_header_list |
7692 do : | 7924 do : |
7693 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7694 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 7926 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7695 " | 7927 " |
7696 eval as_val=\$$as_ac_Header | 7928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7697 if test "x$as_val" = x""yes; then : | |
7698 cat >>confdefs.h <<_ACEOF | 7929 cat >>confdefs.h <<_ACEOF |
7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7700 _ACEOF | 7931 _ACEOF |
7701 | 7932 |
7702 fi | 7933 fi |
7798 | 8029 |
7799 int | 8030 int |
7800 main () | 8031 main () |
7801 { | 8032 { |
7802 char *data, *data2, *data3; | 8033 char *data, *data2, *data3; |
8034 const char *cdata2; | |
7803 int i, pagesize; | 8035 int i, pagesize; |
7804 int fd, fd2; | 8036 int fd, fd2; |
7805 | 8037 |
7806 pagesize = getpagesize (); | 8038 pagesize = getpagesize (); |
7807 | 8039 |
7822 /* Next, check that the tail of a page is zero-filled. File must have | 8054 /* Next, check that the tail of a page is zero-filled. File must have |
7823 non-zero length, otherwise we risk SIGBUS for entire page. */ | 8055 non-zero length, otherwise we risk SIGBUS for entire page. */ |
7824 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | 8056 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
7825 if (fd2 < 0) | 8057 if (fd2 < 0) |
7826 return 4; | 8058 return 4; |
7827 data2 = ""; | 8059 cdata2 = ""; |
7828 if (write (fd2, data2, 1) != 1) | 8060 if (write (fd2, cdata2, 1) != 1) |
7829 return 5; | 8061 return 5; |
7830 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | 8062 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
7831 if (data2 == MAP_FAILED) | 8063 if (data2 == MAP_FAILED) |
7832 return 6; | 8064 return 6; |
7833 for (i = 0; i < pagesize; ++i) | 8065 for (i = 0; i < pagesize; ++i) |
7834 if (*(data2 + i)) | 8066 if (*(data2 + i)) |
7835 return 7; | 8067 return 7; |
8198 for ac_func in XrmSetDatabase XScreenResourceString \ | 8430 for ac_func in XrmSetDatabase XScreenResourceString \ |
8199 XScreenNumberOfScreen XSetWMProtocols | 8431 XScreenNumberOfScreen XSetWMProtocols |
8200 do : | 8432 do : |
8201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8203 eval as_val=\$$as_ac_var | 8435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
8204 if test "x$as_val" = x""yes; then : | |
8205 cat >>confdefs.h <<_ACEOF | 8436 cat >>confdefs.h <<_ACEOF |
8206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8207 _ACEOF | 8438 _ACEOF |
8208 | 8439 |
8209 fi | 8440 fi |
8480 else | 8711 else |
8481 pkg_check_gtk=no | 8712 pkg_check_gtk=no |
8482 fi | 8713 fi |
8483 | 8714 |
8484 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8715 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8485 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8716 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8486 fi | 8717 fi |
8487 fi | 8718 fi |
8488 | 8719 |
8489 if test "$pkg_check_gtk" != "yes"; then | 8720 if test "$pkg_check_gtk" != "yes"; then |
8490 HAVE_GTK=no | 8721 HAVE_GTK=no |
8586 else | 8817 else |
8587 pkg_check_gtk=no | 8818 pkg_check_gtk=no |
8588 fi | 8819 fi |
8589 | 8820 |
8590 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8821 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8591 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8822 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8592 fi | 8823 fi |
8593 fi | 8824 fi |
8594 fi | 8825 fi |
8595 | 8826 |
8596 GTK_OBJ= | 8827 GTK_OBJ= |
8613 fi | 8844 fi |
8614 done | 8845 done |
8615 | 8846 |
8616 if test "${GTK_COMPILES}" != "yes"; then | 8847 if test "${GTK_COMPILES}" != "yes"; then |
8617 if test "$USE_X_TOOLKIT" != "maybe"; then | 8848 if test "$USE_X_TOOLKIT" != "maybe"; then |
8618 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 8849 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
8619 fi | 8850 fi |
8620 else | 8851 else |
8621 HAVE_GTK=yes | 8852 HAVE_GTK=yes |
8622 | 8853 |
8623 $as_echo "#define USE_GTK 1" >>confdefs.h | 8854 $as_echo "#define USE_GTK 1" >>confdefs.h |
8743 gtk_widget_get_mapped gtk_adjustment_get_page_size \ | 8974 gtk_widget_get_mapped gtk_adjustment_get_page_size \ |
8744 gtk_orientable_set_orientation | 8975 gtk_orientable_set_orientation |
8745 do : | 8976 do : |
8746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8977 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8978 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8748 eval as_val=\$$as_ac_var | 8979 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
8749 if test "x$as_val" = x""yes; then : | |
8750 cat >>confdefs.h <<_ACEOF | 8980 cat >>confdefs.h <<_ACEOF |
8751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8752 _ACEOF | 8982 _ACEOF |
8753 | 8983 |
8754 fi | 8984 fi |
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
9110 $as_echo "yes; using Lucid toolkit" >&6; } | 9340 $as_echo "yes; using Lucid toolkit" >&6; } |
9111 USE_X_TOOLKIT=LUCID | 9341 USE_X_TOOLKIT=LUCID |
9112 LUCID_LIBW=-lXaw | 9342 LUCID_LIBW=-lXaw |
9113 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 9343 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
9114 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 9344 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
9115 else | 9345 else |
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
9117 $as_echo "no; do not use toolkit by default" >&6; } | 9347 $as_echo "no; do not use toolkit by default" >&6; } |
9118 USE_X_TOOLKIT=none | 9348 USE_X_TOOLKIT=none |
9119 fi | 9349 fi |
10286 # in /usr/include/libpng. | 10516 # in /usr/include/libpng. |
10287 for ac_header in png.h libpng/png.h | 10517 for ac_header in png.h libpng/png.h |
10288 do : | 10518 do : |
10289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 10520 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10291 eval as_val=\$$as_ac_Header | 10521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
10292 if test "x$as_val" = x""yes; then : | |
10293 cat >>confdefs.h <<_ACEOF | 10522 cat >>confdefs.h <<_ACEOF |
10294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10295 _ACEOF | 10524 _ACEOF |
10296 | 10525 |
10297 fi | 10526 fi |
10539 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 10768 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10540 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 10769 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10541 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 10770 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10542 | 10771 |
10543 if test "X${MISSING}" != X; then | 10772 if test "X${MISSING}" != X; then |
10544 as_fn_error "The following required libraries were not found: | 10773 as_fn_error $? "The following required libraries were not found: |
10545 $MISSING | 10774 $MISSING |
10546 Maybe some development libraries/packages are missing? | 10775 Maybe some development libraries/packages are missing? |
10547 If you don't want to link with them give | 10776 If you don't want to link with them give |
10548 $WITH_NO | 10777 $WITH_NO |
10549 as options to configure" "$LINENO" 5 | 10778 as options to configure" "$LINENO" 5 |
10874 $as_echo "$ac_cv_os_cray" >&6; } | 11103 $as_echo "$ac_cv_os_cray" >&6; } |
10875 if test $ac_cv_os_cray = yes; then | 11104 if test $ac_cv_os_cray = yes; then |
10876 for ac_func in _getb67 GETB67 getb67; do | 11105 for ac_func in _getb67 GETB67 getb67; do |
10877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
10879 eval as_val=\$$as_ac_var | 11108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
10880 if test "x$as_val" = x""yes; then : | |
10881 | 11109 |
10882 cat >>confdefs.h <<_ACEOF | 11110 cat >>confdefs.h <<_ACEOF |
10883 #define CRAY_STACKSEG_END $ac_func | 11111 #define CRAY_STACKSEG_END $ac_func |
10884 _ACEOF | 11112 _ACEOF |
10885 | 11113 |
10939 | 11167 |
10940 fi | 11168 fi |
10941 | 11169 |
10942 | 11170 |
10943 if test x"$ac_cv_func_alloca_works" != xyes; then | 11171 if test x"$ac_cv_func_alloca_works" != xyes; then |
10944 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 11172 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 |
10945 fi | 11173 fi |
10946 | 11174 |
10947 # fmod, logb, and frexp are found in -lm on most systems. | 11175 # fmod, logb, and frexp are found in -lm on most systems. |
10948 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 11176 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
11135 $as_echo "no" >&6; } | 11363 $as_echo "no" >&6; } |
11136 fi | 11364 fi |
11137 | 11365 |
11138 | 11366 |
11139 if test $ac_cv_prog_liblockfile = yes; then | 11367 if test $ac_cv_prog_liblockfile = yes; then |
11140 as_fn_error "Shared liblockfile found but can't link against it. | 11368 as_fn_error $? "Shared liblockfile found but can't link against it. |
11141 This probably means that movemail could lose mail. | 11369 This probably means that movemail could lose mail. |
11142 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 11370 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
11143 fi | 11371 fi |
11144 fi | 11372 fi |
11145 for ac_func in touchlock | 11373 for ac_func in touchlock |
11224 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 11452 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11225 cfmakeraw cfsetspeed isnan copysign __executable_start | 11453 cfmakeraw cfsetspeed isnan copysign __executable_start |
11226 do : | 11454 do : |
11227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11229 eval as_val=\$$as_ac_var | 11457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11230 if test "x$as_val" = x""yes; then : | |
11231 cat >>confdefs.h <<_ACEOF | 11458 cat >>confdefs.h <<_ACEOF |
11232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11233 _ACEOF | 11460 _ACEOF |
11234 | 11461 |
11235 fi | 11462 fi |
11256 | 11483 |
11257 for ac_func in $ac_func_list | 11484 for ac_func in $ac_func_list |
11258 do : | 11485 do : |
11259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11261 eval as_val=\$$as_ac_var | 11488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11262 if test "x$as_val" = x""yes; then : | |
11263 cat >>confdefs.h <<_ACEOF | 11489 cat >>confdefs.h <<_ACEOF |
11264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11265 _ACEOF | 11491 _ACEOF |
11266 | 11492 |
11267 fi | 11493 fi |
11309 | 11535 |
11310 static time_t time_t_max; | 11536 static time_t time_t_max; |
11311 static time_t time_t_min; | 11537 static time_t time_t_min; |
11312 | 11538 |
11313 /* Values we'll use to set the TZ environment variable. */ | 11539 /* Values we'll use to set the TZ environment variable. */ |
11314 static char *tz_strings[] = { | 11540 static const char *tz_strings[] = { |
11315 (char *) 0, "TZ=GMT0", "TZ=JST-9", | 11541 (const char *) 0, "TZ=GMT0", "TZ=JST-9", |
11316 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 11542 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
11317 }; | 11543 }; |
11318 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 11544 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
11319 | 11545 |
11320 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 11546 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
11327 | 11553 |
11328 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11554 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11329 instead of "TZ=America/Vancouver" in order to detect the bug even | 11555 instead of "TZ=America/Vancouver" in order to detect the bug even |
11330 on systems that don't support the Olson extension, or don't have the | 11556 on systems that don't support the Olson extension, or don't have the |
11331 full zoneinfo tables installed. */ | 11557 full zoneinfo tables installed. */ |
11332 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 11558 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
11333 | 11559 |
11334 tm.tm_year = 98; | 11560 tm.tm_year = 98; |
11335 tm.tm_mon = 3; | 11561 tm.tm_mon = 3; |
11336 tm.tm_mday = 5; | 11562 tm.tm_mday = 5; |
11337 tm.tm_hour = 2; | 11563 tm.tm_hour = 2; |
11340 tm.tm_isdst = -1; | 11566 tm.tm_isdst = -1; |
11341 return mktime (&tm) != (time_t) -1; | 11567 return mktime (&tm) != (time_t) -1; |
11342 } | 11568 } |
11343 | 11569 |
11344 static int | 11570 static int |
11345 mktime_test1 (now) | 11571 mktime_test1 (time_t now) |
11346 time_t now; | |
11347 { | 11572 { |
11348 struct tm *lt; | 11573 struct tm *lt; |
11349 return ! (lt = localtime (&now)) || mktime (lt) == now; | 11574 return ! (lt = localtime (&now)) || mktime (lt) == now; |
11350 } | 11575 } |
11351 | 11576 |
11352 static int | 11577 static int |
11353 mktime_test (now) | 11578 mktime_test (time_t now) |
11354 time_t now; | |
11355 { | 11579 { |
11356 return (mktime_test1 (now) | 11580 return (mktime_test1 (now) |
11357 && mktime_test1 ((time_t) (time_t_max - now)) | 11581 && mktime_test1 ((time_t) (time_t_max - now)) |
11358 && mktime_test1 ((time_t) (time_t_min + now))); | 11582 && mktime_test1 ((time_t) (time_t_min + now))); |
11359 } | 11583 } |
11373 mktime (&tm); | 11597 mktime (&tm); |
11374 return tm.tm_mon == 2 && tm.tm_mday == 31; | 11598 return tm.tm_mon == 2 && tm.tm_mday == 31; |
11375 } | 11599 } |
11376 | 11600 |
11377 static int | 11601 static int |
11378 bigtime_test (j) | 11602 bigtime_test (int j) |
11379 int j; | |
11380 { | 11603 { |
11381 struct tm tm; | 11604 struct tm tm; |
11382 time_t now; | 11605 time_t now; |
11383 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | 11606 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; |
11384 now = mktime (&tm); | 11607 now = mktime (&tm); |
11418 | 11641 |
11419 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11642 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11420 instead of "TZ=America/Vancouver" in order to detect the bug even | 11643 instead of "TZ=America/Vancouver" in order to detect the bug even |
11421 on systems that don't support the Olson extension, or don't have the | 11644 on systems that don't support the Olson extension, or don't have the |
11422 full zoneinfo tables installed. */ | 11645 full zoneinfo tables installed. */ |
11423 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 11646 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
11424 | 11647 |
11425 t = mktime (&tm); | 11648 t = mktime (&tm); |
11426 | 11649 |
11427 /* Check that the result is either a failure, or close enough | 11650 /* Check that the result is either a failure, or close enough |
11428 to the correct answer that we can assume the discrepancy is | 11651 to the correct answer that we can assume the discrepancy is |
11453 | 11676 |
11454 delta = time_t_max / 997; /* a suitable prime number */ | 11677 delta = time_t_max / 997; /* a suitable prime number */ |
11455 for (i = 0; i < N_STRINGS; i++) | 11678 for (i = 0; i < N_STRINGS; i++) |
11456 { | 11679 { |
11457 if (tz_strings[i]) | 11680 if (tz_strings[i]) |
11458 putenv (tz_strings[i]); | 11681 putenv ((char*) tz_strings[i]); |
11459 | 11682 |
11460 for (t = 0; t <= time_t_max - delta; t += delta) | 11683 for (t = 0; t <= time_t_max - delta; t += delta) |
11461 if (! mktime_test (t)) | 11684 if (! mktime_test (t)) |
11462 return 1; | 11685 return 1; |
11463 if (! (mktime_test ((time_t) 1) | 11686 if (! (mktime_test ((time_t) 1) |
11505 | 11728 |
11506 ac_have_func=no # yes means we've found a way to get the load average. | 11729 ac_have_func=no # yes means we've found a way to get the load average. |
11507 | 11730 |
11508 # Make sure getloadavg.c is where it belongs, at configure-time. | 11731 # Make sure getloadavg.c is where it belongs, at configure-time. |
11509 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 11732 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11510 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 11733 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
11511 | 11734 |
11512 ac_save_LIBS=$LIBS | 11735 ac_save_LIBS=$LIBS |
11513 | 11736 |
11514 # Check for getloadavg, but be sure not to touch the cache variable. | 11737 # Check for getloadavg, but be sure not to touch the cache variable. |
11515 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 11738 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12374 else | 12597 else |
12375 have_tputs_et_al=false | 12598 have_tputs_et_al=false |
12376 fi | 12599 fi |
12377 | 12600 |
12378 if test "$have_tputs_et_al" != true; then | 12601 if test "$have_tputs_et_al" != true; then |
12379 as_fn_error "I couldn't find termcap functions (tputs and friends). | 12602 as_fn_error $? "I couldn't find termcap functions (tputs and friends). |
12380 Maybe some development libraries/packages are missing? Try installing | 12603 Maybe some development libraries/packages are missing? Try installing |
12381 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 12604 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
12382 fi | 12605 fi |
12383 # Must define this when any termcap library is found. | 12606 # Must define this when any termcap library is found. |
12384 | 12607 |
13521 | 13744 |
13522 for ac_func in fork vfork | 13745 for ac_func in fork vfork |
13523 do : | 13746 do : |
13524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 13748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13526 eval as_val=\$$as_ac_var | 13749 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13527 if test "x$as_val" = x""yes; then : | |
13528 cat >>confdefs.h <<_ACEOF | 13750 cat >>confdefs.h <<_ACEOF |
13529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13530 _ACEOF | 13752 _ACEOF |
13531 | 13753 |
13532 fi | 13754 fi |
13896 ## Hack to detect a buggy GCC version. | 14118 ## Hack to detect a buggy GCC version. |
13897 if test "x$GCC" = xyes \ | 14119 if test "x$GCC" = xyes \ |
13898 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ | 14120 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ |
13899 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ | 14121 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ |
13900 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then | 14122 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then |
13901 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 | 14123 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 |
13902 fi | 14124 fi |
13903 | 14125 |
13904 #### Find out which version of Emacs this is. | 14126 #### Find out which version of Emacs this is. |
13905 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 14127 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
13906 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 14128 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
13907 if test x"${version}" = x; then | 14129 if test x"${version}" = x; then |
13908 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 14130 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 |
13909 fi | 14131 fi |
13910 if test x"${version}" != x"$PACKAGE_VERSION"; then | 14132 if test x"${version}" != x"$PACKAGE_VERSION"; then |
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 | 14133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 |
13912 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} | 14134 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
13913 fi | 14135 fi |
14461 | 14683 |
14462 DEFS=-DHAVE_CONFIG_H | 14684 DEFS=-DHAVE_CONFIG_H |
14463 | 14685 |
14464 ac_libobjs= | 14686 ac_libobjs= |
14465 ac_ltlibobjs= | 14687 ac_ltlibobjs= |
14688 U= | |
14466 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 14689 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14467 # 1. Remove the extension, and $U if already installed. | 14690 # 1. Remove the extension, and $U if already installed. |
14468 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 14691 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14469 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 14692 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14470 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 14693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
14473 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 14696 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
14474 done | 14697 done |
14475 LIBOBJS=$ac_libobjs | 14698 LIBOBJS=$ac_libobjs |
14476 | 14699 |
14477 LTLIBOBJS=$ac_ltlibobjs | 14700 LTLIBOBJS=$ac_ltlibobjs |
14701 | |
14478 | 14702 |
14479 | 14703 |
14480 | 14704 |
14481 : ${CONFIG_STATUS=./config.status} | 14705 : ${CONFIG_STATUS=./config.status} |
14482 ac_write_fail=0 | 14706 ac_write_fail=0 |
14622 | 14846 |
14623 # CDPATH. | 14847 # CDPATH. |
14624 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 14848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14625 | 14849 |
14626 | 14850 |
14627 # as_fn_error ERROR [LINENO LOG_FD] | 14851 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
14628 # --------------------------------- | 14852 # ---------------------------------------- |
14629 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 14853 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14630 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 14854 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14631 # script with status $?, using 1 if that was 0. | 14855 # script with STATUS, using 1 if that was 0. |
14632 as_fn_error () | 14856 as_fn_error () |
14633 { | 14857 { |
14634 as_status=$?; test $as_status -eq 0 && as_status=1 | 14858 as_status=$1; test $as_status -eq 0 && as_status=1 |
14635 if test "$3"; then | 14859 if test "$4"; then |
14636 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 14860 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14637 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 14861 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
14638 fi | 14862 fi |
14639 $as_echo "$as_me: error: $1" >&2 | 14863 $as_echo "$as_me: error: $2" >&2 |
14640 as_fn_exit $as_status | 14864 as_fn_exit $as_status |
14641 } # as_fn_error | 14865 } # as_fn_error |
14642 | 14866 |
14643 | 14867 |
14644 # as_fn_set_status STATUS | 14868 # as_fn_set_status STATUS |
14830 } | 15054 } |
14831 s/.*/./; q'` | 15055 s/.*/./; q'` |
14832 test -d "$as_dir" && break | 15056 test -d "$as_dir" && break |
14833 done | 15057 done |
14834 test -z "$as_dirs" || eval "mkdir $as_dirs" | 15058 test -z "$as_dirs" || eval "mkdir $as_dirs" |
14835 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 15059 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
14836 | 15060 |
14837 | 15061 |
14838 } # as_fn_mkdir_p | 15062 } # as_fn_mkdir_p |
14839 if mkdir -p . 2>/dev/null; then | 15063 if mkdir -p . 2>/dev/null; then |
14840 as_mkdir_p='mkdir -p "$as_dir"' | 15064 as_mkdir_p='mkdir -p "$as_dir"' |
14884 # Save the log message, to keep $0 and so on meaningful, and to | 15108 # Save the log message, to keep $0 and so on meaningful, and to |
14885 # report actual input values of CONFIG_FILES etc. instead of their | 15109 # report actual input values of CONFIG_FILES etc. instead of their |
14886 # values after options handling. | 15110 # values after options handling. |
14887 ac_log=" | 15111 ac_log=" |
14888 This file was extended by emacs $as_me 24.0.50, which was | 15112 This file was extended by emacs $as_me 24.0.50, which was |
14889 generated by GNU Autoconf 2.65. Invocation command line was | 15113 generated by GNU Autoconf 2.66. Invocation command line was |
14890 | 15114 |
14891 CONFIG_FILES = $CONFIG_FILES | 15115 CONFIG_FILES = $CONFIG_FILES |
14892 CONFIG_HEADERS = $CONFIG_HEADERS | 15116 CONFIG_HEADERS = $CONFIG_HEADERS |
14893 CONFIG_LINKS = $CONFIG_LINKS | 15117 CONFIG_LINKS = $CONFIG_LINKS |
14894 CONFIG_COMMANDS = $CONFIG_COMMANDS | 15118 CONFIG_COMMANDS = $CONFIG_COMMANDS |
14950 _ACEOF | 15174 _ACEOF |
14951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14952 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 15176 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14953 ac_cs_version="\\ | 15177 ac_cs_version="\\ |
14954 emacs config.status 24.0.50 | 15178 emacs config.status 24.0.50 |
14955 configured by $0, generated by GNU Autoconf 2.65, | 15179 configured by $0, generated by GNU Autoconf 2.66, |
14956 with options \\"\$ac_cs_config\\" | 15180 with options \\"\$ac_cs_config\\" |
14957 | 15181 |
14958 Copyright (C) 2009 Free Software Foundation, Inc. | 15182 Copyright (C) 2010 Free Software Foundation, Inc. |
14959 This config.status script is free software; the Free Software Foundation | 15183 This config.status script is free software; the Free Software Foundation |
14960 gives unlimited permission to copy, distribute and modify it." | 15184 gives unlimited permission to copy, distribute and modify it." |
14961 | 15185 |
14962 ac_pwd='$ac_pwd' | 15186 ac_pwd='$ac_pwd' |
14963 srcdir='$srcdir' | 15187 srcdir='$srcdir' |
15007 esac | 15231 esac |
15008 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 15232 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
15009 ac_need_defaults=false;; | 15233 ac_need_defaults=false;; |
15010 --he | --h) | 15234 --he | --h) |
15011 # Conflict between --help and --header | 15235 # Conflict between --help and --header |
15012 as_fn_error "ambiguous option: \`$1' | 15236 as_fn_error $? "ambiguous option: \`$1' |
15013 Try \`$0 --help' for more information.";; | 15237 Try \`$0 --help' for more information.";; |
15014 --help | --hel | -h ) | 15238 --help | --hel | -h ) |
15015 $as_echo "$ac_cs_usage"; exit ;; | 15239 $as_echo "$ac_cs_usage"; exit ;; |
15016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 15240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
15017 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 15241 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
15018 ac_cs_silent=: ;; | 15242 ac_cs_silent=: ;; |
15019 | 15243 |
15020 # This is an error. | 15244 # This is an error. |
15021 -*) as_fn_error "unrecognized option: \`$1' | 15245 -*) as_fn_error $? "unrecognized option: \`$1' |
15022 Try \`$0 --help' for more information." ;; | 15246 Try \`$0 --help' for more information." ;; |
15023 | 15247 |
15024 *) as_fn_append ac_config_targets " $1" | 15248 *) as_fn_append ac_config_targets " $1" |
15025 ac_need_defaults=false ;; | 15249 ac_need_defaults=false ;; |
15026 | 15250 |
15084 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 15308 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
15085 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 15309 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
15086 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 15310 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
15087 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 15311 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
15088 | 15312 |
15089 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15313 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15090 esac | 15314 esac |
15091 done | 15315 done |
15092 | 15316 |
15093 | 15317 |
15094 # If the user did not use the arguments to specify the items to instantiate, | 15318 # If the user did not use the arguments to specify the items to instantiate, |
15122 test -n "$tmp" && test -d "$tmp" | 15346 test -n "$tmp" && test -d "$tmp" |
15123 } || | 15347 } || |
15124 { | 15348 { |
15125 tmp=./conf$$-$RANDOM | 15349 tmp=./conf$$-$RANDOM |
15126 (umask 077 && mkdir "$tmp") | 15350 (umask 077 && mkdir "$tmp") |
15127 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 15351 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15128 | 15352 |
15129 # Set up the scripts for CONFIG_FILES section. | 15353 # Set up the scripts for CONFIG_FILES section. |
15130 # No need to generate them if there are no CONFIG_FILES. | 15354 # No need to generate them if there are no CONFIG_FILES. |
15131 # This happens for instance with `./config.status config.h'. | 15355 # This happens for instance with `./config.status config.h'. |
15132 if test -n "$CONFIG_FILES"; then | 15356 if test -n "$CONFIG_FILES"; then |
15156 if test "x$ac_cr" = x; then | 15380 if test "x$ac_cr" = x; then |
15157 eval ac_cr=\$\'\\r\' | 15381 eval ac_cr=\$\'\\r\' |
15158 fi | 15382 fi |
15159 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 15383 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 15384 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15161 ac_cs_awk_cr='\r' | 15385 ac_cs_awk_cr='\\r' |
15162 else | 15386 else |
15163 ac_cs_awk_cr=$ac_cr | 15387 ac_cs_awk_cr=$ac_cr |
15164 fi | 15388 fi |
15165 | 15389 |
15166 echo 'BEGIN {' >"$tmp/subs1.awk" && | 15390 echo 'BEGIN {' >"$tmp/subs1.awk" && |
15173 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | 15397 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
15174 echo "_ACAWK" && | 15398 echo "_ACAWK" && |
15175 echo "_ACEOF" | 15399 echo "_ACEOF" |
15176 } >conf$$files.sh && | 15400 } >conf$$files.sh && |
15177 . ./conf$$files.sh || | 15401 . ./conf$$files.sh || |
15178 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15402 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15179 rm -f conf$$files.sh | 15403 rm -f conf$$files.sh |
15180 | 15404 |
15181 { | 15405 { |
15182 echo "cat >conf$$subs.awk <<_ACEOF" && | 15406 echo "cat >conf$$subs.awk <<_ACEOF" && |
15183 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 15407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15184 echo "_ACEOF" | 15408 echo "_ACEOF" |
15185 } >conf$$subs.sh || | 15409 } >conf$$subs.sh || |
15186 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15187 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 15411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15188 ac_delim='%!_!# ' | 15412 ac_delim='%!_!# ' |
15189 for ac_last_try in false false false false false :; do | 15413 for ac_last_try in false false false false false :; do |
15190 . ./conf$$subs.sh || | 15414 . ./conf$$subs.sh || |
15191 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15415 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15192 | 15416 |
15193 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 15417 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15194 if test $ac_delim_n = $ac_delim_num; then | 15418 if test $ac_delim_n = $ac_delim_num; then |
15195 break | 15419 break |
15196 elif $ac_last_try; then | 15420 elif $ac_last_try; then |
15197 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15198 else | 15422 else |
15199 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15200 fi | 15424 fi |
15201 done | 15425 done |
15202 rm -f conf$$subs.sh | 15426 rm -f conf$$subs.sh |
15287 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 15511 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15288 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 15512 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15289 else | 15513 else |
15290 cat | 15514 cat |
15291 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 15515 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15292 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 15516 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15293 _ACEOF | 15517 _ACEOF |
15294 | 15518 |
15295 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 15519 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15296 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 15520 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15297 # trailing colons and then remove the whole line if VPATH becomes empty | 15521 # trailing colons and then remove the whole line if VPATH becomes empty |
15298 # (actually we leave an empty line to preserve line numbers). | 15522 # (actually we leave an empty line to preserve line numbers). |
15299 if test "x$srcdir" = x.; then | 15523 if test "x$srcdir" = x.; then |
15300 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 15524 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15301 s/:*\$(srcdir):*/:/ | 15525 h |
15302 s/:*\${srcdir}:*/:/ | 15526 s/// |
15303 s/:*@srcdir@:*/:/ | 15527 s/^/:/ |
15304 s/^\([^=]*=[ ]*\):*/\1/ | 15528 s/[ ]*$/:/ |
15529 s/:\$(srcdir):/:/g | |
15530 s/:\${srcdir}:/:/g | |
15531 s/:@srcdir@:/:/g | |
15532 s/^:*// | |
15305 s/:*$// | 15533 s/:*$// |
15534 x | |
15535 s/\(=[ ]*\).*/\1/ | |
15536 G | |
15537 s/\n// | |
15306 s/^[^=]*=[ ]*$// | 15538 s/^[^=]*=[ ]*$// |
15307 }' | 15539 }' |
15308 fi | 15540 fi |
15309 | 15541 |
15310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15328 for ac_last_try in false false :; do | 15560 for ac_last_try in false false :; do |
15329 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 15561 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15330 if test -z "$ac_t"; then | 15562 if test -z "$ac_t"; then |
15331 break | 15563 break |
15332 elif $ac_last_try; then | 15564 elif $ac_last_try; then |
15333 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 15565 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15334 else | 15566 else |
15335 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15336 fi | 15568 fi |
15337 done | 15569 done |
15338 | 15570 |
15413 } | 15645 } |
15414 { print } | 15646 { print } |
15415 _ACAWK | 15647 _ACAWK |
15416 _ACEOF | 15648 _ACEOF |
15417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15418 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 15650 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
15419 fi # test -n "$CONFIG_HEADERS" | 15651 fi # test -n "$CONFIG_HEADERS" |
15420 | 15652 |
15421 | 15653 |
15422 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 15654 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15423 shift | 15655 shift |
15426 case $ac_tag in | 15658 case $ac_tag in |
15427 :[FHLC]) ac_mode=$ac_tag; continue;; | 15659 :[FHLC]) ac_mode=$ac_tag; continue;; |
15428 esac | 15660 esac |
15429 case $ac_mode$ac_tag in | 15661 case $ac_mode$ac_tag in |
15430 :[FHL]*:*);; | 15662 :[FHL]*:*);; |
15431 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 15663 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15432 :[FH]-) ac_tag=-:-;; | 15664 :[FH]-) ac_tag=-:-;; |
15433 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 15665 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15434 esac | 15666 esac |
15435 ac_save_IFS=$IFS | 15667 ac_save_IFS=$IFS |
15436 IFS=: | 15668 IFS=: |
15454 test -f "$ac_f" || | 15686 test -f "$ac_f" || |
15455 case $ac_f in | 15687 case $ac_f in |
15456 [\\/$]*) false;; | 15688 [\\/$]*) false;; |
15457 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 15689 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15458 esac || | 15690 esac || |
15459 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 15691 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15460 esac | 15692 esac |
15461 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 15693 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15462 as_fn_append ac_file_inputs " '$ac_f'" | 15694 as_fn_append ac_file_inputs " '$ac_f'" |
15463 done | 15695 done |
15464 | 15696 |
15481 *) ac_sed_conf_input=$configure_input;; | 15713 *) ac_sed_conf_input=$configure_input;; |
15482 esac | 15714 esac |
15483 | 15715 |
15484 case $ac_tag in | 15716 case $ac_tag in |
15485 *:-:* | *:-) cat >"$tmp/stdin" \ | 15717 *:-:* | *:-) cat >"$tmp/stdin" \ |
15486 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 15718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
15487 esac | 15719 esac |
15488 ;; | 15720 ;; |
15489 esac | 15721 esac |
15490 | 15722 |
15491 ac_dir=`$as_dirname -- "$ac_file" || | 15723 ac_dir=`$as_dirname -- "$ac_file" || |
15617 if $ac_cs_awk_getline; then | 15849 if $ac_cs_awk_getline; then |
15618 $AWK -f "$tmp/subs.awk" | 15850 $AWK -f "$tmp/subs.awk" |
15619 else | 15851 else |
15620 $AWK -f "$tmp/subs.awk" | $SHELL | 15852 $AWK -f "$tmp/subs.awk" | $SHELL |
15621 fi >$tmp/out \ | 15853 fi >$tmp/out \ |
15622 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15623 | 15855 |
15624 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 15856 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15625 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 15857 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
15626 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 15858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15628 which seems to be undefined. Please make sure it is defined." >&5 | 15860 which seems to be undefined. Please make sure it is defined" >&5 |
15629 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15861 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15630 which seems to be undefined. Please make sure it is defined." >&2;} | 15862 which seems to be undefined. Please make sure it is defined" >&2;} |
15631 | 15863 |
15632 rm -f "$tmp/stdin" | 15864 rm -f "$tmp/stdin" |
15633 case $ac_file in | 15865 case $ac_file in |
15634 -) cat "$tmp/out" && rm -f "$tmp/out";; | 15866 -) cat "$tmp/out" && rm -f "$tmp/out";; |
15635 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 15867 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
15636 esac \ | 15868 esac \ |
15637 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15638 ;; | 15870 ;; |
15639 :H) | 15871 :H) |
15640 # | 15872 # |
15641 # CONFIG_HEADER | 15873 # CONFIG_HEADER |
15642 # | 15874 # |
15643 if test x"$ac_file" != x-; then | 15875 if test x"$ac_file" != x-; then |
15644 { | 15876 { |
15645 $as_echo "/* $configure_input */" \ | 15877 $as_echo "/* $configure_input */" \ |
15646 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 15878 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
15647 } >"$tmp/config.h" \ | 15879 } >"$tmp/config.h" \ |
15648 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15649 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 15881 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 15882 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15651 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 15883 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
15652 else | 15884 else |
15653 rm -f "$ac_file" | 15885 rm -f "$ac_file" |
15654 mv "$tmp/config.h" "$ac_file" \ | 15886 mv "$tmp/config.h" "$ac_file" \ |
15655 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 15887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15656 fi | 15888 fi |
15657 else | 15889 else |
15658 $as_echo "/* $configure_input */" \ | 15890 $as_echo "/* $configure_input */" \ |
15659 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 15891 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
15660 || as_fn_error "could not create -" "$LINENO" 5 | 15892 || as_fn_error $? "could not create -" "$LINENO" 5 |
15661 fi | 15893 fi |
15662 ;; | 15894 ;; |
15663 | 15895 |
15664 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 15896 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15665 $as_echo "$as_me: executing $ac_file commands" >&6;} | 15897 $as_echo "$as_me: executing $ac_file commands" >&6;} |
15692 as_fn_exit 0 | 15924 as_fn_exit 0 |
15693 _ACEOF | 15925 _ACEOF |
15694 ac_clean_files=$ac_clean_files_save | 15926 ac_clean_files=$ac_clean_files_save |
15695 | 15927 |
15696 test $ac_write_fail = 0 || | 15928 test $ac_write_fail = 0 || |
15697 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 15929 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15698 | 15930 |
15699 | 15931 |
15700 # configure is writing to config.log, and then calls config.status. | 15932 # configure is writing to config.log, and then calls config.status. |
15701 # config.status does its own redirection, appending to config.log. | 15933 # config.status does its own redirection, appending to config.log. |
15702 # Unfortunately, on DOS this fails, as config.log is still kept open | 15934 # Unfortunately, on DOS this fails, as config.log is still kept open |
15713 exec 5>/dev/null | 15945 exec 5>/dev/null |
15714 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 15946 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15715 exec 5>>config.log | 15947 exec 5>>config.log |
15716 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 15948 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15717 # would make configure fail if this is the last instruction. | 15949 # would make configure fail if this is the last instruction. |
15718 $ac_cs_success || as_fn_exit $? | 15950 $ac_cs_success || as_fn_exit 1 |
15719 fi | 15951 fi |
15720 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 15952 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 15953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15722 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 15954 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15723 fi | 15955 fi |