comparison configure @ 111813:699c16883644

Restore executable bit omitted when undeleting files in revisiton 102573.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 03 Dec 2010 12:32:55 -0500
parents ced73eea562f
children e567154bfaa7
comparison
equal deleted inserted replaced
111812:5e488dbb17f7 111813:699c16883644
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for emacs 24.0.50. 3 # Generated by GNU Autoconf 2.67 for emacs 24.0.50.
4 # 4 #
5 # 5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Inc. 8 # Foundation, Inc.
9 # 9 #
10 # 10 #
11 # This configure script is free software; the Free Software Foundation 11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it. 12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ## 13 ## -------------------- ##
314 } 314 }
315 s/.*/./; q'` 315 s/.*/./; q'`
316 test -d "$as_dir" && break 316 test -d "$as_dir" && break
317 done 317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 320
321 321
322 } # as_fn_mkdir_p 322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE 323 # as_fn_append VAR VALUE
324 # ---------------------- 324 # ----------------------
354 as_val=`expr "$@" || test $? -eq 1` 354 as_val=`expr "$@" || test $? -eq 1`
355 } 355 }
356 fi # as_fn_arith 356 fi # as_fn_arith
357 357
358 358
359 # as_fn_error ERROR [LINENO LOG_FD] 359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # --------------------------------- 360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0. 363 # script with STATUS, using 1 if that was 0.
364 as_fn_error () 364 as_fn_error ()
365 { 365 {
366 as_status=$?; test $as_status -eq 0 && as_status=1 366 as_status=$1; test $as_status -eq 0 && as_status=1
367 if test "$3"; then 367 if test "$4"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 fi 370 fi
371 $as_echo "$as_me: error: $1" >&2 371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status 372 as_fn_exit $as_status
373 } # as_fn_error 373 } # as_fn_error
374 374
375 if expr a : '\(a\)' >/dev/null 2>&1 && 375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
528 528
529 test -n "$DJDIR" || exec 7<&0 </dev/null 529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1 530 exec 6>&1
531 531
532 # Name of the host. 532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too. 534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 536
537 # 537 #
538 # Initializations. 538 # Initializations.
910 ac_prev= 910 ac_prev=
911 continue 911 continue
912 fi 912 fi
913 913
914 case $ac_option in 914 case $ac_option in
915 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 915 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 *) ac_optarg=yes ;; 916 *=) ac_optarg= ;;
917 *) ac_optarg=yes ;;
917 esac 918 esac
918 919
919 # Accept the important Cygnus configure options, so we can diagnose typos. 920 # Accept the important Cygnus configure options, so we can diagnose typos.
920 921
921 case $ac_dashdash$ac_option in 922 case $ac_dashdash$ac_option in
956 957
957 -disable-* | --disable-*) 958 -disable-* | --disable-*)
958 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 959 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
959 # Reject names that are not valid shell variable names. 960 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 as_fn_error "invalid feature name: $ac_useropt" 962 as_fn_error $? "invalid feature name: $ac_useropt"
962 ac_useropt_orig=$ac_useropt 963 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in 965 case $ac_user_opts in
965 *" 966 *"
966 "enable_$ac_useropt" 967 "enable_$ac_useropt"
982 983
983 -enable-* | --enable-*) 984 -enable-* | --enable-*)
984 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 985 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
985 # Reject names that are not valid shell variable names. 986 # Reject names that are not valid shell variable names.
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
987 as_fn_error "invalid feature name: $ac_useropt" 988 as_fn_error $? "invalid feature name: $ac_useropt"
988 ac_useropt_orig=$ac_useropt 989 ac_useropt_orig=$ac_useropt
989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990 case $ac_user_opts in 991 case $ac_user_opts in
991 *" 992 *"
992 "enable_$ac_useropt" 993 "enable_$ac_useropt"
1186 1187
1187 -with-* | --with-*) 1188 -with-* | --with-*)
1188 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1189 # Reject names that are not valid shell variable names. 1190 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191 as_fn_error "invalid package name: $ac_useropt" 1192 as_fn_error $? "invalid package name: $ac_useropt"
1192 ac_useropt_orig=$ac_useropt 1193 ac_useropt_orig=$ac_useropt
1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in 1195 case $ac_user_opts in
1195 *" 1196 *"
1196 "with_$ac_useropt" 1197 "with_$ac_useropt"
1202 1203
1203 -without-* | --without-*) 1204 -without-* | --without-*)
1204 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1205 # Reject names that are not valid shell variable names. 1206 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207 as_fn_error "invalid package name: $ac_useropt" 1208 as_fn_error $? "invalid package name: $ac_useropt"
1208 ac_useropt_orig=$ac_useropt 1209 ac_useropt_orig=$ac_useropt
1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in 1211 case $ac_user_opts in
1211 *" 1212 *"
1212 "with_$ac_useropt" 1213 "with_$ac_useropt"
1232 ac_prev=x_libraries ;; 1233 ac_prev=x_libraries ;;
1233 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1234 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1235 x_libraries=$ac_optarg ;; 1236 x_libraries=$ac_optarg ;;
1236 1237
1237 -*) as_fn_error "unrecognized option: \`$ac_option' 1238 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1238 Try \`$0 --help' for more information." 1239 Try \`$0 --help' for more information"
1239 ;; 1240 ;;
1240 1241
1241 *=*) 1242 *=*)
1242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1243 # Reject names that are not valid shell variable names. 1244 # Reject names that are not valid shell variable names.
1244 case $ac_envvar in #( 1245 case $ac_envvar in #(
1245 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1246 '' | [0-9]* | *[!_$as_cr_alnum]* )
1246 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1247 esac 1248 esac
1248 eval $ac_envvar=\$ac_optarg 1249 eval $ac_envvar=\$ac_optarg
1249 export $ac_envvar ;; 1250 export $ac_envvar ;;
1250 1251
1251 *) 1252 *)
1259 esac 1260 esac
1260 done 1261 done
1261 1262
1262 if test -n "$ac_prev"; then 1263 if test -n "$ac_prev"; then
1263 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1264 as_fn_error "missing argument to $ac_option" 1265 as_fn_error $? "missing argument to $ac_option"
1265 fi 1266 fi
1266 1267
1267 if test -n "$ac_unrecognized_opts"; then 1268 if test -n "$ac_unrecognized_opts"; then
1268 case $enable_option_checking in 1269 case $enable_option_checking in
1269 no) ;; 1270 no) ;;
1270 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 esac 1273 esac
1273 fi 1274 fi
1274 1275
1275 # Check all directory arguments for consistency. 1276 # Check all directory arguments for consistency.
1288 # Be sure to have absolute directory names. 1289 # Be sure to have absolute directory names.
1289 case $ac_val in 1290 case $ac_val in
1290 [\\/$]* | ?:[\\/]* ) continue;; 1291 [\\/$]* | ?:[\\/]* ) continue;;
1291 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292 esac 1293 esac
1293 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1294 done 1295 done
1295 1296
1296 # There might be people who depend on the old broken behavior: `$host' 1297 # There might be people who depend on the old broken behavior: `$host'
1297 # used to hold the argument of --host etc. 1298 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day. 1299 # FIXME: To remove some day.
1302 1303
1303 # FIXME: To remove some day. 1304 # FIXME: To remove some day.
1304 if test "x$host_alias" != x; then 1305 if test "x$host_alias" != x; then
1305 if test "x$build_alias" = x; then 1306 if test "x$build_alias" = x; then
1306 cross_compiling=maybe 1307 cross_compiling=maybe
1307 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1308 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1308 If a cross compiler is detected then cross compile mode will be used." >&2 1309 If a cross compiler is detected then cross compile mode will be used" >&2
1309 elif test "x$build_alias" != "x$host_alias"; then 1310 elif test "x$build_alias" != "x$host_alias"; then
1310 cross_compiling=yes 1311 cross_compiling=yes
1311 fi 1312 fi
1312 fi 1313 fi
1313 1314
1318 1319
1319 1320
1320 ac_pwd=`pwd` && test -n "$ac_pwd" && 1321 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di=`ls -di .` && 1322 ac_ls_di=`ls -di .` &&
1322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1323 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1323 as_fn_error "working directory cannot be determined" 1324 as_fn_error $? "working directory cannot be determined"
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 as_fn_error "pwd does not report name of working directory" 1326 as_fn_error $? "pwd does not report name of working directory"
1326 1327
1327 1328
1328 # Find the source files, if location was not specified. 1329 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then 1330 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted=yes 1331 ac_srcdir_defaulted=yes
1359 else 1360 else
1360 ac_srcdir_defaulted=no 1361 ac_srcdir_defaulted=no
1361 fi 1362 fi
1362 if test ! -r "$srcdir/$ac_unique_file"; then 1363 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1364 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1365 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1365 fi 1366 fi
1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 ac_abs_confdir=`( 1368 ac_abs_confdir=`(
1368 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369 pwd)` 1370 pwd)`
1370 # When building in place, set srcdir=. 1371 # When building in place, set srcdir=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then 1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 srcdir=. 1373 srcdir=.
1373 fi 1374 fi
1403 Configuration: 1404 Configuration:
1404 -h, --help display this help and exit 1405 -h, --help display this help and exit
1405 --help=short display options specific to this package 1406 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages 1407 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit 1408 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking...' messages 1409 -q, --quiet, --silent do not print \`checking ...' messages
1409 --cache-file=FILE cache test results in FILE [disabled] 1410 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache' 1411 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files 1412 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 1414
1622 1623
1623 test -n "$ac_init_help" && exit $ac_status 1624 test -n "$ac_init_help" && exit $ac_status
1624 if $ac_init_version; then 1625 if $ac_init_version; then
1625 cat <<\_ACEOF 1626 cat <<\_ACEOF
1626 emacs configure 24.0.50 1627 emacs configure 24.0.50
1627 generated by GNU Autoconf 2.65 1628 generated by GNU Autoconf 2.67
1628 1629
1629 Copyright (C) 2009 Free Software Foundation, Inc. 1630 Copyright (C) 2010 Free Software Foundation, Inc.
1630 This configure script is free software; the Free Software Foundation 1631 This configure script is free software; the Free Software Foundation
1631 gives unlimited permission to copy, distribute and modify it. 1632 gives unlimited permission to copy, distribute and modify it.
1632 _ACEOF 1633 _ACEOF
1633 exit 1634 exit
1634 fi 1635 fi
1740 grep -v '^ *+' conftest.err >conftest.er1 1741 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5 1742 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err 1743 mv -f conftest.er1 conftest.err
1743 fi 1744 fi
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } >/dev/null && { 1746 test $ac_status = 0; } > conftest.i && {
1746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1747 test ! -s conftest.err 1748 test ! -s conftest.err
1748 }; then : 1749 }; then :
1749 ac_retval=0 1750 ac_retval=0
1750 else 1751 else
1764 # the include files in INCLUDES and setting the cache variable VAR 1765 # the include files in INCLUDES and setting the cache variable VAR
1765 # accordingly. 1766 # accordingly.
1766 ac_fn_c_check_header_mongrel () 1767 ac_fn_c_check_header_mongrel ()
1767 { 1768 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1770 if eval "test \"\${$3+set}\"" = set; then :
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; } 1772 $as_echo_n "checking for $2... " >&6; }
1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1773 if eval "test \"\${$3+set}\"" = set; then :
1773 $as_echo_n "(cached) " >&6 1774 $as_echo_n "(cached) " >&6
1774 fi 1775 fi
1775 eval ac_res=\$$3 1776 eval ac_res=\$$3
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; } 1778 $as_echo "$ac_res" >&6; }
1803 if ac_fn_c_try_cpp "$LINENO"; then : 1804 if ac_fn_c_try_cpp "$LINENO"; then :
1804 ac_header_preproc=yes 1805 ac_header_preproc=yes
1805 else 1806 else
1806 ac_header_preproc=no 1807 ac_header_preproc=no
1807 fi 1808 fi
1808 rm -f conftest.err conftest.$ac_ext 1809 rm -f conftest.err conftest.i conftest.$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1810 $as_echo "$ac_header_preproc" >&6; } 1811 $as_echo "$ac_header_preproc" >&6; }
1811 1812
1812 # So? What about this header? 1813 # So? What about this header?
1813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1831 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1831 ;; 1832 ;;
1832 esac 1833 esac
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; } 1835 $as_echo_n "checking for $2... " >&6; }
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1836 if eval "test \"\${$3+set}\"" = set; then :
1836 $as_echo_n "(cached) " >&6 1837 $as_echo_n "(cached) " >&6
1837 else 1838 else
1838 eval "$3=\$ac_header_compiler" 1839 eval "$3=\$ac_header_compiler"
1839 fi 1840 fi
1840 eval ac_res=\$$3 1841 eval ac_res=\$$3
1894 ac_fn_c_check_header_compile () 1895 ac_fn_c_check_header_compile ()
1895 { 1896 {
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; } 1899 $as_echo_n "checking for $2... " >&6; }
1899 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1900 if eval "test \"\${$3+set}\"" = set; then :
1900 $as_echo_n "(cached) " >&6 1901 $as_echo_n "(cached) " >&6
1901 else 1902 else
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */ 1904 /* end confdefs.h. */
1904 $4 1905 $4
1916 $as_echo "$ac_res" >&6; } 1917 $as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1918 1919
1919 } # ac_fn_c_check_header_compile 1920 } # ac_fn_c_check_header_compile
1920 1921
1921 # ac_fn_c_check_decl LINENO SYMBOL VAR 1922 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1922 # ------------------------------------ 1923 # ---------------------------------------------
1923 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1924 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1925 # accordingly.
1924 ac_fn_c_check_decl () 1926 ac_fn_c_check_decl ()
1925 { 1927 {
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 1929 as_decl_name=`echo $2|sed 's/ *(.*//'`
1928 $as_echo_n "checking whether $2 is declared... " >&6; } 1930 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1929 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1932 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1933 if eval "test \"\${$3+set}\"" = set; then :
1930 $as_echo_n "(cached) " >&6 1934 $as_echo_n "(cached) " >&6
1931 else 1935 else
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */ 1937 /* end confdefs.h. */
1934 $4 1938 $4
1935 int 1939 int
1936 main () 1940 main ()
1937 { 1941 {
1938 #ifndef $2 1942 #ifndef $as_decl_name
1939 (void) $2; 1943 #ifdef __cplusplus
1944 (void) $as_decl_use;
1945 #else
1946 (void) $as_decl_name;
1947 #endif
1940 #endif 1948 #endif
1941 1949
1942 ; 1950 ;
1943 return 0; 1951 return 0;
1944 } 1952 }
1963 ac_fn_c_check_header_preproc () 1971 ac_fn_c_check_header_preproc ()
1964 { 1972 {
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967 $as_echo_n "checking for $2... " >&6; } 1975 $as_echo_n "checking for $2... " >&6; }
1968 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1976 if eval "test \"\${$3+set}\"" = set; then :
1969 $as_echo_n "(cached) " >&6 1977 $as_echo_n "(cached) " >&6
1970 else 1978 else
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */ 1980 /* end confdefs.h. */
1973 #include <$2> 1981 #include <$2>
1975 if ac_fn_c_try_cpp "$LINENO"; then : 1983 if ac_fn_c_try_cpp "$LINENO"; then :
1976 eval "$3=yes" 1984 eval "$3=yes"
1977 else 1985 else
1978 eval "$3=no" 1986 eval "$3=no"
1979 fi 1987 fi
1980 rm -f conftest.err conftest.$ac_ext 1988 rm -f conftest.err conftest.i conftest.$ac_ext
1981 fi 1989 fi
1982 eval ac_res=\$$3 1990 eval ac_res=\$$3
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; } 1992 $as_echo "$ac_res" >&6; }
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1993 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993 ac_fn_c_check_member () 2001 ac_fn_c_check_member ()
1994 { 2002 {
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1997 $as_echo_n "checking for $2.$3... " >&6; } 2005 $as_echo_n "checking for $2.$3... " >&6; }
1998 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 2006 if eval "test \"\${$4+set}\"" = set; then :
1999 $as_echo_n "(cached) " >&6 2007 $as_echo_n "(cached) " >&6
2000 else 2008 else
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */ 2010 /* end confdefs.h. */
2003 $5 2011 $5
2049 ac_fn_c_check_func () 2057 ac_fn_c_check_func ()
2050 { 2058 {
2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; } 2061 $as_echo_n "checking for $2... " >&6; }
2054 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2062 if eval "test \"\${$3+set}\"" = set; then :
2055 $as_echo_n "(cached) " >&6 2063 $as_echo_n "(cached) " >&6
2056 else 2064 else
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */ 2066 /* end confdefs.h. */
2059 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2067 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2117 ac_fn_c_check_type () 2125 ac_fn_c_check_type ()
2118 { 2126 {
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; } 2129 $as_echo_n "checking for $2... " >&6; }
2122 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2130 if eval "test \"\${$3+set}\"" = set; then :
2123 $as_echo_n "(cached) " >&6 2131 $as_echo_n "(cached) " >&6
2124 else 2132 else
2125 eval "$3=no" 2133 eval "$3=no"
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */ 2135 /* end confdefs.h. */
2166 cat >config.log <<_ACEOF 2174 cat >config.log <<_ACEOF
2167 This file contains any messages produced by compilers while 2175 This file contains any messages produced by compilers while
2168 running configure, to aid debugging if configure makes a mistake. 2176 running configure, to aid debugging if configure makes a mistake.
2169 2177
2170 It was created by emacs $as_me 24.0.50, which was 2178 It was created by emacs $as_me 24.0.50, which was
2171 generated by GNU Autoconf 2.65. Invocation command line was 2179 generated by GNU Autoconf 2.67. Invocation command line was
2172 2180
2173 $ $0 $@ 2181 $ $0 $@
2174 2182
2175 _ACEOF 2183 _ACEOF
2176 exec 5>>config.log 2184 exec 5>>config.log
2276 trap 'exit_status=$? 2284 trap 'exit_status=$?
2277 # Save into config.log some information that might help in debugging. 2285 # Save into config.log some information that might help in debugging.
2278 { 2286 {
2279 echo 2287 echo
2280 2288
2281 cat <<\_ASBOX 2289 $as_echo "## ---------------- ##
2282 ## ---------------- ##
2283 ## Cache variables. ## 2290 ## Cache variables. ##
2284 ## ---------------- ## 2291 ## ---------------- ##"
2285 _ASBOX
2286 echo 2292 echo
2287 # The following way of writing the cache mishandles newlines in values, 2293 # The following way of writing the cache mishandles newlines in values,
2288 ( 2294 (
2289 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2295 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2290 eval ac_val=\$$ac_var 2296 eval ac_val=\$$ac_var
2314 esac | 2320 esac |
2315 sort 2321 sort
2316 ) 2322 )
2317 echo 2323 echo
2318 2324
2319 cat <<\_ASBOX 2325 $as_echo "## ----------------- ##
2320 ## ----------------- ##
2321 ## Output variables. ## 2326 ## Output variables. ##
2322 ## ----------------- ## 2327 ## ----------------- ##"
2323 _ASBOX
2324 echo 2328 echo
2325 for ac_var in $ac_subst_vars 2329 for ac_var in $ac_subst_vars
2326 do 2330 do
2327 eval ac_val=\$$ac_var 2331 eval ac_val=\$$ac_var
2328 case $ac_val in 2332 case $ac_val in
2331 $as_echo "$ac_var='\''$ac_val'\''" 2335 $as_echo "$ac_var='\''$ac_val'\''"
2332 done | sort 2336 done | sort
2333 echo 2337 echo
2334 2338
2335 if test -n "$ac_subst_files"; then 2339 if test -n "$ac_subst_files"; then
2336 cat <<\_ASBOX 2340 $as_echo "## ------------------- ##
2337 ## ------------------- ##
2338 ## File substitutions. ## 2341 ## File substitutions. ##
2339 ## ------------------- ## 2342 ## ------------------- ##"
2340 _ASBOX
2341 echo 2343 echo
2342 for ac_var in $ac_subst_files 2344 for ac_var in $ac_subst_files
2343 do 2345 do
2344 eval ac_val=\$$ac_var 2346 eval ac_val=\$$ac_var
2345 case $ac_val in 2347 case $ac_val in
2349 done | sort 2351 done | sort
2350 echo 2352 echo
2351 fi 2353 fi
2352 2354
2353 if test -s confdefs.h; then 2355 if test -s confdefs.h; then
2354 cat <<\_ASBOX 2356 $as_echo "## ----------- ##
2355 ## ----------- ##
2356 ## confdefs.h. ## 2357 ## confdefs.h. ##
2357 ## ----------- ## 2358 ## ----------- ##"
2358 _ASBOX
2359 echo 2359 echo
2360 cat confdefs.h 2360 cat confdefs.h
2361 echo 2361 echo
2362 fi 2362 fi
2363 test "$ac_signal" != 0 && 2363 test "$ac_signal" != 0 &&
2408 # Let the site file select an alternate cache file if it wants to. 2408 # Let the site file select an alternate cache file if it wants to.
2409 # Prefer an explicitly selected file to automatically selected ones. 2409 # Prefer an explicitly selected file to automatically selected ones.
2410 ac_site_file1=NONE 2410 ac_site_file1=NONE
2411 ac_site_file2=NONE 2411 ac_site_file2=NONE
2412 if test -n "$CONFIG_SITE"; then 2412 if test -n "$CONFIG_SITE"; then
2413 ac_site_file1=$CONFIG_SITE 2413 # We do not want a PATH search for config.site.
2414 case $CONFIG_SITE in #((
2415 -*) ac_site_file1=./$CONFIG_SITE;;
2416 */*) ac_site_file1=$CONFIG_SITE;;
2417 *) ac_site_file1=./$CONFIG_SITE;;
2418 esac
2414 elif test "x$prefix" != xNONE; then 2419 elif test "x$prefix" != xNONE; then
2415 ac_site_file1=$prefix/share/config.site 2420 ac_site_file1=$prefix/share/config.site
2416 ac_site_file2=$prefix/etc/config.site 2421 ac_site_file2=$prefix/etc/config.site
2417 else 2422 else
2418 ac_site_file1=$ac_default_prefix/share/config.site 2423 ac_site_file1=$ac_default_prefix/share/config.site
2423 test "x$ac_site_file" = xNONE && continue 2428 test "x$ac_site_file" = xNONE && continue
2424 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2429 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2426 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2431 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2427 sed 's/^/| /' "$ac_site_file" >&5 2432 sed 's/^/| /' "$ac_site_file" >&5
2428 . "$ac_site_file" 2433 . "$ac_site_file" \
2434 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2436 as_fn_error $? "failed to load site script $ac_site_file
2437 See \`config.log' for more details" "$LINENO" 5; }
2429 fi 2438 fi
2430 done 2439 done
2431 2440
2432 if test -r "$cache_file"; then 2441 if test -r "$cache_file"; then
2433 # Some versions of bash will fail to source /dev/null (special files 2442 # Some versions of bash will fail to source /dev/null (special files
2504 if $ac_cache_corrupted; then 2513 if $ac_cache_corrupted; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2508 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2517 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2509 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2518 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2510 fi 2519 fi
2511 ## -------------------- ## 2520 ## -------------------- ##
2512 ## Main body of script. ## 2521 ## Main body of script. ##
2513 ## -------------------- ## 2522 ## -------------------- ##
2514 2523
2678 a | at | ath | athe | athen | athena ) val=athena ;; 2687 a | at | ath | athe | athen | athena ) val=athena ;;
2679 m | mo | mot | moti | motif ) val=motif ;; 2688 m | mo | mot | moti | motif ) val=motif ;;
2680 g | gt | gtk ) val=gtk ;; 2689 g | gt | gtk ) val=gtk ;;
2681 gtk3 ) val=gtk3 ;; 2690 gtk3 ) val=gtk3 ;;
2682 * ) 2691 * )
2683 as_fn_error "\`--with-x-toolkit=$withval' is invalid; 2692 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid;
2684 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or 2693 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or
2685 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 2694 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5
2686 ;; 2695 ;;
2687 esac 2696 esac
2688 with_x_toolkit=$val 2697 with_x_toolkit=$val
2981 stringbytes) ac_gc_check_stringbytes=1 ;; 2990 stringbytes) ac_gc_check_stringbytes=1 ;;
2982 stringoverrun) ac_gc_check_string_overrun=1 ;; 2991 stringoverrun) ac_gc_check_string_overrun=1 ;;
2983 stringfreelist) ac_gc_check_string_free_list=1 ;; 2992 stringfreelist) ac_gc_check_string_free_list=1 ;;
2984 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2993 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2985 conslist) ac_gc_check_cons_list=1 ;; 2994 conslist) ac_gc_check_cons_list=1 ;;
2986 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; 2995 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;;
2987 esac 2996 esac
2988 done 2997 done
2989 IFS="$ac_save_IFS" 2998 IFS="$ac_save_IFS"
2990 2999
2991 if test x$ac_enable_checking != x ; then 3000 if test x$ac_enable_checking != x ; then
3096 3105
3097 ### Canonicalize the configuration name. 3106 ### Canonicalize the configuration name.
3098 3107
3099 ac_aux_dir= 3108 ac_aux_dir=
3100 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3109 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3101 for ac_t in install-sh install.sh shtool; do 3110 if test -f "$ac_dir/install-sh"; then
3102 if test -f "$ac_dir/$ac_t"; then 3111 ac_aux_dir=$ac_dir
3103 ac_aux_dir=$ac_dir 3112 ac_install_sh="$ac_aux_dir/install-sh -c"
3104 ac_install_sh="$ac_aux_dir/$ac_t -c" 3113 break
3105 break 2 3114 elif test -f "$ac_dir/install.sh"; then
3106 fi 3115 ac_aux_dir=$ac_dir
3107 done 3116 ac_install_sh="$ac_aux_dir/install.sh -c"
3117 break
3118 elif test -f "$ac_dir/shtool"; then
3119 ac_aux_dir=$ac_dir
3120 ac_install_sh="$ac_aux_dir/shtool install -c"
3121 break
3122 fi
3108 done 3123 done
3109 if test -z "$ac_aux_dir"; then 3124 if test -z "$ac_aux_dir"; then
3110 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3125 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3111 fi 3126 fi
3112 3127
3113 # These three variables are undocumented and unsupported, 3128 # These three variables are undocumented and unsupported,
3114 # and are intended to be withdrawn in a future Autoconf release. 3129 # and are intended to be withdrawn in a future Autoconf release.
3115 # They can cause serious problems if a builder's source tree is in a directory 3130 # They can cause serious problems if a builder's source tree is in a directory
3119 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3134 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3120 3135
3121 3136
3122 # Make sure we can run config.sub. 3137 # Make sure we can run config.sub.
3123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3138 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3124 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3139 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3125 3140
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3127 $as_echo_n "checking build system type... " >&6; } 3142 $as_echo_n "checking build system type... " >&6; }
3128 if test "${ac_cv_build+set}" = set; then : 3143 if test "${ac_cv_build+set}" = set; then :
3129 $as_echo_n "(cached) " >&6 3144 $as_echo_n "(cached) " >&6
3130 else 3145 else
3131 ac_build_alias=$build_alias 3146 ac_build_alias=$build_alias
3132 test "x$ac_build_alias" = x && 3147 test "x$ac_build_alias" = x &&
3133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3148 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3134 test "x$ac_build_alias" = x && 3149 test "x$ac_build_alias" = x &&
3135 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3150 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3136 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3151 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3152 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3138 3153
3139 fi 3154 fi
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3141 $as_echo "$ac_cv_build" >&6; } 3156 $as_echo "$ac_cv_build" >&6; }
3142 case $ac_cv_build in 3157 case $ac_cv_build in
3143 *-*-*) ;; 3158 *-*-*) ;;
3144 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3159 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3145 esac 3160 esac
3146 build=$ac_cv_build 3161 build=$ac_cv_build
3147 ac_save_IFS=$IFS; IFS='-' 3162 ac_save_IFS=$IFS; IFS='-'
3148 set x $ac_cv_build 3163 set x $ac_cv_build
3149 shift 3164 shift
3164 else 3179 else
3165 if test "x$host_alias" = x; then 3180 if test "x$host_alias" = x; then
3166 ac_cv_host=$ac_cv_build 3181 ac_cv_host=$ac_cv_build
3167 else 3182 else
3168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3183 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3169 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3184 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3170 fi 3185 fi
3171 3186
3172 fi 3187 fi
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3174 $as_echo "$ac_cv_host" >&6; } 3189 $as_echo "$ac_cv_host" >&6; }
3175 case $ac_cv_host in 3190 case $ac_cv_host in
3176 *-*-*) ;; 3191 *-*-*) ;;
3177 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3192 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3178 esac 3193 esac
3179 host=$ac_cv_host 3194 host=$ac_cv_host
3180 ac_save_IFS=$IFS; IFS='-' 3195 ac_save_IFS=$IFS; IFS='-'
3181 set x $ac_cv_host 3196 set x $ac_cv_host
3182 shift 3197 shift
3466 fi 3481 fi
3467 3482
3468 3483
3469 3484
3470 if test $unported = yes; then 3485 if test $unported = yes; then
3471 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. 3486 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems.
3472 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 3487 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5
3473 fi 3488 fi
3474 3489
3475 machfile="m/${machine}.h" 3490 machfile="m/${machine}.h"
3476 opsysfile="s/${opsys}.h" 3491 opsysfile="s/${opsys}.h"
3780 fi 3795 fi
3781 3796
3782 3797
3783 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3798 test -z "$CC" && { { $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_error "no acceptable C compiler found in \$PATH 3800 as_fn_error $? "no acceptable C compiler found in \$PATH
3786 See \`config.log' for more details." "$LINENO" 5; } 3801 See \`config.log' for more details" "$LINENO" 5; }
3787 3802
3788 # Provide some information about the compiler. 3803 # Provide some information about the compiler.
3789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3804 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3790 set X $ac_compile 3805 set X $ac_compile
3791 ac_compiler=$2 3806 ac_compiler=$2
3895 $as_echo "$as_me: failed program was:" >&5 3910 $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5 3911 sed 's/^/| /' conftest.$ac_ext >&5
3897 3912
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 { as_fn_set_status 77 3915 as_fn_error 77 "C compiler cannot create executables
3901 as_fn_error "C compiler cannot create executables 3916 See \`config.log' for more details" "$LINENO" 5; }
3902 See \`config.log' for more details." "$LINENO" 5; }; }
3903 else 3917 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3905 $as_echo "yes" >&6; } 3919 $as_echo "yes" >&6; }
3906 fi 3920 fi
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3939 esac 3953 esac
3940 done 3954 done
3941 else 3955 else
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 as_fn_error "cannot compute suffix of executables: cannot compile and link 3958 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3945 See \`config.log' for more details." "$LINENO" 5; } 3959 See \`config.log' for more details" "$LINENO" 5; }
3946 fi 3960 fi
3947 rm -f conftest conftest$ac_cv_exeext 3961 rm -f conftest conftest$ac_cv_exeext
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3949 $as_echo "$ac_cv_exeext" >&6; } 3963 $as_echo "$ac_cv_exeext" >&6; }
3950 3964
3997 if test "$cross_compiling" = maybe; then 4011 if test "$cross_compiling" = maybe; then
3998 cross_compiling=yes 4012 cross_compiling=yes
3999 else 4013 else
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error "cannot run C compiled programs. 4016 as_fn_error $? "cannot run C compiled programs.
4003 If you meant to cross compile, use \`--host'. 4017 If you meant to cross compile, use \`--host'.
4004 See \`config.log' for more details." "$LINENO" 5; } 4018 See \`config.log' for more details" "$LINENO" 5; }
4005 fi 4019 fi
4006 fi 4020 fi
4007 fi 4021 fi
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4009 $as_echo "$cross_compiling" >&6; } 4023 $as_echo "$cross_compiling" >&6; }
4050 $as_echo "$as_me: failed program was:" >&5 4064 $as_echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5 4065 sed 's/^/| /' conftest.$ac_ext >&5
4052 4066
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot compute suffix of object files: cannot compile 4069 as_fn_error $? "cannot compute suffix of object files: cannot compile
4056 See \`config.log' for more details." "$LINENO" 5; } 4070 See \`config.log' for more details" "$LINENO" 5; }
4057 fi 4071 fi
4058 rm -f conftest.$ac_cv_objext conftest.$ac_ext 4072 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4059 fi 4073 fi
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4061 $as_echo "$ac_cv_objext" >&6; } 4075 $as_echo "$ac_cv_objext" >&6; }
4383 4397
4384 else 4398 else
4385 # Broken: fails on valid input. 4399 # Broken: fails on valid input.
4386 continue 4400 continue
4387 fi 4401 fi
4388 rm -f conftest.err conftest.$ac_ext 4402 rm -f conftest.err conftest.i conftest.$ac_ext
4389 4403
4390 # OK, works on sane cases. Now check whether nonexistent headers 4404 # OK, works on sane cases. Now check whether nonexistent headers
4391 # can be detected and how. 4405 # can be detected and how.
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */ 4407 /* end confdefs.h. */
4399 else 4413 else
4400 # Passes both tests. 4414 # Passes both tests.
4401 ac_preproc_ok=: 4415 ac_preproc_ok=:
4402 break 4416 break
4403 fi 4417 fi
4404 rm -f conftest.err conftest.$ac_ext 4418 rm -f conftest.err conftest.i conftest.$ac_ext
4405 4419
4406 done 4420 done
4407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4408 rm -f conftest.err conftest.$ac_ext 4422 rm -f conftest.i conftest.err conftest.$ac_ext
4409 if $ac_preproc_ok; then : 4423 if $ac_preproc_ok; then :
4410 break 4424 break
4411 fi 4425 fi
4412 4426
4413 done 4427 done
4442 4456
4443 else 4457 else
4444 # Broken: fails on valid input. 4458 # Broken: fails on valid input.
4445 continue 4459 continue
4446 fi 4460 fi
4447 rm -f conftest.err conftest.$ac_ext 4461 rm -f conftest.err conftest.i conftest.$ac_ext
4448 4462
4449 # OK, works on sane cases. Now check whether nonexistent headers 4463 # OK, works on sane cases. Now check whether nonexistent headers
4450 # can be detected and how. 4464 # can be detected and how.
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */ 4466 /* end confdefs.h. */
4458 else 4472 else
4459 # Passes both tests. 4473 # Passes both tests.
4460 ac_preproc_ok=: 4474 ac_preproc_ok=:
4461 break 4475 break
4462 fi 4476 fi
4463 rm -f conftest.err conftest.$ac_ext 4477 rm -f conftest.err conftest.i conftest.$ac_ext
4464 4478
4465 done 4479 done
4466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4467 rm -f conftest.err conftest.$ac_ext 4481 rm -f conftest.i conftest.err conftest.$ac_ext
4468 if $ac_preproc_ok; then : 4482 if $ac_preproc_ok; then :
4469 4483
4470 else 4484 else
4471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4473 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4487 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4474 See \`config.log' for more details." "$LINENO" 5; } 4488 See \`config.log' for more details" "$LINENO" 5; }
4475 fi 4489 fi
4476 4490
4477 ac_ext=c 4491 ac_ext=c
4478 ac_cpp='$CPP $CPPFLAGS' 4492 ac_cpp='$CPP $CPPFLAGS'
4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530 done 4544 done
4531 done 4545 done
4532 done 4546 done
4533 IFS=$as_save_IFS 4547 IFS=$as_save_IFS
4534 if test -z "$ac_cv_path_GREP"; then 4548 if test -z "$ac_cv_path_GREP"; then
4535 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4549 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4536 fi 4550 fi
4537 else 4551 else
4538 ac_cv_path_GREP=$GREP 4552 ac_cv_path_GREP=$GREP
4539 fi 4553 fi
4540 4554
4596 done 4610 done
4597 done 4611 done
4598 done 4612 done
4599 IFS=$as_save_IFS 4613 IFS=$as_save_IFS
4600 if test -z "$ac_cv_path_EGREP"; then 4614 if test -z "$ac_cv_path_EGREP"; then
4601 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4615 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602 fi 4616 fi
4603 else 4617 else
4604 ac_cv_path_EGREP=$EGREP 4618 ac_cv_path_EGREP=$EGREP
4605 fi 4619 fi
4606 4620
4728 inttypes.h stdint.h unistd.h 4742 inttypes.h stdint.h unistd.h
4729 do : 4743 do :
4730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4745 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4732 " 4746 "
4733 eval as_val=\$$as_ac_Header 4747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4734 if test "x$as_val" = x""yes; then :
4735 cat >>confdefs.h <<_ACEOF 4748 cat >>confdefs.h <<_ACEOF
4736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4737 _ACEOF 4750 _ACEOF
4738 4751
4739 fi 4752 fi
4973 4986
4974 else 4987 else
4975 # Broken: fails on valid input. 4988 # Broken: fails on valid input.
4976 continue 4989 continue
4977 fi 4990 fi
4978 rm -f conftest.err conftest.$ac_ext 4991 rm -f conftest.err conftest.i conftest.$ac_ext
4979 4992
4980 # OK, works on sane cases. Now check whether nonexistent headers 4993 # OK, works on sane cases. Now check whether nonexistent headers
4981 # can be detected and how. 4994 # can be detected and how.
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */ 4996 /* end confdefs.h. */
4989 else 5002 else
4990 # Passes both tests. 5003 # Passes both tests.
4991 ac_preproc_ok=: 5004 ac_preproc_ok=:
4992 break 5005 break
4993 fi 5006 fi
4994 rm -f conftest.err conftest.$ac_ext 5007 rm -f conftest.err conftest.i conftest.$ac_ext
4995 5008
4996 done 5009 done
4997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4998 rm -f conftest.err conftest.$ac_ext 5011 rm -f conftest.i conftest.err conftest.$ac_ext
4999 if $ac_preproc_ok; then : 5012 if $ac_preproc_ok; then :
5000 break 5013 break
5001 fi 5014 fi
5002 5015
5003 done 5016 done
5032 5045
5033 else 5046 else
5034 # Broken: fails on valid input. 5047 # Broken: fails on valid input.
5035 continue 5048 continue
5036 fi 5049 fi
5037 rm -f conftest.err conftest.$ac_ext 5050 rm -f conftest.err conftest.i conftest.$ac_ext
5038 5051
5039 # OK, works on sane cases. Now check whether nonexistent headers 5052 # OK, works on sane cases. Now check whether nonexistent headers
5040 # can be detected and how. 5053 # can be detected and how.
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */ 5055 /* end confdefs.h. */
5048 else 5061 else
5049 # Passes both tests. 5062 # Passes both tests.
5050 ac_preproc_ok=: 5063 ac_preproc_ok=:
5051 break 5064 break
5052 fi 5065 fi
5053 rm -f conftest.err conftest.$ac_ext 5066 rm -f conftest.err conftest.i conftest.$ac_ext
5054 5067
5055 done 5068 done
5056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5057 rm -f conftest.err conftest.$ac_ext 5070 rm -f conftest.i conftest.err conftest.$ac_ext
5058 if $ac_preproc_ok; then : 5071 if $ac_preproc_ok; then :
5059 5072
5060 else 5073 else
5061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5063 as_fn_error "C preprocessor \"$CPP\" fails sanity check 5076 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5064 See \`config.log' for more details." "$LINENO" 5; } 5077 See \`config.log' for more details" "$LINENO" 5; }
5065 fi 5078 fi
5066 5079
5067 ac_ext=c 5080 ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS' 5081 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5496 ## with pre-built manuals, from a Bazaar checkout. 5509 ## with pre-built manuals, from a Bazaar checkout.
5497 if test "$MAKEINFO" = "no"; then 5510 if test "$MAKEINFO" = "no"; then
5498 if test "x${with_makeinfo}" = "xno"; then 5511 if test "x${with_makeinfo}" = "xno"; then
5499 MAKEINFO=off 5512 MAKEINFO=off
5500 elif test ! -e $srcdir/info/emacs; then 5513 elif test ! -e $srcdir/info/emacs; then
5501 as_fn_error "You do not seem to have makeinfo >= 4.6, and your 5514 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your
5502 source tree does not seem to have pre-built manuals in the \`info' directory. 5515 source tree does not seem to have pre-built manuals in the \`info' directory.
5503 Either install a suitable version of makeinfo, or re-run configure 5516 Either install a suitable version of makeinfo, or re-run configure
5504 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 5517 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5
5505 fi 5518 fi
5506 fi 5519 fi
5655 ## GNU libc, __malloc_initialized would normally be resolved to the 5668 ## GNU libc, __malloc_initialized would normally be resolved to the
5656 ## shared library's .bss section, which is fatal. 5669 ## shared library's .bss section, which is fatal.
5657 if test "x$GCC" = "xyes"; then 5670 if test "x$GCC" = "xyes"; then
5658 C_SWITCH_MACHINE="-fno-common" 5671 C_SWITCH_MACHINE="-fno-common"
5659 else 5672 else
5660 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 5673 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5
5661 fi 5674 fi
5662 else 5675 else
5663 UNEXEC_OBJ=unexalpha.o 5676 UNEXEC_OBJ=unexalpha.o
5664 fi 5677 fi
5665 fi 5678 fi
5933 else 5946 else
5934 5947
5935 ## Some platforms don't use any of these files, so it is not 5948 ## Some platforms don't use any of these files, so it is not
5936 ## appropriate to put this test outside the if block. 5949 ## appropriate to put this test outside the if block.
5937 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ 5950 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \
5938 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 5951 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5
5939 5952
5940 fi 5953 fi
5941 5954
5942 5955
5943 5956
5988 # Sound support for GNU/Linux and the free BSDs. 6001 # Sound support for GNU/Linux and the free BSDs.
5989 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 6002 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5990 do : 6003 do :
5991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6005 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5993 eval as_val=\$$as_ac_Header 6006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5994 if test "x$as_val" = x""yes; then :
5995 cat >>confdefs.h <<_ACEOF 6007 cat >>confdefs.h <<_ACEOF
5996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5997 _ACEOF 6009 _ACEOF
5998 have_sound_header=yes 6010 have_sound_header=yes
5999 fi 6011 fi
6180 else 6192 else
6181 emacs_alsa_subdir=no 6193 emacs_alsa_subdir=no
6182 fi 6194 fi
6183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184 if test "$emacs_alsa_subdir" != yes; then 6196 if test "$emacs_alsa_subdir" != yes; then
6185 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 6197 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5
6186 fi 6198 fi
6187 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6199 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6188 fi 6200 fi
6189 6201
6190 CFLAGS="$SAVE_CFLAGS" 6202 CFLAGS="$SAVE_CFLAGS"
6215 sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6227 sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6216 sys/utsname.h pwd.h utmp.h dirent.h util.h 6228 sys/utsname.h pwd.h utmp.h dirent.h util.h
6217 do : 6229 do :
6218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6219 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6231 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6220 eval as_val=\$$as_ac_Header 6232 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6221 if test "x$as_val" = x""yes; then :
6222 cat >>confdefs.h <<_ACEOF 6233 cat >>confdefs.h <<_ACEOF
6223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6224 _ACEOF 6235 _ACEOF
6225 6236
6226 fi 6237 fi
7271 7282
7272 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 7283 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7273 7284
7274 ;; #( 7285 ;; #(
7275 *) 7286 *)
7276 as_fn_error "unknown endianness 7287 as_fn_error $? "unknown endianness
7277 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 7288 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
7278 esac 7289 esac
7279 7290
7280 7291
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7282 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 7293 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7283 set x ${MAKE-make} 7294 set x ${MAKE-make}
7284 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 7295 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7285 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 7296 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
7286 $as_echo_n "(cached) " >&6 7297 $as_echo_n "(cached) " >&6
7287 else 7298 else
7288 cat >conftest.make <<\_ACEOF 7299 cat >conftest.make <<\_ACEOF
7289 SHELL = /bin/sh 7300 SHELL = /bin/sh
7290 all: 7301 all:
7291 @echo '@@@%%%=$(MAKE)=@@@%%%' 7302 @echo '@@@%%%=$(MAKE)=@@@%%%'
7292 _ACEOF 7303 _ACEOF
7293 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7304 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7294 case `${MAKE-make} -f conftest.make 2>/dev/null` in 7305 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7295 *@@@%%%=?*=@@@%%%*) 7306 *@@@%%%=?*=@@@%%%*)
7296 eval ac_cv_prog_make_${ac_make}_set=yes;; 7307 eval ac_cv_prog_make_${ac_make}_set=yes;;
7297 *) 7308 *)
7298 eval ac_cv_prog_make_${ac_make}_set=no;; 7309 eval ac_cv_prog_make_${ac_make}_set=no;;
7424 if test "x$with_x" = xno; then 7435 if test "x$with_x" = xno; then
7425 # The user explicitly disabled X. 7436 # The user explicitly disabled X.
7426 have_x=disabled 7437 have_x=disabled
7427 else 7438 else
7428 case $x_includes,$x_libraries in #( 7439 case $x_includes,$x_libraries in #(
7429 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 7440 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7430 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 7441 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
7431 $as_echo_n "(cached) " >&6 7442 $as_echo_n "(cached) " >&6
7432 else 7443 else
7433 # One or both of the vars are not set, and there is no cached value. 7444 # One or both of the vars are not set, and there is no cached value.
7434 ac_x_includes=no ac_x_libraries=no 7445 ac_x_includes=no ac_x_libraries=no
7442 @echo usrlibdir='${USRLIBDIR}' 7453 @echo usrlibdir='${USRLIBDIR}'
7443 libdir: 7454 libdir:
7444 @echo libdir='${LIBDIR}' 7455 @echo libdir='${LIBDIR}'
7445 _ACEOF 7456 _ACEOF
7446 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 7457 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7447 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 7458 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7448 for ac_var in incroot usrlibdir libdir; do 7459 for ac_var in incroot usrlibdir libdir; do
7449 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 7460 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7450 done 7461 done
7451 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 7462 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7452 for ac_extension in a so sl dylib la dll; do 7463 for ac_extension in a so sl dylib la dll; do
7528 ac_x_includes=$ac_dir 7539 ac_x_includes=$ac_dir
7529 break 7540 break
7530 fi 7541 fi
7531 done 7542 done
7532 fi 7543 fi
7533 rm -f conftest.err conftest.$ac_ext 7544 rm -f conftest.err conftest.i conftest.$ac_ext
7534 fi # $ac_x_includes = no 7545 fi # $ac_x_includes = no
7535 7546
7536 if test "$ac_x_libraries" = no; then 7547 if test "$ac_x_libraries" = no; then
7537 # Check for the libraries. 7548 # Check for the libraries.
7538 # See if we find them without any special options. 7549 # See if we find them without any special options.
7711 fi 7722 fi
7712 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 7723 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default"
7713 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : 7724 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then :
7714 HAVE_NS=yes 7725 HAVE_NS=yes
7715 else 7726 else
7716 as_fn_error "\`--with-ns' was specified, but the include 7727 as_fn_error $? "\`--with-ns' was specified, but the include
7717 files are missing or cannot be compiled." "$LINENO" 5 7728 files are missing or cannot be compiled." "$LINENO" 5
7718 fi 7729 fi
7719 7730
7720 7731
7721 NS_HAVE_NSINTEGER=yes 7732 NS_HAVE_NSINTEGER=yes
7827 7838
7828 7839
7829 if test "$HAVE_XSERVER" = true || 7840 if test "$HAVE_XSERVER" = true ||
7830 test -n "$DISPLAY" || 7841 test -n "$DISPLAY" ||
7831 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 7842 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
7832 as_fn_error "You seem to be running X, but no X development libraries 7843 as_fn_error $? "You seem to be running X, but no X development libraries
7833 were found. You should install the relevant development files for X 7844 were found. You should install the relevant development files for X
7834 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 7845 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
7835 sure you have development files for image handling, i.e. 7846 sure you have development files for image handling, i.e.
7836 tiff, gif, jpeg, png and xpm. 7847 tiff, gif, jpeg, png and xpm.
7837 If you are sure you want Emacs compiled without X window support, pass 7848 If you are sure you want Emacs compiled without X window support, pass
7950 for ac_header in $ac_header_list 7961 for ac_header in $ac_header_list
7951 do : 7962 do :
7952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7963 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7953 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7964 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7954 " 7965 "
7955 eval as_val=\$$as_ac_Header 7966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7956 if test "x$as_val" = x""yes; then :
7957 cat >>confdefs.h <<_ACEOF 7967 cat >>confdefs.h <<_ACEOF
7958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7959 _ACEOF 7969 _ACEOF
7960 7970
7961 fi 7971 fi
8057 8067
8058 int 8068 int
8059 main () 8069 main ()
8060 { 8070 {
8061 char *data, *data2, *data3; 8071 char *data, *data2, *data3;
8072 const char *cdata2;
8062 int i, pagesize; 8073 int i, pagesize;
8063 int fd, fd2; 8074 int fd, fd2;
8064 8075
8065 pagesize = getpagesize (); 8076 pagesize = getpagesize ();
8066 8077
8081 /* Next, check that the tail of a page is zero-filled. File must have 8092 /* Next, check that the tail of a page is zero-filled. File must have
8082 non-zero length, otherwise we risk SIGBUS for entire page. */ 8093 non-zero length, otherwise we risk SIGBUS for entire page. */
8083 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); 8094 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
8084 if (fd2 < 0) 8095 if (fd2 < 0)
8085 return 4; 8096 return 4;
8086 data2 = ""; 8097 cdata2 = "";
8087 if (write (fd2, data2, 1) != 1) 8098 if (write (fd2, cdata2, 1) != 1)
8088 return 5; 8099 return 5;
8089 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); 8100 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
8090 if (data2 == MAP_FAILED) 8101 if (data2 == MAP_FAILED)
8091 return 6; 8102 return 6;
8092 for (i = 0; i < pagesize; ++i) 8103 for (i = 0; i < pagesize; ++i)
8093 if (*(data2 + i)) 8104 if (*(data2 + i))
8094 return 7; 8105 return 7;
8457 for ac_func in XrmSetDatabase XScreenResourceString \ 8468 for ac_func in XrmSetDatabase XScreenResourceString \
8458 XScreenNumberOfScreen XSetWMProtocols 8469 XScreenNumberOfScreen XSetWMProtocols
8459 do : 8470 do :
8460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 8471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 8472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8462 eval as_val=\$$as_ac_var 8473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8463 if test "x$as_val" = x""yes; then :
8464 cat >>confdefs.h <<_ACEOF 8474 cat >>confdefs.h <<_ACEOF
8465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 8475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8466 _ACEOF 8476 _ACEOF
8467 8477
8468 fi 8478 fi
8860 else 8870 else
8861 pkg_check_gtk=no 8871 pkg_check_gtk=no
8862 fi 8872 fi
8863 8873
8864 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8874 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8865 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8875 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8866 fi 8876 fi
8867 fi 8877 fi
8868 8878
8869 if test "$pkg_check_gtk" != "yes"; then 8879 if test "$pkg_check_gtk" != "yes"; then
8870 HAVE_GTK=no 8880 HAVE_GTK=no
8966 else 8976 else
8967 pkg_check_gtk=no 8977 pkg_check_gtk=no
8968 fi 8978 fi
8969 8979
8970 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 8980 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
8971 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 8981 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5
8972 fi 8982 fi
8973 fi 8983 fi
8974 fi 8984 fi
8975 8985
8976 GTK_OBJ= 8986 GTK_OBJ=
8993 fi 9003 fi
8994 done 9004 done
8995 9005
8996 if test "${GTK_COMPILES}" != "yes"; then 9006 if test "${GTK_COMPILES}" != "yes"; then
8997 if test "$USE_X_TOOLKIT" != "maybe"; then 9007 if test "$USE_X_TOOLKIT" != "maybe"; then
8998 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; 9008 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5;
8999 fi 9009 fi
9000 else 9010 else
9001 HAVE_GTK=yes 9011 HAVE_GTK=yes
9002 9012
9003 $as_echo "#define USE_GTK 1" >>confdefs.h 9013 $as_echo "#define USE_GTK 1" >>confdefs.h
9123 gtk_widget_get_mapped gtk_adjustment_get_page_size \ 9133 gtk_widget_get_mapped gtk_adjustment_get_page_size \
9124 gtk_orientable_set_orientation 9134 gtk_orientable_set_orientation
9125 do : 9135 do :
9126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9128 eval as_val=\$$as_ac_var 9138 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9129 if test "x$as_val" = x""yes; then :
9130 cat >>confdefs.h <<_ACEOF 9139 cat >>confdefs.h <<_ACEOF
9131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9132 _ACEOF 9141 _ACEOF
9133 9142
9134 fi 9143 fi
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5
9606 $as_echo "yes; using Lucid toolkit" >&6; } 9615 $as_echo "yes; using Lucid toolkit" >&6; }
9607 USE_X_TOOLKIT=LUCID 9616 USE_X_TOOLKIT=LUCID
9608 LUCID_LIBW=-lXaw 9617 LUCID_LIBW=-lXaw
9609 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 9618 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
9610 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 9619 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5
9611 else 9620 else
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5
9613 $as_echo "no; do not use toolkit by default" >&6; } 9622 $as_echo "no; do not use toolkit by default" >&6; }
9614 USE_X_TOOLKIT=none 9623 USE_X_TOOLKIT=none
9615 fi 9624 fi
10782 # in /usr/include/libpng. 10791 # in /usr/include/libpng.
10783 for ac_header in png.h libpng/png.h 10792 for ac_header in png.h libpng/png.h
10784 do : 10793 do :
10785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10794 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10786 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10795 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10787 eval as_val=\$$as_ac_Header 10796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10788 if test "x$as_val" = x""yes; then :
10789 cat >>confdefs.h <<_ACEOF 10797 cat >>confdefs.h <<_ACEOF
10790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10791 _ACEOF 10799 _ACEOF
10792 10800
10793 fi 10801 fi
11035 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" 11043 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
11036 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && 11044 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
11037 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 11045 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
11038 11046
11039 if test "X${MISSING}" != X; then 11047 if test "X${MISSING}" != X; then
11040 as_fn_error "The following required libraries were not found: 11048 as_fn_error $? "The following required libraries were not found:
11041 $MISSING 11049 $MISSING
11042 Maybe some development libraries/packages are missing? 11050 Maybe some development libraries/packages are missing?
11043 If you don't want to link with them give 11051 If you don't want to link with them give
11044 $WITH_NO 11052 $WITH_NO
11045 as options to configure" "$LINENO" 5 11053 as options to configure" "$LINENO" 5
11524 $as_echo "$ac_cv_os_cray" >&6; } 11532 $as_echo "$ac_cv_os_cray" >&6; }
11525 if test $ac_cv_os_cray = yes; then 11533 if test $ac_cv_os_cray = yes; then
11526 for ac_func in _getb67 GETB67 getb67; do 11534 for ac_func in _getb67 GETB67 getb67; do
11527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11529 eval as_val=\$$as_ac_var 11537 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11530 if test "x$as_val" = x""yes; then :
11531 11538
11532 cat >>confdefs.h <<_ACEOF 11539 cat >>confdefs.h <<_ACEOF
11533 #define CRAY_STACKSEG_END $ac_func 11540 #define CRAY_STACKSEG_END $ac_func
11534 _ACEOF 11541 _ACEOF
11535 11542
11589 11596
11590 fi 11597 fi
11591 11598
11592 11599
11593 if test x"$ac_cv_func_alloca_works" != xyes; then 11600 if test x"$ac_cv_func_alloca_works" != xyes; then
11594 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 11601 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5
11595 fi 11602 fi
11596 11603
11597 # fmod, logb, and frexp are found in -lm on most systems. 11604 # fmod, logb, and frexp are found in -lm on most systems.
11598 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 11605 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
11785 $as_echo "no" >&6; } 11792 $as_echo "no" >&6; }
11786 fi 11793 fi
11787 11794
11788 11795
11789 if test $ac_cv_prog_liblockfile = yes; then 11796 if test $ac_cv_prog_liblockfile = yes; then
11790 as_fn_error "Shared liblockfile found but can't link against it. 11797 as_fn_error $? "Shared liblockfile found but can't link against it.
11791 This probably means that movemail could lose mail. 11798 This probably means that movemail could lose mail.
11792 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 11799 There may be a \`development' package to install containing liblockfile." "$LINENO" 5
11793 fi 11800 fi
11794 fi 11801 fi
11795 for ac_func in touchlock 11802 for ac_func in touchlock
11874 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 11881 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
11875 cfmakeraw cfsetspeed isnan copysign __executable_start 11882 cfmakeraw cfsetspeed isnan copysign __executable_start
11876 do : 11883 do :
11877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11879 eval as_val=\$$as_ac_var 11886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11880 if test "x$as_val" = x""yes; then :
11881 cat >>confdefs.h <<_ACEOF 11887 cat >>confdefs.h <<_ACEOF
11882 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11883 _ACEOF 11889 _ACEOF
11884 11890
11885 fi 11891 fi
11906 11912
11907 for ac_func in $ac_func_list 11913 for ac_func in $ac_func_list
11908 do : 11914 do :
11909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11911 eval as_val=\$$as_ac_var 11917 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11912 if test "x$as_val" = x""yes; then :
11913 cat >>confdefs.h <<_ACEOF 11918 cat >>confdefs.h <<_ACEOF
11914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11915 _ACEOF 11920 _ACEOF
11916 11921
11917 fi 11922 fi
11959 11964
11960 static time_t time_t_max; 11965 static time_t time_t_max;
11961 static time_t time_t_min; 11966 static time_t time_t_min;
11962 11967
11963 /* Values we'll use to set the TZ environment variable. */ 11968 /* Values we'll use to set the TZ environment variable. */
11964 static char *tz_strings[] = { 11969 static const char *tz_strings[] = {
11965 (char *) 0, "TZ=GMT0", "TZ=JST-9", 11970 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
11966 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 11971 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11967 }; 11972 };
11968 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 11973 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
11969 11974
11970 /* Return 0 if mktime fails to convert a date in the spring-forward gap. 11975 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
11977 11982
11978 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 11983 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
11979 instead of "TZ=America/Vancouver" in order to detect the bug even 11984 instead of "TZ=America/Vancouver" in order to detect the bug even
11980 on systems that don't support the Olson extension, or don't have the 11985 on systems that don't support the Olson extension, or don't have the
11981 full zoneinfo tables installed. */ 11986 full zoneinfo tables installed. */
11982 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 11987 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
11983 11988
11984 tm.tm_year = 98; 11989 tm.tm_year = 98;
11985 tm.tm_mon = 3; 11990 tm.tm_mon = 3;
11986 tm.tm_mday = 5; 11991 tm.tm_mday = 5;
11987 tm.tm_hour = 2; 11992 tm.tm_hour = 2;
11990 tm.tm_isdst = -1; 11995 tm.tm_isdst = -1;
11991 return mktime (&tm) != (time_t) -1; 11996 return mktime (&tm) != (time_t) -1;
11992 } 11997 }
11993 11998
11994 static int 11999 static int
11995 mktime_test1 (now) 12000 mktime_test1 (time_t now)
11996 time_t now;
11997 { 12001 {
11998 struct tm *lt; 12002 struct tm *lt;
11999 return ! (lt = localtime (&now)) || mktime (lt) == now; 12003 return ! (lt = localtime (&now)) || mktime (lt) == now;
12000 } 12004 }
12001 12005
12002 static int 12006 static int
12003 mktime_test (now) 12007 mktime_test (time_t now)
12004 time_t now;
12005 { 12008 {
12006 return (mktime_test1 (now) 12009 return (mktime_test1 (now)
12007 && mktime_test1 ((time_t) (time_t_max - now)) 12010 && mktime_test1 ((time_t) (time_t_max - now))
12008 && mktime_test1 ((time_t) (time_t_min + now))); 12011 && mktime_test1 ((time_t) (time_t_min + now)));
12009 } 12012 }
12023 mktime (&tm); 12026 mktime (&tm);
12024 return tm.tm_mon == 2 && tm.tm_mday == 31; 12027 return tm.tm_mon == 2 && tm.tm_mday == 31;
12025 } 12028 }
12026 12029
12027 static int 12030 static int
12028 bigtime_test (j) 12031 bigtime_test (int j)
12029 int j;
12030 { 12032 {
12031 struct tm tm; 12033 struct tm tm;
12032 time_t now; 12034 time_t now;
12033 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; 12035 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
12034 now = mktime (&tm); 12036 now = mktime (&tm);
12068 12070
12069 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" 12071 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
12070 instead of "TZ=America/Vancouver" in order to detect the bug even 12072 instead of "TZ=America/Vancouver" in order to detect the bug even
12071 on systems that don't support the Olson extension, or don't have the 12073 on systems that don't support the Olson extension, or don't have the
12072 full zoneinfo tables installed. */ 12074 full zoneinfo tables installed. */
12073 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); 12075 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
12074 12076
12075 t = mktime (&tm); 12077 t = mktime (&tm);
12076 12078
12077 /* Check that the result is either a failure, or close enough 12079 /* Check that the result is either a failure, or close enough
12078 to the correct answer that we can assume the discrepancy is 12080 to the correct answer that we can assume the discrepancy is
12103 12105
12104 delta = time_t_max / 997; /* a suitable prime number */ 12106 delta = time_t_max / 997; /* a suitable prime number */
12105 for (i = 0; i < N_STRINGS; i++) 12107 for (i = 0; i < N_STRINGS; i++)
12106 { 12108 {
12107 if (tz_strings[i]) 12109 if (tz_strings[i])
12108 putenv (tz_strings[i]); 12110 putenv ((char*) tz_strings[i]);
12109 12111
12110 for (t = 0; t <= time_t_max - delta; t += delta) 12112 for (t = 0; t <= time_t_max - delta; t += delta)
12111 if (! mktime_test (t)) 12113 if (! mktime_test (t))
12112 return 1; 12114 return 1;
12113 if (! (mktime_test ((time_t) 1) 12115 if (! (mktime_test ((time_t) 1)
12155 12157
12156 ac_have_func=no # yes means we've found a way to get the load average. 12158 ac_have_func=no # yes means we've found a way to get the load average.
12157 12159
12158 # Make sure getloadavg.c is where it belongs, at configure-time. 12160 # Make sure getloadavg.c is where it belongs, at configure-time.
12159 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 12161 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
12160 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 12162 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5
12161 12163
12162 ac_save_LIBS=$LIBS 12164 ac_save_LIBS=$LIBS
12163 12165
12164 # Check for getloadavg, but be sure not to touch the cache variable. 12166 # Check for getloadavg, but be sure not to touch the cache variable.
12165 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 12167 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
13024 else 13026 else
13025 have_tputs_et_al=false 13027 have_tputs_et_al=false
13026 fi 13028 fi
13027 13029
13028 if test "$have_tputs_et_al" != true; then 13030 if test "$have_tputs_et_al" != true; then
13029 as_fn_error "I couldn't find termcap functions (tputs and friends). 13031 as_fn_error $? "I couldn't find termcap functions (tputs and friends).
13030 Maybe some development libraries/packages are missing? Try installing 13032 Maybe some development libraries/packages are missing? Try installing
13031 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 13033 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5
13032 fi 13034 fi
13033 # Must define this when any termcap library is found. 13035 # Must define this when any termcap library is found.
13034 13036
14150 14152
14151 for ac_func in fork vfork 14153 for ac_func in fork vfork
14152 do : 14154 do :
14153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14155 eval as_val=\$$as_ac_var 14157 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14156 if test "x$as_val" = x""yes; then :
14157 cat >>confdefs.h <<_ACEOF 14158 cat >>confdefs.h <<_ACEOF
14158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14159 _ACEOF 14160 _ACEOF
14160 14161
14161 fi 14162 fi
14525 ## Hack to detect a buggy GCC version. 14526 ## Hack to detect a buggy GCC version.
14526 if test "x$GCC" = xyes \ 14527 if test "x$GCC" = xyes \
14527 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ 14528 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \
14528 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ 14529 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \
14529 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then 14530 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then
14530 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 14531 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5
14531 fi 14532 fi
14532 14533
14533 #### Find out which version of Emacs this is. 14534 #### Find out which version of Emacs this is.
14534 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ 14535 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \
14535 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 14536 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
14536 if test x"${version}" = x; then 14537 if test x"${version}" = x; then
14537 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 14538 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5
14538 fi 14539 fi
14539 if test x"${version}" != x"$PACKAGE_VERSION"; then 14540 if test x"${version}" != x"$PACKAGE_VERSION"; then
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 14541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5
14541 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} 14542 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;}
14542 fi 14543 fi
15088 15089
15089 DEFS=-DHAVE_CONFIG_H 15090 DEFS=-DHAVE_CONFIG_H
15090 15091
15091 ac_libobjs= 15092 ac_libobjs=
15092 ac_ltlibobjs= 15093 ac_ltlibobjs=
15094 U=
15093 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15095 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15094 # 1. Remove the extension, and $U if already installed. 15096 # 1. Remove the extension, and $U if already installed.
15095 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15097 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15096 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15098 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15097 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15099 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15250 15252
15251 # CDPATH. 15253 # CDPATH.
15252 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15254 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15253 15255
15254 15256
15255 # as_fn_error ERROR [LINENO LOG_FD] 15257 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15256 # --------------------------------- 15258 # ----------------------------------------
15257 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 15259 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15258 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 15260 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15259 # script with status $?, using 1 if that was 0. 15261 # script with STATUS, using 1 if that was 0.
15260 as_fn_error () 15262 as_fn_error ()
15261 { 15263 {
15262 as_status=$?; test $as_status -eq 0 && as_status=1 15264 as_status=$1; test $as_status -eq 0 && as_status=1
15263 if test "$3"; then 15265 if test "$4"; then
15264 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 15266 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15265 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 15267 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15266 fi 15268 fi
15267 $as_echo "$as_me: error: $1" >&2 15269 $as_echo "$as_me: error: $2" >&2
15268 as_fn_exit $as_status 15270 as_fn_exit $as_status
15269 } # as_fn_error 15271 } # as_fn_error
15270 15272
15271 15273
15272 # as_fn_set_status STATUS 15274 # as_fn_set_status STATUS
15458 } 15460 }
15459 s/.*/./; q'` 15461 s/.*/./; q'`
15460 test -d "$as_dir" && break 15462 test -d "$as_dir" && break
15461 done 15463 done
15462 test -z "$as_dirs" || eval "mkdir $as_dirs" 15464 test -z "$as_dirs" || eval "mkdir $as_dirs"
15463 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 15465 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15464 15466
15465 15467
15466 } # as_fn_mkdir_p 15468 } # as_fn_mkdir_p
15467 if mkdir -p . 2>/dev/null; then 15469 if mkdir -p . 2>/dev/null; then
15468 as_mkdir_p='mkdir -p "$as_dir"' 15470 as_mkdir_p='mkdir -p "$as_dir"'
15512 # Save the log message, to keep $0 and so on meaningful, and to 15514 # Save the log message, to keep $0 and so on meaningful, and to
15513 # report actual input values of CONFIG_FILES etc. instead of their 15515 # report actual input values of CONFIG_FILES etc. instead of their
15514 # values after options handling. 15516 # values after options handling.
15515 ac_log=" 15517 ac_log="
15516 This file was extended by emacs $as_me 24.0.50, which was 15518 This file was extended by emacs $as_me 24.0.50, which was
15517 generated by GNU Autoconf 2.65. Invocation command line was 15519 generated by GNU Autoconf 2.67. Invocation command line was
15518 15520
15519 CONFIG_FILES = $CONFIG_FILES 15521 CONFIG_FILES = $CONFIG_FILES
15520 CONFIG_HEADERS = $CONFIG_HEADERS 15522 CONFIG_HEADERS = $CONFIG_HEADERS
15521 CONFIG_LINKS = $CONFIG_LINKS 15523 CONFIG_LINKS = $CONFIG_LINKS
15522 CONFIG_COMMANDS = $CONFIG_COMMANDS 15524 CONFIG_COMMANDS = $CONFIG_COMMANDS
15578 _ACEOF 15580 _ACEOF
15579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15580 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15582 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15581 ac_cs_version="\\ 15583 ac_cs_version="\\
15582 emacs config.status 24.0.50 15584 emacs config.status 24.0.50
15583 configured by $0, generated by GNU Autoconf 2.65, 15585 configured by $0, generated by GNU Autoconf 2.67,
15584 with options \\"\$ac_cs_config\\" 15586 with options \\"\$ac_cs_config\\"
15585 15587
15586 Copyright (C) 2009 Free Software Foundation, Inc. 15588 Copyright (C) 2010 Free Software Foundation, Inc.
15587 This config.status script is free software; the Free Software Foundation 15589 This config.status script is free software; the Free Software Foundation
15588 gives unlimited permission to copy, distribute and modify it." 15590 gives unlimited permission to copy, distribute and modify it."
15589 15591
15590 ac_pwd='$ac_pwd' 15592 ac_pwd='$ac_pwd'
15591 srcdir='$srcdir' 15593 srcdir='$srcdir'
15597 # The default lists apply if the user does not specify any file. 15599 # The default lists apply if the user does not specify any file.
15598 ac_need_defaults=: 15600 ac_need_defaults=:
15599 while test $# != 0 15601 while test $# != 0
15600 do 15602 do
15601 case $1 in 15603 case $1 in
15602 --*=*) 15604 --*=?*)
15603 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15605 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15604 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15606 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15607 ac_shift=:
15608 ;;
15609 --*=)
15610 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15611 ac_optarg=
15605 ac_shift=: 15612 ac_shift=:
15606 ;; 15613 ;;
15607 *) 15614 *)
15608 ac_option=$1 15615 ac_option=$1
15609 ac_optarg=$2 15616 ac_optarg=$2
15623 debug=: ;; 15630 debug=: ;;
15624 --file | --fil | --fi | --f ) 15631 --file | --fil | --fi | --f )
15625 $ac_shift 15632 $ac_shift
15626 case $ac_optarg in 15633 case $ac_optarg in
15627 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15634 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15635 '') as_fn_error $? "missing file argument" ;;
15628 esac 15636 esac
15629 as_fn_append CONFIG_FILES " '$ac_optarg'" 15637 as_fn_append CONFIG_FILES " '$ac_optarg'"
15630 ac_need_defaults=false;; 15638 ac_need_defaults=false;;
15631 --header | --heade | --head | --hea ) 15639 --header | --heade | --head | --hea )
15632 $ac_shift 15640 $ac_shift
15635 esac 15643 esac
15636 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 15644 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15637 ac_need_defaults=false;; 15645 ac_need_defaults=false;;
15638 --he | --h) 15646 --he | --h)
15639 # Conflict between --help and --header 15647 # Conflict between --help and --header
15640 as_fn_error "ambiguous option: \`$1' 15648 as_fn_error $? "ambiguous option: \`$1'
15641 Try \`$0 --help' for more information.";; 15649 Try \`$0 --help' for more information.";;
15642 --help | --hel | -h ) 15650 --help | --hel | -h )
15643 $as_echo "$ac_cs_usage"; exit ;; 15651 $as_echo "$ac_cs_usage"; exit ;;
15644 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15645 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15653 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15646 ac_cs_silent=: ;; 15654 ac_cs_silent=: ;;
15647 15655
15648 # This is an error. 15656 # This is an error.
15649 -*) as_fn_error "unrecognized option: \`$1' 15657 -*) as_fn_error $? "unrecognized option: \`$1'
15650 Try \`$0 --help' for more information." ;; 15658 Try \`$0 --help' for more information." ;;
15651 15659
15652 *) as_fn_append ac_config_targets " $1" 15660 *) as_fn_append ac_config_targets " $1"
15653 ac_need_defaults=false ;; 15661 ac_need_defaults=false ;;
15654 15662
15712 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 15720 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
15713 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 15721 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
15714 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 15722 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
15715 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 15723 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15716 15724
15717 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15725 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15718 esac 15726 esac
15719 done 15727 done
15720 15728
15721 15729
15722 # If the user did not use the arguments to specify the items to instantiate, 15730 # If the user did not use the arguments to specify the items to instantiate,
15750 test -n "$tmp" && test -d "$tmp" 15758 test -n "$tmp" && test -d "$tmp"
15751 } || 15759 } ||
15752 { 15760 {
15753 tmp=./conf$$-$RANDOM 15761 tmp=./conf$$-$RANDOM
15754 (umask 077 && mkdir "$tmp") 15762 (umask 077 && mkdir "$tmp")
15755 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 15763 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15756 15764
15757 # Set up the scripts for CONFIG_FILES section. 15765 # Set up the scripts for CONFIG_FILES section.
15758 # No need to generate them if there are no CONFIG_FILES. 15766 # No need to generate them if there are no CONFIG_FILES.
15759 # This happens for instance with `./config.status config.h'. 15767 # This happens for instance with `./config.status config.h'.
15760 if test -n "$CONFIG_FILES"; then 15768 if test -n "$CONFIG_FILES"; then
15784 if test "x$ac_cr" = x; then 15792 if test "x$ac_cr" = x; then
15785 eval ac_cr=\$\'\\r\' 15793 eval ac_cr=\$\'\\r\'
15786 fi 15794 fi
15787 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15795 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15796 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15789 ac_cs_awk_cr='\r' 15797 ac_cs_awk_cr='\\r'
15790 else 15798 else
15791 ac_cs_awk_cr=$ac_cr 15799 ac_cs_awk_cr=$ac_cr
15792 fi 15800 fi
15793 15801
15794 echo 'BEGIN {' >"$tmp/subs1.awk" && 15802 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15801 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && 15809 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15802 echo "_ACAWK" && 15810 echo "_ACAWK" &&
15803 echo "_ACEOF" 15811 echo "_ACEOF"
15804 } >conf$$files.sh && 15812 } >conf$$files.sh &&
15805 . ./conf$$files.sh || 15813 . ./conf$$files.sh ||
15806 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15807 rm -f conf$$files.sh 15815 rm -f conf$$files.sh
15808 15816
15809 { 15817 {
15810 echo "cat >conf$$subs.awk <<_ACEOF" && 15818 echo "cat >conf$$subs.awk <<_ACEOF" &&
15811 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15819 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15812 echo "_ACEOF" 15820 echo "_ACEOF"
15813 } >conf$$subs.sh || 15821 } >conf$$subs.sh ||
15814 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15822 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15815 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15823 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15816 ac_delim='%!_!# ' 15824 ac_delim='%!_!# '
15817 for ac_last_try in false false false false false :; do 15825 for ac_last_try in false false false false false :; do
15818 . ./conf$$subs.sh || 15826 . ./conf$$subs.sh ||
15819 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15827 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15820 15828
15821 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15829 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15822 if test $ac_delim_n = $ac_delim_num; then 15830 if test $ac_delim_n = $ac_delim_num; then
15823 break 15831 break
15824 elif $ac_last_try; then 15832 elif $ac_last_try; then
15825 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15833 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15826 else 15834 else
15827 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15835 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15828 fi 15836 fi
15829 done 15837 done
15830 rm -f conf$$subs.sh 15838 rm -f conf$$subs.sh
15915 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15923 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15916 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15924 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15917 else 15925 else
15918 cat 15926 cat
15919 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15927 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15920 || as_fn_error "could not setup config files machinery" "$LINENO" 5 15928 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15921 _ACEOF 15929 _ACEOF
15922 15930
15923 # VPATH may cause trouble with some makes, so we remove $(srcdir), 15931 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15924 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 15932 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15925 # trailing colons and then remove the whole line if VPATH becomes empty 15933 # trailing colons and then remove the whole line if VPATH becomes empty
15926 # (actually we leave an empty line to preserve line numbers). 15934 # (actually we leave an empty line to preserve line numbers).
15927 if test "x$srcdir" = x.; then 15935 if test "x$srcdir" = x.; then
15928 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 15936 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15929 s/:*\$(srcdir):*/:/ 15937 h
15930 s/:*\${srcdir}:*/:/ 15938 s///
15931 s/:*@srcdir@:*/:/ 15939 s/^/:/
15932 s/^\([^=]*=[ ]*\):*/\1/ 15940 s/[ ]*$/:/
15941 s/:\$(srcdir):/:/g
15942 s/:\${srcdir}:/:/g
15943 s/:@srcdir@:/:/g
15944 s/^:*//
15933 s/:*$// 15945 s/:*$//
15946 x
15947 s/\(=[ ]*\).*/\1/
15948 G
15949 s/\n//
15934 s/^[^=]*=[ ]*$// 15950 s/^[^=]*=[ ]*$//
15935 }' 15951 }'
15936 fi 15952 fi
15937 15953
15938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15956 for ac_last_try in false false :; do 15972 for ac_last_try in false false :; do
15957 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 15973 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15958 if test -z "$ac_t"; then 15974 if test -z "$ac_t"; then
15959 break 15975 break
15960 elif $ac_last_try; then 15976 elif $ac_last_try; then
15961 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 15977 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15962 else 15978 else
15963 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15979 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15964 fi 15980 fi
15965 done 15981 done
15966 15982
16041 } 16057 }
16042 { print } 16058 { print }
16043 _ACAWK 16059 _ACAWK
16044 _ACEOF 16060 _ACEOF
16045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16046 as_fn_error "could not setup config headers machinery" "$LINENO" 5 16062 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16047 fi # test -n "$CONFIG_HEADERS" 16063 fi # test -n "$CONFIG_HEADERS"
16048 16064
16049 16065
16050 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16066 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16051 shift 16067 shift
16054 case $ac_tag in 16070 case $ac_tag in
16055 :[FHLC]) ac_mode=$ac_tag; continue;; 16071 :[FHLC]) ac_mode=$ac_tag; continue;;
16056 esac 16072 esac
16057 case $ac_mode$ac_tag in 16073 case $ac_mode$ac_tag in
16058 :[FHL]*:*);; 16074 :[FHL]*:*);;
16059 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 16075 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16060 :[FH]-) ac_tag=-:-;; 16076 :[FH]-) ac_tag=-:-;;
16061 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16077 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16062 esac 16078 esac
16063 ac_save_IFS=$IFS 16079 ac_save_IFS=$IFS
16064 IFS=: 16080 IFS=:
16082 test -f "$ac_f" || 16098 test -f "$ac_f" ||
16083 case $ac_f in 16099 case $ac_f in
16084 [\\/$]*) false;; 16100 [\\/$]*) false;;
16085 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16101 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16086 esac || 16102 esac ||
16087 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 16103 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16088 esac 16104 esac
16089 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16105 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16090 as_fn_append ac_file_inputs " '$ac_f'" 16106 as_fn_append ac_file_inputs " '$ac_f'"
16091 done 16107 done
16092 16108
16109 *) ac_sed_conf_input=$configure_input;; 16125 *) ac_sed_conf_input=$configure_input;;
16110 esac 16126 esac
16111 16127
16112 case $ac_tag in 16128 case $ac_tag in
16113 *:-:* | *:-) cat >"$tmp/stdin" \ 16129 *:-:* | *:-) cat >"$tmp/stdin" \
16114 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 16130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16115 esac 16131 esac
16116 ;; 16132 ;;
16117 esac 16133 esac
16118 16134
16119 ac_dir=`$as_dirname -- "$ac_file" || 16135 ac_dir=`$as_dirname -- "$ac_file" ||
16245 if $ac_cs_awk_getline; then 16261 if $ac_cs_awk_getline; then
16246 $AWK -f "$tmp/subs.awk" 16262 $AWK -f "$tmp/subs.awk"
16247 else 16263 else
16248 $AWK -f "$tmp/subs.awk" | $SHELL 16264 $AWK -f "$tmp/subs.awk" | $SHELL
16249 fi >$tmp/out \ 16265 fi >$tmp/out \
16250 || as_fn_error "could not create $ac_file" "$LINENO" 5 16266 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16251 16267
16252 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16268 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16253 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16269 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16254 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16270 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16256 which seems to be undefined. Please make sure it is defined." >&5 16272 which seems to be undefined. Please make sure it is defined" >&5
16257 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16273 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16258 which seems to be undefined. Please make sure it is defined." >&2;} 16274 which seems to be undefined. Please make sure it is defined" >&2;}
16259 16275
16260 rm -f "$tmp/stdin" 16276 rm -f "$tmp/stdin"
16261 case $ac_file in 16277 case $ac_file in
16262 -) cat "$tmp/out" && rm -f "$tmp/out";; 16278 -) cat "$tmp/out" && rm -f "$tmp/out";;
16263 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16279 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16264 esac \ 16280 esac \
16265 || as_fn_error "could not create $ac_file" "$LINENO" 5 16281 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16266 ;; 16282 ;;
16267 :H) 16283 :H)
16268 # 16284 #
16269 # CONFIG_HEADER 16285 # CONFIG_HEADER
16270 # 16286 #
16271 if test x"$ac_file" != x-; then 16287 if test x"$ac_file" != x-; then
16272 { 16288 {
16273 $as_echo "/* $configure_input */" \ 16289 $as_echo "/* $configure_input */" \
16274 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16290 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16275 } >"$tmp/config.h" \ 16291 } >"$tmp/config.h" \
16276 || as_fn_error "could not create $ac_file" "$LINENO" 5 16292 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16277 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16293 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 16294 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16279 $as_echo "$as_me: $ac_file is unchanged" >&6;} 16295 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16280 else 16296 else
16281 rm -f "$ac_file" 16297 rm -f "$ac_file"
16282 mv "$tmp/config.h" "$ac_file" \ 16298 mv "$tmp/config.h" "$ac_file" \
16283 || as_fn_error "could not create $ac_file" "$LINENO" 5 16299 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16284 fi 16300 fi
16285 else 16301 else
16286 $as_echo "/* $configure_input */" \ 16302 $as_echo "/* $configure_input */" \
16287 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16303 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16288 || as_fn_error "could not create -" "$LINENO" 5 16304 || as_fn_error $? "could not create -" "$LINENO" 5
16289 fi 16305 fi
16290 ;; 16306 ;;
16291 16307
16292 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 16308 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16293 $as_echo "$as_me: executing $ac_file commands" >&6;} 16309 $as_echo "$as_me: executing $ac_file commands" >&6;}
16320 as_fn_exit 0 16336 as_fn_exit 0
16321 _ACEOF 16337 _ACEOF
16322 ac_clean_files=$ac_clean_files_save 16338 ac_clean_files=$ac_clean_files_save
16323 16339
16324 test $ac_write_fail = 0 || 16340 test $ac_write_fail = 0 ||
16325 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 16341 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16326 16342
16327 16343
16328 # configure is writing to config.log, and then calls config.status. 16344 # configure is writing to config.log, and then calls config.status.
16329 # config.status does its own redirection, appending to config.log. 16345 # config.status does its own redirection, appending to config.log.
16330 # Unfortunately, on DOS this fails, as config.log is still kept open 16346 # Unfortunately, on DOS this fails, as config.log is still kept open
16341 exec 5>/dev/null 16357 exec 5>/dev/null
16342 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16358 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16343 exec 5>>config.log 16359 exec 5>>config.log
16344 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16360 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16345 # would make configure fail if this is the last instruction. 16361 # would make configure fail if this is the last instruction.
16346 $ac_cs_success || as_fn_exit $? 16362 $ac_cs_success || as_fn_exit 1
16347 fi 16363 fi
16348 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16364 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16350 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16366 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16351 fi 16367 fi