comparison configure @ 111617:75b974985fca

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