comparison configure @ 109793:b60dcdd855f0

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sun, 08 Aug 2010 22:52:25 +0000
parents b862722704f6
children d50010a75cee
comparison
equal deleted inserted replaced
109649:1f8f03cfcd2b 109793:b60dcdd855f0
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.66 for emacs 24.0.50. 3 # Generated by GNU Autoconf 2.65 for emacs 24.0.50.
4 # 4 #
5 # 5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Foundation, Inc. 8 # Inc.
9 # 9 #
10 # 10 #
11 # This configure script is free software; the Free Software Foundation 11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it. 12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ## 13 ## -------------------- ##
314 } 314 }
315 s/.*/./; q'` 315 s/.*/./; q'`
316 test -d "$as_dir" && break 316 test -d "$as_dir" && break
317 done 317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 320
321 321
322 } # as_fn_mkdir_p 322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE 323 # as_fn_append VAR VALUE
324 # ---------------------- 324 # ----------------------
354 as_val=`expr "$@" || test $? -eq 1` 354 as_val=`expr "$@" || test $? -eq 1`
355 } 355 }
356 fi # as_fn_arith 356 fi # as_fn_arith
357 357
358 358
359 # as_fn_error STATUS ERROR [LINENO LOG_FD] 359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------------- 360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0. 363 # script with status $?, using 1 if that was 0.
364 as_fn_error () 364 as_fn_error ()
365 { 365 {
366 as_status=$1; test $as_status -eq 0 && as_status=1 366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$4"; then 367 if test "$3"; then
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi 370 fi
371 $as_echo "$as_me: error: $2" >&2 371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status 372 as_fn_exit $as_status
373 } # as_fn_error 373 } # as_fn_error
374 374
375 if expr a : '\(a\)' >/dev/null 2>&1 && 375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
528 528
529 test -n "$DJDIR" || exec 7<&0 </dev/null 529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1 530 exec 6>&1
531 531
532 # Name of the host. 532 # Name of the host.
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too. 534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 536
537 # 537 #
538 # Initializations. 538 # Initializations.
948 948
949 -disable-* | --disable-*) 949 -disable-* | --disable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names. 951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error $? "invalid feature name: $ac_useropt" 953 as_fn_error "invalid feature name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt 954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in 956 case $ac_user_opts in
957 *" 957 *"
958 "enable_$ac_useropt" 958 "enable_$ac_useropt"
974 974
975 -enable-* | --enable-*) 975 -enable-* | --enable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names. 977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error $? "invalid feature name: $ac_useropt" 979 as_fn_error "invalid feature name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt 980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in 982 case $ac_user_opts in
983 *" 983 *"
984 "enable_$ac_useropt" 984 "enable_$ac_useropt"
1178 1178
1179 -with-* | --with-*) 1179 -with-* | --with-*)
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names. 1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error $? "invalid package name: $ac_useropt" 1183 as_fn_error "invalid package name: $ac_useropt"
1184 ac_useropt_orig=$ac_useropt 1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in 1186 case $ac_user_opts in
1187 *" 1187 *"
1188 "with_$ac_useropt" 1188 "with_$ac_useropt"
1194 1194
1195 -without-* | --without-*) 1195 -without-* | --without-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names. 1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error $? "invalid package name: $ac_useropt" 1199 as_fn_error "invalid package name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt 1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in 1202 case $ac_user_opts in
1203 *" 1203 *"
1204 "with_$ac_useropt" 1204 "with_$ac_useropt"
1224 ac_prev=x_libraries ;; 1224 ac_prev=x_libraries ;;
1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1227 x_libraries=$ac_optarg ;; 1227 x_libraries=$ac_optarg ;;
1228 1228
1229 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1229 -*) as_fn_error "unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information" 1230 Try \`$0 --help' for more information."
1231 ;; 1231 ;;
1232 1232
1233 *=*) 1233 *=*)
1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names. 1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #( 1236 case $ac_envvar in #(
1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1237 '' | [0-9]* | *[!_$as_cr_alnum]* )
1238 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1238 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1239 esac 1239 esac
1240 eval $ac_envvar=\$ac_optarg 1240 eval $ac_envvar=\$ac_optarg
1241 export $ac_envvar ;; 1241 export $ac_envvar ;;
1242 1242
1243 *) 1243 *)
1251 esac 1251 esac
1252 done 1252 done
1253 1253
1254 if test -n "$ac_prev"; then 1254 if test -n "$ac_prev"; then
1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error $? "missing argument to $ac_option" 1256 as_fn_error "missing argument to $ac_option"
1257 fi 1257 fi
1258 1258
1259 if test -n "$ac_unrecognized_opts"; then 1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in 1260 case $enable_option_checking in
1261 no) ;; 1261 no) ;;
1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1262 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 esac 1264 esac
1265 fi 1265 fi
1266 1266
1267 # Check all directory arguments for consistency. 1267 # Check all directory arguments for consistency.
1280 # Be sure to have absolute directory names. 1280 # Be sure to have absolute directory names.
1281 case $ac_val in 1281 case $ac_val in
1282 [\\/$]* | ?:[\\/]* ) continue;; 1282 [\\/$]* | ?:[\\/]* ) continue;;
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1284 esac 1284 esac
1285 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1285 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1286 done 1286 done
1287 1287
1288 # There might be people who depend on the old broken behavior: `$host' 1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc. 1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day. 1290 # FIXME: To remove some day.
1294 1294
1295 # FIXME: To remove some day. 1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x; then 1296 if test "x$host_alias" != x; then
1297 if test "x$build_alias" = x; then 1297 if test "x$build_alias" = x; then
1298 cross_compiling=maybe 1298 cross_compiling=maybe
1299 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used" >&2 1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then 1301 elif test "x$build_alias" != "x$host_alias"; then
1302 cross_compiling=yes 1302 cross_compiling=yes
1303 fi 1303 fi
1304 fi 1304 fi
1305 1305
1310 1310
1311 1311
1312 ac_pwd=`pwd` && test -n "$ac_pwd" && 1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` && 1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error $? "working directory cannot be determined" 1315 as_fn_error "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error $? "pwd does not report name of working directory" 1317 as_fn_error "pwd does not report name of working directory"
1318 1318
1319 1319
1320 # Find the source files, if location was not specified. 1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then 1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted=yes 1322 ac_srcdir_defaulted=yes
1351 else 1351 else
1352 ac_srcdir_defaulted=no 1352 ac_srcdir_defaulted=no
1353 fi 1353 fi
1354 if test ! -r "$srcdir/$ac_unique_file"; then 1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1356 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1357 fi 1357 fi
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 ac_abs_confdir=`( 1359 ac_abs_confdir=`(
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1361 pwd)` 1361 pwd)`
1362 # When building in place, set srcdir=. 1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then 1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364 srcdir=. 1364 srcdir=.
1365 fi 1365 fi
1395 Configuration: 1395 Configuration:
1396 -h, --help display this help and exit 1396 -h, --help display this help and exit
1397 --help=short display options specific to this package 1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages 1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit 1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking ...' messages 1400 -q, --quiet, --silent do not print \`checking...' messages
1401 --cache-file=FILE cache test results in FILE [disabled] 1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache' 1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files 1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1405 1405
1611 1611
1612 test -n "$ac_init_help" && exit $ac_status 1612 test -n "$ac_init_help" && exit $ac_status
1613 if $ac_init_version; then 1613 if $ac_init_version; then
1614 cat <<\_ACEOF 1614 cat <<\_ACEOF
1615 emacs configure 24.0.50 1615 emacs configure 24.0.50
1616 generated by GNU Autoconf 2.66 1616 generated by GNU Autoconf 2.65
1617 1617
1618 Copyright (C) 2010 Free Software Foundation, Inc. 1618 Copyright (C) 2009 Free Software Foundation, Inc.
1619 This configure script is free software; the Free Software Foundation 1619 This configure script is free software; the Free Software Foundation
1620 gives unlimited permission to copy, distribute and modify it. 1620 gives unlimited permission to copy, distribute and modify it.
1621 _ACEOF 1621 _ACEOF
1622 exit 1622 exit
1623 fi 1623 fi
1753 # the include files in INCLUDES and setting the cache variable VAR 1753 # the include files in INCLUDES and setting the cache variable VAR
1754 # accordingly. 1754 # accordingly.
1755 ac_fn_c_check_header_mongrel () 1755 ac_fn_c_check_header_mongrel ()
1756 { 1756 {
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 if eval "test \"\${$3+set}\"" = set; then : 1758 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; } 1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval "test \"\${$3+set}\"" = set; then : 1761 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762 $as_echo_n "(cached) " >&6 1762 $as_echo_n "(cached) " >&6
1763 fi 1763 fi
1764 eval ac_res=\$$3 1764 eval ac_res=\$$3
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; } 1766 $as_echo "$ac_res" >&6; }
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1820 ;; 1820 ;;
1821 esac 1821 esac
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; } 1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval "test \"\${$3+set}\"" = set; then : 1824 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1825 $as_echo_n "(cached) " >&6 1825 $as_echo_n "(cached) " >&6
1826 else 1826 else
1827 eval "$3=\$ac_header_compiler" 1827 eval "$3=\$ac_header_compiler"
1828 fi 1828 fi
1829 eval ac_res=\$$3 1829 eval ac_res=\$$3
1883 ac_fn_c_check_header_compile () 1883 ac_fn_c_check_header_compile ()
1884 { 1884 {
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; } 1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval "test \"\${$3+set}\"" = set; then : 1888 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889 $as_echo_n "(cached) " >&6 1889 $as_echo_n "(cached) " >&6
1890 else 1890 else
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */ 1892 /* end confdefs.h. */
1893 $4 1893 $4
1905 $as_echo "$ac_res" >&6; } 1905 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 1907
1908 } # ac_fn_c_check_header_compile 1908 } # ac_fn_c_check_header_compile
1909 1909
1910 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1910 # ac_fn_c_check_decl LINENO SYMBOL VAR
1911 # --------------------------------------------- 1911 # ------------------------------------
1912 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1912 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1913 # accordingly.
1914 ac_fn_c_check_decl () 1913 ac_fn_c_check_decl ()
1915 { 1914 {
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 as_decl_name=`echo $2|sed 's/ *(.*//'` 1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1918 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1917 $as_echo_n "checking whether $2 is declared... " >&6; }
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1920 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1921 if eval "test \"\${$3+set}\"" = set; then :
1922 $as_echo_n "(cached) " >&6 1919 $as_echo_n "(cached) " >&6
1923 else 1920 else
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */ 1922 /* end confdefs.h. */
1926 $4 1923 $4
1927 int 1924 int
1928 main () 1925 main ()
1929 { 1926 {
1930 #ifndef $as_decl_name 1927 #ifndef $2
1931 #ifdef __cplusplus 1928 (void) $2;
1932 (void) $as_decl_use;
1933 #else
1934 (void) $as_decl_name;
1935 #endif
1936 #endif 1929 #endif
1937 1930
1938 ; 1931 ;
1939 return 0; 1932 return 0;
1940 } 1933 }
1959 ac_fn_c_check_header_preproc () 1952 ac_fn_c_check_header_preproc ()
1960 { 1953 {
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; } 1956 $as_echo_n "checking for $2... " >&6; }
1964 if eval "test \"\${$3+set}\"" = set; then : 1957 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965 $as_echo_n "(cached) " >&6 1958 $as_echo_n "(cached) " >&6
1966 else 1959 else
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */ 1961 /* end confdefs.h. */
1969 #include <$2> 1962 #include <$2>
1989 ac_fn_c_check_member () 1982 ac_fn_c_check_member ()
1990 { 1983 {
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1993 $as_echo_n "checking for $2.$3... " >&6; } 1986 $as_echo_n "checking for $2.$3... " >&6; }
1994 if eval "test \"\${$4+set}\"" = set; then : 1987 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1995 $as_echo_n "(cached) " >&6 1988 $as_echo_n "(cached) " >&6
1996 else 1989 else
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */ 1991 /* end confdefs.h. */
1999 $5 1992 $5
2045 ac_fn_c_check_func () 2038 ac_fn_c_check_func ()
2046 { 2039 {
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; } 2042 $as_echo_n "checking for $2... " >&6; }
2050 if eval "test \"\${$3+set}\"" = set; then : 2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2051 $as_echo_n "(cached) " >&6 2044 $as_echo_n "(cached) " >&6
2052 else 2045 else
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */ 2047 /* end confdefs.h. */
2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2048 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2113 ac_fn_c_check_type () 2106 ac_fn_c_check_type ()
2114 { 2107 {
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2117 $as_echo_n "checking for $2... " >&6; } 2110 $as_echo_n "checking for $2... " >&6; }
2118 if eval "test \"\${$3+set}\"" = set; then : 2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2119 $as_echo_n "(cached) " >&6 2112 $as_echo_n "(cached) " >&6
2120 else 2113 else
2121 eval "$3=no" 2114 eval "$3=no"
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */ 2116 /* end confdefs.h. */
2162 cat >config.log <<_ACEOF 2155 cat >config.log <<_ACEOF
2163 This file contains any messages produced by compilers while 2156 This file contains any messages produced by compilers while
2164 running configure, to aid debugging if configure makes a mistake. 2157 running configure, to aid debugging if configure makes a mistake.
2165 2158
2166 It was created by emacs $as_me 24.0.50, which was 2159 It was created by emacs $as_me 24.0.50, which was
2167 generated by GNU Autoconf 2.66. Invocation command line was 2160 generated by GNU Autoconf 2.65. Invocation command line was
2168 2161
2169 $ $0 $@ 2162 $ $0 $@
2170 2163
2171 _ACEOF 2164 _ACEOF
2172 exec 5>>config.log 2165 exec 5>>config.log
2272 trap 'exit_status=$? 2265 trap 'exit_status=$?
2273 # Save into config.log some information that might help in debugging. 2266 # Save into config.log some information that might help in debugging.
2274 { 2267 {
2275 echo 2268 echo
2276 2269
2277 $as_echo "## ---------------- ## 2270 cat <<\_ASBOX
2271 ## ---------------- ##
2278 ## Cache variables. ## 2272 ## Cache variables. ##
2279 ## ---------------- ##" 2273 ## ---------------- ##
2274 _ASBOX
2280 echo 2275 echo
2281 # The following way of writing the cache mishandles newlines in values, 2276 # The following way of writing the cache mishandles newlines in values,
2282 ( 2277 (
2283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2284 eval ac_val=\$$ac_var 2279 eval ac_val=\$$ac_var
2308 esac | 2303 esac |
2309 sort 2304 sort
2310 ) 2305 )
2311 echo 2306 echo
2312 2307
2313 $as_echo "## ----------------- ## 2308 cat <<\_ASBOX
2309 ## ----------------- ##
2314 ## Output variables. ## 2310 ## Output variables. ##
2315 ## ----------------- ##" 2311 ## ----------------- ##
2312 _ASBOX
2316 echo 2313 echo
2317 for ac_var in $ac_subst_vars 2314 for ac_var in $ac_subst_vars
2318 do 2315 do
2319 eval ac_val=\$$ac_var 2316 eval ac_val=\$$ac_var
2320 case $ac_val in 2317 case $ac_val in
2323 $as_echo "$ac_var='\''$ac_val'\''" 2320 $as_echo "$ac_var='\''$ac_val'\''"
2324 done | sort 2321 done | sort
2325 echo 2322 echo
2326 2323
2327 if test -n "$ac_subst_files"; then 2324 if test -n "$ac_subst_files"; then
2328 $as_echo "## ------------------- ## 2325 cat <<\_ASBOX
2326 ## ------------------- ##
2329 ## File substitutions. ## 2327 ## File substitutions. ##
2330 ## ------------------- ##" 2328 ## ------------------- ##
2329 _ASBOX
2331 echo 2330 echo
2332 for ac_var in $ac_subst_files 2331 for ac_var in $ac_subst_files
2333 do 2332 do
2334 eval ac_val=\$$ac_var 2333 eval ac_val=\$$ac_var
2335 case $ac_val in 2334 case $ac_val in
2339 done | sort 2338 done | sort
2340 echo 2339 echo
2341 fi 2340 fi
2342 2341
2343 if test -s confdefs.h; then 2342 if test -s confdefs.h; then
2344 $as_echo "## ----------- ## 2343 cat <<\_ASBOX
2344 ## ----------- ##
2345 ## confdefs.h. ## 2345 ## confdefs.h. ##
2346 ## ----------- ##" 2346 ## ----------- ##
2347 _ASBOX
2347 echo 2348 echo
2348 cat confdefs.h 2349 cat confdefs.h
2349 echo 2350 echo
2350 fi 2351 fi
2351 test "$ac_signal" != 0 && 2352 test "$ac_signal" != 0 &&
2396 # Let the site file select an alternate cache file if it wants to. 2397 # Let the site file select an alternate cache file if it wants to.
2397 # Prefer an explicitly selected file to automatically selected ones. 2398 # Prefer an explicitly selected file to automatically selected ones.
2398 ac_site_file1=NONE 2399 ac_site_file1=NONE
2399 ac_site_file2=NONE 2400 ac_site_file2=NONE
2400 if test -n "$CONFIG_SITE"; then 2401 if test -n "$CONFIG_SITE"; then
2401 # We do not want a PATH search for config.site. 2402 ac_site_file1=$CONFIG_SITE
2402 case $CONFIG_SITE in #((
2403 -*) ac_site_file1=./$CONFIG_SITE;;
2404 */*) ac_site_file1=$CONFIG_SITE;;
2405 *) ac_site_file1=./$CONFIG_SITE;;
2406 esac
2407 elif test "x$prefix" != xNONE; then 2403 elif test "x$prefix" != xNONE; then
2408 ac_site_file1=$prefix/share/config.site 2404 ac_site_file1=$prefix/share/config.site
2409 ac_site_file2=$prefix/etc/config.site 2405 ac_site_file2=$prefix/etc/config.site
2410 else 2406 else
2411 ac_site_file1=$ac_default_prefix/share/config.site 2407 ac_site_file1=$ac_default_prefix/share/config.site
2416 test "x$ac_site_file" = xNONE && continue 2412 test "x$ac_site_file" = xNONE && continue
2417 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2413 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2419 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2415 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2420 sed 's/^/| /' "$ac_site_file" >&5 2416 sed 's/^/| /' "$ac_site_file" >&5
2421 . "$ac_site_file" \ 2417 . "$ac_site_file"
2422 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2424 as_fn_error $? "failed to load site script $ac_site_file
2425 See \`config.log' for more details" "$LINENO" 5; }
2426 fi 2418 fi
2427 done 2419 done
2428 2420
2429 if test -r "$cache_file"; then 2421 if test -r "$cache_file"; then
2430 # Some versions of bash will fail to source /dev/null (special files 2422 # Some versions of bash will fail to source /dev/null (special files
2501 if $ac_cache_corrupted; then 2493 if $ac_cache_corrupted; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2497 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2498 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2507 fi 2499 fi
2508 ## -------------------- ## 2500 ## -------------------- ##
2509 ## Main body of script. ## 2501 ## Main body of script. ##
2510 ## -------------------- ## 2502 ## -------------------- ##
2511 2503
2675 a | at | ath | athe | athen | athena ) val=athena ;; 2667 a | at | ath | athe | athen | athena ) val=athena ;;
2676 m | mo | mot | moti | motif ) val=motif ;; 2668 m | mo | mot | moti | motif ) val=motif ;;
2677 g | gt | gtk ) val=gtk ;; 2669 g | gt | gtk ) val=gtk ;;
2678 gtk3 ) val=gtk3 ;; 2670 gtk3 ) val=gtk3 ;;
2679 * ) 2671 * )
2680 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; 2672 as_fn_error "\`--with-x-toolkit=$withval' is invalid;
2681 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 2673 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or
2682 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2674 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2683 ;; 2675 ;;
2684 esac 2676 esac
2685 with_x_toolkit=$val 2677 with_x_toolkit=$val
2954 stringbytes) ac_gc_check_stringbytes=1 ;; 2946 stringbytes) ac_gc_check_stringbytes=1 ;;
2955 stringoverrun) ac_gc_check_string_overrun=1 ;; 2947 stringoverrun) ac_gc_check_string_overrun=1 ;;
2956 stringfreelist) ac_gc_check_string_free_list=1 ;; 2948 stringfreelist) ac_gc_check_string_free_list=1 ;;
2957 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2949 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2958 conslist) ac_gc_check_cons_list=1 ;; 2950 conslist) ac_gc_check_cons_list=1 ;;
2959 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; 2951 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;;
2960 esac 2952 esac
2961 done 2953 done
2962 IFS="$ac_save_IFS" 2954 IFS="$ac_save_IFS"
2963 2955
2964 if test x$ac_enable_checking != x ; then 2956 if test x$ac_enable_checking != x ; then
3072 3064
3073 ### Canonicalize the configuration name. 3065 ### Canonicalize the configuration name.
3074 3066
3075 ac_aux_dir= 3067 ac_aux_dir=
3076 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3068 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3077 if test -f "$ac_dir/install-sh"; then 3069 for ac_t in install-sh install.sh shtool; do
3078 ac_aux_dir=$ac_dir 3070 if test -f "$ac_dir/$ac_t"; then
3079 ac_install_sh="$ac_aux_dir/install-sh -c" 3071 ac_aux_dir=$ac_dir
3080 break 3072 ac_install_sh="$ac_aux_dir/$ac_t -c"
3081 elif test -f "$ac_dir/install.sh"; then 3073 break 2
3082 ac_aux_dir=$ac_dir 3074 fi
3083 ac_install_sh="$ac_aux_dir/install.sh -c" 3075 done
3084 break
3085 elif test -f "$ac_dir/shtool"; then
3086 ac_aux_dir=$ac_dir
3087 ac_install_sh="$ac_aux_dir/shtool install -c"
3088 break
3089 fi
3090 done 3076 done
3091 if test -z "$ac_aux_dir"; then 3077 if test -z "$ac_aux_dir"; then
3092 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3078 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3093 fi 3079 fi
3094 3080
3095 # These three variables are undocumented and unsupported, 3081 # These three variables are undocumented and unsupported,
3096 # and are intended to be withdrawn in a future Autoconf release. 3082 # and are intended to be withdrawn in a future Autoconf release.
3097 # They can cause serious problems if a builder's source tree is in a directory 3083 # They can cause serious problems if a builder's source tree is in a directory
3101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3087 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3102 3088
3103 3089
3104 # Make sure we can run config.sub. 3090 # Make sure we can run config.sub.
3105 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3091 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3106 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3092 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3107 3093
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3109 $as_echo_n "checking build system type... " >&6; } 3095 $as_echo_n "checking build system type... " >&6; }
3110 if test "${ac_cv_build+set}" = set; then : 3096 if test "${ac_cv_build+set}" = set; then :
3111 $as_echo_n "(cached) " >&6 3097 $as_echo_n "(cached) " >&6
3112 else 3098 else
3113 ac_build_alias=$build_alias 3099 ac_build_alias=$build_alias
3114 test "x$ac_build_alias" = x && 3100 test "x$ac_build_alias" = x &&
3115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3101 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3116 test "x$ac_build_alias" = x && 3102 test "x$ac_build_alias" = x &&
3117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3103 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3118 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3104 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3105 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3120 3106
3121 fi 3107 fi
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3123 $as_echo "$ac_cv_build" >&6; } 3109 $as_echo "$ac_cv_build" >&6; }
3124 case $ac_cv_build in 3110 case $ac_cv_build in
3125 *-*-*) ;; 3111 *-*-*) ;;
3126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3112 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3127 esac 3113 esac
3128 build=$ac_cv_build 3114 build=$ac_cv_build
3129 ac_save_IFS=$IFS; IFS='-' 3115 ac_save_IFS=$IFS; IFS='-'
3130 set x $ac_cv_build 3116 set x $ac_cv_build
3131 shift 3117 shift
3146 else 3132 else
3147 if test "x$host_alias" = x; then 3133 if test "x$host_alias" = x; then
3148 ac_cv_host=$ac_cv_build 3134 ac_cv_host=$ac_cv_build
3149 else 3135 else
3150 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3152 fi 3138 fi
3153 3139
3154 fi 3140 fi
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3156 $as_echo "$ac_cv_host" >&6; } 3142 $as_echo "$ac_cv_host" >&6; }
3157 case $ac_cv_host in 3143 case $ac_cv_host in
3158 *-*-*) ;; 3144 *-*-*) ;;
3159 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3145 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3160 esac 3146 esac
3161 host=$ac_cv_host 3147 host=$ac_cv_host
3162 ac_save_IFS=$IFS; IFS='-' 3148 ac_save_IFS=$IFS; IFS='-'
3163 set x $ac_cv_host 3149 set x $ac_cv_host
3164 shift 3150 shift
3448 fi 3434 fi
3449 3435
3450 3436
3451 3437
3452 if test $unported = yes; then 3438 if test $unported = yes; then
3453 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. 3439 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems.
3454 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 3440 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3455 fi 3441 fi
3456 3442
3457 machfile="m/${machine}.h" 3443 machfile="m/${machine}.h"
3458 opsysfile="s/${opsys}.h" 3444 opsysfile="s/${opsys}.h"
3762 fi 3748 fi
3763 3749
3764 3750
3765 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3767 as_fn_error $? "no acceptable C compiler found in \$PATH 3753 as_fn_error "no acceptable C compiler found in \$PATH
3768 See \`config.log' for more details" "$LINENO" 5; } 3754 See \`config.log' for more details." "$LINENO" 5; }
3769 3755
3770 # Provide some information about the compiler. 3756 # Provide some information about the compiler.
3771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3772 set X $ac_compile 3758 set X $ac_compile
3773 ac_compiler=$2 3759 ac_compiler=$2
3877 $as_echo "$as_me: failed program was:" >&5 3863 $as_echo "$as_me: failed program was:" >&5
3878 sed 's/^/| /' conftest.$ac_ext >&5 3864 sed 's/^/| /' conftest.$ac_ext >&5
3879 3865
3880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3882 as_fn_error 77 "C compiler cannot create executables 3868 { as_fn_set_status 77
3883 See \`config.log' for more details" "$LINENO" 5; } 3869 as_fn_error "C compiler cannot create executables
3870 See \`config.log' for more details." "$LINENO" 5; }; }
3884 else 3871 else
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3886 $as_echo "yes" >&6; } 3873 $as_echo "yes" >&6; }
3887 fi 3874 fi
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3920 esac 3907 esac
3921 done 3908 done
3922 else 3909 else
3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3925 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3912 as_fn_error "cannot compute suffix of executables: cannot compile and link
3926 See \`config.log' for more details" "$LINENO" 5; } 3913 See \`config.log' for more details." "$LINENO" 5; }
3927 fi 3914 fi
3928 rm -f conftest conftest$ac_cv_exeext 3915 rm -f conftest conftest$ac_cv_exeext
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3930 $as_echo "$ac_cv_exeext" >&6; } 3917 $as_echo "$ac_cv_exeext" >&6; }
3931 3918
3978 if test "$cross_compiling" = maybe; then 3965 if test "$cross_compiling" = maybe; then
3979 cross_compiling=yes 3966 cross_compiling=yes
3980 else 3967 else
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error $? "cannot run C compiled programs. 3970 as_fn_error "cannot run C compiled programs.
3984 If you meant to cross compile, use \`--host'. 3971 If you meant to cross compile, use \`--host'.
3985 See \`config.log' for more details" "$LINENO" 5; } 3972 See \`config.log' for more details." "$LINENO" 5; }
3986 fi 3973 fi
3987 fi 3974 fi
3988 fi 3975 fi
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3990 $as_echo "$cross_compiling" >&6; } 3977 $as_echo "$cross_compiling" >&6; }
4031 $as_echo "$as_me: failed program was:" >&5 4018 $as_echo "$as_me: failed program was:" >&5
4032 sed 's/^/| /' conftest.$ac_ext >&5 4019 sed 's/^/| /' conftest.$ac_ext >&5
4033 4020
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error $? "cannot compute suffix of object files: cannot compile 4023 as_fn_error "cannot compute suffix of object files: cannot compile
4037 See \`config.log' for more details" "$LINENO" 5; } 4024 See \`config.log' for more details." "$LINENO" 5; }
4038 fi 4025 fi
4039 rm -f conftest.$ac_cv_objext conftest.$ac_ext 4026 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4040 fi 4027 fi
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4042 $as_echo "$ac_cv_objext" >&6; } 4029 $as_echo "$ac_cv_objext" >&6; }
4449 if $ac_preproc_ok; then : 4436 if $ac_preproc_ok; then :
4450 4437
4451 else 4438 else
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4454 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4441 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4455 See \`config.log' for more details" "$LINENO" 5; } 4442 See \`config.log' for more details." "$LINENO" 5; }
4456 fi 4443 fi
4457 4444
4458 ac_ext=c 4445 ac_ext=c
4459 ac_cpp='$CPP $CPPFLAGS' 4446 ac_cpp='$CPP $CPPFLAGS'
4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4511 done 4498 done
4512 done 4499 done
4513 done 4500 done
4514 IFS=$as_save_IFS 4501 IFS=$as_save_IFS
4515 if test -z "$ac_cv_path_GREP"; then 4502 if test -z "$ac_cv_path_GREP"; then
4516 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4503 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4517 fi 4504 fi
4518 else 4505 else
4519 ac_cv_path_GREP=$GREP 4506 ac_cv_path_GREP=$GREP
4520 fi 4507 fi
4521 4508
4577 done 4564 done
4578 done 4565 done
4579 done 4566 done
4580 IFS=$as_save_IFS 4567 IFS=$as_save_IFS
4581 if test -z "$ac_cv_path_EGREP"; then 4568 if test -z "$ac_cv_path_EGREP"; then
4582 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4569 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4583 fi 4570 fi
4584 else 4571 else
4585 ac_cv_path_EGREP=$EGREP 4572 ac_cv_path_EGREP=$EGREP
4586 fi 4573 fi
4587 4574
4709 inttypes.h stdint.h unistd.h 4696 inttypes.h stdint.h unistd.h
4710 do : 4697 do :
4711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4713 " 4700 "
4714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4701 eval as_val=\$$as_ac_Header
4702 if test "x$as_val" = x""yes; then :
4715 cat >>confdefs.h <<_ACEOF 4703 cat >>confdefs.h <<_ACEOF
4716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4717 _ACEOF 4705 _ACEOF
4718 4706
4719 fi 4707 fi
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
4875 $as_echo "$has_option" >&6; } 4863 $as_echo "$has_option" >&6; }
4876 CFLAGS="$SAVE_CFLAGS" 4864 CFLAGS="$SAVE_CFLAGS"
4877 unset has_option 4865 unset has_option
4878 unset SAVE_CFLAGS 4866 unset SAVE_CFLAGS
4867
4868 ### Use -Wimplicit-function-declaration if the compiler supports it
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wimplicit-function-declaration" >&5
4870 $as_echo_n "checking whether gcc understands -Wimplicit-function-declaration... " >&6; }
4871 SAVE_CFLAGS="$CFLAGS"
4872 CFLAGS="$CFLAGS -Wimplicit-function-declaration"
4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874 /* end confdefs.h. */
4875
4876 int
4877 main ()
4878 {
4879
4880 ;
4881 return 0;
4882 }
4883 _ACEOF
4884 if ac_fn_c_try_compile "$LINENO"; then :
4885 has_option=yes
4886 else
4887 has_option=no
4888 fi
4889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4890 if test $has_option = yes; then
4891 C_WARNINGS_SWITCH="-Wimplicit-function-declaration $C_WARNINGS_SWITCH"
4892 fi
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
4894 $as_echo "$has_option" >&6; }
4895 CFLAGS="$SAVE_CFLAGS"
4896 unset has_option
4897 unset SAVE_CFLAGS
4898
4879 4899
4880 4900
4881 4901
4882 #### Some other nice autoconf tests. 4902 #### Some other nice autoconf tests.
4883 4903
5006 if $ac_preproc_ok; then : 5026 if $ac_preproc_ok; then :
5007 5027
5008 else 5028 else
5009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5011 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5031 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5012 See \`config.log' for more details" "$LINENO" 5; } 5032 See \`config.log' for more details." "$LINENO" 5; }
5013 fi 5033 fi
5014 5034
5015 ac_ext=c 5035 ac_ext=c
5016 ac_cpp='$CPP $CPPFLAGS' 5036 ac_cpp='$CPP $CPPFLAGS'
5017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5444 ## with pre-built manuals, from a Bazaar checkout. 5464 ## with pre-built manuals, from a Bazaar checkout.
5445 if test "$MAKEINFO" = "no"; then 5465 if test "$MAKEINFO" = "no"; then
5446 if test "x${with_makeinfo}" = "xno"; then 5466 if test "x${with_makeinfo}" = "xno"; then
5447 MAKEINFO=off 5467 MAKEINFO=off
5448 elif test ! -e $srcdir/info/emacs; then 5468 elif test ! -e $srcdir/info/emacs; then
5449 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your 5469 as_fn_error "You do not seem to have makeinfo >= 4.6, and your
5450 source tree does not seem to have pre-built manuals in the \`info' directory. 5470 source tree does not seem to have pre-built manuals in the \`info' directory.
5451 Either install a suitable version of makeinfo, or re-run configure 5471 Either install a suitable version of makeinfo, or re-run configure
5452 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5472 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
5453 fi 5473 fi
5454 fi 5474 fi
5598 ## GNU libc, __malloc_initialized would normally be resolved to the 5618 ## GNU libc, __malloc_initialized would normally be resolved to the
5599 ## shared library's .bss section, which is fatal. 5619 ## shared library's .bss section, which is fatal.
5600 if test "x$GCC" = "xyes"; then 5620 if test "x$GCC" = "xyes"; then
5601 C_SWITCH_MACHINE="-fno-common" 5621 C_SWITCH_MACHINE="-fno-common"
5602 else 5622 else
5603 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 5623 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
5604 fi 5624 fi
5605 else 5625 else
5606 UNEXEC_OBJ=unexalpha.o 5626 UNEXEC_OBJ=unexalpha.o
5607 fi 5627 fi
5608 fi 5628 fi
5876 else 5896 else
5877 5897
5878 ## Some platforms don't use any of these files, so it is not 5898 ## Some platforms don't use any of these files, so it is not
5879 ## appropriate to put this test outside the if block. 5899 ## appropriate to put this test outside the if block.
5880 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5900 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
5881 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 5901 as_fn_error "crt*.o not found in specified location." "$LINENO" 5
5882 5902
5883 fi 5903 fi
5884 5904
5885 5905
5886 5906
5931 # Sound support for GNU/Linux and the free BSDs. 5951 # Sound support for GNU/Linux and the free BSDs.
5932 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 5952 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5933 do : 5953 do :
5934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5935 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5955 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5956 eval as_val=\$$as_ac_Header
5957 if test "x$as_val" = x""yes; then :
5937 cat >>confdefs.h <<_ACEOF 5958 cat >>confdefs.h <<_ACEOF
5938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5939 _ACEOF 5960 _ACEOF
5940 have_sound_header=yes 5961 have_sound_header=yes
5941 fi 5962 fi
6122 else 6143 else
6123 emacs_alsa_subdir=no 6144 emacs_alsa_subdir=no
6124 fi 6145 fi
6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6126 if test "$emacs_alsa_subdir" != yes; then 6147 if test "$emacs_alsa_subdir" != yes; then
6127 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6148 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6128 fi 6149 fi
6129 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6150 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6130 fi 6151 fi
6131 6152
6132 CFLAGS="$SAVE_CFLAGS" 6153 CFLAGS="$SAVE_CFLAGS"
6153 6174
6154 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 6175 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
6155 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6176 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
6156 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6177 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
6157 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6178 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6158 sys/utsname.h pwd.h utmp.h dirent.h 6179 sys/utsname.h pwd.h utmp.h dirent.h util.h
6159 do : 6180 do :
6160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6181 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6161 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6182 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6183 eval as_val=\$$as_ac_Header
6184 if test "x$as_val" = x""yes; then :
6163 cat >>confdefs.h <<_ACEOF 6185 cat >>confdefs.h <<_ACEOF
6164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6165 _ACEOF 6187 _ACEOF
6166 6188
6167 fi 6189 fi
6999 7021
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7001 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7023 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7002 set x ${MAKE-make} 7024 set x ${MAKE-make}
7003 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7025 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7004 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 7026 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
7005 $as_echo_n "(cached) " >&6 7027 $as_echo_n "(cached) " >&6
7006 else 7028 else
7007 cat >conftest.make <<\_ACEOF 7029 cat >conftest.make <<\_ACEOF
7008 SHELL = /bin/sh 7030 SHELL = /bin/sh
7009 all: 7031 all:
7010 @echo '@@@%%%=$(MAKE)=@@@%%%' 7032 @echo '@@@%%%=$(MAKE)=@@@%%%'
7011 _ACEOF 7033 _ACEOF
7012 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 7034 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7013 case `${MAKE-make} -f conftest.make 2>/dev/null` in 7035 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7014 *@@@%%%=?*=@@@%%%*) 7036 *@@@%%%=?*=@@@%%%*)
7015 eval ac_cv_prog_make_${ac_make}_set=yes;; 7037 eval ac_cv_prog_make_${ac_make}_set=yes;;
7016 *) 7038 *)
7017 eval ac_cv_prog_make_${ac_make}_set=no;; 7039 eval ac_cv_prog_make_${ac_make}_set=no;;
7143 if test "x$with_x" = xno; then 7165 if test "x$with_x" = xno; then
7144 # The user explicitly disabled X. 7166 # The user explicitly disabled X.
7145 have_x=disabled 7167 have_x=disabled
7146 else 7168 else
7147 case $x_includes,$x_libraries in #( 7169 case $x_includes,$x_libraries in #(
7148 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 7170 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
7149 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 7171 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
7150 $as_echo_n "(cached) " >&6 7172 $as_echo_n "(cached) " >&6
7151 else 7173 else
7152 # One or both of the vars are not set, and there is no cached value. 7174 # One or both of the vars are not set, and there is no cached value.
7153 ac_x_includes=no ac_x_libraries=no 7175 ac_x_includes=no ac_x_libraries=no
7161 @echo usrlibdir='${USRLIBDIR}' 7183 @echo usrlibdir='${USRLIBDIR}'
7162 libdir: 7184 libdir:
7163 @echo libdir='${LIBDIR}' 7185 @echo libdir='${LIBDIR}'
7164 _ACEOF 7186 _ACEOF
7165 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 7187 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7166 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 7188 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7167 for ac_var in incroot usrlibdir libdir; do 7189 for ac_var in incroot usrlibdir libdir; do
7168 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 7190 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7169 done 7191 done
7170 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 7192 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7171 for ac_extension in a so sl dylib la dll; do 7193 for ac_extension in a so sl dylib la dll; do
7430 fi 7452 fi
7431 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 7453 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
7432 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7454 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then :
7433 HAVE_NS=yes 7455 HAVE_NS=yes
7434 else 7456 else
7435 as_fn_error $? "\`--with-ns' was specified, but the include 7457 as_fn_error "\`--with-ns' was specified, but the include
7436 files are missing or cannot be compiled." "$LINENO" 5 7458 files are missing or cannot be compiled." "$LINENO" 5
7437 fi 7459 fi
7438 7460
7439 7461
7440 NS_HAVE_NSINTEGER=yes 7462 NS_HAVE_NSINTEGER=yes
7546 7568
7547 7569
7548 if test "$HAVE_XSERVER" = true || 7570 if test "$HAVE_XSERVER" = true ||
7549 test -n "$DISPLAY" || 7571 test -n "$DISPLAY" ||
7550 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7572 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7551 as_fn_error $? "You seem to be running X, but no X development libraries 7573 as_fn_error "You seem to be running X, but no X development libraries
7552 were found. You should install the relevant development files for X 7574 were found. You should install the relevant development files for X
7553 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7575 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7554 sure you have development files for image handling, i.e. 7576 sure you have development files for image handling, i.e.
7555 tiff, gif, jpeg, png and xpm. 7577 tiff, gif, jpeg, png and xpm.
7556 If you are sure you want Emacs compiled without X window support, pass 7578 If you are sure you want Emacs compiled without X window support, pass
7669 for ac_header in $ac_header_list 7691 for ac_header in $ac_header_list
7670 do : 7692 do :
7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7693 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7694 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7673 " 7695 "
7674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7696 eval as_val=\$$as_ac_Header
7697 if test "x$as_val" = x""yes; then :
7675 cat >>confdefs.h <<_ACEOF 7698 cat >>confdefs.h <<_ACEOF
7676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7677 _ACEOF 7700 _ACEOF
7678 7701
7679 fi 7702 fi
7775 7798
7776 int 7799 int
7777 main () 7800 main ()
7778 { 7801 {
7779 char *data, *data2, *data3; 7802 char *data, *data2, *data3;
7780 const char *cdata2;
7781 int i, pagesize; 7803 int i, pagesize;
7782 int fd, fd2; 7804 int fd, fd2;
7783 7805
7784 pagesize = getpagesize (); 7806 pagesize = getpagesize ();
7785 7807
7800 /* Next, check that the tail of a page is zero-filled. File must have 7822 /* Next, check that the tail of a page is zero-filled. File must have
7801 non-zero length, otherwise we risk SIGBUS for entire page. */ 7823 non-zero length, otherwise we risk SIGBUS for entire page. */
7802 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 7824 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7803 if (fd2 < 0) 7825 if (fd2 < 0)
7804 return 4; 7826 return 4;
7805 cdata2 = ""; 7827 data2 = "";
7806 if (write (fd2, cdata2, 1) != 1) 7828 if (write (fd2, data2, 1) != 1)
7807 return 5; 7829 return 5;
7808 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 7830 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7809 if (data2 == MAP_FAILED) 7831 if (data2 == MAP_FAILED)
7810 return 6; 7832 return 6;
7811 for (i = 0; i < pagesize; ++i) 7833 for (i = 0; i < pagesize; ++i)
7812 if (*(data2 + i)) 7834 if (*(data2 + i))
7813 return 7; 7835 return 7;
8176 for ac_func in XrmSetDatabase XScreenResourceString \ 8198 for ac_func in XrmSetDatabase XScreenResourceString \
8177 XScreenNumberOfScreen XSetWMProtocols 8199 XScreenNumberOfScreen XSetWMProtocols
8178 do : 8200 do :
8179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8203 eval as_val=\$$as_ac_var
8204 if test "x$as_val" = x""yes; then :
8182 cat >>confdefs.h <<_ACEOF 8205 cat >>confdefs.h <<_ACEOF
8183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8184 _ACEOF 8207 _ACEOF
8185 8208
8186 fi 8209 fi
8457 else 8480 else
8458 pkg_check_gtk=no 8481 pkg_check_gtk=no
8459 fi 8482 fi
8460 8483
8461 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8484 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8462 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 8485 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5
8463 fi 8486 fi
8464 fi 8487 fi
8465 8488
8466 if test "$pkg_check_gtk" != "yes"; then 8489 if test "$pkg_check_gtk" != "yes"; then
8467 HAVE_GTK=no 8490 HAVE_GTK=no
8563 else 8586 else
8564 pkg_check_gtk=no 8587 pkg_check_gtk=no
8565 fi 8588 fi
8566 8589
8567 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8590 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8568 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 8591 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5
8569 fi 8592 fi
8570 fi 8593 fi
8571 fi 8594 fi
8572 8595
8573 GTK_OBJ= 8596 GTK_OBJ=
8590 fi 8613 fi
8591 done 8614 done
8592 8615
8593 if test "${GTK_COMPILES}" != "yes"; then 8616 if test "${GTK_COMPILES}" != "yes"; then
8594 if test "$USE_X_TOOLKIT" != "maybe"; then 8617 if test "$USE_X_TOOLKIT" != "maybe"; then
8595 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 8618 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
8596 fi 8619 fi
8597 else 8620 else
8598 HAVE_GTK=yes 8621 HAVE_GTK=yes
8599 8622
8600 $as_echo "#define USE_GTK 1" >>confdefs.h 8623 $as_echo "#define USE_GTK 1" >>confdefs.h
8720 gtk_widget_get_mapped gtk_adjustment_get_page_size \ 8743 gtk_widget_get_mapped gtk_adjustment_get_page_size \
8721 gtk_orientable_set_orientation 8744 gtk_orientable_set_orientation
8722 do : 8745 do :
8723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8725 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 8748 eval as_val=\$$as_ac_var
8749 if test "x$as_val" = x""yes; then :
8726 cat >>confdefs.h <<_ACEOF 8750 cat >>confdefs.h <<_ACEOF
8727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8728 _ACEOF 8752 _ACEOF
8729 8753
8730 fi 8754 fi
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
9086 $as_echo "yes; using Lucid toolkit" >&6; } 9110 $as_echo "yes; using Lucid toolkit" >&6; }
9087 USE_X_TOOLKIT=LUCID 9111 USE_X_TOOLKIT=LUCID
9088 LUCID_LIBW=-lXaw 9112 LUCID_LIBW=-lXaw
9089 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 9113 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
9090 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 9114 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
9091 else 9115 else
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
9093 $as_echo "no; do not use toolkit by default" >&6; } 9117 $as_echo "no; do not use toolkit by default" >&6; }
9094 USE_X_TOOLKIT=none 9118 USE_X_TOOLKIT=none
9095 fi 9119 fi
10262 # in /usr/include/libpng. 10286 # in /usr/include/libpng.
10263 for ac_header in png.h libpng/png.h 10287 for ac_header in png.h libpng/png.h
10264 do : 10288 do :
10265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10266 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10267 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10291 eval as_val=\$$as_ac_Header
10292 if test "x$as_val" = x""yes; then :
10268 cat >>confdefs.h <<_ACEOF 10293 cat >>confdefs.h <<_ACEOF
10269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10270 _ACEOF 10295 _ACEOF
10271 10296
10272 fi 10297 fi
10514 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" 10539 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
10515 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && 10540 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
10516 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 10541 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
10517 10542
10518 if test "X${MISSING}" != X; then 10543 if test "X${MISSING}" != X; then
10519 as_fn_error $? "The following required libraries were not found: 10544 as_fn_error "The following required libraries were not found:
10520 $MISSING 10545 $MISSING
10521 Maybe some development libraries/packages are missing? 10546 Maybe some development libraries/packages are missing?
10522 If you don't want to link with them give 10547 If you don't want to link with them give
10523 $WITH_NO 10548 $WITH_NO
10524 as options to configure" "$LINENO" 5 10549 as options to configure" "$LINENO" 5
10849 $as_echo "$ac_cv_os_cray" >&6; } 10874 $as_echo "$ac_cv_os_cray" >&6; }
10850 if test $ac_cv_os_cray = yes; then 10875 if test $ac_cv_os_cray = yes; then
10851 for ac_func in _getb67 GETB67 getb67; do 10876 for ac_func in _getb67 GETB67 getb67; do
10852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 10878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10854 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 10879 eval as_val=\$$as_ac_var
10880 if test "x$as_val" = x""yes; then :
10855 10881
10856 cat >>confdefs.h <<_ACEOF 10882 cat >>confdefs.h <<_ACEOF
10857 #define CRAY_STACKSEG_END $ac_func 10883 #define CRAY_STACKSEG_END $ac_func
10858 _ACEOF 10884 _ACEOF
10859 10885
10913 10939
10914 fi 10940 fi
10915 10941
10916 10942
10917 if test x"$ac_cv_func_alloca_works" != xyes; then 10943 if test x"$ac_cv_func_alloca_works" != xyes; then
10918 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 10944 as_fn_error "a system implementation of alloca is required " "$LINENO" 5
10919 fi 10945 fi
10920 10946
10921 # fmod, logb, and frexp are found in -lm on most systems. 10947 # fmod, logb, and frexp are found in -lm on most systems.
10922 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 10948 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
11109 $as_echo "no" >&6; } 11135 $as_echo "no" >&6; }
11110 fi 11136 fi
11111 11137
11112 11138
11113 if test $ac_cv_prog_liblockfile = yes; then 11139 if test $ac_cv_prog_liblockfile = yes; then
11114 as_fn_error $? "Shared liblockfile found but can't link against it. 11140 as_fn_error "Shared liblockfile found but can't link against it.
11115 This probably means that movemail could lose mail. 11141 This probably means that movemail could lose mail.
11116 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 11142 There may be a \`development' package to install containing liblockfile." "$LINENO" 5
11117 fi 11143 fi
11118 fi 11144 fi
11119 for ac_func in touchlock 11145 for ac_func in touchlock
11198 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 11224 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
11199 cfmakeraw cfsetspeed isnan copysign __executable_start 11225 cfmakeraw cfsetspeed isnan copysign __executable_start
11200 do : 11226 do :
11201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11203 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 11229 eval as_val=\$$as_ac_var
11230 if test "x$as_val" = x""yes; then :
11204 cat >>confdefs.h <<_ACEOF 11231 cat >>confdefs.h <<_ACEOF
11205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11206 _ACEOF 11233 _ACEOF
11207 11234
11208 fi 11235 fi
11229 11256
11230 for ac_func in $ac_func_list 11257 for ac_func in $ac_func_list
11231 do : 11258 do :
11232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 11261 eval as_val=\$$as_ac_var
11262 if test "x$as_val" = x""yes; then :
11235 cat >>confdefs.h <<_ACEOF 11263 cat >>confdefs.h <<_ACEOF
11236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11237 _ACEOF 11265 _ACEOF
11238 11266
11239 fi 11267 fi
11281 11309
11282 static time_t time_t_max; 11310 static time_t time_t_max;
11283 static time_t time_t_min; 11311 static time_t time_t_min;
11284 11312
11285 /* Values we'll use to set the TZ environment variable. */ 11313 /* Values we'll use to set the TZ environment variable. */
11286 static const char *tz_strings[] = { 11314 static char *tz_strings[] = {
11287 (const char *) 0, "TZ=GMT0", "TZ=JST-9", 11315 (char *) 0, "TZ=GMT0", "TZ=JST-9",
11288 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 11316 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11289 }; 11317 };
11290 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 11318 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
11291 11319
11292 /* Return 0 if mktime fails to convert a date in the spring-forward gap. 11320 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
11299 11327
11300 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 11328 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
11301 instead of "TZ=America/Vancouver" in order to detect the bug even 11329 instead of "TZ=America/Vancouver" in order to detect the bug even
11302 on systems that don't support the Olson extension, or don't have the 11330 on systems that don't support the Olson extension, or don't have the
11303 full zoneinfo tables installed. */ 11331 full zoneinfo tables installed. */
11304 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); 11332 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
11305 11333
11306 tm.tm_year = 98; 11334 tm.tm_year = 98;
11307 tm.tm_mon = 3; 11335 tm.tm_mon = 3;
11308 tm.tm_mday = 5; 11336 tm.tm_mday = 5;
11309 tm.tm_hour = 2; 11337 tm.tm_hour = 2;
11312 tm.tm_isdst = -1; 11340 tm.tm_isdst = -1;
11313 return mktime (&tm) != (time_t) -1; 11341 return mktime (&tm) != (time_t) -1;
11314 } 11342 }
11315 11343
11316 static int 11344 static int
11317 mktime_test1 (time_t now) 11345 mktime_test1 (now)
11346 time_t now;
11318 { 11347 {
11319 struct tm *lt; 11348 struct tm *lt;
11320 return ! (lt = localtime (&now)) || mktime (lt) == now; 11349 return ! (lt = localtime (&now)) || mktime (lt) == now;
11321 } 11350 }
11322 11351
11323 static int 11352 static int
11324 mktime_test (time_t now) 11353 mktime_test (now)
11354 time_t now;
11325 { 11355 {
11326 return (mktime_test1 (now) 11356 return (mktime_test1 (now)
11327 && mktime_test1 ((time_t) (time_t_max - now)) 11357 && mktime_test1 ((time_t) (time_t_max - now))
11328 && mktime_test1 ((time_t) (time_t_min + now))); 11358 && mktime_test1 ((time_t) (time_t_min + now)));
11329 } 11359 }
11343 mktime (&tm); 11373 mktime (&tm);
11344 return tm.tm_mon == 2 && tm.tm_mday == 31; 11374 return tm.tm_mon == 2 && tm.tm_mday == 31;
11345 } 11375 }
11346 11376
11347 static int 11377 static int
11348 bigtime_test (int j) 11378 bigtime_test (j)
11379 int j;
11349 { 11380 {
11350 struct tm tm; 11381 struct tm tm;
11351 time_t now; 11382 time_t now;
11352 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; 11383 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
11353 now = mktime (&tm); 11384 now = mktime (&tm);
11387 11418
11388 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 11419 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
11389 instead of "TZ=America/Vancouver" in order to detect the bug even 11420 instead of "TZ=America/Vancouver" in order to detect the bug even
11390 on systems that don't support the Olson extension, or don't have the 11421 on systems that don't support the Olson extension, or don't have the
11391 full zoneinfo tables installed. */ 11422 full zoneinfo tables installed. */
11392 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); 11423 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
11393 11424
11394 t = mktime (&tm); 11425 t = mktime (&tm);
11395 11426
11396 /* Check that the result is either a failure, or close enough 11427 /* Check that the result is either a failure, or close enough
11397 to the correct answer that we can assume the discrepancy is 11428 to the correct answer that we can assume the discrepancy is
11422 11453
11423 delta = time_t_max / 997; /* a suitable prime number */ 11454 delta = time_t_max / 997; /* a suitable prime number */
11424 for (i = 0; i < N_STRINGS; i++) 11455 for (i = 0; i < N_STRINGS; i++)
11425 { 11456 {
11426 if (tz_strings[i]) 11457 if (tz_strings[i])
11427 putenv ((char*) tz_strings[i]); 11458 putenv (tz_strings[i]);
11428 11459
11429 for (t = 0; t <= time_t_max - delta; t += delta) 11460 for (t = 0; t <= time_t_max - delta; t += delta)
11430 if (! mktime_test (t)) 11461 if (! mktime_test (t))
11431 return 1; 11462 return 1;
11432 if (! (mktime_test ((time_t) 1) 11463 if (! (mktime_test ((time_t) 1)
11474 11505
11475 ac_have_func=no # yes means we've found a way to get the load average. 11506 ac_have_func=no # yes means we've found a way to get the load average.
11476 11507
11477 # Make sure getloadavg.c is where it belongs, at configure-time. 11508 # Make sure getloadavg.c is where it belongs, at configure-time.
11478 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 11509 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
11479 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 11510 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
11480 11511
11481 ac_save_LIBS=$LIBS 11512 ac_save_LIBS=$LIBS
11482 11513
11483 # Check for getloadavg, but be sure not to touch the cache variable. 11514 # Check for getloadavg, but be sure not to touch the cache variable.
11484 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 11515 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12343 else 12374 else
12344 have_tputs_et_al=false 12375 have_tputs_et_al=false
12345 fi 12376 fi
12346 12377
12347 if test "$have_tputs_et_al" != true; then 12378 if test "$have_tputs_et_al" != true; then
12348 as_fn_error $? "I couldn't find termcap functions (tputs and friends). 12379 as_fn_error "I couldn't find termcap functions (tputs and friends).
12349 Maybe some development libraries/packages are missing? Try installing 12380 Maybe some development libraries/packages are missing? Try installing
12350 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 12381 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
12351 fi 12382 fi
12352 # Must define this when any termcap library is found. 12383 # Must define this when any termcap library is found.
12353 12384
13490 13521
13491 for ac_func in fork vfork 13522 for ac_func in fork vfork
13492 do : 13523 do :
13493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13526 eval as_val=\$$as_ac_var
13527 if test "x$as_val" = x""yes; then :
13496 cat >>confdefs.h <<_ACEOF 13528 cat >>confdefs.h <<_ACEOF
13497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13498 _ACEOF 13530 _ACEOF
13499 13531
13500 fi 13532 fi
13864 ## Hack to detect a buggy GCC version. 13896 ## Hack to detect a buggy GCC version.
13865 if test "x$GCC" = xyes \ 13897 if test "x$GCC" = xyes \
13866 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 13898 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
13867 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 13899 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
13868 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 13900 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
13869 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 13901 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
13870 fi 13902 fi
13871 13903
13872 #### Find out which version of Emacs this is. 13904 #### Find out which version of Emacs this is.
13873 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ 13905 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
13874 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 13906 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
13875 if test x"${version}" = x; then 13907 if test x"${version}" = x; then
13876 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 13908 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5
13877 fi 13909 fi
13878 if test x"${version}" != x"$PACKAGE_VERSION"; then 13910 if test x"${version}" != x"$PACKAGE_VERSION"; then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 13911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5
13880 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} 13912 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;}
13881 fi 13913 fi
14429 14461
14430 DEFS=-DHAVE_CONFIG_H 14462 DEFS=-DHAVE_CONFIG_H
14431 14463
14432 ac_libobjs= 14464 ac_libobjs=
14433 ac_ltlibobjs= 14465 ac_ltlibobjs=
14434 U=
14435 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14466 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14436 # 1. Remove the extension, and $U if already installed. 14467 # 1. Remove the extension, and $U if already installed.
14437 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14468 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14438 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14469 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14439 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14470 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14591 14622
14592 # CDPATH. 14623 # CDPATH.
14593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14624 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14594 14625
14595 14626
14596 # as_fn_error STATUS ERROR [LINENO LOG_FD] 14627 # as_fn_error ERROR [LINENO LOG_FD]
14597 # ---------------------------------------- 14628 # ---------------------------------
14598 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14629 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14599 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14630 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14600 # script with STATUS, using 1 if that was 0. 14631 # script with status $?, using 1 if that was 0.
14601 as_fn_error () 14632 as_fn_error ()
14602 { 14633 {
14603 as_status=$1; test $as_status -eq 0 && as_status=1 14634 as_status=$?; test $as_status -eq 0 && as_status=1
14604 if test "$4"; then 14635 if test "$3"; then
14605 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14636 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14606 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14637 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14607 fi 14638 fi
14608 $as_echo "$as_me: error: $2" >&2 14639 $as_echo "$as_me: error: $1" >&2
14609 as_fn_exit $as_status 14640 as_fn_exit $as_status
14610 } # as_fn_error 14641 } # as_fn_error
14611 14642
14612 14643
14613 # as_fn_set_status STATUS 14644 # as_fn_set_status STATUS
14799 } 14830 }
14800 s/.*/./; q'` 14831 s/.*/./; q'`
14801 test -d "$as_dir" && break 14832 test -d "$as_dir" && break
14802 done 14833 done
14803 test -z "$as_dirs" || eval "mkdir $as_dirs" 14834 test -z "$as_dirs" || eval "mkdir $as_dirs"
14804 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14835 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14805 14836
14806 14837
14807 } # as_fn_mkdir_p 14838 } # as_fn_mkdir_p
14808 if mkdir -p . 2>/dev/null; then 14839 if mkdir -p . 2>/dev/null; then
14809 as_mkdir_p='mkdir -p "$as_dir"' 14840 as_mkdir_p='mkdir -p "$as_dir"'
14853 # Save the log message, to keep $0 and so on meaningful, and to 14884 # Save the log message, to keep $0 and so on meaningful, and to
14854 # report actual input values of CONFIG_FILES etc. instead of their 14885 # report actual input values of CONFIG_FILES etc. instead of their
14855 # values after options handling. 14886 # values after options handling.
14856 ac_log=" 14887 ac_log="
14857 This file was extended by emacs $as_me 24.0.50, which was 14888 This file was extended by emacs $as_me 24.0.50, which was
14858 generated by GNU Autoconf 2.66. Invocation command line was 14889 generated by GNU Autoconf 2.65. Invocation command line was
14859 14890
14860 CONFIG_FILES = $CONFIG_FILES 14891 CONFIG_FILES = $CONFIG_FILES
14861 CONFIG_HEADERS = $CONFIG_HEADERS 14892 CONFIG_HEADERS = $CONFIG_HEADERS
14862 CONFIG_LINKS = $CONFIG_LINKS 14893 CONFIG_LINKS = $CONFIG_LINKS
14863 CONFIG_COMMANDS = $CONFIG_COMMANDS 14894 CONFIG_COMMANDS = $CONFIG_COMMANDS
14919 _ACEOF 14950 _ACEOF
14920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14921 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14952 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14922 ac_cs_version="\\ 14953 ac_cs_version="\\
14923 emacs config.status 24.0.50 14954 emacs config.status 24.0.50
14924 configured by $0, generated by GNU Autoconf 2.66, 14955 configured by $0, generated by GNU Autoconf 2.65,
14925 with options \\"\$ac_cs_config\\" 14956 with options \\"\$ac_cs_config\\"
14926 14957
14927 Copyright (C) 2010 Free Software Foundation, Inc. 14958 Copyright (C) 2009 Free Software Foundation, Inc.
14928 This config.status script is free software; the Free Software Foundation 14959 This config.status script is free software; the Free Software Foundation
14929 gives unlimited permission to copy, distribute and modify it." 14960 gives unlimited permission to copy, distribute and modify it."
14930 14961
14931 ac_pwd='$ac_pwd' 14962 ac_pwd='$ac_pwd'
14932 srcdir='$srcdir' 14963 srcdir='$srcdir'
14976 esac 15007 esac
14977 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15008 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14978 ac_need_defaults=false;; 15009 ac_need_defaults=false;;
14979 --he | --h) 15010 --he | --h)
14980 # Conflict between --help and --header 15011 # Conflict between --help and --header
14981 as_fn_error $? "ambiguous option: \`$1' 15012 as_fn_error "ambiguous option: \`$1'
14982 Try \`$0 --help' for more information.";; 15013 Try \`$0 --help' for more information.";;
14983 --help | --hel | -h ) 15014 --help | --hel | -h )
14984 $as_echo "$ac_cs_usage"; exit ;; 15015 $as_echo "$ac_cs_usage"; exit ;;
14985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14986 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15017 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14987 ac_cs_silent=: ;; 15018 ac_cs_silent=: ;;
14988 15019
14989 # This is an error. 15020 # This is an error.
14990 -*) as_fn_error $? "unrecognized option: \`$1' 15021 -*) as_fn_error "unrecognized option: \`$1'
14991 Try \`$0 --help' for more information." ;; 15022 Try \`$0 --help' for more information." ;;
14992 15023
14993 *) as_fn_append ac_config_targets " $1" 15024 *) as_fn_append ac_config_targets " $1"
14994 ac_need_defaults=false ;; 15025 ac_need_defaults=false ;;
14995 15026
15053 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 15084 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
15054 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 15085 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
15055 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 15086 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
15056 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 15087 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15057 15088
15058 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15089 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15059 esac 15090 esac
15060 done 15091 done
15061 15092
15062 15093
15063 # If the user did not use the arguments to specify the items to instantiate, 15094 # If the user did not use the arguments to specify the items to instantiate,
15091 test -n "$tmp" && test -d "$tmp" 15122 test -n "$tmp" && test -d "$tmp"
15092 } || 15123 } ||
15093 { 15124 {
15094 tmp=./conf$$-$RANDOM 15125 tmp=./conf$$-$RANDOM
15095 (umask 077 && mkdir "$tmp") 15126 (umask 077 && mkdir "$tmp")
15096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15127 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15097 15128
15098 # Set up the scripts for CONFIG_FILES section. 15129 # Set up the scripts for CONFIG_FILES section.
15099 # No need to generate them if there are no CONFIG_FILES. 15130 # No need to generate them if there are no CONFIG_FILES.
15100 # This happens for instance with `./config.status config.h'. 15131 # This happens for instance with `./config.status config.h'.
15101 if test -n "$CONFIG_FILES"; then 15132 if test -n "$CONFIG_FILES"; then
15125 if test "x$ac_cr" = x; then 15156 if test "x$ac_cr" = x; then
15126 eval ac_cr=\$\'\\r\' 15157 eval ac_cr=\$\'\\r\'
15127 fi 15158 fi
15128 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15159 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15129 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15130 ac_cs_awk_cr='\\r' 15161 ac_cs_awk_cr='\r'
15131 else 15162 else
15132 ac_cs_awk_cr=$ac_cr 15163 ac_cs_awk_cr=$ac_cr
15133 fi 15164 fi
15134 15165
15135 echo 'BEGIN {' >"$tmp/subs1.awk" && 15166 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15142 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 15173 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15143 echo "_ACAWK" && 15174 echo "_ACAWK" &&
15144 echo "_ACEOF" 15175 echo "_ACEOF"
15145 } >conf$$files.sh && 15176 } >conf$$files.sh &&
15146 . ./conf$$files.sh || 15177 . ./conf$$files.sh ||
15147 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15178 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15148 rm -f conf$$files.sh 15179 rm -f conf$$files.sh
15149 15180
15150 { 15181 {
15151 echo "cat >conf$$subs.awk <<_ACEOF" && 15182 echo "cat >conf$$subs.awk <<_ACEOF" &&
15152 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15183 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15153 echo "_ACEOF" 15184 echo "_ACEOF"
15154 } >conf$$subs.sh || 15185 } >conf$$subs.sh ||
15155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15186 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15156 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15187 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15157 ac_delim='%!_!# ' 15188 ac_delim='%!_!# '
15158 for ac_last_try in false false false false false :; do 15189 for ac_last_try in false false false false false :; do
15159 . ./conf$$subs.sh || 15190 . ./conf$$subs.sh ||
15160 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15191 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15161 15192
15162 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15193 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15163 if test $ac_delim_n = $ac_delim_num; then 15194 if test $ac_delim_n = $ac_delim_num; then
15164 break 15195 break
15165 elif $ac_last_try; then 15196 elif $ac_last_try; then
15166 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15197 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15167 else 15198 else
15168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15199 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15169 fi 15200 fi
15170 done 15201 done
15171 rm -f conf$$subs.sh 15202 rm -f conf$$subs.sh
15256 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15287 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15257 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15288 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15258 else 15289 else
15259 cat 15290 cat
15260 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15291 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15261 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15292 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15262 _ACEOF 15293 _ACEOF
15263 15294
15264 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15295 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15265 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15296 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15266 # trailing colons and then remove the whole line if VPATH becomes empty 15297 # trailing colons and then remove the whole line if VPATH becomes empty
15267 # (actually we leave an empty line to preserve line numbers). 15298 # (actually we leave an empty line to preserve line numbers).
15268 if test "x$srcdir" = x.; then 15299 if test "x$srcdir" = x.; then
15269 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15300 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15270 h 15301 s/:*\$(srcdir):*/:/
15271 s/// 15302 s/:*\${srcdir}:*/:/
15272 s/^/:/ 15303 s/:*@srcdir@:*/:/
15273 s/[ ]*$/:/ 15304 s/^\([^=]*=[ ]*\):*/\1/
15274 s/:\$(srcdir):/:/g
15275 s/:\${srcdir}:/:/g
15276 s/:@srcdir@:/:/g
15277 s/^:*//
15278 s/:*$// 15305 s/:*$//
15279 x
15280 s/\(=[ ]*\).*/\1/
15281 G
15282 s/\n//
15283 s/^[^=]*=[ ]*$// 15306 s/^[^=]*=[ ]*$//
15284 }' 15307 }'
15285 fi 15308 fi
15286 15309
15287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15305 for ac_last_try in false false :; do 15328 for ac_last_try in false false :; do
15306 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 15329 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15307 if test -z "$ac_t"; then 15330 if test -z "$ac_t"; then
15308 break 15331 break
15309 elif $ac_last_try; then 15332 elif $ac_last_try; then
15310 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 15333 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15311 else 15334 else
15312 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15335 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15313 fi 15336 fi
15314 done 15337 done
15315 15338
15390 } 15413 }
15391 { print } 15414 { print }
15392 _ACAWK 15415 _ACAWK
15393 _ACEOF 15416 _ACEOF
15394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15395 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 15418 as_fn_error "could not setup config headers machinery" "$LINENO" 5
15396 fi # test -n "$CONFIG_HEADERS" 15419 fi # test -n "$CONFIG_HEADERS"
15397 15420
15398 15421
15399 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15422 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15400 shift 15423 shift
15403 case $ac_tag in 15426 case $ac_tag in
15404 :[FHLC]) ac_mode=$ac_tag; continue;; 15427 :[FHLC]) ac_mode=$ac_tag; continue;;
15405 esac 15428 esac
15406 case $ac_mode$ac_tag in 15429 case $ac_mode$ac_tag in
15407 :[FHL]*:*);; 15430 :[FHL]*:*);;
15408 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15431 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15409 :[FH]-) ac_tag=-:-;; 15432 :[FH]-) ac_tag=-:-;;
15410 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15433 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15411 esac 15434 esac
15412 ac_save_IFS=$IFS 15435 ac_save_IFS=$IFS
15413 IFS=: 15436 IFS=:
15431 test -f "$ac_f" || 15454 test -f "$ac_f" ||
15432 case $ac_f in 15455 case $ac_f in
15433 [\\/$]*) false;; 15456 [\\/$]*) false;;
15434 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15457 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15435 esac || 15458 esac ||
15436 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15459 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15437 esac 15460 esac
15438 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15461 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15439 as_fn_append ac_file_inputs " '$ac_f'" 15462 as_fn_append ac_file_inputs " '$ac_f'"
15440 done 15463 done
15441 15464
15458 *) ac_sed_conf_input=$configure_input;; 15481 *) ac_sed_conf_input=$configure_input;;
15459 esac 15482 esac
15460 15483
15461 case $ac_tag in 15484 case $ac_tag in
15462 *:-:* | *:-) cat >"$tmp/stdin" \ 15485 *:-:* | *:-) cat >"$tmp/stdin" \
15463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15486 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15464 esac 15487 esac
15465 ;; 15488 ;;
15466 esac 15489 esac
15467 15490
15468 ac_dir=`$as_dirname -- "$ac_file" || 15491 ac_dir=`$as_dirname -- "$ac_file" ||
15594 if $ac_cs_awk_getline; then 15617 if $ac_cs_awk_getline; then
15595 $AWK -f "$tmp/subs.awk" 15618 $AWK -f "$tmp/subs.awk"
15596 else 15619 else
15597 $AWK -f "$tmp/subs.awk" | $SHELL 15620 $AWK -f "$tmp/subs.awk" | $SHELL
15598 fi >$tmp/out \ 15621 fi >$tmp/out \
15599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15622 || as_fn_error "could not create $ac_file" "$LINENO" 5
15600 15623
15601 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15624 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15602 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 15625 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15603 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 15626 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15605 which seems to be undefined. Please make sure it is defined" >&5 15628 which seems to be undefined. Please make sure it is defined." >&5
15606 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15629 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15607 which seems to be undefined. Please make sure it is defined" >&2;} 15630 which seems to be undefined. Please make sure it is defined." >&2;}
15608 15631
15609 rm -f "$tmp/stdin" 15632 rm -f "$tmp/stdin"
15610 case $ac_file in 15633 case $ac_file in
15611 -) cat "$tmp/out" && rm -f "$tmp/out";; 15634 -) cat "$tmp/out" && rm -f "$tmp/out";;
15612 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 15635 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15613 esac \ 15636 esac \
15614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15637 || as_fn_error "could not create $ac_file" "$LINENO" 5
15615 ;; 15638 ;;
15616 :H) 15639 :H)
15617 # 15640 #
15618 # CONFIG_HEADER 15641 # CONFIG_HEADER
15619 # 15642 #
15620 if test x"$ac_file" != x-; then 15643 if test x"$ac_file" != x-; then
15621 { 15644 {
15622 $as_echo "/* $configure_input */" \ 15645 $as_echo "/* $configure_input */" \
15623 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 15646 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15624 } >"$tmp/config.h" \ 15647 } >"$tmp/config.h" \
15625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15648 || as_fn_error "could not create $ac_file" "$LINENO" 5
15626 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 15649 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15650 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15628 $as_echo "$as_me: $ac_file is unchanged" >&6;} 15651 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15629 else 15652 else
15630 rm -f "$ac_file" 15653 rm -f "$ac_file"
15631 mv "$tmp/config.h" "$ac_file" \ 15654 mv "$tmp/config.h" "$ac_file" \
15632 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15655 || as_fn_error "could not create $ac_file" "$LINENO" 5
15633 fi 15656 fi
15634 else 15657 else
15635 $as_echo "/* $configure_input */" \ 15658 $as_echo "/* $configure_input */" \
15636 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 15659 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15637 || as_fn_error $? "could not create -" "$LINENO" 5 15660 || as_fn_error "could not create -" "$LINENO" 5
15638 fi 15661 fi
15639 ;; 15662 ;;
15640 15663
15641 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15664 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15642 $as_echo "$as_me: executing $ac_file commands" >&6;} 15665 $as_echo "$as_me: executing $ac_file commands" >&6;}
15669 as_fn_exit 0 15692 as_fn_exit 0
15670 _ACEOF 15693 _ACEOF
15671 ac_clean_files=$ac_clean_files_save 15694 ac_clean_files=$ac_clean_files_save
15672 15695
15673 test $ac_write_fail = 0 || 15696 test $ac_write_fail = 0 ||
15674 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15697 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15675 15698
15676 15699
15677 # configure is writing to config.log, and then calls config.status. 15700 # configure is writing to config.log, and then calls config.status.
15678 # config.status does its own redirection, appending to config.log. 15701 # config.status does its own redirection, appending to config.log.
15679 # Unfortunately, on DOS this fails, as config.log is still kept open 15702 # Unfortunately, on DOS this fails, as config.log is still kept open
15690 exec 5>/dev/null 15713 exec 5>/dev/null
15691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15714 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15692 exec 5>>config.log 15715 exec 5>>config.log
15693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15716 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15694 # would make configure fail if this is the last instruction. 15717 # would make configure fail if this is the last instruction.
15695 $ac_cs_success || as_fn_exit 1 15718 $ac_cs_success || as_fn_exit $?
15696 fi 15719 fi
15697 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15720 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15699 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15722 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15700 fi 15723 fi