comparison configure @ 111933:5032326a2135 EMACS_PRETEST_23_2_91

Bump version to 23.2.91. Regenerate configure and ldefs-boot.el.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 10 Dec 2010 12:46:40 -0500
parents 75b974985fca
children f6386067f593
comparison
equal deleted inserted replaced
111932:656e54e27a1b 111933:5032326a2135
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for emacs 23.2.90. 3 # Generated by GNU Autoconf 2.67 for emacs 23.2.91.
4 # 4 #
5 # 5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Inc. 8 # Foundation, Inc.
9 # 9 #
10 # 10 #
11 # This configure script is free software; the Free Software Foundation 11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it. 12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ## 13 ## -------------------- ##
314 } 314 }
315 s/.*/./; q'` 315 s/.*/./; q'`
316 test -d "$as_dir" && break 316 test -d "$as_dir" && break
317 done 317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 320
321 321
322 } # as_fn_mkdir_p 322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE 323 # as_fn_append VAR VALUE
324 # ---------------------- 324 # ----------------------
354 as_val=`expr "$@" || test $? -eq 1` 354 as_val=`expr "$@" || test $? -eq 1`
355 } 355 }
356 fi # as_fn_arith 356 fi # as_fn_arith
357 357
358 358
359 # as_fn_error ERROR [LINENO LOG_FD] 359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # --------------------------------- 360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0. 363 # script with STATUS, using 1 if that was 0.
364 as_fn_error () 364 as_fn_error ()
365 { 365 {
366 as_status=$?; test $as_status -eq 0 && as_status=1 366 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$3"; then 367 if test "$4"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi 370 fi
371 $as_echo "$as_me: error: $1" >&2 371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status 372 as_fn_exit $as_status
373 } # as_fn_error 373 } # as_fn_error
374 374
375 if expr a : '\(a\)' >/dev/null 2>&1 && 375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
528 528
529 test -n "$DJDIR" || exec 7<&0 </dev/null 529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1 530 exec 6>&1
531 531
532 # Name of the host. 532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too. 534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 536
537 # 537 #
538 # Initializations. 538 # Initializations.
547 MAKEFLAGS= 547 MAKEFLAGS=
548 548
549 # Identity of this package. 549 # Identity of this package.
550 PACKAGE_NAME='emacs' 550 PACKAGE_NAME='emacs'
551 PACKAGE_TARNAME='emacs' 551 PACKAGE_TARNAME='emacs'
552 PACKAGE_VERSION='23.2.90' 552 PACKAGE_VERSION='23.2.91'
553 PACKAGE_STRING='emacs 23.2.90' 553 PACKAGE_STRING='emacs 23.2.91'
554 PACKAGE_BUGREPORT='' 554 PACKAGE_BUGREPORT=''
555 PACKAGE_URL='' 555 PACKAGE_URL=''
556 556
557 ac_unique_file="src/lisp.h" 557 ac_unique_file="src/lisp.h"
558 # Factoring default headers for most tests. 558 # Factoring default headers for most tests.
838 ac_prev= 838 ac_prev=
839 continue 839 continue
840 fi 840 fi
841 841
842 case $ac_option in 842 case $ac_option in
843 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 843 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 *) ac_optarg=yes ;; 844 *=) ac_optarg= ;;
845 *) ac_optarg=yes ;;
845 esac 846 esac
846 847
847 # Accept the important Cygnus configure options, so we can diagnose typos. 848 # Accept the important Cygnus configure options, so we can diagnose typos.
848 849
849 case $ac_dashdash$ac_option in 850 case $ac_dashdash$ac_option in
884 885
885 -disable-* | --disable-*) 886 -disable-* | --disable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 887 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names. 888 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error "invalid feature name: $ac_useropt" 890 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt 891 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in 893 case $ac_user_opts in
893 *" 894 *"
894 "enable_$ac_useropt" 895 "enable_$ac_useropt"
910 911
911 -enable-* | --enable-*) 912 -enable-* | --enable-*)
912 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 913 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names. 914 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915 as_fn_error "invalid feature name: $ac_useropt" 916 as_fn_error $? "invalid feature name: $ac_useropt"
916 ac_useropt_orig=$ac_useropt 917 ac_useropt_orig=$ac_useropt
917 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 918 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in 919 case $ac_user_opts in
919 *" 920 *"
920 "enable_$ac_useropt" 921 "enable_$ac_useropt"
1114 1115
1115 -with-* | --with-*) 1116 -with-* | --with-*)
1116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names. 1118 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error "invalid package name: $ac_useropt" 1120 as_fn_error $? "invalid package name: $ac_useropt"
1120 ac_useropt_orig=$ac_useropt 1121 ac_useropt_orig=$ac_useropt
1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in 1123 case $ac_user_opts in
1123 *" 1124 *"
1124 "with_$ac_useropt" 1125 "with_$ac_useropt"
1130 1131
1131 -without-* | --without-*) 1132 -without-* | --without-*)
1132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1133 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names. 1134 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error "invalid package name: $ac_useropt" 1136 as_fn_error $? "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt 1137 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in 1139 case $ac_user_opts in
1139 *" 1140 *"
1140 "with_$ac_useropt" 1141 "with_$ac_useropt"
1160 ac_prev=x_libraries ;; 1161 ac_prev=x_libraries ;;
1161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1163 x_libraries=$ac_optarg ;; 1164 x_libraries=$ac_optarg ;;
1164 1165
1165 -*) as_fn_error "unrecognized option: \`$ac_option' 1166 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information." 1167 Try \`$0 --help' for more information"
1167 ;; 1168 ;;
1168 1169
1169 *=*) 1170 *=*)
1170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1171 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names. 1172 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #( 1173 case $ac_envvar in #(
1173 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1174 '' | [0-9]* | *[!_$as_cr_alnum]* )
1174 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1175 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1175 esac 1176 esac
1176 eval $ac_envvar=\$ac_optarg 1177 eval $ac_envvar=\$ac_optarg
1177 export $ac_envvar ;; 1178 export $ac_envvar ;;
1178 1179
1179 *) 1180 *)
1187 esac 1188 esac
1188 done 1189 done
1189 1190
1190 if test -n "$ac_prev"; then 1191 if test -n "$ac_prev"; then
1191 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error "missing argument to $ac_option" 1193 as_fn_error $? "missing argument to $ac_option"
1193 fi 1194 fi
1194 1195
1195 if test -n "$ac_unrecognized_opts"; then 1196 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in 1197 case $enable_option_checking in
1197 no) ;; 1198 no) ;;
1198 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1199 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 esac 1201 esac
1201 fi 1202 fi
1202 1203
1203 # Check all directory arguments for consistency. 1204 # Check all directory arguments for consistency.
1216 # Be sure to have absolute directory names. 1217 # Be sure to have absolute directory names.
1217 case $ac_val in 1218 case $ac_val in
1218 [\\/$]* | ?:[\\/]* ) continue;; 1219 [\\/$]* | ?:[\\/]* ) continue;;
1219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1220 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1220 esac 1221 esac
1221 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1222 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1222 done 1223 done
1223 1224
1224 # There might be people who depend on the old broken behavior: `$host' 1225 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc. 1226 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day. 1227 # FIXME: To remove some day.
1230 1231
1231 # FIXME: To remove some day. 1232 # FIXME: To remove some day.
1232 if test "x$host_alias" != x; then 1233 if test "x$host_alias" != x; then
1233 if test "x$build_alias" = x; then 1234 if test "x$build_alias" = x; then
1234 cross_compiling=maybe 1235 cross_compiling=maybe
1235 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1236 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1236 If a cross compiler is detected then cross compile mode will be used." >&2 1237 If a cross compiler is detected then cross compile mode will be used" >&2
1237 elif test "x$build_alias" != "x$host_alias"; then 1238 elif test "x$build_alias" != "x$host_alias"; then
1238 cross_compiling=yes 1239 cross_compiling=yes
1239 fi 1240 fi
1240 fi 1241 fi
1241 1242
1246 1247
1247 1248
1248 ac_pwd=`pwd` && test -n "$ac_pwd" && 1249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` && 1250 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error "working directory cannot be determined" 1252 as_fn_error $? "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error "pwd does not report name of working directory" 1254 as_fn_error $? "pwd does not report name of working directory"
1254 1255
1255 1256
1256 # Find the source files, if location was not specified. 1257 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then 1258 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted=yes 1259 ac_srcdir_defaulted=yes
1287 else 1288 else
1288 ac_srcdir_defaulted=no 1289 ac_srcdir_defaulted=no
1289 fi 1290 fi
1290 if test ! -r "$srcdir/$ac_unique_file"; then 1291 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1293 fi 1294 fi
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 ac_abs_confdir=`( 1296 ac_abs_confdir=`(
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297 pwd)` 1298 pwd)`
1298 # When building in place, set srcdir=. 1299 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then 1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 srcdir=. 1301 srcdir=.
1301 fi 1302 fi
1317 # 1318 #
1318 if test "$ac_init_help" = "long"; then 1319 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing. 1320 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh. 1321 # This message is too long to be a string in the A/UX 3.1 sh.
1321 cat <<_ACEOF 1322 cat <<_ACEOF
1322 \`configure' configures emacs 23.2.90 to adapt to many kinds of systems. 1323 \`configure' configures emacs 23.2.91 to adapt to many kinds of systems.
1323 1324
1324 Usage: $0 [OPTION]... [VAR=VALUE]... 1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 1326
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables. 1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Configuration: 1332 Configuration:
1332 -h, --help display this help and exit 1333 -h, --help display this help and exit
1333 --help=short display options specific to this package 1334 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages 1335 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit 1336 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking...' messages 1337 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled] 1338 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache' 1339 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files 1340 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1341 1342
1391 _ACEOF 1392 _ACEOF
1392 fi 1393 fi
1393 1394
1394 if test -n "$ac_init_help"; then 1395 if test -n "$ac_init_help"; then
1395 case $ac_init_help in 1396 case $ac_init_help in
1396 short | recursive ) echo "Configuration of emacs 23.2.90:";; 1397 short | recursive ) echo "Configuration of emacs 23.2.91:";;
1397 esac 1398 esac
1398 cat <<\_ACEOF 1399 cat <<\_ACEOF
1399 1400
1400 Optional Features: 1401 Optional Features:
1401 --disable-option-checking ignore unrecognized --enable/--with options 1402 --disable-option-checking ignore unrecognized --enable/--with options
1537 fi 1538 fi
1538 1539
1539 test -n "$ac_init_help" && exit $ac_status 1540 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then 1541 if $ac_init_version; then
1541 cat <<\_ACEOF 1542 cat <<\_ACEOF
1542 emacs configure 23.2.90 1543 emacs configure 23.2.91
1543 generated by GNU Autoconf 2.65 1544 generated by GNU Autoconf 2.67
1544 1545
1545 Copyright (C) 2009 Free Software Foundation, Inc. 1546 Copyright (C) 2010 Free Software Foundation, Inc.
1546 This configure script is free software; the Free Software Foundation 1547 This configure script is free software; the Free Software Foundation
1547 gives unlimited permission to copy, distribute and modify it. 1548 gives unlimited permission to copy, distribute and modify it.
1548 _ACEOF 1549 _ACEOF
1549 exit 1550 exit
1550 fi 1551 fi
1656 grep -v '^ *+' conftest.err >conftest.er1 1657 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5 1658 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err 1659 mv -f conftest.er1 conftest.err
1659 fi 1660 fi
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } >/dev/null && { 1662 test $ac_status = 0; } > conftest.i && {
1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1663 test ! -s conftest.err 1664 test ! -s conftest.err
1664 }; then : 1665 }; then :
1665 ac_retval=0 1666 ac_retval=0
1666 else 1667 else
1680 # the include files in INCLUDES and setting the cache variable VAR 1681 # the include files in INCLUDES and setting the cache variable VAR
1681 # accordingly. 1682 # accordingly.
1682 ac_fn_c_check_header_mongrel () 1683 ac_fn_c_check_header_mongrel ()
1683 { 1684 {
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1686 if eval "test \"\${$3+set}\"" = set; then :
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; } 1688 $as_echo_n "checking for $2... " >&6; }
1688 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1689 if eval "test \"\${$3+set}\"" = set; then :
1689 $as_echo_n "(cached) " >&6 1690 $as_echo_n "(cached) " >&6
1690 fi 1691 fi
1691 eval ac_res=\$$3 1692 eval ac_res=\$$3
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; } 1694 $as_echo "$ac_res" >&6; }
1719 if ac_fn_c_try_cpp "$LINENO"; then : 1720 if ac_fn_c_try_cpp "$LINENO"; then :
1720 ac_header_preproc=yes 1721 ac_header_preproc=yes
1721 else 1722 else
1722 ac_header_preproc=no 1723 ac_header_preproc=no
1723 fi 1724 fi
1724 rm -f conftest.err conftest.$ac_ext 1725 rm -f conftest.err conftest.i conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1726 $as_echo "$ac_header_preproc" >&6; } 1727 $as_echo "$ac_header_preproc" >&6; }
1727 1728
1728 # So? What about this header? 1729 # So? What about this header?
1729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1747 ;; 1748 ;;
1748 esac 1749 esac
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; } 1751 $as_echo_n "checking for $2... " >&6; }
1751 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1752 if eval "test \"\${$3+set}\"" = set; then :
1752 $as_echo_n "(cached) " >&6 1753 $as_echo_n "(cached) " >&6
1753 else 1754 else
1754 eval "$3=\$ac_header_compiler" 1755 eval "$3=\$ac_header_compiler"
1755 fi 1756 fi
1756 eval ac_res=\$$3 1757 eval ac_res=\$$3
1810 ac_fn_c_check_header_compile () 1811 ac_fn_c_check_header_compile ()
1811 { 1812 {
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; } 1815 $as_echo_n "checking for $2... " >&6; }
1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1816 if eval "test \"\${$3+set}\"" = set; then :
1816 $as_echo_n "(cached) " >&6 1817 $as_echo_n "(cached) " >&6
1817 else 1818 else
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */ 1820 /* end confdefs.h. */
1820 $4 1821 $4
1840 ac_fn_c_check_header_preproc () 1841 ac_fn_c_check_header_preproc ()
1841 { 1842 {
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; } 1845 $as_echo_n "checking for $2... " >&6; }
1845 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1846 if eval "test \"\${$3+set}\"" = set; then :
1846 $as_echo_n "(cached) " >&6 1847 $as_echo_n "(cached) " >&6
1847 else 1848 else
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */ 1850 /* end confdefs.h. */
1850 #include <$2> 1851 #include <$2>
1852 if ac_fn_c_try_cpp "$LINENO"; then : 1853 if ac_fn_c_try_cpp "$LINENO"; then :
1853 eval "$3=yes" 1854 eval "$3=yes"
1854 else 1855 else
1855 eval "$3=no" 1856 eval "$3=no"
1856 fi 1857 fi
1857 rm -f conftest.err conftest.$ac_ext 1858 rm -f conftest.err conftest.i conftest.$ac_ext
1858 fi 1859 fi
1859 eval ac_res=\$$3 1860 eval ac_res=\$$3
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; } 1862 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 1864
1864 } # ac_fn_c_check_header_preproc 1865 } # ac_fn_c_check_header_preproc
1865 1866
1866 # ac_fn_c_check_decl LINENO SYMBOL VAR 1867 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1867 # ------------------------------------ 1868 # ---------------------------------------------
1868 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1869 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1870 # accordingly.
1869 ac_fn_c_check_decl () 1871 ac_fn_c_check_decl ()
1870 { 1872 {
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 1874 as_decl_name=`echo $2|sed 's/ *(.*//'`
1873 $as_echo_n "checking whether $2 is declared... " >&6; } 1875 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1874 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1877 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1878 if eval "test \"\${$3+set}\"" = set; then :
1875 $as_echo_n "(cached) " >&6 1879 $as_echo_n "(cached) " >&6
1876 else 1880 else
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */ 1882 /* end confdefs.h. */
1879 $4 1883 $4
1880 int 1884 int
1881 main () 1885 main ()
1882 { 1886 {
1883 #ifndef $2 1887 #ifndef $as_decl_name
1884 (void) $2; 1888 #ifdef __cplusplus
1889 (void) $as_decl_use;
1890 #else
1891 (void) $as_decl_name;
1892 #endif
1885 #endif 1893 #endif
1886 1894
1887 ; 1895 ;
1888 return 0; 1896 return 0;
1889 } 1897 }
1909 ac_fn_c_check_member () 1917 ac_fn_c_check_member ()
1910 { 1918 {
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1913 $as_echo_n "checking for $2.$3... " >&6; } 1921 $as_echo_n "checking for $2.$3... " >&6; }
1914 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 1922 if eval "test \"\${$4+set}\"" = set; then :
1915 $as_echo_n "(cached) " >&6 1923 $as_echo_n "(cached) " >&6
1916 else 1924 else
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */ 1926 /* end confdefs.h. */
1919 $5 1927 $5
1965 ac_fn_c_check_func () 1973 ac_fn_c_check_func ()
1966 { 1974 {
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; } 1977 $as_echo_n "checking for $2... " >&6; }
1970 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1978 if eval "test \"\${$3+set}\"" = set; then :
1971 $as_echo_n "(cached) " >&6 1979 $as_echo_n "(cached) " >&6
1972 else 1980 else
1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 /* end confdefs.h. */ 1982 /* end confdefs.h. */
1975 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1983 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2033 ac_fn_c_check_type () 2041 ac_fn_c_check_type ()
2034 { 2042 {
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; } 2045 $as_echo_n "checking for $2... " >&6; }
2038 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2046 if eval "test \"\${$3+set}\"" = set; then :
2039 $as_echo_n "(cached) " >&6 2047 $as_echo_n "(cached) " >&6
2040 else 2048 else
2041 eval "$3=no" 2049 eval "$3=no"
2042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */ 2051 /* end confdefs.h. */
2081 } # ac_fn_c_check_type 2089 } # ac_fn_c_check_type
2082 cat >config.log <<_ACEOF 2090 cat >config.log <<_ACEOF
2083 This file contains any messages produced by compilers while 2091 This file contains any messages produced by compilers while
2084 running configure, to aid debugging if configure makes a mistake. 2092 running configure, to aid debugging if configure makes a mistake.
2085 2093
2086 It was created by emacs $as_me 23.2.90, which was 2094 It was created by emacs $as_me 23.2.91, which was
2087 generated by GNU Autoconf 2.65. Invocation command line was 2095 generated by GNU Autoconf 2.67. Invocation command line was
2088 2096
2089 $ $0 $@ 2097 $ $0 $@
2090 2098
2091 _ACEOF 2099 _ACEOF
2092 exec 5>>config.log 2100 exec 5>>config.log
2192 trap 'exit_status=$? 2200 trap 'exit_status=$?
2193 # Save into config.log some information that might help in debugging. 2201 # Save into config.log some information that might help in debugging.
2194 { 2202 {
2195 echo 2203 echo
2196 2204
2197 cat <<\_ASBOX 2205 $as_echo "## ---------------- ##
2198 ## ---------------- ##
2199 ## Cache variables. ## 2206 ## Cache variables. ##
2200 ## ---------------- ## 2207 ## ---------------- ##"
2201 _ASBOX
2202 echo 2208 echo
2203 # The following way of writing the cache mishandles newlines in values, 2209 # The following way of writing the cache mishandles newlines in values,
2204 ( 2210 (
2205 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2211 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2206 eval ac_val=\$$ac_var 2212 eval ac_val=\$$ac_var
2230 esac | 2236 esac |
2231 sort 2237 sort
2232 ) 2238 )
2233 echo 2239 echo
2234 2240
2235 cat <<\_ASBOX 2241 $as_echo "## ----------------- ##
2236 ## ----------------- ##
2237 ## Output variables. ## 2242 ## Output variables. ##
2238 ## ----------------- ## 2243 ## ----------------- ##"
2239 _ASBOX
2240 echo 2244 echo
2241 for ac_var in $ac_subst_vars 2245 for ac_var in $ac_subst_vars
2242 do 2246 do
2243 eval ac_val=\$$ac_var 2247 eval ac_val=\$$ac_var
2244 case $ac_val in 2248 case $ac_val in
2247 $as_echo "$ac_var='\''$ac_val'\''" 2251 $as_echo "$ac_var='\''$ac_val'\''"
2248 done | sort 2252 done | sort
2249 echo 2253 echo
2250 2254
2251 if test -n "$ac_subst_files"; then 2255 if test -n "$ac_subst_files"; then
2252 cat <<\_ASBOX 2256 $as_echo "## ------------------- ##
2253 ## ------------------- ##
2254 ## File substitutions. ## 2257 ## File substitutions. ##
2255 ## ------------------- ## 2258 ## ------------------- ##"
2256 _ASBOX
2257 echo 2259 echo
2258 for ac_var in $ac_subst_files 2260 for ac_var in $ac_subst_files
2259 do 2261 do
2260 eval ac_val=\$$ac_var 2262 eval ac_val=\$$ac_var
2261 case $ac_val in 2263 case $ac_val in
2265 done | sort 2267 done | sort
2266 echo 2268 echo
2267 fi 2269 fi
2268 2270
2269 if test -s confdefs.h; then 2271 if test -s confdefs.h; then
2270 cat <<\_ASBOX 2272 $as_echo "## ----------- ##
2271 ## ----------- ##
2272 ## confdefs.h. ## 2273 ## confdefs.h. ##
2273 ## ----------- ## 2274 ## ----------- ##"
2274 _ASBOX
2275 echo 2275 echo
2276 cat confdefs.h 2276 cat confdefs.h
2277 echo 2277 echo
2278 fi 2278 fi
2279 test "$ac_signal" != 0 && 2279 test "$ac_signal" != 0 &&
2324 # Let the site file select an alternate cache file if it wants to. 2324 # Let the site file select an alternate cache file if it wants to.
2325 # Prefer an explicitly selected file to automatically selected ones. 2325 # Prefer an explicitly selected file to automatically selected ones.
2326 ac_site_file1=NONE 2326 ac_site_file1=NONE
2327 ac_site_file2=NONE 2327 ac_site_file2=NONE
2328 if test -n "$CONFIG_SITE"; then 2328 if test -n "$CONFIG_SITE"; then
2329 ac_site_file1=$CONFIG_SITE 2329 # We do not want a PATH search for config.site.
2330 case $CONFIG_SITE in #((
2331 -*) ac_site_file1=./$CONFIG_SITE;;
2332 */*) ac_site_file1=$CONFIG_SITE;;
2333 *) ac_site_file1=./$CONFIG_SITE;;
2334 esac
2330 elif test "x$prefix" != xNONE; then 2335 elif test "x$prefix" != xNONE; then
2331 ac_site_file1=$prefix/share/config.site 2336 ac_site_file1=$prefix/share/config.site
2332 ac_site_file2=$prefix/etc/config.site 2337 ac_site_file2=$prefix/etc/config.site
2333 else 2338 else
2334 ac_site_file1=$ac_default_prefix/share/config.site 2339 ac_site_file1=$ac_default_prefix/share/config.site
2339 test "x$ac_site_file" = xNONE && continue 2344 test "x$ac_site_file" = xNONE && continue
2340 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2345 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2342 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2347 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2343 sed 's/^/| /' "$ac_site_file" >&5 2348 sed 's/^/| /' "$ac_site_file" >&5
2344 . "$ac_site_file" 2349 . "$ac_site_file" \
2350 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2352 as_fn_error $? "failed to load site script $ac_site_file
2353 See \`config.log' for more details" "$LINENO" 5; }
2345 fi 2354 fi
2346 done 2355 done
2347 2356
2348 if test -r "$cache_file"; then 2357 if test -r "$cache_file"; then
2349 # Some versions of bash will fail to source /dev/null (special files 2358 # Some versions of bash will fail to source /dev/null (special files
2420 if $ac_cache_corrupted; then 2429 if $ac_cache_corrupted; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2424 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2433 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2425 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2434 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2426 fi 2435 fi
2427 ## -------------------- ## 2436 ## -------------------- ##
2428 ## Main body of script. ## 2437 ## Main body of script. ##
2429 ## -------------------- ## 2438 ## -------------------- ##
2430 2439
2554 l | lu | luc | luci | lucid ) val=lucid ;; 2563 l | lu | luc | luci | lucid ) val=lucid ;;
2555 a | at | ath | athe | athen | athena ) val=athena ;; 2564 a | at | ath | athe | athen | athena ) val=athena ;;
2556 m | mo | mot | moti | motif ) val=motif ;; 2565 m | mo | mot | moti | motif ) val=motif ;;
2557 g | gt | gtk ) val=gtk ;; 2566 g | gt | gtk ) val=gtk ;;
2558 * ) 2567 * )
2559 as_fn_error "\`--with-x-toolkit=$withval' is invalid; 2568 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid;
2560 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 2569 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2561 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2570 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2562 ;; 2571 ;;
2563 esac 2572 esac
2564 with_x_toolkit=$val 2573 with_x_toolkit=$val
2710 2719
2711 2720
2712 2721
2713 # Check whether --with-gtk was given. 2722 # Check whether --with-gtk was given.
2714 if test "${with_gtk+set}" = set; then : 2723 if test "${with_gtk+set}" = set; then :
2715 withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to 2724 withval=$with_gtk; as_fn_error $? "--with-gtk has been removed. Use --with-x-toolkit to
2716 specify a toolkit." "$LINENO" 5 2725 specify a toolkit." "$LINENO" 5
2717 fi 2726 fi
2718 2727
2719 2728
2720 2729
2721 # Check whether --with-gcc was given. 2730 # Check whether --with-gcc was given.
2722 if test "${with_gcc+set}" = set; then : 2731 if test "${with_gcc+set}" = set; then :
2723 withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment 2732 withval=$with_gcc; as_fn_error $? "--with-gcc has been removed. Set the \`CC' environment
2724 variable to specify a compiler." "$LINENO" 5 2733 variable to specify a compiler." "$LINENO" 5
2725 fi 2734 fi
2726 2735
2727 2736
2728 2737
2824 stringbytes) ac_gc_check_stringbytes=1 ;; 2833 stringbytes) ac_gc_check_stringbytes=1 ;;
2825 stringoverrun) ac_gc_check_string_overrun=1 ;; 2834 stringoverrun) ac_gc_check_string_overrun=1 ;;
2826 stringfreelist) ac_gc_check_string_free_list=1 ;; 2835 stringfreelist) ac_gc_check_string_free_list=1 ;;
2827 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2836 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2828 conslist) ac_gc_check_cons_list=1 ;; 2837 conslist) ac_gc_check_cons_list=1 ;;
2829 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; 2838 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
2830 esac 2839 esac
2831 done 2840 done
2832 IFS="$ac_save_IFS" 2841 IFS="$ac_save_IFS"
2833 2842
2834 if test x$ac_enable_checking != x ; then 2843 if test x$ac_enable_checking != x ; then
2929 2938
2930 ### Canonicalize the configuration name. 2939 ### Canonicalize the configuration name.
2931 2940
2932 ac_aux_dir= 2941 ac_aux_dir=
2933 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2942 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2934 for ac_t in install-sh install.sh shtool; do 2943 if test -f "$ac_dir/install-sh"; then
2935 if test -f "$ac_dir/$ac_t"; then 2944 ac_aux_dir=$ac_dir
2936 ac_aux_dir=$ac_dir 2945 ac_install_sh="$ac_aux_dir/install-sh -c"
2937 ac_install_sh="$ac_aux_dir/$ac_t -c" 2946 break
2938 break 2 2947 elif test -f "$ac_dir/install.sh"; then
2939 fi 2948 ac_aux_dir=$ac_dir
2940 done 2949 ac_install_sh="$ac_aux_dir/install.sh -c"
2950 break
2951 elif test -f "$ac_dir/shtool"; then
2952 ac_aux_dir=$ac_dir
2953 ac_install_sh="$ac_aux_dir/shtool install -c"
2954 break
2955 fi
2941 done 2956 done
2942 if test -z "$ac_aux_dir"; then 2957 if test -z "$ac_aux_dir"; then
2943 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2958 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2944 fi 2959 fi
2945 2960
2946 # These three variables are undocumented and unsupported, 2961 # These three variables are undocumented and unsupported,
2947 # and are intended to be withdrawn in a future Autoconf release. 2962 # and are intended to be withdrawn in a future Autoconf release.
2948 # They can cause serious problems if a builder's source tree is in a directory 2963 # They can cause serious problems if a builder's source tree is in a directory
2952 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2967 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2953 2968
2954 2969
2955 # Make sure we can run config.sub. 2970 # Make sure we can run config.sub.
2956 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2971 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2957 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2972 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2958 2973
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2960 $as_echo_n "checking build system type... " >&6; } 2975 $as_echo_n "checking build system type... " >&6; }
2961 if test "${ac_cv_build+set}" = set; then : 2976 if test "${ac_cv_build+set}" = set; then :
2962 $as_echo_n "(cached) " >&6 2977 $as_echo_n "(cached) " >&6
2963 else 2978 else
2964 ac_build_alias=$build_alias 2979 ac_build_alias=$build_alias
2965 test "x$ac_build_alias" = x && 2980 test "x$ac_build_alias" = x &&
2966 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2981 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2967 test "x$ac_build_alias" = x && 2982 test "x$ac_build_alias" = x &&
2968 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2983 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2969 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2984 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2970 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2985 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2971 2986
2972 fi 2987 fi
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2974 $as_echo "$ac_cv_build" >&6; } 2989 $as_echo "$ac_cv_build" >&6; }
2975 case $ac_cv_build in 2990 case $ac_cv_build in
2976 *-*-*) ;; 2991 *-*-*) ;;
2977 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2992 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2978 esac 2993 esac
2979 build=$ac_cv_build 2994 build=$ac_cv_build
2980 ac_save_IFS=$IFS; IFS='-' 2995 ac_save_IFS=$IFS; IFS='-'
2981 set x $ac_cv_build 2996 set x $ac_cv_build
2982 shift 2997 shift
2997 else 3012 else
2998 if test "x$host_alias" = x; then 3013 if test "x$host_alias" = x; then
2999 ac_cv_host=$ac_cv_build 3014 ac_cv_host=$ac_cv_build
3000 else 3015 else
3001 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3016 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3002 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3017 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3003 fi 3018 fi
3004 3019
3005 fi 3020 fi
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3007 $as_echo "$ac_cv_host" >&6; } 3022 $as_echo "$ac_cv_host" >&6; }
3008 case $ac_cv_host in 3023 case $ac_cv_host in
3009 *-*-*) ;; 3024 *-*-*) ;;
3010 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3025 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3011 esac 3026 esac
3012 host=$ac_cv_host 3027 host=$ac_cv_host
3013 ac_save_IFS=$IFS; IFS='-' 3028 ac_save_IFS=$IFS; IFS='-'
3014 set x $ac_cv_host 3029 set x $ac_cv_host
3015 shift 3030 shift
3351 fi 3366 fi
3352 3367
3353 3368
3354 3369
3355 if test $unported = yes; then 3370 if test $unported = yes; then
3356 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 3371 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems.
3357 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 3372 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3358 fi 3373 fi
3359 3374
3360 machfile="m/${machine}.h" 3375 machfile="m/${machine}.h"
3361 opsysfile="s/${opsys}.h" 3376 opsysfile="s/${opsys}.h"
3665 fi 3680 fi
3666 3681
3667 3682
3668 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3683 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670 as_fn_error "no acceptable C compiler found in \$PATH 3685 as_fn_error $? "no acceptable C compiler found in \$PATH
3671 See \`config.log' for more details." "$LINENO" 5; } 3686 See \`config.log' for more details" "$LINENO" 5; }
3672 3687
3673 # Provide some information about the compiler. 3688 # Provide some information about the compiler.
3674 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3689 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3675 set X $ac_compile 3690 set X $ac_compile
3676 ac_compiler=$2 3691 ac_compiler=$2
3780 $as_echo "$as_me: failed program was:" >&5 3795 $as_echo "$as_me: failed program was:" >&5
3781 sed 's/^/| /' conftest.$ac_ext >&5 3796 sed 's/^/| /' conftest.$ac_ext >&5
3782 3797
3783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785 { as_fn_set_status 77 3800 as_fn_error 77 "C compiler cannot create executables
3786 as_fn_error "C compiler cannot create executables 3801 See \`config.log' for more details" "$LINENO" 5; }
3787 See \`config.log' for more details." "$LINENO" 5; }; }
3788 else 3802 else
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3790 $as_echo "yes" >&6; } 3804 $as_echo "yes" >&6; }
3791 fi 3805 fi
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3824 esac 3838 esac
3825 done 3839 done
3826 else 3840 else
3827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829 as_fn_error "cannot compute suffix of executables: cannot compile and link 3843 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3830 See \`config.log' for more details." "$LINENO" 5; } 3844 See \`config.log' for more details" "$LINENO" 5; }
3831 fi 3845 fi
3832 rm -f conftest conftest$ac_cv_exeext 3846 rm -f conftest conftest$ac_cv_exeext
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3834 $as_echo "$ac_cv_exeext" >&6; } 3848 $as_echo "$ac_cv_exeext" >&6; }
3835 3849
3882 if test "$cross_compiling" = maybe; then 3896 if test "$cross_compiling" = maybe; then
3883 cross_compiling=yes 3897 cross_compiling=yes
3884 else 3898 else
3885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error "cannot run C compiled programs. 3901 as_fn_error $? "cannot run C compiled programs.
3888 If you meant to cross compile, use \`--host'. 3902 If you meant to cross compile, use \`--host'.
3889 See \`config.log' for more details." "$LINENO" 5; } 3903 See \`config.log' for more details" "$LINENO" 5; }
3890 fi 3904 fi
3891 fi 3905 fi
3892 fi 3906 fi
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3894 $as_echo "$cross_compiling" >&6; } 3908 $as_echo "$cross_compiling" >&6; }
3935 $as_echo "$as_me: failed program was:" >&5 3949 $as_echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.$ac_ext >&5 3950 sed 's/^/| /' conftest.$ac_ext >&5
3937 3951
3938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3940 as_fn_error "cannot compute suffix of object files: cannot compile 3954 as_fn_error $? "cannot compute suffix of object files: cannot compile
3941 See \`config.log' for more details." "$LINENO" 5; } 3955 See \`config.log' for more details" "$LINENO" 5; }
3942 fi 3956 fi
3943 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3957 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3944 fi 3958 fi
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3946 $as_echo "$ac_cv_objext" >&6; } 3960 $as_echo "$ac_cv_objext" >&6; }
4272 4286
4273 else 4287 else
4274 # Broken: fails on valid input. 4288 # Broken: fails on valid input.
4275 continue 4289 continue
4276 fi 4290 fi
4277 rm -f conftest.err conftest.$ac_ext 4291 rm -f conftest.err conftest.i conftest.$ac_ext
4278 4292
4279 # OK, works on sane cases. Now check whether nonexistent headers 4293 # OK, works on sane cases. Now check whether nonexistent headers
4280 # can be detected and how. 4294 # can be detected and how.
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */ 4296 /* end confdefs.h. */
4288 else 4302 else
4289 # Passes both tests. 4303 # Passes both tests.
4290 ac_preproc_ok=: 4304 ac_preproc_ok=:
4291 break 4305 break
4292 fi 4306 fi
4293 rm -f conftest.err conftest.$ac_ext 4307 rm -f conftest.err conftest.i conftest.$ac_ext
4294 4308
4295 done 4309 done
4296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4297 rm -f conftest.err conftest.$ac_ext 4311 rm -f conftest.i conftest.err conftest.$ac_ext
4298 if $ac_preproc_ok; then : 4312 if $ac_preproc_ok; then :
4299 break 4313 break
4300 fi 4314 fi
4301 4315
4302 done 4316 done
4331 4345
4332 else 4346 else
4333 # Broken: fails on valid input. 4347 # Broken: fails on valid input.
4334 continue 4348 continue
4335 fi 4349 fi
4336 rm -f conftest.err conftest.$ac_ext 4350 rm -f conftest.err conftest.i conftest.$ac_ext
4337 4351
4338 # OK, works on sane cases. Now check whether nonexistent headers 4352 # OK, works on sane cases. Now check whether nonexistent headers
4339 # can be detected and how. 4353 # can be detected and how.
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */ 4355 /* end confdefs.h. */
4347 else 4361 else
4348 # Passes both tests. 4362 # Passes both tests.
4349 ac_preproc_ok=: 4363 ac_preproc_ok=:
4350 break 4364 break
4351 fi 4365 fi
4352 rm -f conftest.err conftest.$ac_ext 4366 rm -f conftest.err conftest.i conftest.$ac_ext
4353 4367
4354 done 4368 done
4355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4356 rm -f conftest.err conftest.$ac_ext 4370 rm -f conftest.i conftest.err conftest.$ac_ext
4357 if $ac_preproc_ok; then : 4371 if $ac_preproc_ok; then :
4358 4372
4359 else 4373 else
4360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4362 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4376 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4363 See \`config.log' for more details." "$LINENO" 5; } 4377 See \`config.log' for more details" "$LINENO" 5; }
4364 fi 4378 fi
4365 4379
4366 ac_ext=c 4380 ac_ext=c
4367 ac_cpp='$CPP $CPPFLAGS' 4381 ac_cpp='$CPP $CPPFLAGS'
4368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 done 4433 done
4420 done 4434 done
4421 done 4435 done
4422 IFS=$as_save_IFS 4436 IFS=$as_save_IFS
4423 if test -z "$ac_cv_path_GREP"; then 4437 if test -z "$ac_cv_path_GREP"; then
4424 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4438 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4425 fi 4439 fi
4426 else 4440 else
4427 ac_cv_path_GREP=$GREP 4441 ac_cv_path_GREP=$GREP
4428 fi 4442 fi
4429 4443
4485 done 4499 done
4486 done 4500 done
4487 done 4501 done
4488 IFS=$as_save_IFS 4502 IFS=$as_save_IFS
4489 if test -z "$ac_cv_path_EGREP"; then 4503 if test -z "$ac_cv_path_EGREP"; then
4490 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4504 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4491 fi 4505 fi
4492 else 4506 else
4493 ac_cv_path_EGREP=$EGREP 4507 ac_cv_path_EGREP=$EGREP
4494 fi 4508 fi
4495 4509
4617 inttypes.h stdint.h unistd.h 4631 inttypes.h stdint.h unistd.h
4618 do : 4632 do :
4619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4634 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4621 " 4635 "
4622 eval as_val=\$$as_ac_Header 4636 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4623 if test "x$as_val" = x""yes; then :
4624 cat >>confdefs.h <<_ACEOF 4637 cat >>confdefs.h <<_ACEOF
4625 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4626 _ACEOF 4639 _ACEOF
4627 4640
4628 fi 4641 fi
4807 4820
4808 else 4821 else
4809 # Broken: fails on valid input. 4822 # Broken: fails on valid input.
4810 continue 4823 continue
4811 fi 4824 fi
4812 rm -f conftest.err conftest.$ac_ext 4825 rm -f conftest.err conftest.i conftest.$ac_ext
4813 4826
4814 # OK, works on sane cases. Now check whether nonexistent headers 4827 # OK, works on sane cases. Now check whether nonexistent headers
4815 # can be detected and how. 4828 # can be detected and how.
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */ 4830 /* end confdefs.h. */
4823 else 4836 else
4824 # Passes both tests. 4837 # Passes both tests.
4825 ac_preproc_ok=: 4838 ac_preproc_ok=:
4826 break 4839 break
4827 fi 4840 fi
4828 rm -f conftest.err conftest.$ac_ext 4841 rm -f conftest.err conftest.i conftest.$ac_ext
4829 4842
4830 done 4843 done
4831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4832 rm -f conftest.err conftest.$ac_ext 4845 rm -f conftest.i conftest.err conftest.$ac_ext
4833 if $ac_preproc_ok; then : 4846 if $ac_preproc_ok; then :
4834 break 4847 break
4835 fi 4848 fi
4836 4849
4837 done 4850 done
4866 4879
4867 else 4880 else
4868 # Broken: fails on valid input. 4881 # Broken: fails on valid input.
4869 continue 4882 continue
4870 fi 4883 fi
4871 rm -f conftest.err conftest.$ac_ext 4884 rm -f conftest.err conftest.i conftest.$ac_ext
4872 4885
4873 # OK, works on sane cases. Now check whether nonexistent headers 4886 # OK, works on sane cases. Now check whether nonexistent headers
4874 # can be detected and how. 4887 # can be detected and how.
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */ 4889 /* end confdefs.h. */
4882 else 4895 else
4883 # Passes both tests. 4896 # Passes both tests.
4884 ac_preproc_ok=: 4897 ac_preproc_ok=:
4885 break 4898 break
4886 fi 4899 fi
4887 rm -f conftest.err conftest.$ac_ext 4900 rm -f conftest.err conftest.i conftest.$ac_ext
4888 4901
4889 done 4902 done
4890 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4891 rm -f conftest.err conftest.$ac_ext 4904 rm -f conftest.i conftest.err conftest.$ac_ext
4892 if $ac_preproc_ok; then : 4905 if $ac_preproc_ok; then :
4893 4906
4894 else 4907 else
4895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4897 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4910 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4898 See \`config.log' for more details." "$LINENO" 5; } 4911 See \`config.log' for more details" "$LINENO" 5; }
4899 fi 4912 fi
4900 4913
4901 ac_ext=c 4914 ac_ext=c
4902 ac_cpp='$CPP $CPPFLAGS' 4915 ac_cpp='$CPP $CPPFLAGS'
4903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 ## with pre-built manuals, from a Bazaar checkout. 5325 ## with pre-built manuals, from a Bazaar checkout.
5313 if test "$MAKEINFO" = "no"; then 5326 if test "$MAKEINFO" = "no"; then
5314 if test "x${with_makeinfo}" = "xno"; then 5327 if test "x${with_makeinfo}" = "xno"; then
5315 MAKEINFO=off 5328 MAKEINFO=off
5316 elif ! test -e $srcdir/info/emacs; then 5329 elif ! test -e $srcdir/info/emacs; then
5317 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 5330 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your
5318 source tree does not seem to have pre-built manuals in the \`info' directory. 5331 source tree does not seem to have pre-built manuals in the \`info' directory.
5319 Either install a suitable version of makeinfo, or re-run configure 5332 Either install a suitable version of makeinfo, or re-run configure
5320 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5333 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
5321 fi 5334 fi
5322 fi 5335 fi
5720 CRT_DIR=/usr/lib 5733 CRT_DIR=/usr/lib
5721 test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64 5734 test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64
5722 fi 5735 fi
5723 5736
5724 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5737 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
5725 as_fn_error "crt*.o not found. Use --with-crt-dir to specify the location." "$LINENO" 5 5738 as_fn_error $? "crt*.o not found. Use --with-crt-dir to specify the location." "$LINENO" 5
5726 ;; 5739 ;;
5727 esac 5740 esac
5728 test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib 5741 test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib
5729 5742
5730 5743
5735 # Sound support for GNU/Linux and the free BSDs. 5748 # Sound support for GNU/Linux and the free BSDs.
5736 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 5749 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5737 do : 5750 do :
5738 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5739 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5752 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5740 eval as_val=\$$as_ac_Header 5753 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5741 if test "x$as_val" = x""yes; then :
5742 cat >>confdefs.h <<_ACEOF 5754 cat >>confdefs.h <<_ACEOF
5743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5744 _ACEOF 5756 _ACEOF
5745 5757
5746 fi 5758 fi
5927 else 5939 else
5928 emacs_alsa_subdir=no 5940 emacs_alsa_subdir=no
5929 fi 5941 fi
5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5931 if test "$emacs_alsa_subdir" != yes; then 5943 if test "$emacs_alsa_subdir" != yes; then
5932 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 5944 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
5933 fi 5945 fi
5934 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 5946 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
5935 fi 5947 fi
5936 5948
5937 CFLAGS="$SAVE_CFLAGS" 5949 CFLAGS="$SAVE_CFLAGS"
5951 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 5963 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
5952 sys/utsname.h pwd.h utmp.h 5964 sys/utsname.h pwd.h utmp.h
5953 do : 5965 do :
5954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5955 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5967 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5956 eval as_val=\$$as_ac_Header 5968 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5957 if test "x$as_val" = x""yes; then :
5958 cat >>confdefs.h <<_ACEOF 5969 cat >>confdefs.h <<_ACEOF
5959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5960 _ACEOF 5971 _ACEOF
5961 5972
5962 fi 5973 fi
6794 6805
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6796 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6807 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6797 set x ${MAKE-make} 6808 set x ${MAKE-make}
6798 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6809 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6799 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 6810 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
6800 $as_echo_n "(cached) " >&6 6811 $as_echo_n "(cached) " >&6
6801 else 6812 else
6802 cat >conftest.make <<\_ACEOF 6813 cat >conftest.make <<\_ACEOF
6803 SHELL = /bin/sh 6814 SHELL = /bin/sh
6804 all: 6815 all:
6805 @echo '@@@%%%=$(MAKE)=@@@%%%' 6816 @echo '@@@%%%=$(MAKE)=@@@%%%'
6806 _ACEOF 6817 _ACEOF
6807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6818 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6808 case `${MAKE-make} -f conftest.make 2>/dev/null` in 6819 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6809 *@@@%%%=?*=@@@%%%*) 6820 *@@@%%%=?*=@@@%%%*)
6810 eval ac_cv_prog_make_${ac_make}_set=yes;; 6821 eval ac_cv_prog_make_${ac_make}_set=yes;;
6811 *) 6822 *)
6812 eval ac_cv_prog_make_${ac_make}_set=no;; 6823 eval ac_cv_prog_make_${ac_make}_set=no;;
6927 if test "x$with_x" = xno; then 6938 if test "x$with_x" = xno; then
6928 # The user explicitly disabled X. 6939 # The user explicitly disabled X.
6929 have_x=disabled 6940 have_x=disabled
6930 else 6941 else
6931 case $x_includes,$x_libraries in #( 6942 case $x_includes,$x_libraries in #(
6932 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 6943 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
6933 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 6944 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
6934 $as_echo_n "(cached) " >&6 6945 $as_echo_n "(cached) " >&6
6935 else 6946 else
6936 # One or both of the vars are not set, and there is no cached value. 6947 # One or both of the vars are not set, and there is no cached value.
6937 ac_x_includes=no ac_x_libraries=no 6948 ac_x_includes=no ac_x_libraries=no
6945 @echo usrlibdir='${USRLIBDIR}' 6956 @echo usrlibdir='${USRLIBDIR}'
6946 libdir: 6957 libdir:
6947 @echo libdir='${LIBDIR}' 6958 @echo libdir='${LIBDIR}'
6948 _ACEOF 6959 _ACEOF
6949 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 6960 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
6950 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6951 for ac_var in incroot usrlibdir libdir; do 6962 for ac_var in incroot usrlibdir libdir; do
6952 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 6963 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6953 done 6964 done
6954 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 6965 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6955 for ac_extension in a so sl dylib la dll; do 6966 for ac_extension in a so sl dylib la dll; do
7031 ac_x_includes=$ac_dir 7042 ac_x_includes=$ac_dir
7032 break 7043 break
7033 fi 7044 fi
7034 done 7045 done
7035 fi 7046 fi
7036 rm -f conftest.err conftest.$ac_ext 7047 rm -f conftest.err conftest.i conftest.$ac_ext
7037 fi # $ac_x_includes = no 7048 fi # $ac_x_includes = no
7038 7049
7039 if test "$ac_x_libraries" = no; then 7050 if test "$ac_x_libraries" = no; then
7040 # Check for the libraries. 7051 # Check for the libraries.
7041 # See if we find them without any special options. 7052 # See if we find them without any special options.
7201 fi 7212 fi
7202 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 7213 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
7203 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7214 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then :
7204 HAVE_NS=yes 7215 HAVE_NS=yes
7205 else 7216 else
7206 as_fn_error "\`--with-ns' was specified, but the include 7217 as_fn_error $? "\`--with-ns' was specified, but the include
7207 files are missing or cannot be compiled." "$LINENO" 5 7218 files are missing or cannot be compiled." "$LINENO" 5
7208 fi 7219 fi
7209 7220
7210 7221
7211 NS_HAVE_NSINTEGER=yes 7222 NS_HAVE_NSINTEGER=yes
7303 7314
7304 7315
7305 if test "$HAVE_XSERVER" = true || 7316 if test "$HAVE_XSERVER" = true ||
7306 test -n "$DISPLAY" || 7317 test -n "$DISPLAY" ||
7307 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7318 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7308 as_fn_error "You seem to be running X, but no X development libraries 7319 as_fn_error $? "You seem to be running X, but no X development libraries
7309 were found. You should install the relevant development files for X 7320 were found. You should install the relevant development files for X
7310 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7321 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7311 sure you have development files for image handling, i.e. 7322 sure you have development files for image handling, i.e.
7312 tiff, gif, jpeg, png and xpm. 7323 tiff, gif, jpeg, png and xpm.
7313 If you are sure you want Emacs compiled without X window support, pass 7324 If you are sure you want Emacs compiled without X window support, pass
7395 for ac_header in $ac_header_list 7406 for ac_header in $ac_header_list
7396 do : 7407 do :
7397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7398 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7409 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7399 " 7410 "
7400 eval as_val=\$$as_ac_Header 7411 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7401 if test "x$as_val" = x""yes; then :
7402 cat >>confdefs.h <<_ACEOF 7412 cat >>confdefs.h <<_ACEOF
7403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7404 _ACEOF 7414 _ACEOF
7405 7415
7406 fi 7416 fi
7502 7512
7503 int 7513 int
7504 main () 7514 main ()
7505 { 7515 {
7506 char *data, *data2, *data3; 7516 char *data, *data2, *data3;
7517 const char *cdata2;
7507 int i, pagesize; 7518 int i, pagesize;
7508 int fd, fd2; 7519 int fd, fd2;
7509 7520
7510 pagesize = getpagesize (); 7521 pagesize = getpagesize ();
7511 7522
7526 /* Next, check that the tail of a page is zero-filled. File must have 7537 /* Next, check that the tail of a page is zero-filled. File must have
7527 non-zero length, otherwise we risk SIGBUS for entire page. */ 7538 non-zero length, otherwise we risk SIGBUS for entire page. */
7528 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 7539 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7529 if (fd2 < 0) 7540 if (fd2 < 0)
7530 return 4; 7541 return 4;
7531 data2 = ""; 7542 cdata2 = "";
7532 if (write (fd2, data2, 1) != 1) 7543 if (write (fd2, cdata2, 1) != 1)
7533 return 5; 7544 return 5;
7534 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 7545 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7535 if (data2 == MAP_FAILED) 7546 if (data2 == MAP_FAILED)
7536 return 6; 7547 return 6;
7537 for (i = 0; i < pagesize; ++i) 7548 for (i = 0; i < pagesize; ++i)
7538 if (*(data2 + i)) 7549 if (*(data2 + i))
7539 return 7; 7550 return 7;
7886 for ac_func in XrmSetDatabase XScreenResourceString \ 7897 for ac_func in XrmSetDatabase XScreenResourceString \
7887 XScreenNumberOfScreen XSetWMProtocols 7898 XScreenNumberOfScreen XSetWMProtocols
7888 do : 7899 do :
7889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 7901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7891 eval as_val=\$$as_ac_var 7902 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7892 if test "x$as_val" = x""yes; then :
7893 cat >>confdefs.h <<_ACEOF 7903 cat >>confdefs.h <<_ACEOF
7894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7895 _ACEOF 7905 _ACEOF
7896 7906
7897 fi 7907 fi
8156 else 8166 else
8157 pkg_check_gtk=no 8167 pkg_check_gtk=no
8158 fi 8168 fi
8159 8169
8160 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8170 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8161 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8171 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8162 fi 8172 fi
8163 fi 8173 fi
8164 8174
8165 8175
8166 if test x"$pkg_check_gtk" = xyes; then 8176 if test x"$pkg_check_gtk" = xyes; then
8182 fi 8192 fi
8183 done 8193 done
8184 8194
8185 if test "${GTK_COMPILES}" != "yes"; then 8195 if test "${GTK_COMPILES}" != "yes"; then
8186 if test "$USE_X_TOOLKIT" != "maybe"; then 8196 if test "$USE_X_TOOLKIT" != "maybe"; then
8187 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 8197 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
8188 fi 8198 fi
8189 else 8199 else
8190 HAVE_GTK=yes 8200 HAVE_GTK=yes
8191 8201
8192 $as_echo "#define USE_GTK 1" >>confdefs.h 8202 $as_echo "#define USE_GTK 1" >>confdefs.h
8664 if test $emacs_cv_xaw = yes; then 8674 if test $emacs_cv_xaw = yes; then
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
8666 $as_echo "yes; using Lucid toolkit" >&6; } 8676 $as_echo "yes; using Lucid toolkit" >&6; }
8667 USE_X_TOOLKIT=LUCID 8677 USE_X_TOOLKIT=LUCID
8668 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 8678 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
8669 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 8679 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
8670 else 8680 else
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
8672 $as_echo "no; do not use toolkit by default" >&6; } 8682 $as_echo "no; do not use toolkit by default" >&6; }
8673 USE_X_TOOLKIT=none 8683 USE_X_TOOLKIT=none
8674 fi 8684 fi
9824 # in /usr/include/libpng. 9834 # in /usr/include/libpng.
9825 for ac_header in png.h libpng/png.h 9835 for ac_header in png.h libpng/png.h
9826 do : 9836 do :
9827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9828 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 9838 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9829 eval as_val=\$$as_ac_Header 9839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9830 if test "x$as_val" = x""yes; then :
9831 cat >>confdefs.h <<_ACEOF 9840 cat >>confdefs.h <<_ACEOF
9832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9833 _ACEOF 9842 _ACEOF
9834 9843
9835 fi 9844 fi
10076 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" 10085 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
10077 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && 10086 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
10078 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 10087 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
10079 10088
10080 if test "X${MISSING}" != X; then 10089 if test "X${MISSING}" != X; then
10081 as_fn_error "The following required libraries were not found: 10090 as_fn_error $? "The following required libraries were not found:
10082 $MISSING 10091 $MISSING
10083 Maybe some development libraries/packages are missing? 10092 Maybe some development libraries/packages are missing?
10084 If you don't want to link with them give 10093 If you don't want to link with them give
10085 $WITH_NO 10094 $WITH_NO
10086 as options to configure" "$LINENO" 5 10095 as options to configure" "$LINENO" 5
10398 $as_echo "$ac_cv_os_cray" >&6; } 10407 $as_echo "$ac_cv_os_cray" >&6; }
10399 if test $ac_cv_os_cray = yes; then 10408 if test $ac_cv_os_cray = yes; then
10400 for ac_func in _getb67 GETB67 getb67; do 10409 for ac_func in _getb67 GETB67 getb67; do
10401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 10411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10403 eval as_val=\$$as_ac_var 10412 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10404 if test "x$as_val" = x""yes; then :
10405 10413
10406 cat >>confdefs.h <<_ACEOF 10414 cat >>confdefs.h <<_ACEOF
10407 #define CRAY_STACKSEG_END $ac_func 10415 #define CRAY_STACKSEG_END $ac_func
10408 _ACEOF 10416 _ACEOF
10409 10417
10463 10471
10464 fi 10472 fi
10465 10473
10466 10474
10467 if test x"$ac_cv_func_alloca_works" != xyes; then 10475 if test x"$ac_cv_func_alloca_works" != xyes; then
10468 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 10476 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5
10469 fi 10477 fi
10470 10478
10471 # fmod, logb, and frexp are found in -lm on most systems. 10479 # fmod, logb, and frexp are found in -lm on most systems.
10472 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 10480 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
10650 $as_echo "no" >&6; } 10658 $as_echo "no" >&6; }
10651 fi 10659 fi
10652 10660
10653 10661
10654 if test $ac_cv_prog_liblockfile = yes; then 10662 if test $ac_cv_prog_liblockfile = yes; then
10655 as_fn_error "Shared liblockfile found but can't link against it. 10663 as_fn_error $? "Shared liblockfile found but can't link against it.
10656 This probably means that movemail could lose mail. 10664 This probably means that movemail could lose mail.
10657 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 10665 There may be a \`development' package to install containing liblockfile." "$LINENO" 5
10658 else : 10666 else :
10659 fi 10667 fi
10660 fi 10668 fi
10693 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 10701 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
10694 cfmakeraw cfsetspeed 10702 cfmakeraw cfsetspeed
10695 do : 10703 do :
10696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 10705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10698 eval as_val=\$$as_ac_var 10706 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10699 if test "x$as_val" = x""yes; then :
10700 cat >>confdefs.h <<_ACEOF 10707 cat >>confdefs.h <<_ACEOF
10701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10702 _ACEOF 10709 _ACEOF
10703 10710
10704 fi 10711 fi
10725 10732
10726 for ac_func in $ac_func_list 10733 for ac_func in $ac_func_list
10727 do : 10734 do :
10728 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10735 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10729 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 10736 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10730 eval as_val=\$$as_ac_var 10737 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10731 if test "x$as_val" = x""yes; then :
10732 cat >>confdefs.h <<_ACEOF 10738 cat >>confdefs.h <<_ACEOF
10733 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10734 _ACEOF 10740 _ACEOF
10735 10741
10736 fi 10742 fi
10778 10784
10779 static time_t time_t_max; 10785 static time_t time_t_max;
10780 static time_t time_t_min; 10786 static time_t time_t_min;
10781 10787
10782 /* Values we'll use to set the TZ environment variable. */ 10788 /* Values we'll use to set the TZ environment variable. */
10783 static char *tz_strings[] = { 10789 static const char *tz_strings[] = {
10784 (char *) 0, "TZ=GMT0", "TZ=JST-9", 10790 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
10785 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 10791 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
10786 }; 10792 };
10787 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 10793 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
10788 10794
10789 /* Return 0 if mktime fails to convert a date in the spring-forward gap. 10795 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
10796 10802
10797 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 10803 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
10798 instead of "TZ=America/Vancouver" in order to detect the bug even 10804 instead of "TZ=America/Vancouver" in order to detect the bug even
10799 on systems that don't support the Olson extension, or don't have the 10805 on systems that don't support the Olson extension, or don't have the
10800 full zoneinfo tables installed. */ 10806 full zoneinfo tables installed. */
10801 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 10807 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
10802 10808
10803 tm.tm_year = 98; 10809 tm.tm_year = 98;
10804 tm.tm_mon = 3; 10810 tm.tm_mon = 3;
10805 tm.tm_mday = 5; 10811 tm.tm_mday = 5;
10806 tm.tm_hour = 2; 10812 tm.tm_hour = 2;
10809 tm.tm_isdst = -1; 10815 tm.tm_isdst = -1;
10810 return mktime (&tm) != (time_t) -1; 10816 return mktime (&tm) != (time_t) -1;
10811 } 10817 }
10812 10818
10813 static int 10819 static int
10814 mktime_test1 (now) 10820 mktime_test1 (time_t now)
10815 time_t now;
10816 { 10821 {
10817 struct tm *lt; 10822 struct tm *lt;
10818 return ! (lt = localtime (&now)) || mktime (lt) == now; 10823 return ! (lt = localtime (&now)) || mktime (lt) == now;
10819 } 10824 }
10820 10825
10821 static int 10826 static int
10822 mktime_test (now) 10827 mktime_test (time_t now)
10823 time_t now;
10824 { 10828 {
10825 return (mktime_test1 (now) 10829 return (mktime_test1 (now)
10826 && mktime_test1 ((time_t) (time_t_max - now)) 10830 && mktime_test1 ((time_t) (time_t_max - now))
10827 && mktime_test1 ((time_t) (time_t_min + now))); 10831 && mktime_test1 ((time_t) (time_t_min + now)));
10828 } 10832 }
10842 mktime (&tm); 10846 mktime (&tm);
10843 return tm.tm_mon == 2 && tm.tm_mday == 31; 10847 return tm.tm_mon == 2 && tm.tm_mday == 31;
10844 } 10848 }
10845 10849
10846 static int 10850 static int
10847 bigtime_test (j) 10851 bigtime_test (int j)
10848 int j;
10849 { 10852 {
10850 struct tm tm; 10853 struct tm tm;
10851 time_t now; 10854 time_t now;
10852 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; 10855 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
10853 now = mktime (&tm); 10856 now = mktime (&tm);
10887 10890
10888 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 10891 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
10889 instead of "TZ=America/Vancouver" in order to detect the bug even 10892 instead of "TZ=America/Vancouver" in order to detect the bug even
10890 on systems that don't support the Olson extension, or don't have the 10893 on systems that don't support the Olson extension, or don't have the
10891 full zoneinfo tables installed. */ 10894 full zoneinfo tables installed. */
10892 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 10895 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
10893 10896
10894 t = mktime (&tm); 10897 t = mktime (&tm);
10895 10898
10896 /* Check that the result is either a failure, or close enough 10899 /* Check that the result is either a failure, or close enough
10897 to the correct answer that we can assume the discrepancy is 10900 to the correct answer that we can assume the discrepancy is
10922 10925
10923 delta = time_t_max / 997; /* a suitable prime number */ 10926 delta = time_t_max / 997; /* a suitable prime number */
10924 for (i = 0; i < N_STRINGS; i++) 10927 for (i = 0; i < N_STRINGS; i++)
10925 { 10928 {
10926 if (tz_strings[i]) 10929 if (tz_strings[i])
10927 putenv (tz_strings[i]); 10930 putenv ((char*) tz_strings[i]);
10928 10931
10929 for (t = 0; t <= time_t_max - delta; t += delta) 10932 for (t = 0; t <= time_t_max - delta; t += delta)
10930 if (! mktime_test (t)) 10933 if (! mktime_test (t))
10931 return 1; 10934 return 1;
10932 if (! (mktime_test ((time_t) 1) 10935 if (! (mktime_test ((time_t) 1)
10974 10977
10975 ac_have_func=no # yes means we've found a way to get the load average. 10978 ac_have_func=no # yes means we've found a way to get the load average.
10976 10979
10977 # Make sure getloadavg.c is where it belongs, at configure-time. 10980 # Make sure getloadavg.c is where it belongs, at configure-time.
10978 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 10981 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
10979 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 10982 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
10980 10983
10981 ac_save_LIBS=$LIBS 10984 ac_save_LIBS=$LIBS
10982 10985
10983 # Check for getloadavg, but be sure not to touch the cache variable. 10986 # Check for getloadavg, but be sure not to touch the cache variable.
10984 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 10987 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12805 12808
12806 for ac_func in fork vfork 12809 for ac_func in fork vfork
12807 do : 12810 do :
12808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 12812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12810 eval as_val=\$$as_ac_var 12813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12811 if test "x$as_val" = x""yes; then :
12812 cat >>confdefs.h <<_ACEOF 12814 cat >>confdefs.h <<_ACEOF
12813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12814 _ACEOF 12816 _ACEOF
12815 12817
12816 fi 12818 fi
13180 ## Hack to detect a buggy GCC version. 13182 ## Hack to detect a buggy GCC version.
13181 if test "x$GCC" = xyes \ 13183 if test "x$GCC" = xyes \
13182 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 13184 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
13183 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 13185 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
13184 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 13186 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
13185 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 13187 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
13186 fi 13188 fi
13187 13189
13188 #### Find out which version of Emacs this is. 13190 #### Find out which version of Emacs this is.
13189 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 13191 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
13190 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 13192 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
13191 if test x"${version}" = x; then 13193 if test x"${version}" = x; then
13192 as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 13194 as_fn_error $? "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5
13193 fi 13195 fi
13194 if test x"${version}" != x"$PACKAGE_VERSION"; then 13196 if test x"${version}" != x"$PACKAGE_VERSION"; then
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 13197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5
13196 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} 13198 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;}
13197 fi 13199 fi
13518 13520
13519 DEFS=-DHAVE_CONFIG_H 13521 DEFS=-DHAVE_CONFIG_H
13520 13522
13521 ac_libobjs= 13523 ac_libobjs=
13522 ac_ltlibobjs= 13524 ac_ltlibobjs=
13525 U=
13523 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13526 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13524 # 1. Remove the extension, and $U if already installed. 13527 # 1. Remove the extension, and $U if already installed.
13525 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13528 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13526 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13529 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13527 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13530 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13679 13682
13680 # CDPATH. 13683 # CDPATH.
13681 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13684 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13682 13685
13683 13686
13684 # as_fn_error ERROR [LINENO LOG_FD] 13687 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13685 # --------------------------------- 13688 # ----------------------------------------
13686 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13689 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13687 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13690 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13688 # script with status $?, using 1 if that was 0. 13691 # script with STATUS, using 1 if that was 0.
13689 as_fn_error () 13692 as_fn_error ()
13690 { 13693 {
13691 as_status=$?; test $as_status -eq 0 && as_status=1 13694 as_status=$1; test $as_status -eq 0 && as_status=1
13692 if test "$3"; then 13695 if test "$4"; then
13693 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13696 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13694 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13697 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13695 fi 13698 fi
13696 $as_echo "$as_me: error: $1" >&2 13699 $as_echo "$as_me: error: $2" >&2
13697 as_fn_exit $as_status 13700 as_fn_exit $as_status
13698 } # as_fn_error 13701 } # as_fn_error
13699 13702
13700 13703
13701 # as_fn_set_status STATUS 13704 # as_fn_set_status STATUS
13887 } 13890 }
13888 s/.*/./; q'` 13891 s/.*/./; q'`
13889 test -d "$as_dir" && break 13892 test -d "$as_dir" && break
13890 done 13893 done
13891 test -z "$as_dirs" || eval "mkdir $as_dirs" 13894 test -z "$as_dirs" || eval "mkdir $as_dirs"
13892 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 13895 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13893 13896
13894 13897
13895 } # as_fn_mkdir_p 13898 } # as_fn_mkdir_p
13896 if mkdir -p . 2>/dev/null; then 13899 if mkdir -p . 2>/dev/null; then
13897 as_mkdir_p='mkdir -p "$as_dir"' 13900 as_mkdir_p='mkdir -p "$as_dir"'
13940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13941 # Save the log message, to keep $0 and so on meaningful, and to 13944 # Save the log message, to keep $0 and so on meaningful, and to
13942 # report actual input values of CONFIG_FILES etc. instead of their 13945 # report actual input values of CONFIG_FILES etc. instead of their
13943 # values after options handling. 13946 # values after options handling.
13944 ac_log=" 13947 ac_log="
13945 This file was extended by emacs $as_me 23.2.90, which was 13948 This file was extended by emacs $as_me 23.2.91, which was
13946 generated by GNU Autoconf 2.65. Invocation command line was 13949 generated by GNU Autoconf 2.67. Invocation command line was
13947 13950
13948 CONFIG_FILES = $CONFIG_FILES 13951 CONFIG_FILES = $CONFIG_FILES
13949 CONFIG_HEADERS = $CONFIG_HEADERS 13952 CONFIG_HEADERS = $CONFIG_HEADERS
13950 CONFIG_LINKS = $CONFIG_LINKS 13953 CONFIG_LINKS = $CONFIG_LINKS
13951 CONFIG_COMMANDS = $CONFIG_COMMANDS 13954 CONFIG_COMMANDS = $CONFIG_COMMANDS
14006 14009
14007 _ACEOF 14010 _ACEOF
14008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14009 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14012 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14010 ac_cs_version="\\ 14013 ac_cs_version="\\
14011 emacs config.status 23.2.90 14014 emacs config.status 23.2.91
14012 configured by $0, generated by GNU Autoconf 2.65, 14015 configured by $0, generated by GNU Autoconf 2.67,
14013 with options \\"\$ac_cs_config\\" 14016 with options \\"\$ac_cs_config\\"
14014 14017
14015 Copyright (C) 2009 Free Software Foundation, Inc. 14018 Copyright (C) 2010 Free Software Foundation, Inc.
14016 This config.status script is free software; the Free Software Foundation 14019 This config.status script is free software; the Free Software Foundation
14017 gives unlimited permission to copy, distribute and modify it." 14020 gives unlimited permission to copy, distribute and modify it."
14018 14021
14019 ac_pwd='$ac_pwd' 14022 ac_pwd='$ac_pwd'
14020 srcdir='$srcdir' 14023 srcdir='$srcdir'
14026 # The default lists apply if the user does not specify any file. 14029 # The default lists apply if the user does not specify any file.
14027 ac_need_defaults=: 14030 ac_need_defaults=:
14028 while test $# != 0 14031 while test $# != 0
14029 do 14032 do
14030 case $1 in 14033 case $1 in
14031 --*=*) 14034 --*=?*)
14032 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14035 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14033 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14036 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14037 ac_shift=:
14038 ;;
14039 --*=)
14040 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14041 ac_optarg=
14034 ac_shift=: 14042 ac_shift=:
14035 ;; 14043 ;;
14036 *) 14044 *)
14037 ac_option=$1 14045 ac_option=$1
14038 ac_optarg=$2 14046 ac_optarg=$2
14052 debug=: ;; 14060 debug=: ;;
14053 --file | --fil | --fi | --f ) 14061 --file | --fil | --fi | --f )
14054 $ac_shift 14062 $ac_shift
14055 case $ac_optarg in 14063 case $ac_optarg in
14056 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14064 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14065 '') as_fn_error $? "missing file argument" ;;
14057 esac 14066 esac
14058 as_fn_append CONFIG_FILES " '$ac_optarg'" 14067 as_fn_append CONFIG_FILES " '$ac_optarg'"
14059 ac_need_defaults=false;; 14068 ac_need_defaults=false;;
14060 --header | --heade | --head | --hea ) 14069 --header | --heade | --head | --hea )
14061 $ac_shift 14070 $ac_shift
14064 esac 14073 esac
14065 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14074 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14066 ac_need_defaults=false;; 14075 ac_need_defaults=false;;
14067 --he | --h) 14076 --he | --h)
14068 # Conflict between --help and --header 14077 # Conflict between --help and --header
14069 as_fn_error "ambiguous option: \`$1' 14078 as_fn_error $? "ambiguous option: \`$1'
14070 Try \`$0 --help' for more information.";; 14079 Try \`$0 --help' for more information.";;
14071 --help | --hel | -h ) 14080 --help | --hel | -h )
14072 $as_echo "$ac_cs_usage"; exit ;; 14081 $as_echo "$ac_cs_usage"; exit ;;
14073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14074 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14083 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14075 ac_cs_silent=: ;; 14084 ac_cs_silent=: ;;
14076 14085
14077 # This is an error. 14086 # This is an error.
14078 -*) as_fn_error "unrecognized option: \`$1' 14087 -*) as_fn_error $? "unrecognized option: \`$1'
14079 Try \`$0 --help' for more information." ;; 14088 Try \`$0 --help' for more information." ;;
14080 14089
14081 *) as_fn_append ac_config_targets " $1" 14090 *) as_fn_append ac_config_targets " $1"
14082 ac_need_defaults=false ;; 14091 ac_need_defaults=false ;;
14083 14092
14141 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 14150 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
14142 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 14151 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
14143 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 14152 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
14144 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 14153 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
14145 14154
14146 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14155 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14147 esac 14156 esac
14148 done 14157 done
14149 14158
14150 14159
14151 # If the user did not use the arguments to specify the items to instantiate, 14160 # If the user did not use the arguments to specify the items to instantiate,
14179 test -n "$tmp" && test -d "$tmp" 14188 test -n "$tmp" && test -d "$tmp"
14180 } || 14189 } ||
14181 { 14190 {
14182 tmp=./conf$$-$RANDOM 14191 tmp=./conf$$-$RANDOM
14183 (umask 077 && mkdir "$tmp") 14192 (umask 077 && mkdir "$tmp")
14184 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 14193 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14185 14194
14186 # Set up the scripts for CONFIG_FILES section. 14195 # Set up the scripts for CONFIG_FILES section.
14187 # No need to generate them if there are no CONFIG_FILES. 14196 # No need to generate them if there are no CONFIG_FILES.
14188 # This happens for instance with `./config.status config.h'. 14197 # This happens for instance with `./config.status config.h'.
14189 if test -n "$CONFIG_FILES"; then 14198 if test -n "$CONFIG_FILES"; then
14196 if test "x$ac_cr" = x; then 14205 if test "x$ac_cr" = x; then
14197 eval ac_cr=\$\'\\r\' 14206 eval ac_cr=\$\'\\r\'
14198 fi 14207 fi
14199 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14208 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14200 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14209 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14201 ac_cs_awk_cr='\r' 14210 ac_cs_awk_cr='\\r'
14202 else 14211 else
14203 ac_cs_awk_cr=$ac_cr 14212 ac_cs_awk_cr=$ac_cr
14204 fi 14213 fi
14205 14214
14206 echo 'BEGIN {' >"$tmp/subs1.awk" && 14215 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14210 { 14219 {
14211 echo "cat >conf$$subs.awk <<_ACEOF" && 14220 echo "cat >conf$$subs.awk <<_ACEOF" &&
14212 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14221 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14213 echo "_ACEOF" 14222 echo "_ACEOF"
14214 } >conf$$subs.sh || 14223 } >conf$$subs.sh ||
14215 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14224 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14216 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14217 ac_delim='%!_!# ' 14226 ac_delim='%!_!# '
14218 for ac_last_try in false false false false false :; do 14227 for ac_last_try in false false false false false :; do
14219 . ./conf$$subs.sh || 14228 . ./conf$$subs.sh ||
14220 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14229 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14221 14230
14222 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14231 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14223 if test $ac_delim_n = $ac_delim_num; then 14232 if test $ac_delim_n = $ac_delim_num; then
14224 break 14233 break
14225 elif $ac_last_try; then 14234 elif $ac_last_try; then
14226 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14235 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14227 else 14236 else
14228 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14237 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14229 fi 14238 fi
14230 done 14239 done
14231 rm -f conf$$subs.sh 14240 rm -f conf$$subs.sh
14310 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14319 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14311 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14320 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14312 else 14321 else
14313 cat 14322 cat
14314 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14323 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14315 || as_fn_error "could not setup config files machinery" "$LINENO" 5 14324 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14316 _ACEOF 14325 _ACEOF
14317 14326
14318 # VPATH may cause trouble with some makes, so we remove $(srcdir), 14327 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14319 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14328 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14320 # trailing colons and then remove the whole line if VPATH becomes empty 14329 # trailing colons and then remove the whole line if VPATH becomes empty
14321 # (actually we leave an empty line to preserve line numbers). 14330 # (actually we leave an empty line to preserve line numbers).
14322 if test "x$srcdir" = x.; then 14331 if test "x$srcdir" = x.; then
14323 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14332 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14324 s/:*\$(srcdir):*/:/ 14333 h
14325 s/:*\${srcdir}:*/:/ 14334 s///
14326 s/:*@srcdir@:*/:/ 14335 s/^/:/
14327 s/^\([^=]*=[ ]*\):*/\1/ 14336 s/[ ]*$/:/
14337 s/:\$(srcdir):/:/g
14338 s/:\${srcdir}:/:/g
14339 s/:@srcdir@:/:/g
14340 s/^:*//
14328 s/:*$// 14341 s/:*$//
14342 x
14343 s/\(=[ ]*\).*/\1/
14344 G
14345 s/\n//
14329 s/^[^=]*=[ ]*$// 14346 s/^[^=]*=[ ]*$//
14330 }' 14347 }'
14331 fi 14348 fi
14332 14349
14333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14351 for ac_last_try in false false :; do 14368 for ac_last_try in false false :; do
14352 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 14369 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14353 if test -z "$ac_t"; then 14370 if test -z "$ac_t"; then
14354 break 14371 break
14355 elif $ac_last_try; then 14372 elif $ac_last_try; then
14356 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 14373 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14357 else 14374 else
14358 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14375 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14359 fi 14376 fi
14360 done 14377 done
14361 14378
14436 } 14453 }
14437 { print } 14454 { print }
14438 _ACAWK 14455 _ACAWK
14439 _ACEOF 14456 _ACEOF
14440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14441 as_fn_error "could not setup config headers machinery" "$LINENO" 5 14458 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14442 fi # test -n "$CONFIG_HEADERS" 14459 fi # test -n "$CONFIG_HEADERS"
14443 14460
14444 14461
14445 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14462 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14446 shift 14463 shift
14449 case $ac_tag in 14466 case $ac_tag in
14450 :[FHLC]) ac_mode=$ac_tag; continue;; 14467 :[FHLC]) ac_mode=$ac_tag; continue;;
14451 esac 14468 esac
14452 case $ac_mode$ac_tag in 14469 case $ac_mode$ac_tag in
14453 :[FHL]*:*);; 14470 :[FHL]*:*);;
14454 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 14471 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14455 :[FH]-) ac_tag=-:-;; 14472 :[FH]-) ac_tag=-:-;;
14456 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14473 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14457 esac 14474 esac
14458 ac_save_IFS=$IFS 14475 ac_save_IFS=$IFS
14459 IFS=: 14476 IFS=:
14477 test -f "$ac_f" || 14494 test -f "$ac_f" ||
14478 case $ac_f in 14495 case $ac_f in
14479 [\\/$]*) false;; 14496 [\\/$]*) false;;
14480 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14497 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14481 esac || 14498 esac ||
14482 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14499 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14483 esac 14500 esac
14484 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14501 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14485 as_fn_append ac_file_inputs " '$ac_f'" 14502 as_fn_append ac_file_inputs " '$ac_f'"
14486 done 14503 done
14487 14504
14504 *) ac_sed_conf_input=$configure_input;; 14521 *) ac_sed_conf_input=$configure_input;;
14505 esac 14522 esac
14506 14523
14507 case $ac_tag in 14524 case $ac_tag in
14508 *:-:* | *:-) cat >"$tmp/stdin" \ 14525 *:-:* | *:-) cat >"$tmp/stdin" \
14509 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 14526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14510 esac 14527 esac
14511 ;; 14528 ;;
14512 esac 14529 esac
14513 14530
14514 ac_dir=`$as_dirname -- "$ac_file" || 14531 ac_dir=`$as_dirname -- "$ac_file" ||
14635 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14652 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14636 s&@INSTALL@&$ac_INSTALL&;t t 14653 s&@INSTALL@&$ac_INSTALL&;t t
14637 $ac_datarootdir_hack 14654 $ac_datarootdir_hack
14638 " 14655 "
14639 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14656 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14640 || as_fn_error "could not create $ac_file" "$LINENO" 5 14657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14641 14658
14642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14659 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14643 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14660 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14644 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14661 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14646 which seems to be undefined. Please make sure it is defined." >&5 14663 which seems to be undefined. Please make sure it is defined" >&5
14647 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14664 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14648 which seems to be undefined. Please make sure it is defined." >&2;} 14665 which seems to be undefined. Please make sure it is defined" >&2;}
14649 14666
14650 rm -f "$tmp/stdin" 14667 rm -f "$tmp/stdin"
14651 case $ac_file in 14668 case $ac_file in
14652 -) cat "$tmp/out" && rm -f "$tmp/out";; 14669 -) cat "$tmp/out" && rm -f "$tmp/out";;
14653 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14670 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14654 esac \ 14671 esac \
14655 || as_fn_error "could not create $ac_file" "$LINENO" 5 14672 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14656 ;; 14673 ;;
14657 :H) 14674 :H)
14658 # 14675 #
14659 # CONFIG_HEADER 14676 # CONFIG_HEADER
14660 # 14677 #
14661 if test x"$ac_file" != x-; then 14678 if test x"$ac_file" != x-; then
14662 { 14679 {
14663 $as_echo "/* $configure_input */" \ 14680 $as_echo "/* $configure_input */" \
14664 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14681 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14665 } >"$tmp/config.h" \ 14682 } >"$tmp/config.h" \
14666 || as_fn_error "could not create $ac_file" "$LINENO" 5 14683 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14667 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14684 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14685 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14669 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14686 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14670 else 14687 else
14671 rm -f "$ac_file" 14688 rm -f "$ac_file"
14672 mv "$tmp/config.h" "$ac_file" \ 14689 mv "$tmp/config.h" "$ac_file" \
14673 || as_fn_error "could not create $ac_file" "$LINENO" 5 14690 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14674 fi 14691 fi
14675 else 14692 else
14676 $as_echo "/* $configure_input */" \ 14693 $as_echo "/* $configure_input */" \
14677 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14694 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14678 || as_fn_error "could not create -" "$LINENO" 5 14695 || as_fn_error $? "could not create -" "$LINENO" 5
14679 fi 14696 fi
14680 ;; 14697 ;;
14681 14698
14682 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14699 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14683 $as_echo "$as_me: executing $ac_file commands" >&6;} 14700 $as_echo "$as_me: executing $ac_file commands" >&6;}
14753 as_fn_exit 0 14770 as_fn_exit 0
14754 _ACEOF 14771 _ACEOF
14755 ac_clean_files=$ac_clean_files_save 14772 ac_clean_files=$ac_clean_files_save
14756 14773
14757 test $ac_write_fail = 0 || 14774 test $ac_write_fail = 0 ||
14758 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 14775 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14759 14776
14760 14777
14761 # configure is writing to config.log, and then calls config.status. 14778 # configure is writing to config.log, and then calls config.status.
14762 # config.status does its own redirection, appending to config.log. 14779 # config.status does its own redirection, appending to config.log.
14763 # Unfortunately, on DOS this fails, as config.log is still kept open 14780 # Unfortunately, on DOS this fails, as config.log is still kept open
14774 exec 5>/dev/null 14791 exec 5>/dev/null
14775 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14792 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14776 exec 5>>config.log 14793 exec 5>>config.log
14777 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14794 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14778 # would make configure fail if this is the last instruction. 14795 # would make configure fail if this is the last instruction.
14779 $ac_cs_success || as_fn_exit $? 14796 $ac_cs_success || as_fn_exit 1
14780 fi 14797 fi
14781 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14798 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14783 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14800 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14784 fi 14801 fi