comparison configure @ 111663:82407e275674

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