Mercurial > emacs
comparison configure @ 111179:e1e1a3a49919
* configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM
to avoid warning.
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Mon, 25 Oct 2010 19:23:45 +0200 |
parents | b8d9a3e4de08 |
children | 393b44bc9757 |
comparison
equal
deleted
inserted
replaced
111178:b2ce1b10b56f | 111179:e1e1a3a49919 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.65 for emacs 24.0.50. | 3 # Generated by GNU Autoconf 2.68 for emacs 24.0.50. |
4 # | 4 # |
5 # | 5 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 # Inc. | 8 # Foundation, Inc. |
9 # | 9 # |
10 # | 10 # |
11 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 13 ## -------------------- ## |
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 # splitting by setting IFS to empty value.) | 88 # splitting by setting IFS to empty value.) |
89 IFS=" "" $as_nl" | 89 IFS=" "" $as_nl" |
90 | 90 |
91 # Find who we are. Look in the path if we contain no directory separator. | 91 # Find who we are. Look in the path if we contain no directory separator. |
92 as_myself= | |
92 case $0 in #(( | 93 case $0 in #(( |
93 *[\\/]* ) as_myself=$0 ;; | 94 *[\\/]* ) as_myself=$0 ;; |
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
95 for as_dir in $PATH | 96 for as_dir in $PATH |
96 do | 97 do |
212 | 213 |
213 if test "x$CONFIG_SHELL" != x; then : | 214 if test "x$CONFIG_SHELL" != x; then : |
214 # We cannot yet assume a decent shell, so we have to provide a | 215 # We cannot yet assume a decent shell, so we have to provide a |
215 # neutralization value for shells without unset; and this also | 216 # neutralization value for shells without unset; and this also |
216 # works around shells that cannot unset nonexistent variables. | 217 # works around shells that cannot unset nonexistent variables. |
218 # Preserve -v and -x to the replacement shell. | |
217 BASH_ENV=/dev/null | 219 BASH_ENV=/dev/null |
218 ENV=/dev/null | 220 ENV=/dev/null |
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
220 export CONFIG_SHELL | 222 export CONFIG_SHELL |
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 223 case $- in # (((( |
224 *v*x* | *x*v* ) as_opts=-vx ;; | |
225 *v* ) as_opts=-v ;; | |
226 *x* ) as_opts=-x ;; | |
227 * ) as_opts= ;; | |
228 esac | |
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
222 fi | 230 fi |
223 | 231 |
224 if test x$as_have_required = xno; then : | 232 if test x$as_have_required = xno; then : |
225 $as_echo "$0: This script requires a shell more modern than all" | 233 $as_echo "$0: This script requires a shell more modern than all" |
226 $as_echo "$0: the shells that I found on your system." | 234 $as_echo "$0: the shells that I found on your system." |
314 } | 322 } |
315 s/.*/./; q'` | 323 s/.*/./; q'` |
316 test -d "$as_dir" && break | 324 test -d "$as_dir" && break |
317 done | 325 done |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | 326 test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
320 | 328 |
321 | 329 |
322 } # as_fn_mkdir_p | 330 } # as_fn_mkdir_p |
323 # as_fn_append VAR VALUE | 331 # as_fn_append VAR VALUE |
324 # ---------------------- | 332 # ---------------------- |
354 as_val=`expr "$@" || test $? -eq 1` | 362 as_val=`expr "$@" || test $? -eq 1` |
355 } | 363 } |
356 fi # as_fn_arith | 364 fi # as_fn_arith |
357 | 365 |
358 | 366 |
359 # as_fn_error ERROR [LINENO LOG_FD] | 367 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
360 # --------------------------------- | 368 # ---------------------------------------- |
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 369 # 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 | 370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
363 # script with status $?, using 1 if that was 0. | 371 # script with STATUS, using 1 if that was 0. |
364 as_fn_error () | 372 as_fn_error () |
365 { | 373 { |
366 as_status=$?; test $as_status -eq 0 && as_status=1 | 374 as_status=$1; test $as_status -eq 0 && as_status=1 |
367 if test "$3"; then | 375 if test "$4"; then |
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
370 fi | 378 fi |
371 $as_echo "$as_me: error: $1" >&2 | 379 $as_echo "$as_me: error: $2" >&2 |
372 as_fn_exit $as_status | 380 as_fn_exit $as_status |
373 } # as_fn_error | 381 } # as_fn_error |
374 | 382 |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 383 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
528 | 536 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 537 test -n "$DJDIR" || exec 7<&0 </dev/null |
530 exec 6>&1 | 538 exec 6>&1 |
531 | 539 |
532 # Name of the host. | 540 # Name of the host. |
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
534 # so uname gets run too. | 542 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
536 | 544 |
537 # | 545 # |
538 # Initializations. | 546 # Initializations. |
910 ac_prev= | 918 ac_prev= |
911 continue | 919 continue |
912 fi | 920 fi |
913 | 921 |
914 case $ac_option in | 922 case $ac_option in |
915 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 923 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
916 *) ac_optarg=yes ;; | 924 *=) ac_optarg= ;; |
925 *) ac_optarg=yes ;; | |
917 esac | 926 esac |
918 | 927 |
919 # Accept the important Cygnus configure options, so we can diagnose typos. | 928 # Accept the important Cygnus configure options, so we can diagnose typos. |
920 | 929 |
921 case $ac_dashdash$ac_option in | 930 case $ac_dashdash$ac_option in |
956 | 965 |
957 -disable-* | --disable-*) | 966 -disable-* | --disable-*) |
958 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 967 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
959 # Reject names that are not valid shell variable names. | 968 # Reject names that are not valid shell variable names. |
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
961 as_fn_error "invalid feature name: $ac_useropt" | 970 as_fn_error $? "invalid feature name: $ac_useropt" |
962 ac_useropt_orig=$ac_useropt | 971 ac_useropt_orig=$ac_useropt |
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
964 case $ac_user_opts in | 973 case $ac_user_opts in |
965 *" | 974 *" |
966 "enable_$ac_useropt" | 975 "enable_$ac_useropt" |
982 | 991 |
983 -enable-* | --enable-*) | 992 -enable-* | --enable-*) |
984 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 993 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
985 # Reject names that are not valid shell variable names. | 994 # Reject names that are not valid shell variable names. |
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
987 as_fn_error "invalid feature name: $ac_useropt" | 996 as_fn_error $? "invalid feature name: $ac_useropt" |
988 ac_useropt_orig=$ac_useropt | 997 ac_useropt_orig=$ac_useropt |
989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
990 case $ac_user_opts in | 999 case $ac_user_opts in |
991 *" | 1000 *" |
992 "enable_$ac_useropt" | 1001 "enable_$ac_useropt" |
1186 | 1195 |
1187 -with-* | --with-*) | 1196 -with-* | --with-*) |
1188 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1197 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1189 # Reject names that are not valid shell variable names. | 1198 # Reject names that are not valid shell variable names. |
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1191 as_fn_error "invalid package name: $ac_useropt" | 1200 as_fn_error $? "invalid package name: $ac_useropt" |
1192 ac_useropt_orig=$ac_useropt | 1201 ac_useropt_orig=$ac_useropt |
1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1194 case $ac_user_opts in | 1203 case $ac_user_opts in |
1195 *" | 1204 *" |
1196 "with_$ac_useropt" | 1205 "with_$ac_useropt" |
1202 | 1211 |
1203 -without-* | --without-*) | 1212 -without-* | --without-*) |
1204 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1213 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1205 # Reject names that are not valid shell variable names. | 1214 # Reject names that are not valid shell variable names. |
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1207 as_fn_error "invalid package name: $ac_useropt" | 1216 as_fn_error $? "invalid package name: $ac_useropt" |
1208 ac_useropt_orig=$ac_useropt | 1217 ac_useropt_orig=$ac_useropt |
1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1210 case $ac_user_opts in | 1219 case $ac_user_opts in |
1211 *" | 1220 *" |
1212 "with_$ac_useropt" | 1221 "with_$ac_useropt" |
1232 ac_prev=x_libraries ;; | 1241 ac_prev=x_libraries ;; |
1233 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1242 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1234 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1243 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1235 x_libraries=$ac_optarg ;; | 1244 x_libraries=$ac_optarg ;; |
1236 | 1245 |
1237 -*) as_fn_error "unrecognized option: \`$ac_option' | 1246 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1238 Try \`$0 --help' for more information." | 1247 Try \`$0 --help' for more information" |
1239 ;; | 1248 ;; |
1240 | 1249 |
1241 *=*) | 1250 *=*) |
1242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1251 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1243 # Reject names that are not valid shell variable names. | 1252 # Reject names that are not valid shell variable names. |
1244 case $ac_envvar in #( | 1253 case $ac_envvar in #( |
1245 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1254 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1246 as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1255 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1247 esac | 1256 esac |
1248 eval $ac_envvar=\$ac_optarg | 1257 eval $ac_envvar=\$ac_optarg |
1249 export $ac_envvar ;; | 1258 export $ac_envvar ;; |
1250 | 1259 |
1251 *) | 1260 *) |
1252 # FIXME: should be removed in autoconf 3.0. | 1261 # FIXME: should be removed in autoconf 3.0. |
1253 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1254 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1255 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1256 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1257 ;; | 1266 ;; |
1258 | 1267 |
1259 esac | 1268 esac |
1260 done | 1269 done |
1261 | 1270 |
1262 if test -n "$ac_prev"; then | 1271 if test -n "$ac_prev"; then |
1263 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1272 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1264 as_fn_error "missing argument to $ac_option" | 1273 as_fn_error $? "missing argument to $ac_option" |
1265 fi | 1274 fi |
1266 | 1275 |
1267 if test -n "$ac_unrecognized_opts"; then | 1276 if test -n "$ac_unrecognized_opts"; then |
1268 case $enable_option_checking in | 1277 case $enable_option_checking in |
1269 no) ;; | 1278 no) ;; |
1270 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1279 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1272 esac | 1281 esac |
1273 fi | 1282 fi |
1274 | 1283 |
1275 # Check all directory arguments for consistency. | 1284 # Check all directory arguments for consistency. |
1288 # Be sure to have absolute directory names. | 1297 # Be sure to have absolute directory names. |
1289 case $ac_val in | 1298 case $ac_val in |
1290 [\\/$]* | ?:[\\/]* ) continue;; | 1299 [\\/$]* | ?:[\\/]* ) continue;; |
1291 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1300 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1292 esac | 1301 esac |
1293 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1302 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1294 done | 1303 done |
1295 | 1304 |
1296 # There might be people who depend on the old broken behavior: `$host' | 1305 # There might be people who depend on the old broken behavior: `$host' |
1297 # used to hold the argument of --host etc. | 1306 # used to hold the argument of --host etc. |
1298 # FIXME: To remove some day. | 1307 # FIXME: To remove some day. |
1302 | 1311 |
1303 # FIXME: To remove some day. | 1312 # FIXME: To remove some day. |
1304 if test "x$host_alias" != x; then | 1313 if test "x$host_alias" != x; then |
1305 if test "x$build_alias" = x; then | 1314 if test "x$build_alias" = x; then |
1306 cross_compiling=maybe | 1315 cross_compiling=maybe |
1307 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1316 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1308 If a cross compiler is detected then cross compile mode will be used." >&2 | 1317 If a cross compiler is detected then cross compile mode will be used" >&2 |
1309 elif test "x$build_alias" != "x$host_alias"; then | 1318 elif test "x$build_alias" != "x$host_alias"; then |
1310 cross_compiling=yes | 1319 cross_compiling=yes |
1311 fi | 1320 fi |
1312 fi | 1321 fi |
1313 | 1322 |
1318 | 1327 |
1319 | 1328 |
1320 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1329 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1321 ac_ls_di=`ls -di .` && | 1330 ac_ls_di=`ls -di .` && |
1322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1331 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1323 as_fn_error "working directory cannot be determined" | 1332 as_fn_error $? "working directory cannot be determined" |
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1325 as_fn_error "pwd does not report name of working directory" | 1334 as_fn_error $? "pwd does not report name of working directory" |
1326 | 1335 |
1327 | 1336 |
1328 # Find the source files, if location was not specified. | 1337 # Find the source files, if location was not specified. |
1329 if test -z "$srcdir"; then | 1338 if test -z "$srcdir"; then |
1330 ac_srcdir_defaulted=yes | 1339 ac_srcdir_defaulted=yes |
1359 else | 1368 else |
1360 ac_srcdir_defaulted=no | 1369 ac_srcdir_defaulted=no |
1361 fi | 1370 fi |
1362 if test ! -r "$srcdir/$ac_unique_file"; then | 1371 if test ! -r "$srcdir/$ac_unique_file"; then |
1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1364 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1373 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1365 fi | 1374 fi |
1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1367 ac_abs_confdir=`( | 1376 ac_abs_confdir=`( |
1368 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1369 pwd)` | 1378 pwd)` |
1370 # When building in place, set srcdir=. | 1379 # When building in place, set srcdir=. |
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1380 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1372 srcdir=. | 1381 srcdir=. |
1373 fi | 1382 fi |
1403 Configuration: | 1412 Configuration: |
1404 -h, --help display this help and exit | 1413 -h, --help display this help and exit |
1405 --help=short display options specific to this package | 1414 --help=short display options specific to this package |
1406 --help=recursive display the short help of all the included packages | 1415 --help=recursive display the short help of all the included packages |
1407 -V, --version display version information and exit | 1416 -V, --version display version information and exit |
1408 -q, --quiet, --silent do not print \`checking...' messages | 1417 -q, --quiet, --silent do not print \`checking ...' messages |
1409 --cache-file=FILE cache test results in FILE [disabled] | 1418 --cache-file=FILE cache test results in FILE [disabled] |
1410 -C, --config-cache alias for \`--cache-file=config.cache' | 1419 -C, --config-cache alias for \`--cache-file=config.cache' |
1411 -n, --no-create do not create output files | 1420 -n, --no-create do not create output files |
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1421 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1413 | 1422 |
1622 | 1631 |
1623 test -n "$ac_init_help" && exit $ac_status | 1632 test -n "$ac_init_help" && exit $ac_status |
1624 if $ac_init_version; then | 1633 if $ac_init_version; then |
1625 cat <<\_ACEOF | 1634 cat <<\_ACEOF |
1626 emacs configure 24.0.50 | 1635 emacs configure 24.0.50 |
1627 generated by GNU Autoconf 2.65 | 1636 generated by GNU Autoconf 2.68 |
1628 | 1637 |
1629 Copyright (C) 2009 Free Software Foundation, Inc. | 1638 Copyright (C) 2010 Free Software Foundation, Inc. |
1630 This configure script is free software; the Free Software Foundation | 1639 This configure script is free software; the Free Software Foundation |
1631 gives unlimited permission to copy, distribute and modify it. | 1640 gives unlimited permission to copy, distribute and modify it. |
1632 _ACEOF | 1641 _ACEOF |
1633 exit | 1642 exit |
1634 fi | 1643 fi |
1668 $as_echo "$as_me: failed program was:" >&5 | 1677 $as_echo "$as_me: failed program was:" >&5 |
1669 sed 's/^/| /' conftest.$ac_ext >&5 | 1678 sed 's/^/| /' conftest.$ac_ext >&5 |
1670 | 1679 |
1671 ac_retval=1 | 1680 ac_retval=1 |
1672 fi | 1681 fi |
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1674 as_fn_set_status $ac_retval | 1683 as_fn_set_status $ac_retval |
1675 | 1684 |
1676 } # ac_fn_c_try_compile | 1685 } # ac_fn_c_try_compile |
1677 | 1686 |
1678 # ac_fn_c_try_link LINENO | 1687 # ac_fn_c_try_link LINENO |
1714 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 1723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1715 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 1724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1716 # interfere with the next link command; also delete a directory that is | 1725 # interfere with the next link command; also delete a directory that is |
1717 # left behind by Apple's compiler. We do this before executing the actions. | 1726 # left behind by Apple's compiler. We do this before executing the actions. |
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1720 as_fn_set_status $ac_retval | 1729 as_fn_set_status $ac_retval |
1721 | 1730 |
1722 } # ac_fn_c_try_link | 1731 } # ac_fn_c_try_link |
1723 | 1732 |
1724 # ac_fn_c_try_cpp LINENO | 1733 # ac_fn_c_try_cpp LINENO |
1740 grep -v '^ *+' conftest.err >conftest.er1 | 1749 grep -v '^ *+' conftest.err >conftest.er1 |
1741 cat conftest.er1 >&5 | 1750 cat conftest.er1 >&5 |
1742 mv -f conftest.er1 conftest.err | 1751 mv -f conftest.er1 conftest.err |
1743 fi | 1752 fi |
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1745 test $ac_status = 0; } >/dev/null && { | 1754 test $ac_status = 0; } > conftest.i && { |
1746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 1755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1747 test ! -s conftest.err | 1756 test ! -s conftest.err |
1748 }; then : | 1757 }; then : |
1749 ac_retval=0 | 1758 ac_retval=0 |
1750 else | 1759 else |
1751 $as_echo "$as_me: failed program was:" >&5 | 1760 $as_echo "$as_me: failed program was:" >&5 |
1752 sed 's/^/| /' conftest.$ac_ext >&5 | 1761 sed 's/^/| /' conftest.$ac_ext >&5 |
1753 | 1762 |
1754 ac_retval=1 | 1763 ac_retval=1 |
1755 fi | 1764 fi |
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1757 as_fn_set_status $ac_retval | 1766 as_fn_set_status $ac_retval |
1758 | 1767 |
1759 } # ac_fn_c_try_cpp | 1768 } # ac_fn_c_try_cpp |
1760 | 1769 |
1761 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 1770 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1764 # the include files in INCLUDES and setting the cache variable VAR | 1773 # the include files in INCLUDES and setting the cache variable VAR |
1765 # accordingly. | 1774 # accordingly. |
1766 ac_fn_c_check_header_mongrel () | 1775 ac_fn_c_check_header_mongrel () |
1767 { | 1776 { |
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1769 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1778 if eval \${$3+:} false; then : |
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1771 $as_echo_n "checking for $2... " >&6; } | 1780 $as_echo_n "checking for $2... " >&6; } |
1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1781 if eval \${$3+:} false; then : |
1773 $as_echo_n "(cached) " >&6 | 1782 $as_echo_n "(cached) " >&6 |
1774 fi | 1783 fi |
1775 eval ac_res=\$$3 | 1784 eval ac_res=\$$3 |
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1777 $as_echo "$ac_res" >&6; } | 1786 $as_echo "$ac_res" >&6; } |
1803 if ac_fn_c_try_cpp "$LINENO"; then : | 1812 if ac_fn_c_try_cpp "$LINENO"; then : |
1804 ac_header_preproc=yes | 1813 ac_header_preproc=yes |
1805 else | 1814 else |
1806 ac_header_preproc=no | 1815 ac_header_preproc=no |
1807 fi | 1816 fi |
1808 rm -f conftest.err conftest.$ac_ext | 1817 rm -f conftest.err conftest.i conftest.$ac_ext |
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1810 $as_echo "$ac_header_preproc" >&6; } | 1819 $as_echo "$ac_header_preproc" >&6; } |
1811 | 1820 |
1812 # So? What about this header? | 1821 # So? What about this header? |
1813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 1822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1831 ;; | 1840 ;; |
1832 esac | 1841 esac |
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1834 $as_echo_n "checking for $2... " >&6; } | 1843 $as_echo_n "checking for $2... " >&6; } |
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1844 if eval \${$3+:} false; then : |
1836 $as_echo_n "(cached) " >&6 | 1845 $as_echo_n "(cached) " >&6 |
1837 else | 1846 else |
1838 eval "$3=\$ac_header_compiler" | 1847 eval "$3=\$ac_header_compiler" |
1839 fi | 1848 fi |
1840 eval ac_res=\$$3 | 1849 eval ac_res=\$$3 |
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1842 $as_echo "$ac_res" >&6; } | 1851 $as_echo "$ac_res" >&6; } |
1843 fi | 1852 fi |
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1845 | 1854 |
1846 } # ac_fn_c_check_header_mongrel | 1855 } # ac_fn_c_check_header_mongrel |
1847 | 1856 |
1848 # ac_fn_c_try_run LINENO | 1857 # ac_fn_c_try_run LINENO |
1849 # ---------------------- | 1858 # ---------------------- |
1880 sed 's/^/| /' conftest.$ac_ext >&5 | 1889 sed 's/^/| /' conftest.$ac_ext >&5 |
1881 | 1890 |
1882 ac_retval=$ac_status | 1891 ac_retval=$ac_status |
1883 fi | 1892 fi |
1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1885 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1886 as_fn_set_status $ac_retval | 1895 as_fn_set_status $ac_retval |
1887 | 1896 |
1888 } # ac_fn_c_try_run | 1897 } # ac_fn_c_try_run |
1889 | 1898 |
1890 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 1899 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1894 ac_fn_c_check_header_compile () | 1903 ac_fn_c_check_header_compile () |
1895 { | 1904 { |
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1898 $as_echo_n "checking for $2... " >&6; } | 1907 $as_echo_n "checking for $2... " >&6; } |
1899 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1908 if eval \${$3+:} false; then : |
1900 $as_echo_n "(cached) " >&6 | 1909 $as_echo_n "(cached) " >&6 |
1901 else | 1910 else |
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1903 /* end confdefs.h. */ | 1912 /* end confdefs.h. */ |
1904 $4 | 1913 $4 |
1912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1913 fi | 1922 fi |
1914 eval ac_res=\$$3 | 1923 eval ac_res=\$$3 |
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1916 $as_echo "$ac_res" >&6; } | 1925 $as_echo "$ac_res" >&6; } |
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1918 | 1927 |
1919 } # ac_fn_c_check_header_compile | 1928 } # ac_fn_c_check_header_compile |
1920 | 1929 |
1921 # ac_fn_c_check_decl LINENO SYMBOL VAR | 1930 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1922 # ------------------------------------ | 1931 # --------------------------------------------- |
1923 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | 1932 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1933 # accordingly. | |
1924 ac_fn_c_check_decl () | 1934 ac_fn_c_check_decl () |
1925 { | 1935 { |
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | 1937 as_decl_name=`echo $2|sed 's/ *(.*//'` |
1928 $as_echo_n "checking whether $2 is declared... " >&6; } | 1938 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1929 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1940 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
1941 if eval \${$3+:} false; then : | |
1930 $as_echo_n "(cached) " >&6 | 1942 $as_echo_n "(cached) " >&6 |
1931 else | 1943 else |
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1933 /* end confdefs.h. */ | 1945 /* end confdefs.h. */ |
1934 $4 | 1946 $4 |
1935 int | 1947 int |
1936 main () | 1948 main () |
1937 { | 1949 { |
1938 #ifndef $2 | 1950 #ifndef $as_decl_name |
1939 (void) $2; | 1951 #ifdef __cplusplus |
1952 (void) $as_decl_use; | |
1953 #else | |
1954 (void) $as_decl_name; | |
1955 #endif | |
1940 #endif | 1956 #endif |
1941 | 1957 |
1942 ; | 1958 ; |
1943 return 0; | 1959 return 0; |
1944 } | 1960 } |
1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1952 fi | 1968 fi |
1953 eval ac_res=\$$3 | 1969 eval ac_res=\$$3 |
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1955 $as_echo "$ac_res" >&6; } | 1971 $as_echo "$ac_res" >&6; } |
1956 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1957 | 1973 |
1958 } # ac_fn_c_check_decl | 1974 } # ac_fn_c_check_decl |
1959 | 1975 |
1960 # ac_fn_c_check_header_preproc LINENO HEADER VAR | 1976 # ac_fn_c_check_header_preproc LINENO HEADER VAR |
1961 # ---------------------------------------------- | 1977 # ---------------------------------------------- |
1963 ac_fn_c_check_header_preproc () | 1979 ac_fn_c_check_header_preproc () |
1964 { | 1980 { |
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1967 $as_echo_n "checking for $2... " >&6; } | 1983 $as_echo_n "checking for $2... " >&6; } |
1968 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1984 if eval \${$3+:} false; then : |
1969 $as_echo_n "(cached) " >&6 | 1985 $as_echo_n "(cached) " >&6 |
1970 else | 1986 else |
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1972 /* end confdefs.h. */ | 1988 /* end confdefs.h. */ |
1973 #include <$2> | 1989 #include <$2> |
1975 if ac_fn_c_try_cpp "$LINENO"; then : | 1991 if ac_fn_c_try_cpp "$LINENO"; then : |
1976 eval "$3=yes" | 1992 eval "$3=yes" |
1977 else | 1993 else |
1978 eval "$3=no" | 1994 eval "$3=no" |
1979 fi | 1995 fi |
1980 rm -f conftest.err conftest.$ac_ext | 1996 rm -f conftest.err conftest.i conftest.$ac_ext |
1981 fi | 1997 fi |
1982 eval ac_res=\$$3 | 1998 eval ac_res=\$$3 |
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1984 $as_echo "$ac_res" >&6; } | 2000 $as_echo "$ac_res" >&6; } |
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1986 | 2002 |
1987 } # ac_fn_c_check_header_preproc | 2003 } # ac_fn_c_check_header_preproc |
1988 | 2004 |
1989 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | 2005 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
1990 # ---------------------------------------------------- | 2006 # ---------------------------------------------------- |
1993 ac_fn_c_check_member () | 2009 ac_fn_c_check_member () |
1994 { | 2010 { |
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1997 $as_echo_n "checking for $2.$3... " >&6; } | 2013 $as_echo_n "checking for $2.$3... " >&6; } |
1998 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | 2014 if eval \${$4+:} false; then : |
1999 $as_echo_n "(cached) " >&6 | 2015 $as_echo_n "(cached) " >&6 |
2000 else | 2016 else |
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2002 /* end confdefs.h. */ | 2018 /* end confdefs.h. */ |
2003 $5 | 2019 $5 |
2037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2038 fi | 2054 fi |
2039 eval ac_res=\$$4 | 2055 eval ac_res=\$$4 |
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2041 $as_echo "$ac_res" >&6; } | 2057 $as_echo "$ac_res" >&6; } |
2042 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2043 | 2059 |
2044 } # ac_fn_c_check_member | 2060 } # ac_fn_c_check_member |
2045 | 2061 |
2046 # ac_fn_c_check_func LINENO FUNC VAR | 2062 # ac_fn_c_check_func LINENO FUNC VAR |
2047 # ---------------------------------- | 2063 # ---------------------------------- |
2049 ac_fn_c_check_func () | 2065 ac_fn_c_check_func () |
2050 { | 2066 { |
2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2053 $as_echo_n "checking for $2... " >&6; } | 2069 $as_echo_n "checking for $2... " >&6; } |
2054 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2070 if eval \${$3+:} false; then : |
2055 $as_echo_n "(cached) " >&6 | 2071 $as_echo_n "(cached) " >&6 |
2056 else | 2072 else |
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2058 /* end confdefs.h. */ | 2074 /* end confdefs.h. */ |
2059 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 2075 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2104 conftest$ac_exeext conftest.$ac_ext | 2120 conftest$ac_exeext conftest.$ac_ext |
2105 fi | 2121 fi |
2106 eval ac_res=\$$3 | 2122 eval ac_res=\$$3 |
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2108 $as_echo "$ac_res" >&6; } | 2124 $as_echo "$ac_res" >&6; } |
2109 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2110 | 2126 |
2111 } # ac_fn_c_check_func | 2127 } # ac_fn_c_check_func |
2112 | 2128 |
2113 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | 2129 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
2114 # ------------------------------------------- | 2130 # ------------------------------------------- |
2117 ac_fn_c_check_type () | 2133 ac_fn_c_check_type () |
2118 { | 2134 { |
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2121 $as_echo_n "checking for $2... " >&6; } | 2137 $as_echo_n "checking for $2... " >&6; } |
2122 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2138 if eval \${$3+:} false; then : |
2123 $as_echo_n "(cached) " >&6 | 2139 $as_echo_n "(cached) " >&6 |
2124 else | 2140 else |
2125 eval "$3=no" | 2141 eval "$3=no" |
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2127 /* end confdefs.h. */ | 2143 /* end confdefs.h. */ |
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2159 fi | 2175 fi |
2160 eval ac_res=\$$3 | 2176 eval ac_res=\$$3 |
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2162 $as_echo "$ac_res" >&6; } | 2178 $as_echo "$ac_res" >&6; } |
2163 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2179 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2164 | 2180 |
2165 } # ac_fn_c_check_type | 2181 } # ac_fn_c_check_type |
2166 cat >config.log <<_ACEOF | 2182 cat >config.log <<_ACEOF |
2167 This file contains any messages produced by compilers while | 2183 This file contains any messages produced by compilers while |
2168 running configure, to aid debugging if configure makes a mistake. | 2184 running configure, to aid debugging if configure makes a mistake. |
2169 | 2185 |
2170 It was created by emacs $as_me 24.0.50, which was | 2186 It was created by emacs $as_me 24.0.50, which was |
2171 generated by GNU Autoconf 2.65. Invocation command line was | 2187 generated by GNU Autoconf 2.68. Invocation command line was |
2172 | 2188 |
2173 $ $0 $@ | 2189 $ $0 $@ |
2174 | 2190 |
2175 _ACEOF | 2191 _ACEOF |
2176 exec 5>>config.log | 2192 exec 5>>config.log |
2276 trap 'exit_status=$? | 2292 trap 'exit_status=$? |
2277 # Save into config.log some information that might help in debugging. | 2293 # Save into config.log some information that might help in debugging. |
2278 { | 2294 { |
2279 echo | 2295 echo |
2280 | 2296 |
2281 cat <<\_ASBOX | 2297 $as_echo "## ---------------- ## |
2282 ## ---------------- ## | |
2283 ## Cache variables. ## | 2298 ## Cache variables. ## |
2284 ## ---------------- ## | 2299 ## ---------------- ##" |
2285 _ASBOX | |
2286 echo | 2300 echo |
2287 # The following way of writing the cache mishandles newlines in values, | 2301 # The following way of writing the cache mishandles newlines in values, |
2288 ( | 2302 ( |
2289 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2303 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2290 eval ac_val=\$$ac_var | 2304 eval ac_val=\$$ac_var |
2314 esac | | 2328 esac | |
2315 sort | 2329 sort |
2316 ) | 2330 ) |
2317 echo | 2331 echo |
2318 | 2332 |
2319 cat <<\_ASBOX | 2333 $as_echo "## ----------------- ## |
2320 ## ----------------- ## | |
2321 ## Output variables. ## | 2334 ## Output variables. ## |
2322 ## ----------------- ## | 2335 ## ----------------- ##" |
2323 _ASBOX | |
2324 echo | 2336 echo |
2325 for ac_var in $ac_subst_vars | 2337 for ac_var in $ac_subst_vars |
2326 do | 2338 do |
2327 eval ac_val=\$$ac_var | 2339 eval ac_val=\$$ac_var |
2328 case $ac_val in | 2340 case $ac_val in |
2331 $as_echo "$ac_var='\''$ac_val'\''" | 2343 $as_echo "$ac_var='\''$ac_val'\''" |
2332 done | sort | 2344 done | sort |
2333 echo | 2345 echo |
2334 | 2346 |
2335 if test -n "$ac_subst_files"; then | 2347 if test -n "$ac_subst_files"; then |
2336 cat <<\_ASBOX | 2348 $as_echo "## ------------------- ## |
2337 ## ------------------- ## | |
2338 ## File substitutions. ## | 2349 ## File substitutions. ## |
2339 ## ------------------- ## | 2350 ## ------------------- ##" |
2340 _ASBOX | |
2341 echo | 2351 echo |
2342 for ac_var in $ac_subst_files | 2352 for ac_var in $ac_subst_files |
2343 do | 2353 do |
2344 eval ac_val=\$$ac_var | 2354 eval ac_val=\$$ac_var |
2345 case $ac_val in | 2355 case $ac_val in |
2349 done | sort | 2359 done | sort |
2350 echo | 2360 echo |
2351 fi | 2361 fi |
2352 | 2362 |
2353 if test -s confdefs.h; then | 2363 if test -s confdefs.h; then |
2354 cat <<\_ASBOX | 2364 $as_echo "## ----------- ## |
2355 ## ----------- ## | |
2356 ## confdefs.h. ## | 2365 ## confdefs.h. ## |
2357 ## ----------- ## | 2366 ## ----------- ##" |
2358 _ASBOX | |
2359 echo | 2367 echo |
2360 cat confdefs.h | 2368 cat confdefs.h |
2361 echo | 2369 echo |
2362 fi | 2370 fi |
2363 test "$ac_signal" != 0 && | 2371 test "$ac_signal" != 0 && |
2408 # Let the site file select an alternate cache file if it wants to. | 2416 # Let the site file select an alternate cache file if it wants to. |
2409 # Prefer an explicitly selected file to automatically selected ones. | 2417 # Prefer an explicitly selected file to automatically selected ones. |
2410 ac_site_file1=NONE | 2418 ac_site_file1=NONE |
2411 ac_site_file2=NONE | 2419 ac_site_file2=NONE |
2412 if test -n "$CONFIG_SITE"; then | 2420 if test -n "$CONFIG_SITE"; then |
2413 ac_site_file1=$CONFIG_SITE | 2421 # We do not want a PATH search for config.site. |
2422 case $CONFIG_SITE in #(( | |
2423 -*) ac_site_file1=./$CONFIG_SITE;; | |
2424 */*) ac_site_file1=$CONFIG_SITE;; | |
2425 *) ac_site_file1=./$CONFIG_SITE;; | |
2426 esac | |
2414 elif test "x$prefix" != xNONE; then | 2427 elif test "x$prefix" != xNONE; then |
2415 ac_site_file1=$prefix/share/config.site | 2428 ac_site_file1=$prefix/share/config.site |
2416 ac_site_file2=$prefix/etc/config.site | 2429 ac_site_file2=$prefix/etc/config.site |
2417 else | 2430 else |
2418 ac_site_file1=$ac_default_prefix/share/config.site | 2431 ac_site_file1=$ac_default_prefix/share/config.site |
2423 test "x$ac_site_file" = xNONE && continue | 2436 test "x$ac_site_file" = xNONE && continue |
2424 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2437 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2426 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2439 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2427 sed 's/^/| /' "$ac_site_file" >&5 | 2440 sed 's/^/| /' "$ac_site_file" >&5 |
2428 . "$ac_site_file" | 2441 . "$ac_site_file" \ |
2442 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2444 as_fn_error $? "failed to load site script $ac_site_file | |
2445 See \`config.log' for more details" "$LINENO" 5; } | |
2429 fi | 2446 fi |
2430 done | 2447 done |
2431 | 2448 |
2432 if test -r "$cache_file"; then | 2449 if test -r "$cache_file"; then |
2433 # Some versions of bash will fail to source /dev/null (special files | 2450 # Some versions of bash will fail to source /dev/null (special files |
2504 if $ac_cache_corrupted; then | 2521 if $ac_cache_corrupted; then |
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2508 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2525 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2509 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2526 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2510 fi | 2527 fi |
2511 ## -------------------- ## | 2528 ## -------------------- ## |
2512 ## Main body of script. ## | 2529 ## Main body of script. ## |
2513 ## -------------------- ## | 2530 ## -------------------- ## |
2514 | 2531 |
2678 a | at | ath | athe | athen | athena ) val=athena ;; | 2695 a | at | ath | athe | athen | athena ) val=athena ;; |
2679 m | mo | mot | moti | motif ) val=motif ;; | 2696 m | mo | mot | moti | motif ) val=motif ;; |
2680 g | gt | gtk ) val=gtk ;; | 2697 g | gt | gtk ) val=gtk ;; |
2681 gtk3 ) val=gtk3 ;; | 2698 gtk3 ) val=gtk3 ;; |
2682 * ) | 2699 * ) |
2683 as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2700 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; |
2684 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or | 2701 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or |
2685 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2702 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2686 ;; | 2703 ;; |
2687 esac | 2704 esac |
2688 with_x_toolkit=$val | 2705 with_x_toolkit=$val |
2981 stringbytes) ac_gc_check_stringbytes=1 ;; | 2998 stringbytes) ac_gc_check_stringbytes=1 ;; |
2982 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2999 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2983 stringfreelist) ac_gc_check_string_free_list=1 ;; | 3000 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2984 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 3001 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2985 conslist) ac_gc_check_cons_list=1 ;; | 3002 conslist) ac_gc_check_cons_list=1 ;; |
2986 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 3003 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; |
2987 esac | 3004 esac |
2988 done | 3005 done |
2989 IFS="$ac_save_IFS" | 3006 IFS="$ac_save_IFS" |
2990 | 3007 |
2991 if test x$ac_enable_checking != x ; then | 3008 if test x$ac_enable_checking != x ; then |
3096 | 3113 |
3097 ### Canonicalize the configuration name. | 3114 ### Canonicalize the configuration name. |
3098 | 3115 |
3099 ac_aux_dir= | 3116 ac_aux_dir= |
3100 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3117 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3101 for ac_t in install-sh install.sh shtool; do | 3118 if test -f "$ac_dir/install-sh"; then |
3102 if test -f "$ac_dir/$ac_t"; then | 3119 ac_aux_dir=$ac_dir |
3103 ac_aux_dir=$ac_dir | 3120 ac_install_sh="$ac_aux_dir/install-sh -c" |
3104 ac_install_sh="$ac_aux_dir/$ac_t -c" | 3121 break |
3105 break 2 | 3122 elif test -f "$ac_dir/install.sh"; then |
3106 fi | 3123 ac_aux_dir=$ac_dir |
3107 done | 3124 ac_install_sh="$ac_aux_dir/install.sh -c" |
3125 break | |
3126 elif test -f "$ac_dir/shtool"; then | |
3127 ac_aux_dir=$ac_dir | |
3128 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3129 break | |
3130 fi | |
3108 done | 3131 done |
3109 if test -z "$ac_aux_dir"; then | 3132 if test -z "$ac_aux_dir"; then |
3110 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3133 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3111 fi | 3134 fi |
3112 | 3135 |
3113 # These three variables are undocumented and unsupported, | 3136 # These three variables are undocumented and unsupported, |
3114 # and are intended to be withdrawn in a future Autoconf release. | 3137 # and are intended to be withdrawn in a future Autoconf release. |
3115 # They can cause serious problems if a builder's source tree is in a directory | 3138 # They can cause serious problems if a builder's source tree is in a directory |
3119 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3142 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3120 | 3143 |
3121 | 3144 |
3122 # Make sure we can run config.sub. | 3145 # Make sure we can run config.sub. |
3123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3146 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3124 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3147 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3125 | 3148 |
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3127 $as_echo_n "checking build system type... " >&6; } | 3150 $as_echo_n "checking build system type... " >&6; } |
3128 if test "${ac_cv_build+set}" = set; then : | 3151 if ${ac_cv_build+:} false; then : |
3129 $as_echo_n "(cached) " >&6 | 3152 $as_echo_n "(cached) " >&6 |
3130 else | 3153 else |
3131 ac_build_alias=$build_alias | 3154 ac_build_alias=$build_alias |
3132 test "x$ac_build_alias" = x && | 3155 test "x$ac_build_alias" = x && |
3133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3156 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3134 test "x$ac_build_alias" = x && | 3157 test "x$ac_build_alias" = x && |
3135 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 3158 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
3136 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3159 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3160 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3138 | 3161 |
3139 fi | 3162 fi |
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3141 $as_echo "$ac_cv_build" >&6; } | 3164 $as_echo "$ac_cv_build" >&6; } |
3142 case $ac_cv_build in | 3165 case $ac_cv_build in |
3143 *-*-*) ;; | 3166 *-*-*) ;; |
3144 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 3167 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
3145 esac | 3168 esac |
3146 build=$ac_cv_build | 3169 build=$ac_cv_build |
3147 ac_save_IFS=$IFS; IFS='-' | 3170 ac_save_IFS=$IFS; IFS='-' |
3148 set x $ac_cv_build | 3171 set x $ac_cv_build |
3149 shift | 3172 shift |
3157 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 3180 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3158 | 3181 |
3159 | 3182 |
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
3161 $as_echo_n "checking host system type... " >&6; } | 3184 $as_echo_n "checking host system type... " >&6; } |
3162 if test "${ac_cv_host+set}" = set; then : | 3185 if ${ac_cv_host+:} false; then : |
3163 $as_echo_n "(cached) " >&6 | 3186 $as_echo_n "(cached) " >&6 |
3164 else | 3187 else |
3165 if test "x$host_alias" = x; then | 3188 if test "x$host_alias" = x; then |
3166 ac_cv_host=$ac_cv_build | 3189 ac_cv_host=$ac_cv_build |
3167 else | 3190 else |
3168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3191 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3169 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3192 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3170 fi | 3193 fi |
3171 | 3194 |
3172 fi | 3195 fi |
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3174 $as_echo "$ac_cv_host" >&6; } | 3197 $as_echo "$ac_cv_host" >&6; } |
3175 case $ac_cv_host in | 3198 case $ac_cv_host in |
3176 *-*-*) ;; | 3199 *-*-*) ;; |
3177 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 3200 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
3178 esac | 3201 esac |
3179 host=$ac_cv_host | 3202 host=$ac_cv_host |
3180 ac_save_IFS=$IFS; IFS='-' | 3203 ac_save_IFS=$IFS; IFS='-' |
3181 set x $ac_cv_host | 3204 set x $ac_cv_host |
3182 shift | 3205 shift |
3466 fi | 3489 fi |
3467 | 3490 |
3468 | 3491 |
3469 | 3492 |
3470 if test $unported = yes; then | 3493 if test $unported = yes; then |
3471 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 3494 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. |
3472 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3495 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
3473 fi | 3496 fi |
3474 | 3497 |
3475 machfile="m/${machine}.h" | 3498 machfile="m/${machine}.h" |
3476 opsysfile="s/${opsys}.h" | 3499 opsysfile="s/${opsys}.h" |
3490 if test -n "$ac_tool_prefix"; then | 3513 if test -n "$ac_tool_prefix"; then |
3491 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3514 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3492 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3515 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3494 $as_echo_n "checking for $ac_word... " >&6; } | 3517 $as_echo_n "checking for $ac_word... " >&6; } |
3495 if test "${ac_cv_prog_CC+set}" = set; then : | 3518 if ${ac_cv_prog_CC+:} false; then : |
3496 $as_echo_n "(cached) " >&6 | 3519 $as_echo_n "(cached) " >&6 |
3497 else | 3520 else |
3498 if test -n "$CC"; then | 3521 if test -n "$CC"; then |
3499 ac_cv_prog_CC="$CC" # Let the user override the test. | 3522 ac_cv_prog_CC="$CC" # Let the user override the test. |
3500 else | 3523 else |
3530 ac_ct_CC=$CC | 3553 ac_ct_CC=$CC |
3531 # Extract the first word of "gcc", so it can be a program name with args. | 3554 # Extract the first word of "gcc", so it can be a program name with args. |
3532 set dummy gcc; ac_word=$2 | 3555 set dummy gcc; ac_word=$2 |
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3534 $as_echo_n "checking for $ac_word... " >&6; } | 3557 $as_echo_n "checking for $ac_word... " >&6; } |
3535 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3558 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3536 $as_echo_n "(cached) " >&6 | 3559 $as_echo_n "(cached) " >&6 |
3537 else | 3560 else |
3538 if test -n "$ac_ct_CC"; then | 3561 if test -n "$ac_ct_CC"; then |
3539 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3540 else | 3563 else |
3583 if test -n "$ac_tool_prefix"; then | 3606 if test -n "$ac_tool_prefix"; then |
3584 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3607 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3585 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3608 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3587 $as_echo_n "checking for $ac_word... " >&6; } | 3610 $as_echo_n "checking for $ac_word... " >&6; } |
3588 if test "${ac_cv_prog_CC+set}" = set; then : | 3611 if ${ac_cv_prog_CC+:} false; then : |
3589 $as_echo_n "(cached) " >&6 | 3612 $as_echo_n "(cached) " >&6 |
3590 else | 3613 else |
3591 if test -n "$CC"; then | 3614 if test -n "$CC"; then |
3592 ac_cv_prog_CC="$CC" # Let the user override the test. | 3615 ac_cv_prog_CC="$CC" # Let the user override the test. |
3593 else | 3616 else |
3623 if test -z "$CC"; then | 3646 if test -z "$CC"; then |
3624 # Extract the first word of "cc", so it can be a program name with args. | 3647 # Extract the first word of "cc", so it can be a program name with args. |
3625 set dummy cc; ac_word=$2 | 3648 set dummy cc; ac_word=$2 |
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3627 $as_echo_n "checking for $ac_word... " >&6; } | 3650 $as_echo_n "checking for $ac_word... " >&6; } |
3628 if test "${ac_cv_prog_CC+set}" = set; then : | 3651 if ${ac_cv_prog_CC+:} false; then : |
3629 $as_echo_n "(cached) " >&6 | 3652 $as_echo_n "(cached) " >&6 |
3630 else | 3653 else |
3631 if test -n "$CC"; then | 3654 if test -n "$CC"; then |
3632 ac_cv_prog_CC="$CC" # Let the user override the test. | 3655 ac_cv_prog_CC="$CC" # Let the user override the test. |
3633 else | 3656 else |
3682 do | 3705 do |
3683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3686 $as_echo_n "checking for $ac_word... " >&6; } | 3709 $as_echo_n "checking for $ac_word... " >&6; } |
3687 if test "${ac_cv_prog_CC+set}" = set; then : | 3710 if ${ac_cv_prog_CC+:} false; then : |
3688 $as_echo_n "(cached) " >&6 | 3711 $as_echo_n "(cached) " >&6 |
3689 else | 3712 else |
3690 if test -n "$CC"; then | 3713 if test -n "$CC"; then |
3691 ac_cv_prog_CC="$CC" # Let the user override the test. | 3714 ac_cv_prog_CC="$CC" # Let the user override the test. |
3692 else | 3715 else |
3726 do | 3749 do |
3727 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3750 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3728 set dummy $ac_prog; ac_word=$2 | 3751 set dummy $ac_prog; ac_word=$2 |
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3730 $as_echo_n "checking for $ac_word... " >&6; } | 3753 $as_echo_n "checking for $ac_word... " >&6; } |
3731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3754 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3732 $as_echo_n "(cached) " >&6 | 3755 $as_echo_n "(cached) " >&6 |
3733 else | 3756 else |
3734 if test -n "$ac_ct_CC"; then | 3757 if test -n "$ac_ct_CC"; then |
3735 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3736 else | 3759 else |
3780 fi | 3803 fi |
3781 | 3804 |
3782 | 3805 |
3783 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3806 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3785 as_fn_error "no acceptable C compiler found in \$PATH | 3808 as_fn_error $? "no acceptable C compiler found in \$PATH |
3786 See \`config.log' for more details." "$LINENO" 5; } | 3809 See \`config.log' for more details" "$LINENO" 5; } |
3787 | 3810 |
3788 # Provide some information about the compiler. | 3811 # Provide some information about the compiler. |
3789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3812 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3790 set X $ac_compile | 3813 set X $ac_compile |
3791 ac_compiler=$2 | 3814 ac_compiler=$2 |
3895 $as_echo "$as_me: failed program was:" >&5 | 3918 $as_echo "$as_me: failed program was:" >&5 |
3896 sed 's/^/| /' conftest.$ac_ext >&5 | 3919 sed 's/^/| /' conftest.$ac_ext >&5 |
3897 | 3920 |
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3900 { as_fn_set_status 77 | 3923 as_fn_error 77 "C compiler cannot create executables |
3901 as_fn_error "C compiler cannot create executables | 3924 See \`config.log' for more details" "$LINENO" 5; } |
3902 See \`config.log' for more details." "$LINENO" 5; }; } | |
3903 else | 3925 else |
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3905 $as_echo "yes" >&6; } | 3927 $as_echo "yes" >&6; } |
3906 fi | 3928 fi |
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3939 esac | 3961 esac |
3940 done | 3962 done |
3941 else | 3963 else |
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3944 as_fn_error "cannot compute suffix of executables: cannot compile and link | 3966 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3945 See \`config.log' for more details." "$LINENO" 5; } | 3967 See \`config.log' for more details" "$LINENO" 5; } |
3946 fi | 3968 fi |
3947 rm -f conftest conftest$ac_cv_exeext | 3969 rm -f conftest conftest$ac_cv_exeext |
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3949 $as_echo "$ac_cv_exeext" >&6; } | 3971 $as_echo "$ac_cv_exeext" >&6; } |
3950 | 3972 |
3997 if test "$cross_compiling" = maybe; then | 4019 if test "$cross_compiling" = maybe; then |
3998 cross_compiling=yes | 4020 cross_compiling=yes |
3999 else | 4021 else |
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4002 as_fn_error "cannot run C compiled programs. | 4024 as_fn_error $? "cannot run C compiled programs. |
4003 If you meant to cross compile, use \`--host'. | 4025 If you meant to cross compile, use \`--host'. |
4004 See \`config.log' for more details." "$LINENO" 5; } | 4026 See \`config.log' for more details" "$LINENO" 5; } |
4005 fi | 4027 fi |
4006 fi | 4028 fi |
4007 fi | 4029 fi |
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
4009 $as_echo "$cross_compiling" >&6; } | 4031 $as_echo "$cross_compiling" >&6; } |
4010 | 4032 |
4011 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 4033 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
4012 ac_clean_files=$ac_clean_files_save | 4034 ac_clean_files=$ac_clean_files_save |
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
4014 $as_echo_n "checking for suffix of object files... " >&6; } | 4036 $as_echo_n "checking for suffix of object files... " >&6; } |
4015 if test "${ac_cv_objext+set}" = set; then : | 4037 if ${ac_cv_objext+:} false; then : |
4016 $as_echo_n "(cached) " >&6 | 4038 $as_echo_n "(cached) " >&6 |
4017 else | 4039 else |
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4019 /* end confdefs.h. */ | 4041 /* end confdefs.h. */ |
4020 | 4042 |
4050 $as_echo "$as_me: failed program was:" >&5 | 4072 $as_echo "$as_me: failed program was:" >&5 |
4051 sed 's/^/| /' conftest.$ac_ext >&5 | 4073 sed 's/^/| /' conftest.$ac_ext >&5 |
4052 | 4074 |
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4055 as_fn_error "cannot compute suffix of object files: cannot compile | 4077 as_fn_error $? "cannot compute suffix of object files: cannot compile |
4056 See \`config.log' for more details." "$LINENO" 5; } | 4078 See \`config.log' for more details" "$LINENO" 5; } |
4057 fi | 4079 fi |
4058 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4080 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4059 fi | 4081 fi |
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4061 $as_echo "$ac_cv_objext" >&6; } | 4083 $as_echo "$ac_cv_objext" >&6; } |
4062 OBJEXT=$ac_cv_objext | 4084 OBJEXT=$ac_cv_objext |
4063 ac_objext=$OBJEXT | 4085 ac_objext=$OBJEXT |
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4065 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 4087 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4066 if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 4088 if ${ac_cv_c_compiler_gnu+:} false; then : |
4067 $as_echo_n "(cached) " >&6 | 4089 $as_echo_n "(cached) " >&6 |
4068 else | 4090 else |
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4070 /* end confdefs.h. */ | 4092 /* end confdefs.h. */ |
4071 | 4093 |
4098 fi | 4120 fi |
4099 ac_test_CFLAGS=${CFLAGS+set} | 4121 ac_test_CFLAGS=${CFLAGS+set} |
4100 ac_save_CFLAGS=$CFLAGS | 4122 ac_save_CFLAGS=$CFLAGS |
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4102 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 4124 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4103 if test "${ac_cv_prog_cc_g+set}" = set; then : | 4125 if ${ac_cv_prog_cc_g+:} false; then : |
4104 $as_echo_n "(cached) " >&6 | 4126 $as_echo_n "(cached) " >&6 |
4105 else | 4127 else |
4106 ac_save_c_werror_flag=$ac_c_werror_flag | 4128 ac_save_c_werror_flag=$ac_c_werror_flag |
4107 ac_c_werror_flag=yes | 4129 ac_c_werror_flag=yes |
4108 ac_cv_prog_cc_g=no | 4130 ac_cv_prog_cc_g=no |
4176 CFLAGS= | 4198 CFLAGS= |
4177 fi | 4199 fi |
4178 fi | 4200 fi |
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4180 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 4202 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4181 if test "${ac_cv_prog_cc_c89+set}" = set; then : | 4203 if ${ac_cv_prog_cc_c89+:} false; then : |
4182 $as_echo_n "(cached) " >&6 | 4204 $as_echo_n "(cached) " >&6 |
4183 else | 4205 else |
4184 ac_cv_prog_cc_c89=no | 4206 ac_cv_prog_cc_c89=no |
4185 ac_save_CC=$CC | 4207 ac_save_CC=$CC |
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4284 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 4306 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
4285 test x"$CPP" = x; then | 4307 test x"$CPP" = x; then |
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 | 4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 |
4287 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 4309 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
4288 | 4310 |
4289 if test "${emacs_cv_sunpro_c+set}" = set; then : | 4311 if ${emacs_cv_sunpro_c+:} false; then : |
4290 $as_echo_n "(cached) " >&6 | 4312 $as_echo_n "(cached) " >&6 |
4291 else | 4313 else |
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4293 /* end confdefs.h. */ | 4315 /* end confdefs.h. */ |
4294 | 4316 |
4353 # On Suns, sometimes $CPP names a directory. | 4375 # On Suns, sometimes $CPP names a directory. |
4354 if test -n "$CPP" && test -d "$CPP"; then | 4376 if test -n "$CPP" && test -d "$CPP"; then |
4355 CPP= | 4377 CPP= |
4356 fi | 4378 fi |
4357 if test -z "$CPP"; then | 4379 if test -z "$CPP"; then |
4358 if test "${ac_cv_prog_CPP+set}" = set; then : | 4380 if ${ac_cv_prog_CPP+:} false; then : |
4359 $as_echo_n "(cached) " >&6 | 4381 $as_echo_n "(cached) " >&6 |
4360 else | 4382 else |
4361 # Double quotes because CPP needs to be expanded | 4383 # Double quotes because CPP needs to be expanded |
4362 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4384 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4363 do | 4385 do |
4383 | 4405 |
4384 else | 4406 else |
4385 # Broken: fails on valid input. | 4407 # Broken: fails on valid input. |
4386 continue | 4408 continue |
4387 fi | 4409 fi |
4388 rm -f conftest.err conftest.$ac_ext | 4410 rm -f conftest.err conftest.i conftest.$ac_ext |
4389 | 4411 |
4390 # OK, works on sane cases. Now check whether nonexistent headers | 4412 # OK, works on sane cases. Now check whether nonexistent headers |
4391 # can be detected and how. | 4413 # can be detected and how. |
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4393 /* end confdefs.h. */ | 4415 /* end confdefs.h. */ |
4399 else | 4421 else |
4400 # Passes both tests. | 4422 # Passes both tests. |
4401 ac_preproc_ok=: | 4423 ac_preproc_ok=: |
4402 break | 4424 break |
4403 fi | 4425 fi |
4404 rm -f conftest.err conftest.$ac_ext | 4426 rm -f conftest.err conftest.i conftest.$ac_ext |
4405 | 4427 |
4406 done | 4428 done |
4407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4408 rm -f conftest.err conftest.$ac_ext | 4430 rm -f conftest.i conftest.err conftest.$ac_ext |
4409 if $ac_preproc_ok; then : | 4431 if $ac_preproc_ok; then : |
4410 break | 4432 break |
4411 fi | 4433 fi |
4412 | 4434 |
4413 done | 4435 done |
4442 | 4464 |
4443 else | 4465 else |
4444 # Broken: fails on valid input. | 4466 # Broken: fails on valid input. |
4445 continue | 4467 continue |
4446 fi | 4468 fi |
4447 rm -f conftest.err conftest.$ac_ext | 4469 rm -f conftest.err conftest.i conftest.$ac_ext |
4448 | 4470 |
4449 # OK, works on sane cases. Now check whether nonexistent headers | 4471 # OK, works on sane cases. Now check whether nonexistent headers |
4450 # can be detected and how. | 4472 # can be detected and how. |
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4452 /* end confdefs.h. */ | 4474 /* end confdefs.h. */ |
4458 else | 4480 else |
4459 # Passes both tests. | 4481 # Passes both tests. |
4460 ac_preproc_ok=: | 4482 ac_preproc_ok=: |
4461 break | 4483 break |
4462 fi | 4484 fi |
4463 rm -f conftest.err conftest.$ac_ext | 4485 rm -f conftest.err conftest.i conftest.$ac_ext |
4464 | 4486 |
4465 done | 4487 done |
4466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4467 rm -f conftest.err conftest.$ac_ext | 4489 rm -f conftest.i conftest.err conftest.$ac_ext |
4468 if $ac_preproc_ok; then : | 4490 if $ac_preproc_ok; then : |
4469 | 4491 |
4470 else | 4492 else |
4471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4473 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4495 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
4474 See \`config.log' for more details." "$LINENO" 5; } | 4496 See \`config.log' for more details" "$LINENO" 5; } |
4475 fi | 4497 fi |
4476 | 4498 |
4477 ac_ext=c | 4499 ac_ext=c |
4478 ac_cpp='$CPP $CPPFLAGS' | 4500 ac_cpp='$CPP $CPPFLAGS' |
4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4503 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4482 | 4504 |
4483 | 4505 |
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4485 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4507 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4486 if test "${ac_cv_path_GREP+set}" = set; then : | 4508 if ${ac_cv_path_GREP+:} false; then : |
4487 $as_echo_n "(cached) " >&6 | 4509 $as_echo_n "(cached) " >&6 |
4488 else | 4510 else |
4489 if test -z "$GREP"; then | 4511 if test -z "$GREP"; then |
4490 ac_path_GREP_found=false | 4512 ac_path_GREP_found=false |
4491 # Loop through the user's path and test for each of PROGNAME-LIST | 4513 # Loop through the user's path and test for each of PROGNAME-LIST |
4530 done | 4552 done |
4531 done | 4553 done |
4532 done | 4554 done |
4533 IFS=$as_save_IFS | 4555 IFS=$as_save_IFS |
4534 if test -z "$ac_cv_path_GREP"; then | 4556 if test -z "$ac_cv_path_GREP"; then |
4535 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4557 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4536 fi | 4558 fi |
4537 else | 4559 else |
4538 ac_cv_path_GREP=$GREP | 4560 ac_cv_path_GREP=$GREP |
4539 fi | 4561 fi |
4540 | 4562 |
4544 GREP="$ac_cv_path_GREP" | 4566 GREP="$ac_cv_path_GREP" |
4545 | 4567 |
4546 | 4568 |
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4548 $as_echo_n "checking for egrep... " >&6; } | 4570 $as_echo_n "checking for egrep... " >&6; } |
4549 if test "${ac_cv_path_EGREP+set}" = set; then : | 4571 if ${ac_cv_path_EGREP+:} false; then : |
4550 $as_echo_n "(cached) " >&6 | 4572 $as_echo_n "(cached) " >&6 |
4551 else | 4573 else |
4552 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4574 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4553 then ac_cv_path_EGREP="$GREP -E" | 4575 then ac_cv_path_EGREP="$GREP -E" |
4554 else | 4576 else |
4596 done | 4618 done |
4597 done | 4619 done |
4598 done | 4620 done |
4599 IFS=$as_save_IFS | 4621 IFS=$as_save_IFS |
4600 if test -z "$ac_cv_path_EGREP"; then | 4622 if test -z "$ac_cv_path_EGREP"; then |
4601 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4623 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4602 fi | 4624 fi |
4603 else | 4625 else |
4604 ac_cv_path_EGREP=$EGREP | 4626 ac_cv_path_EGREP=$EGREP |
4605 fi | 4627 fi |
4606 | 4628 |
4611 EGREP="$ac_cv_path_EGREP" | 4633 EGREP="$ac_cv_path_EGREP" |
4612 | 4634 |
4613 | 4635 |
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4615 $as_echo_n "checking for ANSI C header files... " >&6; } | 4637 $as_echo_n "checking for ANSI C header files... " >&6; } |
4616 if test "${ac_cv_header_stdc+set}" = set; then : | 4638 if ${ac_cv_header_stdc+:} false; then : |
4617 $as_echo_n "(cached) " >&6 | 4639 $as_echo_n "(cached) " >&6 |
4618 else | 4640 else |
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4620 /* end confdefs.h. */ | 4642 /* end confdefs.h. */ |
4621 #include <stdlib.h> | 4643 #include <stdlib.h> |
4728 inttypes.h stdint.h unistd.h | 4750 inttypes.h stdint.h unistd.h |
4729 do : | 4751 do : |
4730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4732 " | 4754 " |
4733 eval as_val=\$$as_ac_Header | 4755 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4734 if test "x$as_val" = x""yes; then : | |
4735 cat >>confdefs.h <<_ACEOF | 4756 cat >>confdefs.h <<_ACEOF |
4736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4737 _ACEOF | 4758 _ACEOF |
4738 | 4759 |
4739 fi | 4760 fi |
4741 done | 4762 done |
4742 | 4763 |
4743 | 4764 |
4744 | 4765 |
4745 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" | 4766 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4746 if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 4767 if test "x$ac_cv_header_minix_config_h" = xyes; then : |
4747 MINIX=yes | 4768 MINIX=yes |
4748 else | 4769 else |
4749 MINIX= | 4770 MINIX= |
4750 fi | 4771 fi |
4751 | 4772 |
4763 fi | 4784 fi |
4764 | 4785 |
4765 | 4786 |
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | 4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4767 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 4788 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4768 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 4789 if ${ac_cv_safe_to_define___extensions__+:} false; then : |
4769 $as_echo_n "(cached) " >&6 | 4790 $as_echo_n "(cached) " >&6 |
4770 else | 4791 else |
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4772 /* end confdefs.h. */ | 4793 /* end confdefs.h. */ |
4773 | 4794 |
4943 # On Suns, sometimes $CPP names a directory. | 4964 # On Suns, sometimes $CPP names a directory. |
4944 if test -n "$CPP" && test -d "$CPP"; then | 4965 if test -n "$CPP" && test -d "$CPP"; then |
4945 CPP= | 4966 CPP= |
4946 fi | 4967 fi |
4947 if test -z "$CPP"; then | 4968 if test -z "$CPP"; then |
4948 if test "${ac_cv_prog_CPP+set}" = set; then : | 4969 if ${ac_cv_prog_CPP+:} false; then : |
4949 $as_echo_n "(cached) " >&6 | 4970 $as_echo_n "(cached) " >&6 |
4950 else | 4971 else |
4951 # Double quotes because CPP needs to be expanded | 4972 # Double quotes because CPP needs to be expanded |
4952 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4973 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
4953 do | 4974 do |
4973 | 4994 |
4974 else | 4995 else |
4975 # Broken: fails on valid input. | 4996 # Broken: fails on valid input. |
4976 continue | 4997 continue |
4977 fi | 4998 fi |
4978 rm -f conftest.err conftest.$ac_ext | 4999 rm -f conftest.err conftest.i conftest.$ac_ext |
4979 | 5000 |
4980 # OK, works on sane cases. Now check whether nonexistent headers | 5001 # OK, works on sane cases. Now check whether nonexistent headers |
4981 # can be detected and how. | 5002 # can be detected and how. |
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4983 /* end confdefs.h. */ | 5004 /* end confdefs.h. */ |
4989 else | 5010 else |
4990 # Passes both tests. | 5011 # Passes both tests. |
4991 ac_preproc_ok=: | 5012 ac_preproc_ok=: |
4992 break | 5013 break |
4993 fi | 5014 fi |
4994 rm -f conftest.err conftest.$ac_ext | 5015 rm -f conftest.err conftest.i conftest.$ac_ext |
4995 | 5016 |
4996 done | 5017 done |
4997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4998 rm -f conftest.err conftest.$ac_ext | 5019 rm -f conftest.i conftest.err conftest.$ac_ext |
4999 if $ac_preproc_ok; then : | 5020 if $ac_preproc_ok; then : |
5000 break | 5021 break |
5001 fi | 5022 fi |
5002 | 5023 |
5003 done | 5024 done |
5032 | 5053 |
5033 else | 5054 else |
5034 # Broken: fails on valid input. | 5055 # Broken: fails on valid input. |
5035 continue | 5056 continue |
5036 fi | 5057 fi |
5037 rm -f conftest.err conftest.$ac_ext | 5058 rm -f conftest.err conftest.i conftest.$ac_ext |
5038 | 5059 |
5039 # OK, works on sane cases. Now check whether nonexistent headers | 5060 # OK, works on sane cases. Now check whether nonexistent headers |
5040 # can be detected and how. | 5061 # can be detected and how. |
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5042 /* end confdefs.h. */ | 5063 /* end confdefs.h. */ |
5048 else | 5069 else |
5049 # Passes both tests. | 5070 # Passes both tests. |
5050 ac_preproc_ok=: | 5071 ac_preproc_ok=: |
5051 break | 5072 break |
5052 fi | 5073 fi |
5053 rm -f conftest.err conftest.$ac_ext | 5074 rm -f conftest.err conftest.i conftest.$ac_ext |
5054 | 5075 |
5055 done | 5076 done |
5056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5057 rm -f conftest.err conftest.$ac_ext | 5078 rm -f conftest.i conftest.err conftest.$ac_ext |
5058 if $ac_preproc_ok; then : | 5079 if $ac_preproc_ok; then : |
5059 | 5080 |
5060 else | 5081 else |
5061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5063 as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5084 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5064 See \`config.log' for more details." "$LINENO" 5; } | 5085 See \`config.log' for more details" "$LINENO" 5; } |
5065 fi | 5086 fi |
5066 | 5087 |
5067 ac_ext=c | 5088 ac_ext=c |
5068 ac_cpp='$CPP $CPPFLAGS' | 5089 ac_cpp='$CPP $CPPFLAGS' |
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5085 # ./install, which can be erroneously created by make from ./install.sh. | 5106 # ./install, which can be erroneously created by make from ./install.sh. |
5086 # Reject install programs that cannot install multiple files. | 5107 # Reject install programs that cannot install multiple files. |
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
5088 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 5109 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
5089 if test -z "$INSTALL"; then | 5110 if test -z "$INSTALL"; then |
5090 if test "${ac_cv_path_install+set}" = set; then : | 5111 if ${ac_cv_path_install+:} false; then : |
5091 $as_echo_n "(cached) " >&6 | 5112 $as_echo_n "(cached) " >&6 |
5092 else | 5113 else |
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5094 for as_dir in $PATH | 5115 for as_dir in $PATH |
5095 do | 5116 do |
5167 if test -n "$ac_tool_prefix"; then | 5188 if test -n "$ac_tool_prefix"; then |
5168 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 5189 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5169 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5190 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5171 $as_echo_n "checking for $ac_word... " >&6; } | 5192 $as_echo_n "checking for $ac_word... " >&6; } |
5172 if test "${ac_cv_prog_RANLIB+set}" = set; then : | 5193 if ${ac_cv_prog_RANLIB+:} false; then : |
5173 $as_echo_n "(cached) " >&6 | 5194 $as_echo_n "(cached) " >&6 |
5174 else | 5195 else |
5175 if test -n "$RANLIB"; then | 5196 if test -n "$RANLIB"; then |
5176 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 5197 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5177 else | 5198 else |
5207 ac_ct_RANLIB=$RANLIB | 5228 ac_ct_RANLIB=$RANLIB |
5208 # Extract the first word of "ranlib", so it can be a program name with args. | 5229 # Extract the first word of "ranlib", so it can be a program name with args. |
5209 set dummy ranlib; ac_word=$2 | 5230 set dummy ranlib; ac_word=$2 |
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5211 $as_echo_n "checking for $ac_word... " >&6; } | 5232 $as_echo_n "checking for $ac_word... " >&6; } |
5212 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 5233 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
5213 $as_echo_n "(cached) " >&6 | 5234 $as_echo_n "(cached) " >&6 |
5214 else | 5235 else |
5215 if test -n "$ac_ct_RANLIB"; then | 5236 if test -n "$ac_ct_RANLIB"; then |
5216 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 5237 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5217 else | 5238 else |
5262 ## the x86 architecture. The user should probably have provided an | 5283 ## the x86 architecture. The user should probably have provided an |
5263 ## explicit --build to `configure', but if everything else than the kernel | 5284 ## explicit --build to `configure', but if everything else than the kernel |
5264 ## is running in i386 mode, we can help them out. | 5285 ## is running in i386 mode, we can help them out. |
5265 if test "$machine" = "amdx86-64"; then | 5286 if test "$machine" = "amdx86-64"; then |
5266 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" | 5287 ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" |
5267 if test "x$ac_cv_have_decl_i386" = x""yes; then : | 5288 if test "x$ac_cv_have_decl_i386" = xyes; then : |
5268 | 5289 |
5269 fi | 5290 fi |
5270 | 5291 |
5271 if test "$ac_cv_have_decl_i386" = "yes"; then | 5292 if test "$ac_cv_have_decl_i386" = "yes"; then |
5272 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` | 5293 canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` |
5277 | 5298 |
5278 # Extract the first word of "install-info", so it can be a program name with args. | 5299 # Extract the first word of "install-info", so it can be a program name with args. |
5279 set dummy install-info; ac_word=$2 | 5300 set dummy install-info; ac_word=$2 |
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5281 $as_echo_n "checking for $ac_word... " >&6; } | 5302 $as_echo_n "checking for $ac_word... " >&6; } |
5282 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5303 if ${ac_cv_path_INSTALL_INFO+:} false; then : |
5283 $as_echo_n "(cached) " >&6 | 5304 $as_echo_n "(cached) " >&6 |
5284 else | 5305 else |
5285 case $INSTALL_INFO in | 5306 case $INSTALL_INFO in |
5286 [\\/]* | ?:[\\/]*) | 5307 [\\/]* | ?:[\\/]*) |
5287 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5308 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5317 | 5338 |
5318 # Extract the first word of "install-info", so it can be a program name with args. | 5339 # Extract the first word of "install-info", so it can be a program name with args. |
5319 set dummy install-info; ac_word=$2 | 5340 set dummy install-info; ac_word=$2 |
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5321 $as_echo_n "checking for $ac_word... " >&6; } | 5342 $as_echo_n "checking for $ac_word... " >&6; } |
5322 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5343 if ${ac_cv_path_INSTALL_INFO+:} false; then : |
5323 $as_echo_n "(cached) " >&6 | 5344 $as_echo_n "(cached) " >&6 |
5324 else | 5345 else |
5325 case $INSTALL_INFO in | 5346 case $INSTALL_INFO in |
5326 [\\/]* | ?:[\\/]*) | 5347 [\\/]* | ?:[\\/]*) |
5327 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5348 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5357 | 5378 |
5358 # Extract the first word of "install-info", so it can be a program name with args. | 5379 # Extract the first word of "install-info", so it can be a program name with args. |
5359 set dummy install-info; ac_word=$2 | 5380 set dummy install-info; ac_word=$2 |
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5361 $as_echo_n "checking for $ac_word... " >&6; } | 5382 $as_echo_n "checking for $ac_word... " >&6; } |
5362 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5383 if ${ac_cv_path_INSTALL_INFO+:} false; then : |
5363 $as_echo_n "(cached) " >&6 | 5384 $as_echo_n "(cached) " >&6 |
5364 else | 5385 else |
5365 case $INSTALL_INFO in | 5386 case $INSTALL_INFO in |
5366 [\\/]* | ?:[\\/]*) | 5387 [\\/]* | ?:[\\/]*) |
5367 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. | 5388 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. |
5398 | 5419 |
5399 # Extract the first word of "gzip", so it can be a program name with args. | 5420 # Extract the first word of "gzip", so it can be a program name with args. |
5400 set dummy gzip; ac_word=$2 | 5421 set dummy gzip; ac_word=$2 |
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5402 $as_echo_n "checking for $ac_word... " >&6; } | 5423 $as_echo_n "checking for $ac_word... " >&6; } |
5403 if test "${ac_cv_path_GZIP_PROG+set}" = set; then : | 5424 if ${ac_cv_path_GZIP_PROG+:} false; then : |
5404 $as_echo_n "(cached) " >&6 | 5425 $as_echo_n "(cached) " >&6 |
5405 else | 5426 else |
5406 case $GZIP_PROG in | 5427 case $GZIP_PROG in |
5407 [\\/]* | ?:[\\/]*) | 5428 [\\/]* | ?:[\\/]*) |
5408 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. | 5429 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. |
5441 ## Need makeinfo >= 4.6 (?) to build the manuals. | 5462 ## Need makeinfo >= 4.6 (?) to build the manuals. |
5442 # Extract the first word of "makeinfo", so it can be a program name with args. | 5463 # Extract the first word of "makeinfo", so it can be a program name with args. |
5443 set dummy makeinfo; ac_word=$2 | 5464 set dummy makeinfo; ac_word=$2 |
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5445 $as_echo_n "checking for $ac_word... " >&6; } | 5466 $as_echo_n "checking for $ac_word... " >&6; } |
5446 if test "${ac_cv_path_MAKEINFO+set}" = set; then : | 5467 if ${ac_cv_path_MAKEINFO+:} false; then : |
5447 $as_echo_n "(cached) " >&6 | 5468 $as_echo_n "(cached) " >&6 |
5448 else | 5469 else |
5449 case $MAKEINFO in | 5470 case $MAKEINFO in |
5450 [\\/]* | ?:[\\/]*) | 5471 [\\/]* | ?:[\\/]*) |
5451 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. | 5472 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. |
5496 ## with pre-built manuals, from a Bazaar checkout. | 5517 ## with pre-built manuals, from a Bazaar checkout. |
5497 if test "$MAKEINFO" = "no"; then | 5518 if test "$MAKEINFO" = "no"; then |
5498 if test "x${with_makeinfo}" = "xno"; then | 5519 if test "x${with_makeinfo}" = "xno"; then |
5499 MAKEINFO=off | 5520 MAKEINFO=off |
5500 elif test ! -e $srcdir/info/emacs; then | 5521 elif test ! -e $srcdir/info/emacs; then |
5501 as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5522 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your |
5502 source tree does not seem to have pre-built manuals in the \`info' directory. | 5523 source tree does not seem to have pre-built manuals in the \`info' directory. |
5503 Either install a suitable version of makeinfo, or re-run configure | 5524 Either install a suitable version of makeinfo, or re-run configure |
5504 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5525 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5505 fi | 5526 fi |
5506 fi | 5527 fi |
5524 | 5545 |
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 | 5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 |
5526 $as_echo_n "checking for -znocombreloc... " >&6; } | 5547 $as_echo_n "checking for -znocombreloc... " >&6; } |
5527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5528 /* end confdefs.h. */ | 5549 /* end confdefs.h. */ |
5529 main(){return 0;} | 5550 |
5551 int | |
5552 main () | |
5553 { | |
5554 | |
5555 ; | |
5556 return 0; | |
5557 } | |
5530 _ACEOF | 5558 _ACEOF |
5531 if ac_fn_c_try_link "$LINENO"; then : | 5559 if ac_fn_c_try_link "$LINENO"; then : |
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5533 $as_echo "yes" >&6; } | 5561 $as_echo "yes" >&6; } |
5534 else | 5562 else |
5635 | 5663 |
5636 | 5664 |
5637 C_SWITCH_MACHINE= | 5665 C_SWITCH_MACHINE= |
5638 if test "$machine" = "alpha"; then | 5666 if test "$machine" = "alpha"; then |
5639 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" | 5667 ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" |
5640 if test "x$ac_cv_have_decl___ELF__" = x""yes; then : | 5668 if test "x$ac_cv_have_decl___ELF__" = xyes; then : |
5641 | 5669 |
5642 fi | 5670 fi |
5643 | 5671 |
5644 if test "$ac_cv_have_decl___ELF__" = "yes"; then | 5672 if test "$ac_cv_have_decl___ELF__" = "yes"; then |
5645 ## With ELF, make sure that all common symbols get allocated to in the | 5673 ## With ELF, make sure that all common symbols get allocated to in the |
5648 ## GNU libc, __malloc_initialized would normally be resolved to the | 5676 ## GNU libc, __malloc_initialized would normally be resolved to the |
5649 ## shared library's .bss section, which is fatal. | 5677 ## shared library's .bss section, which is fatal. |
5650 if test "x$GCC" = "xyes"; then | 5678 if test "x$GCC" = "xyes"; then |
5651 C_SWITCH_MACHINE="-fno-common" | 5679 C_SWITCH_MACHINE="-fno-common" |
5652 else | 5680 else |
5653 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 5681 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 |
5654 fi | 5682 fi |
5655 else | 5683 else |
5656 UNEXEC_OBJ=unexalpha.o | 5684 UNEXEC_OBJ=unexalpha.o |
5657 fi | 5685 fi |
5658 fi | 5686 fi |
5705 | 5733 |
5706 if test "$enable_largefile" != no; then | 5734 if test "$enable_largefile" != no; then |
5707 | 5735 |
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | 5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 |
5709 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 5737 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
5710 if test "${ac_cv_sys_largefile_CC+set}" = set; then : | 5738 if ${ac_cv_sys_largefile_CC+:} false; then : |
5711 $as_echo_n "(cached) " >&6 | 5739 $as_echo_n "(cached) " >&6 |
5712 else | 5740 else |
5713 ac_cv_sys_largefile_CC=no | 5741 ac_cv_sys_largefile_CC=no |
5714 if test "$GCC" != yes; then | 5742 if test "$GCC" != yes; then |
5715 ac_save_CC=$CC | 5743 ac_save_CC=$CC |
5756 CC=$CC$ac_cv_sys_largefile_CC | 5784 CC=$CC$ac_cv_sys_largefile_CC |
5757 fi | 5785 fi |
5758 | 5786 |
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
5760 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 5788 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
5761 if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | 5789 if ${ac_cv_sys_file_offset_bits+:} false; then : |
5762 $as_echo_n "(cached) " >&6 | 5790 $as_echo_n "(cached) " >&6 |
5763 else | 5791 else |
5764 while :; do | 5792 while :; do |
5765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5766 /* end confdefs.h. */ | 5794 /* end confdefs.h. */ |
5825 esac | 5853 esac |
5826 rm -rf conftest* | 5854 rm -rf conftest* |
5827 if test $ac_cv_sys_file_offset_bits = unknown; then | 5855 if test $ac_cv_sys_file_offset_bits = unknown; then |
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | 5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
5829 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 5857 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
5830 if test "${ac_cv_sys_large_files+set}" = set; then : | 5858 if ${ac_cv_sys_large_files+:} false; then : |
5831 $as_echo_n "(cached) " >&6 | 5859 $as_echo_n "(cached) " >&6 |
5832 else | 5860 else |
5833 while :; do | 5861 while :; do |
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5835 /* end confdefs.h. */ | 5863 /* end confdefs.h. */ |
5926 else | 5954 else |
5927 | 5955 |
5928 ## Some platforms don't use any of these files, so it is not | 5956 ## Some platforms don't use any of these files, so it is not |
5929 ## appropriate to put this test outside the if block. | 5957 ## appropriate to put this test outside the if block. |
5930 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5958 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5931 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 | 5959 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 |
5932 | 5960 |
5933 fi | 5961 fi |
5934 | 5962 |
5935 | 5963 |
5936 | 5964 |
5981 # Sound support for GNU/Linux and the free BSDs. | 6009 # Sound support for GNU/Linux and the free BSDs. |
5982 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6010 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5983 do : | 6011 do : |
5984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5985 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6013 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5986 eval as_val=\$$as_ac_Header | 6014 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5987 if test "x$as_val" = x""yes; then : | |
5988 cat >>confdefs.h <<_ACEOF | 6015 cat >>confdefs.h <<_ACEOF |
5989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5990 _ACEOF | 6017 _ACEOF |
5991 have_sound_header=yes | 6018 have_sound_header=yes |
5992 fi | 6019 fi |
5994 done | 6021 done |
5995 | 6022 |
5996 # Emulation library used on NetBSD. | 6023 # Emulation library used on NetBSD. |
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 |
5998 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 6025 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
5999 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : | 6026 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then : |
6000 $as_echo_n "(cached) " >&6 | 6027 $as_echo_n "(cached) " >&6 |
6001 else | 6028 else |
6002 ac_check_lib_save_LIBS=$LIBS | 6029 ac_check_lib_save_LIBS=$LIBS |
6003 LIBS="-lossaudio $LIBS" | 6030 LIBS="-lossaudio $LIBS" |
6004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6028 conftest$ac_exeext conftest.$ac_ext | 6055 conftest$ac_exeext conftest.$ac_ext |
6029 LIBS=$ac_check_lib_save_LIBS | 6056 LIBS=$ac_check_lib_save_LIBS |
6030 fi | 6057 fi |
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
6032 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 6059 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
6033 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : | 6060 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then : |
6034 LIBSOUND=-lossaudio | 6061 LIBSOUND=-lossaudio |
6035 else | 6062 else |
6036 LIBSOUND= | 6063 LIBSOUND= |
6037 fi | 6064 fi |
6038 | 6065 |
6045 | 6072 |
6046 # Extract the first word of "pkg-config", so it can be a program name with args. | 6073 # Extract the first word of "pkg-config", so it can be a program name with args. |
6047 set dummy pkg-config; ac_word=$2 | 6074 set dummy pkg-config; ac_word=$2 |
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6049 $as_echo_n "checking for $ac_word... " >&6; } | 6076 $as_echo_n "checking for $ac_word... " >&6; } |
6050 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 6077 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6051 $as_echo_n "(cached) " >&6 | 6078 $as_echo_n "(cached) " >&6 |
6052 else | 6079 else |
6053 case $PKG_CONFIG in | 6080 case $PKG_CONFIG in |
6054 [\\/]* | ?:[\\/]*) | 6081 [\\/]* | ?:[\\/]*) |
6055 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 6082 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6173 else | 6200 else |
6174 emacs_alsa_subdir=no | 6201 emacs_alsa_subdir=no |
6175 fi | 6202 fi |
6176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6177 if test "$emacs_alsa_subdir" != yes; then | 6204 if test "$emacs_alsa_subdir" != yes; then |
6178 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6205 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6179 fi | 6206 fi |
6180 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6207 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6181 fi | 6208 fi |
6182 | 6209 |
6183 CFLAGS="$SAVE_CFLAGS" | 6210 CFLAGS="$SAVE_CFLAGS" |
6208 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6235 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6209 sys/utsname.h pwd.h utmp.h dirent.h util.h | 6236 sys/utsname.h pwd.h utmp.h dirent.h util.h |
6210 do : | 6237 do : |
6211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6212 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6239 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6213 eval as_val=\$$as_ac_Header | 6240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6214 if test "x$as_val" = x""yes; then : | |
6215 cat >>confdefs.h <<_ACEOF | 6241 cat >>confdefs.h <<_ACEOF |
6216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6217 _ACEOF | 6243 _ACEOF |
6218 | 6244 |
6219 fi | 6245 fi |
6250 fi | 6276 fi |
6251 | 6277 |
6252 for ac_header in term.h | 6278 for ac_header in term.h |
6253 do : | 6279 do : |
6254 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" | 6280 ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" |
6255 if test "x$ac_cv_header_term_h" = x""yes; then : | 6281 if test "x$ac_cv_header_term_h" = xyes; then : |
6256 cat >>confdefs.h <<_ACEOF | 6282 cat >>confdefs.h <<_ACEOF |
6257 #define HAVE_TERM_H 1 | 6283 #define HAVE_TERM_H 1 |
6258 _ACEOF | 6284 _ACEOF |
6259 | 6285 |
6260 fi | 6286 fi |
6261 | 6287 |
6262 done | 6288 done |
6263 | 6289 |
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6265 $as_echo_n "checking for ANSI C header files... " >&6; } | 6291 $as_echo_n "checking for ANSI C header files... " >&6; } |
6266 if test "${ac_cv_header_stdc+set}" = set; then : | 6292 if ${ac_cv_header_stdc+:} false; then : |
6267 $as_echo_n "(cached) " >&6 | 6293 $as_echo_n "(cached) " >&6 |
6268 else | 6294 else |
6269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6270 /* end confdefs.h. */ | 6296 /* end confdefs.h. */ |
6271 #include <stdlib.h> | 6297 #include <stdlib.h> |
6373 | 6399 |
6374 fi | 6400 fi |
6375 | 6401 |
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
6377 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 6403 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
6378 if test "${ac_cv_header_time+set}" = set; then : | 6404 if ${ac_cv_header_time+:} false; then : |
6379 $as_echo_n "(cached) " >&6 | 6405 $as_echo_n "(cached) " >&6 |
6380 else | 6406 else |
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6382 /* end confdefs.h. */ | 6408 /* end confdefs.h. */ |
6383 #include <sys/types.h> | 6409 #include <sys/types.h> |
6407 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | 6433 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
6408 | 6434 |
6409 fi | 6435 fi |
6410 | 6436 |
6411 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" | 6437 ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" |
6412 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : | 6438 if test "x$ac_cv_have_decl_sys_siglist" = xyes; then : |
6413 ac_have_decl=1 | 6439 ac_have_decl=1 |
6414 else | 6440 else |
6415 ac_have_decl=0 | 6441 ac_have_decl=0 |
6416 fi | 6442 fi |
6417 | 6443 |
6420 _ACEOF | 6446 _ACEOF |
6421 | 6447 |
6422 if test $ac_cv_have_decl_sys_siglist != yes; then | 6448 if test $ac_cv_have_decl_sys_siglist != yes; then |
6423 # For Tru64, at least: | 6449 # For Tru64, at least: |
6424 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" | 6450 ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" |
6425 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : | 6451 if test "x$ac_cv_have_decl___sys_siglist" = xyes; then : |
6426 ac_have_decl=1 | 6452 ac_have_decl=1 |
6427 else | 6453 else |
6428 ac_have_decl=0 | 6454 ac_have_decl=0 |
6429 fi | 6455 fi |
6430 | 6456 |
6438 | 6464 |
6439 fi | 6465 fi |
6440 fi | 6466 fi |
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6442 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | 6468 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
6443 if test "${ac_cv_header_sys_wait_h+set}" = set; then : | 6469 if ${ac_cv_header_sys_wait_h+:} false; then : |
6444 $as_echo_n "(cached) " >&6 | 6470 $as_echo_n "(cached) " >&6 |
6445 else | 6471 else |
6446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6447 /* end confdefs.h. */ | 6473 /* end confdefs.h. */ |
6448 #include <sys/types.h> | 6474 #include <sys/types.h> |
6480 fi | 6506 fi |
6481 | 6507 |
6482 | 6508 |
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 | 6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 |
6484 $as_echo_n "checking for struct utimbuf... " >&6; } | 6510 $as_echo_n "checking for struct utimbuf... " >&6; } |
6485 if test "${emacs_cv_struct_utimbuf+set}" = set; then : | 6511 if ${emacs_cv_struct_utimbuf+:} false; then : |
6486 $as_echo_n "(cached) " >&6 | 6512 $as_echo_n "(cached) " >&6 |
6487 else | 6513 else |
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6489 /* end confdefs.h. */ | 6515 /* end confdefs.h. */ |
6490 #ifdef TIME_WITH_SYS_TIME | 6516 #ifdef TIME_WITH_SYS_TIME |
6523 | 6549 |
6524 fi | 6550 fi |
6525 | 6551 |
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 | 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
6527 $as_echo_n "checking return type of signal handlers... " >&6; } | 6553 $as_echo_n "checking return type of signal handlers... " >&6; } |
6528 if test "${ac_cv_type_signal+set}" = set; then : | 6554 if ${ac_cv_type_signal+:} false; then : |
6529 $as_echo_n "(cached) " >&6 | 6555 $as_echo_n "(cached) " >&6 |
6530 else | 6556 else |
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6532 /* end confdefs.h. */ | 6558 /* end confdefs.h. */ |
6533 #include <sys/types.h> | 6559 #include <sys/types.h> |
6557 | 6583 |
6558 | 6584 |
6559 | 6585 |
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 | 6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 |
6561 $as_echo_n "checking for speed_t... " >&6; } | 6587 $as_echo_n "checking for speed_t... " >&6; } |
6562 if test "${emacs_cv_speed_t+set}" = set; then : | 6588 if ${emacs_cv_speed_t+:} false; then : |
6563 $as_echo_n "(cached) " >&6 | 6589 $as_echo_n "(cached) " >&6 |
6564 else | 6590 else |
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6566 /* end confdefs.h. */ | 6592 /* end confdefs.h. */ |
6567 #include <termios.h> | 6593 #include <termios.h> |
6588 | 6614 |
6589 fi | 6615 fi |
6590 | 6616 |
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 | 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 |
6592 $as_echo_n "checking for struct timeval... " >&6; } | 6618 $as_echo_n "checking for struct timeval... " >&6; } |
6593 if test "${emacs_cv_struct_timeval+set}" = set; then : | 6619 if ${emacs_cv_struct_timeval+:} false; then : |
6594 $as_echo_n "(cached) " >&6 | 6620 $as_echo_n "(cached) " >&6 |
6595 else | 6621 else |
6596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6597 /* end confdefs.h. */ | 6623 /* end confdefs.h. */ |
6598 #ifdef TIME_WITH_SYS_TIME | 6624 #ifdef TIME_WITH_SYS_TIME |
6629 | 6655 |
6630 fi | 6656 fi |
6631 | 6657 |
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 | 6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 |
6633 $as_echo_n "checking for struct exception... " >&6; } | 6659 $as_echo_n "checking for struct exception... " >&6; } |
6634 if test "${emacs_cv_struct_exception+set}" = set; then : | 6660 if ${emacs_cv_struct_exception+:} false; then : |
6635 $as_echo_n "(cached) " >&6 | 6661 $as_echo_n "(cached) " >&6 |
6636 else | 6662 else |
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6638 /* end confdefs.h. */ | 6664 /* end confdefs.h. */ |
6639 #include <math.h> | 6665 #include <math.h> |
6662 fi | 6688 fi |
6663 | 6689 |
6664 for ac_header in sys/socket.h | 6690 for ac_header in sys/socket.h |
6665 do : | 6691 do : |
6666 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" | 6692 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" |
6667 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | 6693 if test "x$ac_cv_header_sys_socket_h" = xyes; then : |
6668 cat >>confdefs.h <<_ACEOF | 6694 cat >>confdefs.h <<_ACEOF |
6669 #define HAVE_SYS_SOCKET_H 1 | 6695 #define HAVE_SYS_SOCKET_H 1 |
6670 _ACEOF | 6696 _ACEOF |
6671 | 6697 |
6672 fi | 6698 fi |
6678 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default | 6704 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default |
6679 #if HAVE_SYS_SOCKET_H | 6705 #if HAVE_SYS_SOCKET_H |
6680 #include <sys/socket.h> | 6706 #include <sys/socket.h> |
6681 #endif | 6707 #endif |
6682 " | 6708 " |
6683 if test "x$ac_cv_header_net_if_h" = x""yes; then : | 6709 if test "x$ac_cv_header_net_if_h" = xyes; then : |
6684 cat >>confdefs.h <<_ACEOF | 6710 cat >>confdefs.h <<_ACEOF |
6685 #define HAVE_NET_IF_H 1 | 6711 #define HAVE_NET_IF_H 1 |
6686 _ACEOF | 6712 _ACEOF |
6687 | 6713 |
6688 fi | 6714 fi |
6690 done | 6716 done |
6691 | 6717 |
6692 | 6718 |
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | 6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
6694 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 6720 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
6695 if test "${ac_cv_struct_tm+set}" = set; then : | 6721 if ${ac_cv_struct_tm+:} false; then : |
6696 $as_echo_n "(cached) " >&6 | 6722 $as_echo_n "(cached) " >&6 |
6697 else | 6723 else |
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6699 /* end confdefs.h. */ | 6725 /* end confdefs.h. */ |
6700 #include <sys/types.h> | 6726 #include <sys/types.h> |
6727 | 6753 |
6728 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> | 6754 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> |
6729 #include <$ac_cv_struct_tm> | 6755 #include <$ac_cv_struct_tm> |
6730 | 6756 |
6731 " | 6757 " |
6732 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : | 6758 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : |
6733 | 6759 |
6734 cat >>confdefs.h <<_ACEOF | 6760 cat >>confdefs.h <<_ACEOF |
6735 #define HAVE_STRUCT_TM_TM_ZONE 1 | 6761 #define HAVE_STRUCT_TM_TM_ZONE 1 |
6736 _ACEOF | 6762 _ACEOF |
6737 | 6763 |
6743 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h | 6769 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h |
6744 | 6770 |
6745 else | 6771 else |
6746 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> | 6772 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> |
6747 " | 6773 " |
6748 if test "x$ac_cv_have_decl_tzname" = x""yes; then : | 6774 if test "x$ac_cv_have_decl_tzname" = xyes; then : |
6749 ac_have_decl=1 | 6775 ac_have_decl=1 |
6750 else | 6776 else |
6751 ac_have_decl=0 | 6777 ac_have_decl=0 |
6752 fi | 6778 fi |
6753 | 6779 |
6755 #define HAVE_DECL_TZNAME $ac_have_decl | 6781 #define HAVE_DECL_TZNAME $ac_have_decl |
6756 _ACEOF | 6782 _ACEOF |
6757 | 6783 |
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | 6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 |
6759 $as_echo_n "checking for tzname... " >&6; } | 6785 $as_echo_n "checking for tzname... " >&6; } |
6760 if test "${ac_cv_var_tzname+set}" = set; then : | 6786 if ${ac_cv_var_tzname+:} false; then : |
6761 $as_echo_n "(cached) " >&6 | 6787 $as_echo_n "(cached) " >&6 |
6762 else | 6788 else |
6763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6764 /* end confdefs.h. */ | 6790 /* end confdefs.h. */ |
6765 #include <time.h> | 6791 #include <time.h> |
6792 fi | 6818 fi |
6793 fi | 6819 fi |
6794 | 6820 |
6795 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> | 6821 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> |
6796 " | 6822 " |
6797 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 6823 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then : |
6798 | 6824 |
6799 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h | 6825 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h |
6800 | 6826 |
6801 fi | 6827 fi |
6802 | 6828 |
6806 #endif | 6832 #endif |
6807 #if HAVE_NET_IF_H | 6833 #if HAVE_NET_IF_H |
6808 #include <net/if.h> | 6834 #include <net/if.h> |
6809 #endif | 6835 #endif |
6810 " | 6836 " |
6811 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : | 6837 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = xyes; then : |
6812 | 6838 |
6813 cat >>confdefs.h <<_ACEOF | 6839 cat >>confdefs.h <<_ACEOF |
6814 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 6840 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
6815 _ACEOF | 6841 _ACEOF |
6816 | 6842 |
6822 #endif | 6848 #endif |
6823 #if HAVE_NET_IF_H | 6849 #if HAVE_NET_IF_H |
6824 #include <net/if.h> | 6850 #include <net/if.h> |
6825 #endif | 6851 #endif |
6826 " | 6852 " |
6827 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : | 6853 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then : |
6828 | 6854 |
6829 cat >>confdefs.h <<_ACEOF | 6855 cat >>confdefs.h <<_ACEOF |
6830 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 6856 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
6831 _ACEOF | 6857 _ACEOF |
6832 | 6858 |
6838 #endif | 6864 #endif |
6839 #if HAVE_NET_IF_H | 6865 #if HAVE_NET_IF_H |
6840 #include <net/if.h> | 6866 #include <net/if.h> |
6841 #endif | 6867 #endif |
6842 " | 6868 " |
6843 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : | 6869 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = xyes; then : |
6844 | 6870 |
6845 cat >>confdefs.h <<_ACEOF | 6871 cat >>confdefs.h <<_ACEOF |
6846 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 6872 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
6847 _ACEOF | 6873 _ACEOF |
6848 | 6874 |
6854 #endif | 6880 #endif |
6855 #if HAVE_NET_IF_H | 6881 #if HAVE_NET_IF_H |
6856 #include <net/if.h> | 6882 #include <net/if.h> |
6857 #endif | 6883 #endif |
6858 " | 6884 " |
6859 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : | 6885 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = xyes; then : |
6860 | 6886 |
6861 cat >>confdefs.h <<_ACEOF | 6887 cat >>confdefs.h <<_ACEOF |
6862 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 6888 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
6863 _ACEOF | 6889 _ACEOF |
6864 | 6890 |
6870 #endif | 6896 #endif |
6871 #if HAVE_NET_IF_H | 6897 #if HAVE_NET_IF_H |
6872 #include <net/if.h> | 6898 #include <net/if.h> |
6873 #endif | 6899 #endif |
6874 " | 6900 " |
6875 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : | 6901 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = xyes; then : |
6876 | 6902 |
6877 cat >>confdefs.h <<_ACEOF | 6903 cat >>confdefs.h <<_ACEOF |
6878 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 6904 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
6879 _ACEOF | 6905 _ACEOF |
6880 | 6906 |
6899 $as_echo "no" >&6; } | 6925 $as_echo "no" >&6; } |
6900 fi | 6926 fi |
6901 | 6927 |
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 | 6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 |
6903 $as_echo_n "checking for working volatile... " >&6; } | 6929 $as_echo_n "checking for working volatile... " >&6; } |
6904 if test "${ac_cv_c_volatile+set}" = set; then : | 6930 if ${ac_cv_c_volatile+:} false; then : |
6905 $as_echo_n "(cached) " >&6 | 6931 $as_echo_n "(cached) " >&6 |
6906 else | 6932 else |
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6908 /* end confdefs.h. */ | 6934 /* end confdefs.h. */ |
6909 | 6935 |
6933 | 6959 |
6934 fi | 6960 fi |
6935 | 6961 |
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | 6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
6937 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 6963 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6938 if test "${ac_cv_c_const+set}" = set; then : | 6964 if ${ac_cv_c_const+:} false; then : |
6939 $as_echo_n "(cached) " >&6 | 6965 $as_echo_n "(cached) " >&6 |
6940 else | 6966 else |
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6942 /* end confdefs.h. */ | 6968 /* end confdefs.h. */ |
6943 | 6969 |
7013 | 7039 |
7014 fi | 7040 fi |
7015 | 7041 |
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 | 7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 |
7017 $as_echo_n "checking for void * support... " >&6; } | 7043 $as_echo_n "checking for void * support... " >&6; } |
7018 if test "${emacs_cv_void_star+set}" = set; then : | 7044 if ${emacs_cv_void_star+:} false; then : |
7019 $as_echo_n "(cached) " >&6 | 7045 $as_echo_n "(cached) " >&6 |
7020 else | 7046 else |
7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7022 /* end confdefs.h. */ | 7048 /* end confdefs.h. */ |
7023 | 7049 |
7046 | 7072 |
7047 fi | 7073 fi |
7048 | 7074 |
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | 7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
7050 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | 7076 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
7051 if test "${ac_cv_c_bigendian+set}" = set; then : | 7077 if ${ac_cv_c_bigendian+:} false; then : |
7052 $as_echo_n "(cached) " >&6 | 7078 $as_echo_n "(cached) " >&6 |
7053 else | 7079 else |
7054 ac_cv_c_bigendian=unknown | 7080 ac_cv_c_bigendian=unknown |
7055 # See if we're dealing with a universal compiler. | 7081 # See if we're dealing with a universal compiler. |
7056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7264 | 7290 |
7265 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | 7291 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
7266 | 7292 |
7267 ;; #( | 7293 ;; #( |
7268 *) | 7294 *) |
7269 as_fn_error "unknown endianness | 7295 as_fn_error $? "unknown endianness |
7270 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | 7296 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
7271 esac | 7297 esac |
7272 | 7298 |
7273 | 7299 |
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
7275 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 7301 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
7276 set x ${MAKE-make} | 7302 set x ${MAKE-make} |
7277 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 7303 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
7278 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 7304 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
7279 $as_echo_n "(cached) " >&6 | 7305 $as_echo_n "(cached) " >&6 |
7280 else | 7306 else |
7281 cat >conftest.make <<\_ACEOF | 7307 cat >conftest.make <<\_ACEOF |
7282 SHELL = /bin/sh | 7308 SHELL = /bin/sh |
7283 all: | 7309 all: |
7284 @echo '@@@%%%=$(MAKE)=@@@%%%' | 7310 @echo '@@@%%%=$(MAKE)=@@@%%%' |
7285 _ACEOF | 7311 _ACEOF |
7286 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7312 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
7287 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 7313 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
7288 *@@@%%%=?*=@@@%%%*) | 7314 *@@@%%%=?*=@@@%%%*) |
7289 eval ac_cv_prog_make_${ac_make}_set=yes;; | 7315 eval ac_cv_prog_make_${ac_make}_set=yes;; |
7290 *) | 7316 *) |
7291 eval ac_cv_prog_make_${ac_make}_set=no;; | 7317 eval ac_cv_prog_make_${ac_make}_set=no;; |
7361 | 7387 |
7362 | 7388 |
7363 | 7389 |
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 | 7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 |
7365 $as_echo_n "checking for long file names... " >&6; } | 7391 $as_echo_n "checking for long file names... " >&6; } |
7366 if test "${ac_cv_sys_long_file_names+set}" = set; then : | 7392 if ${ac_cv_sys_long_file_names+:} false; then : |
7367 $as_echo_n "(cached) " >&6 | 7393 $as_echo_n "(cached) " >&6 |
7368 else | 7394 else |
7369 ac_cv_sys_long_file_names=yes | 7395 ac_cv_sys_long_file_names=yes |
7370 # Test for long file names in all the places we know might matter: | 7396 # Test for long file names in all the places we know might matter: |
7371 # . the current directory, where building will happen | 7397 # . the current directory, where building will happen |
7417 if test "x$with_x" = xno; then | 7443 if test "x$with_x" = xno; then |
7418 # The user explicitly disabled X. | 7444 # The user explicitly disabled X. |
7419 have_x=disabled | 7445 have_x=disabled |
7420 else | 7446 else |
7421 case $x_includes,$x_libraries in #( | 7447 case $x_includes,$x_libraries in #( |
7422 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 7448 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
7423 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 7449 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
7424 $as_echo_n "(cached) " >&6 | 7450 $as_echo_n "(cached) " >&6 |
7425 else | 7451 else |
7426 # One or both of the vars are not set, and there is no cached value. | 7452 # One or both of the vars are not set, and there is no cached value. |
7427 ac_x_includes=no ac_x_libraries=no | 7453 ac_x_includes=no ac_x_libraries=no |
7428 rm -f -r conftest.dir | 7454 rm -f -r conftest.dir |
7435 @echo usrlibdir='${USRLIBDIR}' | 7461 @echo usrlibdir='${USRLIBDIR}' |
7436 libdir: | 7462 libdir: |
7437 @echo libdir='${LIBDIR}' | 7463 @echo libdir='${LIBDIR}' |
7438 _ACEOF | 7464 _ACEOF |
7439 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | 7465 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
7440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 7466 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
7441 for ac_var in incroot usrlibdir libdir; do | 7467 for ac_var in incroot usrlibdir libdir; do |
7442 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | 7468 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
7443 done | 7469 done |
7444 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 7470 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
7445 for ac_extension in a so sl dylib la dll; do | 7471 for ac_extension in a so sl dylib la dll; do |
7521 ac_x_includes=$ac_dir | 7547 ac_x_includes=$ac_dir |
7522 break | 7548 break |
7523 fi | 7549 fi |
7524 done | 7550 done |
7525 fi | 7551 fi |
7526 rm -f conftest.err conftest.$ac_ext | 7552 rm -f conftest.err conftest.i conftest.$ac_ext |
7527 fi # $ac_x_includes = no | 7553 fi # $ac_x_includes = no |
7528 | 7554 |
7529 if test "$ac_x_libraries" = no; then | 7555 if test "$ac_x_libraries" = no; then |
7530 # Check for the libraries. | 7556 # Check for the libraries. |
7531 # See if we find them without any special options. | 7557 # See if we find them without any special options. |
7701 LIB_STANDARD= | 7727 LIB_STANDARD= |
7702 START_FILES= | 7728 START_FILES= |
7703 TEMACS_LDFLAGS2= | 7729 TEMACS_LDFLAGS2= |
7704 fi | 7730 fi |
7705 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 7731 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
7706 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 7732 if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then : |
7707 HAVE_NS=yes | 7733 HAVE_NS=yes |
7708 else | 7734 else |
7709 as_fn_error "\`--with-ns' was specified, but the include | 7735 as_fn_error $? "\`--with-ns' was specified, but the include |
7710 files are missing or cannot be compiled." "$LINENO" 5 | 7736 files are missing or cannot be compiled." "$LINENO" 5 |
7711 fi | 7737 fi |
7712 | 7738 |
7713 | 7739 |
7714 NS_HAVE_NSINTEGER=yes | 7740 NS_HAVE_NSINTEGER=yes |
7783 if test "$window_system" = none && test "X$with_x" != "Xno"; then | 7809 if test "$window_system" = none && test "X$with_x" != "Xno"; then |
7784 # Extract the first word of "X", so it can be a program name with args. | 7810 # Extract the first word of "X", so it can be a program name with args. |
7785 set dummy X; ac_word=$2 | 7811 set dummy X; ac_word=$2 |
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7787 $as_echo_n "checking for $ac_word... " >&6; } | 7813 $as_echo_n "checking for $ac_word... " >&6; } |
7788 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : | 7814 if ${ac_cv_prog_HAVE_XSERVER+:} false; then : |
7789 $as_echo_n "(cached) " >&6 | 7815 $as_echo_n "(cached) " >&6 |
7790 else | 7816 else |
7791 if test -n "$HAVE_XSERVER"; then | 7817 if test -n "$HAVE_XSERVER"; then |
7792 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. | 7818 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. |
7793 else | 7819 else |
7820 | 7846 |
7821 | 7847 |
7822 if test "$HAVE_XSERVER" = true || | 7848 if test "$HAVE_XSERVER" = true || |
7823 test -n "$DISPLAY" || | 7849 test -n "$DISPLAY" || |
7824 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7850 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7825 as_fn_error "You seem to be running X, but no X development libraries | 7851 as_fn_error $? "You seem to be running X, but no X development libraries |
7826 were found. You should install the relevant development files for X | 7852 were found. You should install the relevant development files for X |
7827 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7853 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7828 sure you have development files for image handling, i.e. | 7854 sure you have development files for image handling, i.e. |
7829 tiff, gif, jpeg, png and xpm. | 7855 tiff, gif, jpeg, png and xpm. |
7830 If you are sure you want Emacs compiled without X window support, pass | 7856 If you are sure you want Emacs compiled without X window support, pass |
7842 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 7868 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
7843 # Assume not, until told otherwise. | 7869 # Assume not, until told otherwise. |
7844 GNU_MALLOC=yes | 7870 GNU_MALLOC=yes |
7845 doug_lea_malloc=yes | 7871 doug_lea_malloc=yes |
7846 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" | 7872 ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" |
7847 if test "x$ac_cv_func_malloc_get_state" = x""yes; then : | 7873 if test "x$ac_cv_func_malloc_get_state" = xyes; then : |
7848 | 7874 |
7849 else | 7875 else |
7850 doug_lea_malloc=no | 7876 doug_lea_malloc=no |
7851 fi | 7877 fi |
7852 | 7878 |
7853 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | 7879 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" |
7854 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | 7880 if test "x$ac_cv_func_malloc_set_state" = xyes; then : |
7855 | 7881 |
7856 else | 7882 else |
7857 doug_lea_malloc=no | 7883 doug_lea_malloc=no |
7858 fi | 7884 fi |
7859 | 7885 |
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 | 7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 |
7861 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | 7887 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } |
7862 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | 7888 if ${emacs_cv_var___after_morecore_hook+:} false; then : |
7863 $as_echo_n "(cached) " >&6 | 7889 $as_echo_n "(cached) " >&6 |
7864 else | 7890 else |
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7866 /* end confdefs.h. */ | 7892 /* end confdefs.h. */ |
7867 extern void (* __after_morecore_hook)(); | 7893 extern void (* __after_morecore_hook)(); |
7943 for ac_header in $ac_header_list | 7969 for ac_header in $ac_header_list |
7944 do : | 7970 do : |
7945 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7946 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 7972 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7947 " | 7973 " |
7948 eval as_val=\$$as_ac_Header | 7974 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7949 if test "x$as_val" = x""yes; then : | |
7950 cat >>confdefs.h <<_ACEOF | 7975 cat >>confdefs.h <<_ACEOF |
7951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7952 _ACEOF | 7977 _ACEOF |
7953 | 7978 |
7954 fi | 7979 fi |
7963 | 7988 |
7964 | 7989 |
7965 for ac_func in getpagesize | 7990 for ac_func in getpagesize |
7966 do : | 7991 do : |
7967 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 7992 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
7968 if test "x$ac_cv_func_getpagesize" = x""yes; then : | 7993 if test "x$ac_cv_func_getpagesize" = xyes; then : |
7969 cat >>confdefs.h <<_ACEOF | 7994 cat >>confdefs.h <<_ACEOF |
7970 #define HAVE_GETPAGESIZE 1 | 7995 #define HAVE_GETPAGESIZE 1 |
7971 _ACEOF | 7996 _ACEOF |
7972 | 7997 |
7973 fi | 7998 fi |
7974 done | 7999 done |
7975 | 8000 |
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 | 8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 |
7977 $as_echo_n "checking for working mmap... " >&6; } | 8002 $as_echo_n "checking for working mmap... " >&6; } |
7978 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | 8003 if ${ac_cv_func_mmap_fixed_mapped+:} false; then : |
7979 $as_echo_n "(cached) " >&6 | 8004 $as_echo_n "(cached) " >&6 |
7980 else | 8005 else |
7981 if test "$cross_compiling" = yes; then : | 8006 if test "$cross_compiling" = yes; then : |
7982 ac_cv_func_mmap_fixed_mapped=no | 8007 ac_cv_func_mmap_fixed_mapped=no |
7983 else | 8008 else |
8148 | 8173 |
8149 LIBS="$LIBS_SYSTEM $LIBS" | 8174 LIBS="$LIBS_SYSTEM $LIBS" |
8150 | 8175 |
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 | 8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
8152 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 8177 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
8153 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : | 8178 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : |
8154 $as_echo_n "(cached) " >&6 | 8179 $as_echo_n "(cached) " >&6 |
8155 else | 8180 else |
8156 ac_check_lib_save_LIBS=$LIBS | 8181 ac_check_lib_save_LIBS=$LIBS |
8157 LIBS="-ldnet $LIBS" | 8182 LIBS="-ldnet $LIBS" |
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8182 conftest$ac_exeext conftest.$ac_ext | 8207 conftest$ac_exeext conftest.$ac_ext |
8183 LIBS=$ac_check_lib_save_LIBS | 8208 LIBS=$ac_check_lib_save_LIBS |
8184 fi | 8209 fi |
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
8186 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 8211 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
8187 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : | 8212 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : |
8188 cat >>confdefs.h <<_ACEOF | 8213 cat >>confdefs.h <<_ACEOF |
8189 #define HAVE_LIBDNET 1 | 8214 #define HAVE_LIBDNET 1 |
8190 _ACEOF | 8215 _ACEOF |
8191 | 8216 |
8192 LIBS="-ldnet $LIBS" | 8217 LIBS="-ldnet $LIBS" |
8194 fi | 8219 fi |
8195 | 8220 |
8196 | 8221 |
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 | 8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 |
8198 $as_echo_n "checking for main in -lXbsd... " >&6; } | 8223 $as_echo_n "checking for main in -lXbsd... " >&6; } |
8199 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : | 8224 if ${ac_cv_lib_Xbsd_main+:} false; then : |
8200 $as_echo_n "(cached) " >&6 | 8225 $as_echo_n "(cached) " >&6 |
8201 else | 8226 else |
8202 ac_check_lib_save_LIBS=$LIBS | 8227 ac_check_lib_save_LIBS=$LIBS |
8203 LIBS="-lXbsd $LIBS" | 8228 LIBS="-lXbsd $LIBS" |
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8222 conftest$ac_exeext conftest.$ac_ext | 8247 conftest$ac_exeext conftest.$ac_ext |
8223 LIBS=$ac_check_lib_save_LIBS | 8248 LIBS=$ac_check_lib_save_LIBS |
8224 fi | 8249 fi |
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 | 8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 |
8226 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 8251 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
8227 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | 8252 if test "x$ac_cv_lib_Xbsd_main" = xyes; then : |
8228 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 8253 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
8229 fi | 8254 fi |
8230 | 8255 |
8231 | 8256 |
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 |
8233 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 8258 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
8234 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 8259 if ${ac_cv_lib_pthreads_cma_open+:} false; then : |
8235 $as_echo_n "(cached) " >&6 | 8260 $as_echo_n "(cached) " >&6 |
8236 else | 8261 else |
8237 ac_check_lib_save_LIBS=$LIBS | 8262 ac_check_lib_save_LIBS=$LIBS |
8238 LIBS="-lpthreads $LIBS" | 8263 LIBS="-lpthreads $LIBS" |
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8263 conftest$ac_exeext conftest.$ac_ext | 8288 conftest$ac_exeext conftest.$ac_ext |
8264 LIBS=$ac_check_lib_save_LIBS | 8289 LIBS=$ac_check_lib_save_LIBS |
8265 fi | 8290 fi |
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 | 8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 |
8267 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 8292 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
8268 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : | 8293 if test "x$ac_cv_lib_pthreads_cma_open" = xyes; then : |
8269 cat >>confdefs.h <<_ACEOF | 8294 cat >>confdefs.h <<_ACEOF |
8270 #define HAVE_LIBPTHREADS 1 | 8295 #define HAVE_LIBPTHREADS 1 |
8271 _ACEOF | 8296 _ACEOF |
8272 | 8297 |
8273 LIBS="-lpthreads $LIBS" | 8298 LIBS="-lpthreads $LIBS" |
8290 | 8315 |
8291 case ${host_os} in | 8316 case ${host_os} in |
8292 aix*) | 8317 aix*) |
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 | 8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 |
8294 $as_echo_n "checking for -bbigtoc option... " >&6; } | 8319 $as_echo_n "checking for -bbigtoc option... " >&6; } |
8295 if test "${gdb_cv_bigtoc+set}" = set; then : | 8320 if ${gdb_cv_bigtoc+:} false; then : |
8296 $as_echo_n "(cached) " >&6 | 8321 $as_echo_n "(cached) " >&6 |
8297 else | 8322 else |
8298 | 8323 |
8299 case $GCC in | 8324 case $GCC in |
8300 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; | 8325 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; |
8451 for ac_func in XrmSetDatabase XScreenResourceString \ | 8476 for ac_func in XrmSetDatabase XScreenResourceString \ |
8452 XScreenNumberOfScreen XSetWMProtocols | 8477 XScreenNumberOfScreen XSetWMProtocols |
8453 do : | 8478 do : |
8454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8456 eval as_val=\$$as_ac_var | 8481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
8457 if test "x$as_val" = x""yes; then : | |
8458 cat >>confdefs.h <<_ACEOF | 8482 cat >>confdefs.h <<_ACEOF |
8459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8460 _ACEOF | 8484 _ACEOF |
8461 | 8485 |
8462 fi | 8486 fi |
8465 fi | 8489 fi |
8466 | 8490 |
8467 if test "${window_system}" = "x11"; then | 8491 if test "${window_system}" = "x11"; then |
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 | 8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 |
8469 $as_echo_n "checking X11 version 6... " >&6; } | 8493 $as_echo_n "checking X11 version 6... " >&6; } |
8470 if test "${emacs_cv_x11_version_6+set}" = set; then : | 8494 if ${emacs_cv_x11_version_6+:} false; then : |
8471 $as_echo_n "(cached) " >&6 | 8495 $as_echo_n "(cached) " >&6 |
8472 else | 8496 else |
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8474 /* end confdefs.h. */ | 8498 /* end confdefs.h. */ |
8475 #include <X11/Xlib.h> | 8499 #include <X11/Xlib.h> |
8530 | 8554 |
8531 # Extract the first word of "pkg-config", so it can be a program name with args. | 8555 # Extract the first word of "pkg-config", so it can be a program name with args. |
8532 set dummy pkg-config; ac_word=$2 | 8556 set dummy pkg-config; ac_word=$2 |
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8534 $as_echo_n "checking for $ac_word... " >&6; } | 8558 $as_echo_n "checking for $ac_word... " >&6; } |
8535 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 8559 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8536 $as_echo_n "(cached) " >&6 | 8560 $as_echo_n "(cached) " >&6 |
8537 else | 8561 else |
8538 case $PKG_CONFIG in | 8562 case $PKG_CONFIG in |
8539 [\\/]* | ?:[\\/]*) | 8563 [\\/]* | ?:[\\/]*) |
8540 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8564 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8641 | 8665 |
8642 # Extract the first word of "pkg-config", so it can be a program name with args. | 8666 # Extract the first word of "pkg-config", so it can be a program name with args. |
8643 set dummy pkg-config; ac_word=$2 | 8667 set dummy pkg-config; ac_word=$2 |
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8645 $as_echo_n "checking for $ac_word... " >&6; } | 8669 $as_echo_n "checking for $ac_word... " >&6; } |
8646 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 8670 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8647 $as_echo_n "(cached) " >&6 | 8671 $as_echo_n "(cached) " >&6 |
8648 else | 8672 else |
8649 case $PKG_CONFIG in | 8673 case $PKG_CONFIG in |
8650 [\\/]* | ?:[\\/]*) | 8674 [\\/]* | ?:[\\/]*) |
8651 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8675 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8740 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS" | 8764 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS" |
8741 LIBS="$IMAGEMAGICK_LIBS $LIBS" | 8765 LIBS="$IMAGEMAGICK_LIBS $LIBS" |
8742 for ac_func in MagickExportImagePixels | 8766 for ac_func in MagickExportImagePixels |
8743 do : | 8767 do : |
8744 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" | 8768 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" |
8745 if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : | 8769 if test "x$ac_cv_func_MagickExportImagePixels" = xyes; then : |
8746 cat >>confdefs.h <<_ACEOF | 8770 cat >>confdefs.h <<_ACEOF |
8747 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1 | 8771 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1 |
8748 _ACEOF | 8772 _ACEOF |
8749 | 8773 |
8750 fi | 8774 fi |
8766 | 8790 |
8767 # Extract the first word of "pkg-config", so it can be a program name with args. | 8791 # Extract the first word of "pkg-config", so it can be a program name with args. |
8768 set dummy pkg-config; ac_word=$2 | 8792 set dummy pkg-config; ac_word=$2 |
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8770 $as_echo_n "checking for $ac_word... " >&6; } | 8794 $as_echo_n "checking for $ac_word... " >&6; } |
8771 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 8795 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8772 $as_echo_n "(cached) " >&6 | 8796 $as_echo_n "(cached) " >&6 |
8773 else | 8797 else |
8774 case $PKG_CONFIG in | 8798 case $PKG_CONFIG in |
8775 [\\/]* | ?:[\\/]*) | 8799 [\\/]* | ?:[\\/]*) |
8776 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8800 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8854 else | 8878 else |
8855 pkg_check_gtk=no | 8879 pkg_check_gtk=no |
8856 fi | 8880 fi |
8857 | 8881 |
8858 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8882 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8859 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8883 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8860 fi | 8884 fi |
8861 fi | 8885 fi |
8862 | 8886 |
8863 if test "$pkg_check_gtk" != "yes"; then | 8887 if test "$pkg_check_gtk" != "yes"; then |
8864 HAVE_GTK=no | 8888 HAVE_GTK=no |
8872 | 8896 |
8873 # Extract the first word of "pkg-config", so it can be a program name with args. | 8897 # Extract the first word of "pkg-config", so it can be a program name with args. |
8874 set dummy pkg-config; ac_word=$2 | 8898 set dummy pkg-config; ac_word=$2 |
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8876 $as_echo_n "checking for $ac_word... " >&6; } | 8900 $as_echo_n "checking for $ac_word... " >&6; } |
8877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 8901 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
8878 $as_echo_n "(cached) " >&6 | 8902 $as_echo_n "(cached) " >&6 |
8879 else | 8903 else |
8880 case $PKG_CONFIG in | 8904 case $PKG_CONFIG in |
8881 [\\/]* | ?:[\\/]*) | 8905 [\\/]* | ?:[\\/]*) |
8882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 8906 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
8960 else | 8984 else |
8961 pkg_check_gtk=no | 8985 pkg_check_gtk=no |
8962 fi | 8986 fi |
8963 | 8987 |
8964 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8988 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8965 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 8989 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 |
8966 fi | 8990 fi |
8967 fi | 8991 fi |
8968 fi | 8992 fi |
8969 | 8993 |
8970 GTK_OBJ= | 8994 GTK_OBJ= |
8977 LIBS="$GTK_LIBS $LIBS" | 9001 LIBS="$GTK_LIBS $LIBS" |
8978 GTK_COMPILES=no | 9002 GTK_COMPILES=no |
8979 for ac_func in gtk_main | 9003 for ac_func in gtk_main |
8980 do : | 9004 do : |
8981 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" | 9005 ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" |
8982 if test "x$ac_cv_func_gtk_main" = x""yes; then : | 9006 if test "x$ac_cv_func_gtk_main" = xyes; then : |
8983 cat >>confdefs.h <<_ACEOF | 9007 cat >>confdefs.h <<_ACEOF |
8984 #define HAVE_GTK_MAIN 1 | 9008 #define HAVE_GTK_MAIN 1 |
8985 _ACEOF | 9009 _ACEOF |
8986 GTK_COMPILES=yes | 9010 GTK_COMPILES=yes |
8987 fi | 9011 fi |
8988 done | 9012 done |
8989 | 9013 |
8990 if test "${GTK_COMPILES}" != "yes"; then | 9014 if test "${GTK_COMPILES}" != "yes"; then |
8991 if test "$USE_X_TOOLKIT" != "maybe"; then | 9015 if test "$USE_X_TOOLKIT" != "maybe"; then |
8992 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 9016 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
8993 fi | 9017 fi |
8994 else | 9018 else |
8995 HAVE_GTK=yes | 9019 HAVE_GTK=yes |
8996 | 9020 |
8997 $as_echo "#define USE_GTK 1" >>confdefs.h | 9021 $as_echo "#define USE_GTK 1" >>confdefs.h |
9025 | 9049 |
9026 HAVE_GTK_FILE_SELECTION=no | 9050 HAVE_GTK_FILE_SELECTION=no |
9027 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default | 9051 ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default |
9028 #include <gtk/gtk.h> | 9052 #include <gtk/gtk.h> |
9029 " | 9053 " |
9030 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : | 9054 if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = xyes; then : |
9031 HAVE_GTK_FILE_SELECTION=yes | 9055 HAVE_GTK_FILE_SELECTION=yes |
9032 else | 9056 else |
9033 HAVE_GTK_FILE_SELECTION=no | 9057 HAVE_GTK_FILE_SELECTION=no |
9034 fi | 9058 fi |
9035 | 9059 |
9036 if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 9060 if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
9037 for ac_func in gtk_file_selection_new | 9061 for ac_func in gtk_file_selection_new |
9038 do : | 9062 do : |
9039 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" | 9063 ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" |
9040 if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : | 9064 if test "x$ac_cv_func_gtk_file_selection_new" = xyes; then : |
9041 cat >>confdefs.h <<_ACEOF | 9065 cat >>confdefs.h <<_ACEOF |
9042 #define HAVE_GTK_FILE_SELECTION_NEW 1 | 9066 #define HAVE_GTK_FILE_SELECTION_NEW 1 |
9043 _ACEOF | 9067 _ACEOF |
9044 | 9068 |
9045 fi | 9069 fi |
9049 | 9073 |
9050 HAVE_GTK_AND_PTHREAD=no | 9074 HAVE_GTK_AND_PTHREAD=no |
9051 for ac_header in pthread.h | 9075 for ac_header in pthread.h |
9052 do : | 9076 do : |
9053 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 9077 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
9054 if test "x$ac_cv_header_pthread_h" = x""yes; then : | 9078 if test "x$ac_cv_header_pthread_h" = xyes; then : |
9055 cat >>confdefs.h <<_ACEOF | 9079 cat >>confdefs.h <<_ACEOF |
9056 #define HAVE_PTHREAD_H 1 | 9080 #define HAVE_PTHREAD_H 1 |
9057 _ACEOF | 9081 _ACEOF |
9058 | 9082 |
9059 fi | 9083 fi |
9061 done | 9085 done |
9062 | 9086 |
9063 if test "$ac_cv_header_pthread_h"; then | 9087 if test "$ac_cv_header_pthread_h"; then |
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | 9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 |
9065 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 9089 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
9066 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | 9090 if ${ac_cv_lib_pthread_pthread_self+:} false; then : |
9067 $as_echo_n "(cached) " >&6 | 9091 $as_echo_n "(cached) " >&6 |
9068 else | 9092 else |
9069 ac_check_lib_save_LIBS=$LIBS | 9093 ac_check_lib_save_LIBS=$LIBS |
9070 LIBS="-lpthread $LIBS" | 9094 LIBS="-lpthread $LIBS" |
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9095 conftest$ac_exeext conftest.$ac_ext | 9119 conftest$ac_exeext conftest.$ac_ext |
9096 LIBS=$ac_check_lib_save_LIBS | 9120 LIBS=$ac_check_lib_save_LIBS |
9097 fi | 9121 fi |
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | 9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 |
9099 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 9123 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
9100 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 9124 if test "x$ac_cv_lib_pthread_pthread_self" = xyes; then : |
9101 HAVE_GTK_AND_PTHREAD=yes | 9125 HAVE_GTK_AND_PTHREAD=yes |
9102 fi | 9126 fi |
9103 | 9127 |
9104 fi | 9128 fi |
9105 if test "$HAVE_GTK_AND_PTHREAD" = yes; then | 9129 if test "$HAVE_GTK_AND_PTHREAD" = yes; then |
9117 gtk_widget_get_mapped gtk_adjustment_get_page_size \ | 9141 gtk_widget_get_mapped gtk_adjustment_get_page_size \ |
9118 gtk_orientable_set_orientation | 9142 gtk_orientable_set_orientation |
9119 do : | 9143 do : |
9120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 9145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
9122 eval as_val=\$$as_ac_var | 9146 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
9123 if test "x$as_val" = x""yes; then : | |
9124 cat >>confdefs.h <<_ACEOF | 9147 cat >>confdefs.h <<_ACEOF |
9125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9126 _ACEOF | 9149 _ACEOF |
9127 | 9150 |
9128 fi | 9151 fi |
9139 | 9162 |
9140 # Extract the first word of "pkg-config", so it can be a program name with args. | 9163 # Extract the first word of "pkg-config", so it can be a program name with args. |
9141 set dummy pkg-config; ac_word=$2 | 9164 set dummy pkg-config; ac_word=$2 |
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9143 $as_echo_n "checking for $ac_word... " >&6; } | 9166 $as_echo_n "checking for $ac_word... " >&6; } |
9144 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 9167 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
9145 $as_echo_n "(cached) " >&6 | 9168 $as_echo_n "(cached) " >&6 |
9146 else | 9169 else |
9147 case $PKG_CONFIG in | 9170 case $PKG_CONFIG in |
9148 [\\/]* | ?:[\\/]*) | 9171 [\\/]* | ?:[\\/]*) |
9149 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 9172 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9234 $as_echo "#define HAVE_DBUS 1" >>confdefs.h | 9257 $as_echo "#define HAVE_DBUS 1" >>confdefs.h |
9235 | 9258 |
9236 for ac_func in dbus_watch_get_unix_fd | 9259 for ac_func in dbus_watch_get_unix_fd |
9237 do : | 9260 do : |
9238 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" | 9261 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" |
9239 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : | 9262 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then : |
9240 cat >>confdefs.h <<_ACEOF | 9263 cat >>confdefs.h <<_ACEOF |
9241 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 | 9264 #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 |
9242 _ACEOF | 9265 _ACEOF |
9243 | 9266 |
9244 fi | 9267 fi |
9256 | 9279 |
9257 # Extract the first word of "pkg-config", so it can be a program name with args. | 9280 # Extract the first word of "pkg-config", so it can be a program name with args. |
9258 set dummy pkg-config; ac_word=$2 | 9281 set dummy pkg-config; ac_word=$2 |
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9260 $as_echo_n "checking for $ac_word... " >&6; } | 9283 $as_echo_n "checking for $ac_word... " >&6; } |
9261 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 9284 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
9262 $as_echo_n "(cached) " >&6 | 9285 $as_echo_n "(cached) " >&6 |
9263 else | 9286 else |
9264 case $PKG_CONFIG in | 9287 case $PKG_CONFIG in |
9265 [\\/]* | ?:[\\/]*) | 9288 [\\/]* | ?:[\\/]*) |
9266 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 9289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9355 HAVE_LIBSELINUX=no | 9378 HAVE_LIBSELINUX=no |
9356 LIBSELINUX_LIBS= | 9379 LIBSELINUX_LIBS= |
9357 if test "${with_selinux}" = "yes"; then | 9380 if test "${with_selinux}" = "yes"; then |
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 | 9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 |
9359 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | 9382 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } |
9360 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : | 9383 if ${ac_cv_lib_selinux_lgetfilecon+:} false; then : |
9361 $as_echo_n "(cached) " >&6 | 9384 $as_echo_n "(cached) " >&6 |
9362 else | 9385 else |
9363 ac_check_lib_save_LIBS=$LIBS | 9386 ac_check_lib_save_LIBS=$LIBS |
9364 LIBS="-lselinux $LIBS" | 9387 LIBS="-lselinux $LIBS" |
9365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9389 conftest$ac_exeext conftest.$ac_ext | 9412 conftest$ac_exeext conftest.$ac_ext |
9390 LIBS=$ac_check_lib_save_LIBS | 9413 LIBS=$ac_check_lib_save_LIBS |
9391 fi | 9414 fi |
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | 9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 |
9393 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | 9416 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } |
9394 if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : | 9417 if test "x$ac_cv_lib_selinux_lgetfilecon" = xyes; then : |
9395 HAVE_LIBSELINUX=yes | 9418 HAVE_LIBSELINUX=yes |
9396 else | 9419 else |
9397 HAVE_LIBSELINUX=no | 9420 HAVE_LIBSELINUX=no |
9398 fi | 9421 fi |
9399 | 9422 |
9413 | 9436 |
9414 # Extract the first word of "pkg-config", so it can be a program name with args. | 9437 # Extract the first word of "pkg-config", so it can be a program name with args. |
9415 set dummy pkg-config; ac_word=$2 | 9438 set dummy pkg-config; ac_word=$2 |
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9417 $as_echo_n "checking for $ac_word... " >&6; } | 9440 $as_echo_n "checking for $ac_word... " >&6; } |
9418 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 9441 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
9419 $as_echo_n "(cached) " >&6 | 9442 $as_echo_n "(cached) " >&6 |
9420 else | 9443 else |
9421 case $PKG_CONFIG in | 9444 case $PKG_CONFIG in |
9422 [\\/]* | ?:[\\/]*) | 9445 [\\/]* | ?:[\\/]*) |
9423 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 9446 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
9515 LUCID_LIBW= | 9538 LUCID_LIBW= |
9516 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 9539 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
9517 if test "$with_xaw3d" != no; then | 9540 if test "$with_xaw3d" != no; then |
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 | 9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 |
9519 $as_echo_n "checking for xaw3d... " >&6; } | 9542 $as_echo_n "checking for xaw3d... " >&6; } |
9520 if test "${emacs_cv_xaw3d+set}" = set; then : | 9543 if ${emacs_cv_xaw3d+:} false; then : |
9521 $as_echo_n "(cached) " >&6 | 9544 $as_echo_n "(cached) " >&6 |
9522 else | 9545 else |
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9524 /* end confdefs.h. */ | 9547 /* end confdefs.h. */ |
9525 | 9548 |
9557 else | 9580 else |
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9559 $as_echo "no" >&6; } | 9582 $as_echo "no" >&6; } |
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 | 9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 |
9561 $as_echo_n "checking for libXaw... " >&6; } | 9584 $as_echo_n "checking for libXaw... " >&6; } |
9562 if test "${emacs_cv_xaw+set}" = set; then : | 9585 if ${emacs_cv_xaw+:} false; then : |
9563 $as_echo_n "(cached) " >&6 | 9586 $as_echo_n "(cached) " >&6 |
9564 else | 9587 else |
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9566 /* end confdefs.h. */ | 9589 /* end confdefs.h. */ |
9567 | 9590 |
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
9589 $as_echo "yes; using Lucid toolkit" >&6; } | 9612 $as_echo "yes; using Lucid toolkit" >&6; } |
9590 USE_X_TOOLKIT=LUCID | 9613 USE_X_TOOLKIT=LUCID |
9591 LUCID_LIBW=-lXaw | 9614 LUCID_LIBW=-lXaw |
9592 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 9615 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
9593 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 9616 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
9594 else | 9617 else |
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
9596 $as_echo "no; do not use toolkit by default" >&6; } | 9619 $as_echo "no; do not use toolkit by default" >&6; } |
9597 USE_X_TOOLKIT=none | 9620 USE_X_TOOLKIT=none |
9598 fi | 9621 fi |
9603 | 9626 |
9604 LIBXTR6= | 9627 LIBXTR6= |
9605 if test "${USE_X_TOOLKIT}" != "none"; then | 9628 if test "${USE_X_TOOLKIT}" != "none"; then |
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 | 9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 |
9607 $as_echo_n "checking X11 toolkit version... " >&6; } | 9630 $as_echo_n "checking X11 toolkit version... " >&6; } |
9608 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : | 9631 if ${emacs_cv_x11_toolkit_version_6+:} false; then : |
9609 $as_echo_n "(cached) " >&6 | 9632 $as_echo_n "(cached) " >&6 |
9610 else | 9633 else |
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9612 /* end confdefs.h. */ | 9635 /* end confdefs.h. */ |
9613 #include <X11/Intrinsic.h> | 9636 #include <X11/Intrinsic.h> |
9654 else | 9677 else |
9655 LIBS="-lXt $LIBS" | 9678 LIBS="-lXt $LIBS" |
9656 fi | 9679 fi |
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 | 9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 |
9658 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 9681 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
9659 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : | 9682 if ${ac_cv_lib_Xmu_XmuConvertStandardSelection+:} false; then : |
9660 $as_echo_n "(cached) " >&6 | 9683 $as_echo_n "(cached) " >&6 |
9661 else | 9684 else |
9662 ac_check_lib_save_LIBS=$LIBS | 9685 ac_check_lib_save_LIBS=$LIBS |
9663 LIBS="-lXmu $LIBS" | 9686 LIBS="-lXmu $LIBS" |
9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9688 conftest$ac_exeext conftest.$ac_ext | 9711 conftest$ac_exeext conftest.$ac_ext |
9689 LIBS=$ac_check_lib_save_LIBS | 9712 LIBS=$ac_check_lib_save_LIBS |
9690 fi | 9713 fi |
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
9692 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 9715 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
9693 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : | 9716 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = xyes; then : |
9694 cat >>confdefs.h <<_ACEOF | 9717 cat >>confdefs.h <<_ACEOF |
9695 #define HAVE_LIBXMU 1 | 9718 #define HAVE_LIBXMU 1 |
9696 _ACEOF | 9719 _ACEOF |
9697 | 9720 |
9698 LIBS="-lXmu $LIBS" | 9721 LIBS="-lXmu $LIBS" |
9715 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 9738 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
9716 if test "${HAVE_X11}" = "yes"; then | 9739 if test "${HAVE_X11}" = "yes"; then |
9717 if test "${USE_X_TOOLKIT}" != "none"; then | 9740 if test "${USE_X_TOOLKIT}" != "none"; then |
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 | 9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 |
9719 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 9742 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
9720 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : | 9743 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then : |
9721 $as_echo_n "(cached) " >&6 | 9744 $as_echo_n "(cached) " >&6 |
9722 else | 9745 else |
9723 ac_check_lib_save_LIBS=$LIBS | 9746 ac_check_lib_save_LIBS=$LIBS |
9724 LIBS="-lXext $LIBS" | 9747 LIBS="-lXext $LIBS" |
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9749 conftest$ac_exeext conftest.$ac_ext | 9772 conftest$ac_exeext conftest.$ac_ext |
9750 LIBS=$ac_check_lib_save_LIBS | 9773 LIBS=$ac_check_lib_save_LIBS |
9751 fi | 9774 fi |
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
9753 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 9776 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
9754 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : | 9777 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then : |
9755 cat >>confdefs.h <<_ACEOF | 9778 cat >>confdefs.h <<_ACEOF |
9756 #define HAVE_LIBXEXT 1 | 9779 #define HAVE_LIBXEXT 1 |
9757 _ACEOF | 9780 _ACEOF |
9758 | 9781 |
9759 LIBS="-lXext $LIBS" | 9782 LIBS="-lXext $LIBS" |
9765 | 9788 |
9766 LIBXP= | 9789 LIBXP= |
9767 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 9790 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 | 9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 |
9769 $as_echo_n "checking for Motif version 2.1... " >&6; } | 9792 $as_echo_n "checking for Motif version 2.1... " >&6; } |
9770 if test "${emacs_cv_motif_version_2_1+set}" = set; then : | 9793 if ${emacs_cv_motif_version_2_1+:} false; then : |
9771 $as_echo_n "(cached) " >&6 | 9794 $as_echo_n "(cached) " >&6 |
9772 else | 9795 else |
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9774 /* end confdefs.h. */ | 9797 /* end confdefs.h. */ |
9775 #include <Xm/Xm.h> | 9798 #include <Xm/Xm.h> |
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 | 9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 |
9796 $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 9819 $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
9797 if test $emacs_cv_motif_version_2_1 = yes; then | 9820 if test $emacs_cv_motif_version_2_1 = yes; then |
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 | 9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 |
9799 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 9822 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
9800 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : | 9823 if ${ac_cv_lib_Xp_XpCreateContext+:} false; then : |
9801 $as_echo_n "(cached) " >&6 | 9824 $as_echo_n "(cached) " >&6 |
9802 else | 9825 else |
9803 ac_check_lib_save_LIBS=$LIBS | 9826 ac_check_lib_save_LIBS=$LIBS |
9804 LIBS="-lXp $LIBS" | 9827 LIBS="-lXp $LIBS" |
9805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9829 conftest$ac_exeext conftest.$ac_ext | 9852 conftest$ac_exeext conftest.$ac_ext |
9830 LIBS=$ac_check_lib_save_LIBS | 9853 LIBS=$ac_check_lib_save_LIBS |
9831 fi | 9854 fi |
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
9833 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 9856 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
9834 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : | 9857 if test "x$ac_cv_lib_Xp_XpCreateContext" = xyes; then : |
9835 LIBXP=-lXp | 9858 LIBXP=-lXp |
9836 fi | 9859 fi |
9837 | 9860 |
9838 else | 9861 else |
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 | 9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 |
9840 $as_echo_n "checking for LessTif where some systems put it... " >&6; } | 9863 $as_echo_n "checking for LessTif where some systems put it... " >&6; } |
9841 if test "${emacs_cv_lesstif+set}" = set; then : | 9864 if ${emacs_cv_lesstif+:} false; then : |
9842 $as_echo_n "(cached) " >&6 | 9865 $as_echo_n "(cached) " >&6 |
9843 else | 9866 else |
9844 # We put this in CFLAGS temporarily to precede other -I options | 9867 # We put this in CFLAGS temporarily to precede other -I options |
9845 # that might be in CFLAGS temporarily. | 9868 # that might be in CFLAGS temporarily. |
9846 # We put this in CPPFLAGS where it precedes the other -I options. | 9869 # We put this in CPPFLAGS where it precedes the other -I options. |
9995 | 10018 |
9996 # Extract the first word of "pkg-config", so it can be a program name with args. | 10019 # Extract the first word of "pkg-config", so it can be a program name with args. |
9997 set dummy pkg-config; ac_word=$2 | 10020 set dummy pkg-config; ac_word=$2 |
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9999 $as_echo_n "checking for $ac_word... " >&6; } | 10022 $as_echo_n "checking for $ac_word... " >&6; } |
10000 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10023 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
10001 $as_echo_n "(cached) " >&6 | 10024 $as_echo_n "(cached) " >&6 |
10002 else | 10025 else |
10003 case $PKG_CONFIG in | 10026 case $PKG_CONFIG in |
10004 [\\/]* | ?:[\\/]*) | 10027 [\\/]* | ?:[\\/]*) |
10005 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 10028 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
10097 | 10120 |
10098 # Extract the first word of "pkg-config", so it can be a program name with args. | 10121 # Extract the first word of "pkg-config", so it can be a program name with args. |
10099 set dummy pkg-config; ac_word=$2 | 10122 set dummy pkg-config; ac_word=$2 |
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
10101 $as_echo_n "checking for $ac_word... " >&6; } | 10124 $as_echo_n "checking for $ac_word... " >&6; } |
10102 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10125 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
10103 $as_echo_n "(cached) " >&6 | 10126 $as_echo_n "(cached) " >&6 |
10104 else | 10127 else |
10105 case $PKG_CONFIG in | 10128 case $PKG_CONFIG in |
10106 [\\/]* | ?:[\\/]*) | 10129 [\\/]* | ?:[\\/]*) |
10107 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 10130 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
10189 ## Because xftfont.c uses XRenderQueryExtension, we also | 10212 ## Because xftfont.c uses XRenderQueryExtension, we also |
10190 ## need to link to -lXrender. | 10213 ## need to link to -lXrender. |
10191 HAVE_XRENDER=no | 10214 HAVE_XRENDER=no |
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 | 10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 |
10193 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 10216 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
10194 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : | 10217 if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then : |
10195 $as_echo_n "(cached) " >&6 | 10218 $as_echo_n "(cached) " >&6 |
10196 else | 10219 else |
10197 ac_check_lib_save_LIBS=$LIBS | 10220 ac_check_lib_save_LIBS=$LIBS |
10198 LIBS="-lXrender $LIBS" | 10221 LIBS="-lXrender $LIBS" |
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10223 conftest$ac_exeext conftest.$ac_ext | 10246 conftest$ac_exeext conftest.$ac_ext |
10224 LIBS=$ac_check_lib_save_LIBS | 10247 LIBS=$ac_check_lib_save_LIBS |
10225 fi | 10248 fi |
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
10227 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 10250 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
10228 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : | 10251 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then : |
10229 HAVE_XRENDER=yes | 10252 HAVE_XRENDER=yes |
10230 fi | 10253 fi |
10231 | 10254 |
10232 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then | 10255 if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then |
10233 OLD_CPPFLAGS="$CPPFLAGS" | 10256 OLD_CPPFLAGS="$CPPFLAGS" |
10236 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" | 10259 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
10237 CFLAGS="$CFLAGS $XFT_CFLAGS" | 10260 CFLAGS="$CFLAGS $XFT_CFLAGS" |
10238 XFT_LIBS="-lXrender $XFT_LIBS" | 10261 XFT_LIBS="-lXrender $XFT_LIBS" |
10239 LIBS="$XFT_LIBS $LIBS" | 10262 LIBS="$XFT_LIBS $LIBS" |
10240 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" | 10263 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
10241 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : | 10264 if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : |
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 | 10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 |
10243 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 10266 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
10244 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : | 10267 if ${ac_cv_lib_Xft_XftFontOpen+:} false; then : |
10245 $as_echo_n "(cached) " >&6 | 10268 $as_echo_n "(cached) " >&6 |
10246 else | 10269 else |
10247 ac_check_lib_save_LIBS=$LIBS | 10270 ac_check_lib_save_LIBS=$LIBS |
10248 LIBS="-lXft $XFT_LIBS $LIBS" | 10271 LIBS="-lXft $XFT_LIBS $LIBS" |
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10273 conftest$ac_exeext conftest.$ac_ext | 10296 conftest$ac_exeext conftest.$ac_ext |
10274 LIBS=$ac_check_lib_save_LIBS | 10297 LIBS=$ac_check_lib_save_LIBS |
10275 fi | 10298 fi |
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
10277 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 10300 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
10278 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : | 10301 if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then : |
10279 HAVE_XFT=yes | 10302 HAVE_XFT=yes |
10280 fi | 10303 fi |
10281 | 10304 |
10282 fi | 10305 fi |
10283 | 10306 |
10322 | 10345 |
10323 # Extract the first word of "pkg-config", so it can be a program name with args. | 10346 # Extract the first word of "pkg-config", so it can be a program name with args. |
10324 set dummy pkg-config; ac_word=$2 | 10347 set dummy pkg-config; ac_word=$2 |
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
10326 $as_echo_n "checking for $ac_word... " >&6; } | 10349 $as_echo_n "checking for $ac_word... " >&6; } |
10327 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10350 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
10328 $as_echo_n "(cached) " >&6 | 10351 $as_echo_n "(cached) " >&6 |
10329 else | 10352 else |
10330 case $PKG_CONFIG in | 10353 case $PKG_CONFIG in |
10331 [\\/]* | ?:[\\/]*) | 10354 [\\/]* | ?:[\\/]*) |
10332 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 10355 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
10415 | 10438 |
10416 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h | 10439 $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h |
10417 | 10440 |
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 | 10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 |
10419 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 10442 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
10420 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : | 10443 if ${ac_cv_lib_otf_OTF_get_variation_glyphs+:} false; then : |
10421 $as_echo_n "(cached) " >&6 | 10444 $as_echo_n "(cached) " >&6 |
10422 else | 10445 else |
10423 ac_check_lib_save_LIBS=$LIBS | 10446 ac_check_lib_save_LIBS=$LIBS |
10424 LIBS="-lotf $LIBS" | 10447 LIBS="-lotf $LIBS" |
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10449 conftest$ac_exeext conftest.$ac_ext | 10472 conftest$ac_exeext conftest.$ac_ext |
10450 LIBS=$ac_check_lib_save_LIBS | 10473 LIBS=$ac_check_lib_save_LIBS |
10451 fi | 10474 fi |
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
10453 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 10476 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
10454 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : | 10477 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = xyes; then : |
10455 HAVE_OTF_GET_VARIATION_GLYPHS=yes | 10478 HAVE_OTF_GET_VARIATION_GLYPHS=yes |
10456 else | 10479 else |
10457 HAVE_OTF_GET_VARIATION_GLYPHS=no | 10480 HAVE_OTF_GET_VARIATION_GLYPHS=no |
10458 fi | 10481 fi |
10459 | 10482 |
10474 | 10497 |
10475 # Extract the first word of "pkg-config", so it can be a program name with args. | 10498 # Extract the first word of "pkg-config", so it can be a program name with args. |
10476 set dummy pkg-config; ac_word=$2 | 10499 set dummy pkg-config; ac_word=$2 |
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
10478 $as_echo_n "checking for $ac_word... " >&6; } | 10501 $as_echo_n "checking for $ac_word... " >&6; } |
10479 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 10502 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
10480 $as_echo_n "(cached) " >&6 | 10503 $as_echo_n "(cached) " >&6 |
10481 else | 10504 else |
10482 case $PKG_CONFIG in | 10505 case $PKG_CONFIG in |
10483 [\\/]* | ?:[\\/]*) | 10506 [\\/]* | ?:[\\/]*) |
10484 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 10507 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
10592 HAVE_XPM=no | 10615 HAVE_XPM=no |
10593 LIBXPM= | 10616 LIBXPM= |
10594 if test "${HAVE_X11}" = "yes"; then | 10617 if test "${HAVE_X11}" = "yes"; then |
10595 if test "${with_xpm}" != "no"; then | 10618 if test "${with_xpm}" != "no"; then |
10596 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" | 10619 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" |
10597 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : | 10620 if test "x$ac_cv_header_X11_xpm_h" = xyes; then : |
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 | 10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 |
10599 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 10622 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
10600 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : | 10623 if ${ac_cv_lib_Xpm_XpmReadFileToPixmap+:} false; then : |
10601 $as_echo_n "(cached) " >&6 | 10624 $as_echo_n "(cached) " >&6 |
10602 else | 10625 else |
10603 ac_check_lib_save_LIBS=$LIBS | 10626 ac_check_lib_save_LIBS=$LIBS |
10604 LIBS="-lXpm -lX11 $LIBS" | 10627 LIBS="-lXpm -lX11 $LIBS" |
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10629 conftest$ac_exeext conftest.$ac_ext | 10652 conftest$ac_exeext conftest.$ac_ext |
10630 LIBS=$ac_check_lib_save_LIBS | 10653 LIBS=$ac_check_lib_save_LIBS |
10631 fi | 10654 fi |
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
10633 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 10656 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
10634 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : | 10657 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = xyes; then : |
10635 HAVE_XPM=yes | 10658 HAVE_XPM=yes |
10636 fi | 10659 fi |
10637 | 10660 |
10638 fi | 10661 fi |
10639 | 10662 |
10681 HAVE_JPEG=no | 10704 HAVE_JPEG=no |
10682 LIBJPEG= | 10705 LIBJPEG= |
10683 if test "${HAVE_X11}" = "yes"; then | 10706 if test "${HAVE_X11}" = "yes"; then |
10684 if test "${with_jpeg}" != "no"; then | 10707 if test "${with_jpeg}" != "no"; then |
10685 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" | 10708 ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" |
10686 if test "x$ac_cv_header_jerror_h" = x""yes; then : | 10709 if test "x$ac_cv_header_jerror_h" = xyes; then : |
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 | 10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 |
10688 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 10711 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
10689 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : | 10712 if ${ac_cv_lib_jpeg_jpeg_destroy_compress+:} false; then : |
10690 $as_echo_n "(cached) " >&6 | 10713 $as_echo_n "(cached) " >&6 |
10691 else | 10714 else |
10692 ac_check_lib_save_LIBS=$LIBS | 10715 ac_check_lib_save_LIBS=$LIBS |
10693 LIBS="-ljpeg $LIBS" | 10716 LIBS="-ljpeg $LIBS" |
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10718 conftest$ac_exeext conftest.$ac_ext | 10741 conftest$ac_exeext conftest.$ac_ext |
10719 LIBS=$ac_check_lib_save_LIBS | 10742 LIBS=$ac_check_lib_save_LIBS |
10720 fi | 10743 fi |
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
10722 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 10745 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
10723 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : | 10746 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = xyes; then : |
10724 HAVE_JPEG=yes | 10747 HAVE_JPEG=yes |
10725 fi | 10748 fi |
10726 | 10749 |
10727 fi | 10750 fi |
10728 | 10751 |
10765 # in /usr/include/libpng. | 10788 # in /usr/include/libpng. |
10766 for ac_header in png.h libpng/png.h | 10789 for ac_header in png.h libpng/png.h |
10767 do : | 10790 do : |
10768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10769 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 10792 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10770 eval as_val=\$$as_ac_Header | 10793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
10771 if test "x$as_val" = x""yes; then : | |
10772 cat >>confdefs.h <<_ACEOF | 10794 cat >>confdefs.h <<_ACEOF |
10773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10774 _ACEOF | 10796 _ACEOF |
10775 | 10797 |
10776 fi | 10798 fi |
10778 done | 10800 done |
10779 | 10801 |
10780 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 10802 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 | 10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 |
10782 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 10804 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
10783 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : | 10805 if ${ac_cv_lib_png_png_get_channels+:} false; then : |
10784 $as_echo_n "(cached) " >&6 | 10806 $as_echo_n "(cached) " >&6 |
10785 else | 10807 else |
10786 ac_check_lib_save_LIBS=$LIBS | 10808 ac_check_lib_save_LIBS=$LIBS |
10787 LIBS="-lpng -lz -lm $LIBS" | 10809 LIBS="-lpng -lz -lm $LIBS" |
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10812 conftest$ac_exeext conftest.$ac_ext | 10834 conftest$ac_exeext conftest.$ac_ext |
10813 LIBS=$ac_check_lib_save_LIBS | 10835 LIBS=$ac_check_lib_save_LIBS |
10814 fi | 10836 fi |
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 | 10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 |
10816 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 10838 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
10817 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : | 10839 if test "x$ac_cv_lib_png_png_get_channels" = xyes; then : |
10818 HAVE_PNG=yes | 10840 HAVE_PNG=yes |
10819 fi | 10841 fi |
10820 | 10842 |
10821 fi | 10843 fi |
10822 fi | 10844 fi |
10834 HAVE_TIFF=no | 10856 HAVE_TIFF=no |
10835 LIBTIFF= | 10857 LIBTIFF= |
10836 if test "${HAVE_X11}" = "yes"; then | 10858 if test "${HAVE_X11}" = "yes"; then |
10837 if test "${with_tiff}" != "no"; then | 10859 if test "${with_tiff}" != "no"; then |
10838 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | 10860 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" |
10839 if test "x$ac_cv_header_tiffio_h" = x""yes; then : | 10861 if test "x$ac_cv_header_tiffio_h" = xyes; then : |
10840 tifflibs="-lz -lm" | 10862 tifflibs="-lz -lm" |
10841 # At least one tiff package requires the jpeg library. | 10863 # At least one tiff package requires the jpeg library. |
10842 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 10864 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 | 10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 |
10844 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 10866 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
10845 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : | 10867 if ${ac_cv_lib_tiff_TIFFGetVersion+:} false; then : |
10846 $as_echo_n "(cached) " >&6 | 10868 $as_echo_n "(cached) " >&6 |
10847 else | 10869 else |
10848 ac_check_lib_save_LIBS=$LIBS | 10870 ac_check_lib_save_LIBS=$LIBS |
10849 LIBS="-ltiff $tifflibs $LIBS" | 10871 LIBS="-ltiff $tifflibs $LIBS" |
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10874 conftest$ac_exeext conftest.$ac_ext | 10896 conftest$ac_exeext conftest.$ac_ext |
10875 LIBS=$ac_check_lib_save_LIBS | 10897 LIBS=$ac_check_lib_save_LIBS |
10876 fi | 10898 fi |
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
10878 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 10900 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
10879 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : | 10901 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = xyes; then : |
10880 HAVE_TIFF=yes | 10902 HAVE_TIFF=yes |
10881 fi | 10903 fi |
10882 | 10904 |
10883 fi | 10905 fi |
10884 | 10906 |
10897 ### Use -lgif or -lungif if available, unless `--with-gif=no'. | 10919 ### Use -lgif or -lungif if available, unless `--with-gif=no'. |
10898 HAVE_GIF=no | 10920 HAVE_GIF=no |
10899 LIBGIF= | 10921 LIBGIF= |
10900 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 10922 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
10901 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" | 10923 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" |
10902 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : | 10924 if test "x$ac_cv_header_gif_lib_h" = xyes; then : |
10903 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 10925 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
10904 # Earlier versions can crash Emacs. | 10926 # Earlier versions can crash Emacs. |
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 | 10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 |
10906 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 10928 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
10907 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : | 10929 if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then : |
10908 $as_echo_n "(cached) " >&6 | 10930 $as_echo_n "(cached) " >&6 |
10909 else | 10931 else |
10910 ac_check_lib_save_LIBS=$LIBS | 10932 ac_check_lib_save_LIBS=$LIBS |
10911 LIBS="-lgif $LIBS" | 10933 LIBS="-lgif $LIBS" |
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10936 conftest$ac_exeext conftest.$ac_ext | 10958 conftest$ac_exeext conftest.$ac_ext |
10937 LIBS=$ac_check_lib_save_LIBS | 10959 LIBS=$ac_check_lib_save_LIBS |
10938 fi | 10960 fi |
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
10940 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 10962 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
10941 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : | 10963 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then : |
10942 HAVE_GIF=yes | 10964 HAVE_GIF=yes |
10943 else | 10965 else |
10944 HAVE_GIF=maybe | 10966 HAVE_GIF=maybe |
10945 fi | 10967 fi |
10946 | 10968 |
10952 LIBGIF=-lgif | 10974 LIBGIF=-lgif |
10953 elif test "$HAVE_GIF" = maybe; then | 10975 elif test "$HAVE_GIF" = maybe; then |
10954 # If gif_lib.h but no libgif, try libungif. | 10976 # If gif_lib.h but no libgif, try libungif. |
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 | 10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 |
10956 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 10978 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
10957 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : | 10979 if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then : |
10958 $as_echo_n "(cached) " >&6 | 10980 $as_echo_n "(cached) " >&6 |
10959 else | 10981 else |
10960 ac_check_lib_save_LIBS=$LIBS | 10982 ac_check_lib_save_LIBS=$LIBS |
10961 LIBS="-lungif $LIBS" | 10983 LIBS="-lungif $LIBS" |
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10986 conftest$ac_exeext conftest.$ac_ext | 11008 conftest$ac_exeext conftest.$ac_ext |
10987 LIBS=$ac_check_lib_save_LIBS | 11009 LIBS=$ac_check_lib_save_LIBS |
10988 fi | 11010 fi |
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
10990 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 11012 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
10991 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : | 11013 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then : |
10992 HAVE_GIF=yes | 11014 HAVE_GIF=yes |
10993 else | 11015 else |
10994 HAVE_GIF=no | 11016 HAVE_GIF=no |
10995 fi | 11017 fi |
10996 | 11018 |
11018 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 11040 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
11019 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 11041 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
11020 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 11042 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
11021 | 11043 |
11022 if test "X${MISSING}" != X; then | 11044 if test "X${MISSING}" != X; then |
11023 as_fn_error "The following required libraries were not found: | 11045 as_fn_error $? "The following required libraries were not found: |
11024 $MISSING | 11046 $MISSING |
11025 Maybe some development libraries/packages are missing? | 11047 Maybe some development libraries/packages are missing? |
11026 If you don't want to link with them give | 11048 If you don't want to link with them give |
11027 $WITH_NO | 11049 $WITH_NO |
11028 as options to configure" "$LINENO" 5 | 11050 as options to configure" "$LINENO" 5 |
11033 HAVE_GPM=no | 11055 HAVE_GPM=no |
11034 LIBGPM= | 11056 LIBGPM= |
11035 MOUSE_SUPPORT= | 11057 MOUSE_SUPPORT= |
11036 if test "${with_gpm}" != "no"; then | 11058 if test "${with_gpm}" != "no"; then |
11037 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" | 11059 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" |
11038 if test "x$ac_cv_header_gpm_h" = x""yes; then : | 11060 if test "x$ac_cv_header_gpm_h" = xyes; then : |
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 | 11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 |
11040 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 11062 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
11041 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : | 11063 if ${ac_cv_lib_gpm_Gpm_Open+:} false; then : |
11042 $as_echo_n "(cached) " >&6 | 11064 $as_echo_n "(cached) " >&6 |
11043 else | 11065 else |
11044 ac_check_lib_save_LIBS=$LIBS | 11066 ac_check_lib_save_LIBS=$LIBS |
11045 LIBS="-lgpm $LIBS" | 11067 LIBS="-lgpm $LIBS" |
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11070 conftest$ac_exeext conftest.$ac_ext | 11092 conftest$ac_exeext conftest.$ac_ext |
11071 LIBS=$ac_check_lib_save_LIBS | 11093 LIBS=$ac_check_lib_save_LIBS |
11072 fi | 11094 fi |
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
11074 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 11096 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
11075 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : | 11097 if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then : |
11076 HAVE_GPM=yes | 11098 HAVE_GPM=yes |
11077 fi | 11099 fi |
11078 | 11100 |
11079 fi | 11101 fi |
11080 | 11102 |
11090 fi | 11112 fi |
11091 fi | 11113 fi |
11092 | 11114 |
11093 | 11115 |
11094 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" | 11116 ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" |
11095 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : | 11117 if test "x$ac_cv_header_malloc_malloc_h" = xyes; then : |
11096 | 11118 |
11097 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h | 11119 $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h |
11098 | 11120 |
11099 fi | 11121 fi |
11100 | 11122 |
11135 ### Use session management (-lSM -lICE) if available | 11157 ### Use session management (-lSM -lICE) if available |
11136 HAVE_X_SM=no | 11158 HAVE_X_SM=no |
11137 LIBXSM= | 11159 LIBXSM= |
11138 if test "${HAVE_X11}" = "yes"; then | 11160 if test "${HAVE_X11}" = "yes"; then |
11139 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" | 11161 ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" |
11140 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : | 11162 if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes; then : |
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 | 11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 |
11142 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 11164 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
11143 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : | 11165 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then : |
11144 $as_echo_n "(cached) " >&6 | 11166 $as_echo_n "(cached) " >&6 |
11145 else | 11167 else |
11146 ac_check_lib_save_LIBS=$LIBS | 11168 ac_check_lib_save_LIBS=$LIBS |
11147 LIBS="-lSM -lICE $LIBS" | 11169 LIBS="-lSM -lICE $LIBS" |
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11172 conftest$ac_exeext conftest.$ac_ext | 11194 conftest$ac_exeext conftest.$ac_ext |
11173 LIBS=$ac_check_lib_save_LIBS | 11195 LIBS=$ac_check_lib_save_LIBS |
11174 fi | 11196 fi |
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
11176 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 11198 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
11177 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : | 11199 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then : |
11178 HAVE_X_SM=yes | 11200 HAVE_X_SM=yes |
11179 fi | 11201 fi |
11180 | 11202 |
11181 fi | 11203 fi |
11182 | 11204 |
11203 | 11225 |
11204 # Extract the first word of "pkg-config", so it can be a program name with args. | 11226 # Extract the first word of "pkg-config", so it can be a program name with args. |
11205 set dummy pkg-config; ac_word=$2 | 11227 set dummy pkg-config; ac_word=$2 |
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11207 $as_echo_n "checking for $ac_word... " >&6; } | 11229 $as_echo_n "checking for $ac_word... " >&6; } |
11208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11230 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
11209 $as_echo_n "(cached) " >&6 | 11231 $as_echo_n "(cached) " >&6 |
11210 else | 11232 else |
11211 case $PKG_CONFIG in | 11233 case $PKG_CONFIG in |
11212 [\\/]* | ?:[\\/]*) | 11234 [\\/]* | ?:[\\/]*) |
11213 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 11235 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
11294 | 11316 |
11295 if test "${HAVE_LIBXML2}" = "yes"; then | 11317 if test "${HAVE_LIBXML2}" = "yes"; then |
11296 LIBS="$LIBXML2_LIBS $LIBS" | 11318 LIBS="$LIBXML2_LIBS $LIBS" |
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 | 11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 |
11298 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } | 11320 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } |
11299 if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : | 11321 if ${ac_cv_lib_xml2_htmlReadMemory+:} false; then : |
11300 $as_echo_n "(cached) " >&6 | 11322 $as_echo_n "(cached) " >&6 |
11301 else | 11323 else |
11302 ac_check_lib_save_LIBS=$LIBS | 11324 ac_check_lib_save_LIBS=$LIBS |
11303 LIBS="-lxml2 $LIBS" | 11325 LIBS="-lxml2 $LIBS" |
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11328 conftest$ac_exeext conftest.$ac_ext | 11350 conftest$ac_exeext conftest.$ac_ext |
11329 LIBS=$ac_check_lib_save_LIBS | 11351 LIBS=$ac_check_lib_save_LIBS |
11330 fi | 11352 fi |
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 | 11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 |
11332 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } | 11354 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } |
11333 if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : | 11355 if test "x$ac_cv_lib_xml2_htmlReadMemory" = xyes; then : |
11334 HAVE_LIBXML2=yes | 11356 HAVE_LIBXML2=yes |
11335 else | 11357 else |
11336 HAVE_LIBXML2=no | 11358 HAVE_LIBXML2=no |
11337 fi | 11359 fi |
11338 | 11360 |
11350 | 11372 |
11351 | 11373 |
11352 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 11374 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 | 11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 |
11354 $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 11376 $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
11355 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : | 11377 if ${emacs_cv_netdb_declares_h_errno+:} false; then : |
11356 $as_echo_n "(cached) " >&6 | 11378 $as_echo_n "(cached) " >&6 |
11357 else | 11379 else |
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11359 /* end confdefs.h. */ | 11381 /* end confdefs.h. */ |
11360 #include <netdb.h> | 11382 #include <netdb.h> |
11380 | 11402 |
11381 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h | 11403 $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h |
11382 | 11404 |
11383 fi | 11405 fi |
11384 | 11406 |
11407 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | |
11408 if test "x$ac_cv_type_size_t" = xyes; then : | |
11409 | |
11410 else | |
11411 | |
11412 cat >>confdefs.h <<_ACEOF | |
11413 #define size_t unsigned int | |
11414 _ACEOF | |
11415 | |
11416 fi | |
11417 | |
11385 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11418 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11386 # for constant arguments. Useless! | 11419 # for constant arguments. Useless! |
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
11388 $as_echo_n "checking for working alloca.h... " >&6; } | 11421 $as_echo_n "checking for working alloca.h... " >&6; } |
11389 if test "${ac_cv_working_alloca_h+set}" = set; then : | 11422 if ${ac_cv_working_alloca_h+:} false; then : |
11390 $as_echo_n "(cached) " >&6 | 11423 $as_echo_n "(cached) " >&6 |
11391 else | 11424 else |
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11393 /* end confdefs.h. */ | 11426 /* end confdefs.h. */ |
11394 #include <alloca.h> | 11427 #include <alloca.h> |
11417 | 11450 |
11418 fi | 11451 fi |
11419 | 11452 |
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
11421 $as_echo_n "checking for alloca... " >&6; } | 11454 $as_echo_n "checking for alloca... " >&6; } |
11422 if test "${ac_cv_func_alloca_works+set}" = set; then : | 11455 if ${ac_cv_func_alloca_works+:} false; then : |
11423 $as_echo_n "(cached) " >&6 | 11456 $as_echo_n "(cached) " >&6 |
11424 else | 11457 else |
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11426 /* end confdefs.h. */ | 11459 /* end confdefs.h. */ |
11427 #ifdef __GNUC__ | 11460 #ifdef __GNUC__ |
11436 # else | 11469 # else |
11437 # ifdef _AIX | 11470 # ifdef _AIX |
11438 #pragma alloca | 11471 #pragma alloca |
11439 # else | 11472 # else |
11440 # ifndef alloca /* predefined by HP cc +Olibcalls */ | 11473 # ifndef alloca /* predefined by HP cc +Olibcalls */ |
11441 char *alloca (); | 11474 void *alloca (size_t); |
11442 # endif | 11475 # endif |
11443 # endif | 11476 # endif |
11444 # endif | 11477 # endif |
11445 # endif | 11478 # endif |
11446 #endif | 11479 #endif |
11480 $as_echo "#define C_ALLOCA 1" >>confdefs.h | 11513 $as_echo "#define C_ALLOCA 1" >>confdefs.h |
11481 | 11514 |
11482 | 11515 |
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
11484 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 11517 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
11485 if test "${ac_cv_os_cray+set}" = set; then : | 11518 if ${ac_cv_os_cray+:} false; then : |
11486 $as_echo_n "(cached) " >&6 | 11519 $as_echo_n "(cached) " >&6 |
11487 else | 11520 else |
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11489 /* end confdefs.h. */ | 11522 /* end confdefs.h. */ |
11490 #if defined CRAY && ! defined CRAY2 | 11523 #if defined CRAY && ! defined CRAY2 |
11507 $as_echo "$ac_cv_os_cray" >&6; } | 11540 $as_echo "$ac_cv_os_cray" >&6; } |
11508 if test $ac_cv_os_cray = yes; then | 11541 if test $ac_cv_os_cray = yes; then |
11509 for ac_func in _getb67 GETB67 getb67; do | 11542 for ac_func in _getb67 GETB67 getb67; do |
11510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11512 eval as_val=\$$as_ac_var | 11545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11513 if test "x$as_val" = x""yes; then : | |
11514 | 11546 |
11515 cat >>confdefs.h <<_ACEOF | 11547 cat >>confdefs.h <<_ACEOF |
11516 #define CRAY_STACKSEG_END $ac_func | 11548 #define CRAY_STACKSEG_END $ac_func |
11517 _ACEOF | 11549 _ACEOF |
11518 | 11550 |
11522 done | 11554 done |
11523 fi | 11555 fi |
11524 | 11556 |
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
11526 $as_echo_n "checking stack direction for C alloca... " >&6; } | 11558 $as_echo_n "checking stack direction for C alloca... " >&6; } |
11527 if test "${ac_cv_c_stack_direction+set}" = set; then : | 11559 if ${ac_cv_c_stack_direction+:} false; then : |
11528 $as_echo_n "(cached) " >&6 | 11560 $as_echo_n "(cached) " >&6 |
11529 else | 11561 else |
11530 if test "$cross_compiling" = yes; then : | 11562 if test "$cross_compiling" = yes; then : |
11531 ac_cv_c_stack_direction=0 | 11563 ac_cv_c_stack_direction=0 |
11532 else | 11564 else |
11572 | 11604 |
11573 fi | 11605 fi |
11574 | 11606 |
11575 | 11607 |
11576 if test x"$ac_cv_func_alloca_works" != xyes; then | 11608 if test x"$ac_cv_func_alloca_works" != xyes; then |
11577 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 11609 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 |
11578 fi | 11610 fi |
11579 | 11611 |
11580 # fmod, logb, and frexp are found in -lm on most systems. | 11612 # fmod, logb, and frexp are found in -lm on most systems. |
11581 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 11613 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
11583 $as_echo_n "checking for sqrt in -lm... " >&6; } | 11615 $as_echo_n "checking for sqrt in -lm... " >&6; } |
11584 if test "${ac_cv_lib_m_sqrt+set}" = set; then : | 11616 if ${ac_cv_lib_m_sqrt+:} false; then : |
11585 $as_echo_n "(cached) " >&6 | 11617 $as_echo_n "(cached) " >&6 |
11586 else | 11618 else |
11587 ac_check_lib_save_LIBS=$LIBS | 11619 ac_check_lib_save_LIBS=$LIBS |
11588 LIBS="-lm $LIBS" | 11620 LIBS="-lm $LIBS" |
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11613 conftest$ac_exeext conftest.$ac_ext | 11645 conftest$ac_exeext conftest.$ac_ext |
11614 LIBS=$ac_check_lib_save_LIBS | 11646 LIBS=$ac_check_lib_save_LIBS |
11615 fi | 11647 fi |
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 | 11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 |
11617 $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 11649 $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
11618 if test "x$ac_cv_lib_m_sqrt" = x""yes; then : | 11650 if test "x$ac_cv_lib_m_sqrt" = xyes; then : |
11619 cat >>confdefs.h <<_ACEOF | 11651 cat >>confdefs.h <<_ACEOF |
11620 #define HAVE_LIBM 1 | 11652 #define HAVE_LIBM 1 |
11621 _ACEOF | 11653 _ACEOF |
11622 | 11654 |
11623 LIBS="-lm $LIBS" | 11655 LIBS="-lm $LIBS" |
11627 | 11659 |
11628 # Check for mail-locking functions in a "mail" library. Probably this should | 11660 # Check for mail-locking functions in a "mail" library. Probably this should |
11629 # have the same check as for liblockfile below. | 11661 # have the same check as for liblockfile below. |
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 | 11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 |
11631 $as_echo_n "checking for maillock in -lmail... " >&6; } | 11663 $as_echo_n "checking for maillock in -lmail... " >&6; } |
11632 if test "${ac_cv_lib_mail_maillock+set}" = set; then : | 11664 if ${ac_cv_lib_mail_maillock+:} false; then : |
11633 $as_echo_n "(cached) " >&6 | 11665 $as_echo_n "(cached) " >&6 |
11634 else | 11666 else |
11635 ac_check_lib_save_LIBS=$LIBS | 11667 ac_check_lib_save_LIBS=$LIBS |
11636 LIBS="-lmail $LIBS" | 11668 LIBS="-lmail $LIBS" |
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11661 conftest$ac_exeext conftest.$ac_ext | 11693 conftest$ac_exeext conftest.$ac_ext |
11662 LIBS=$ac_check_lib_save_LIBS | 11694 LIBS=$ac_check_lib_save_LIBS |
11663 fi | 11695 fi |
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 | 11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 |
11665 $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 11697 $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
11666 if test "x$ac_cv_lib_mail_maillock" = x""yes; then : | 11698 if test "x$ac_cv_lib_mail_maillock" = xyes; then : |
11667 have_mail=yes | 11699 have_mail=yes |
11668 else | 11700 else |
11669 have_mail=no | 11701 have_mail=no |
11670 fi | 11702 fi |
11671 | 11703 |
11678 else | 11710 else |
11679 LIBS_MAIL= | 11711 LIBS_MAIL= |
11680 fi | 11712 fi |
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 | 11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 |
11682 $as_echo_n "checking for maillock in -llockfile... " >&6; } | 11714 $as_echo_n "checking for maillock in -llockfile... " >&6; } |
11683 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | 11715 if ${ac_cv_lib_lockfile_maillock+:} false; then : |
11684 $as_echo_n "(cached) " >&6 | 11716 $as_echo_n "(cached) " >&6 |
11685 else | 11717 else |
11686 ac_check_lib_save_LIBS=$LIBS | 11718 ac_check_lib_save_LIBS=$LIBS |
11687 LIBS="-llockfile $LIBS" | 11719 LIBS="-llockfile $LIBS" |
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11712 conftest$ac_exeext conftest.$ac_ext | 11744 conftest$ac_exeext conftest.$ac_ext |
11713 LIBS=$ac_check_lib_save_LIBS | 11745 LIBS=$ac_check_lib_save_LIBS |
11714 fi | 11746 fi |
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 | 11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 |
11716 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 11748 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
11717 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | 11749 if test "x$ac_cv_lib_lockfile_maillock" = xyes; then : |
11718 have_lockfile=yes | 11750 have_lockfile=yes |
11719 else | 11751 else |
11720 have_lockfile=no | 11752 have_lockfile=no |
11721 fi | 11753 fi |
11722 | 11754 |
11732 # (no liblockfile.a installed), ensure that we don't need to. | 11764 # (no liblockfile.a installed), ensure that we don't need to. |
11733 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 11765 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
11734 set dummy liblockfile.so; ac_word=$2 | 11766 set dummy liblockfile.so; ac_word=$2 |
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11736 $as_echo_n "checking for $ac_word... " >&6; } | 11768 $as_echo_n "checking for $ac_word... " >&6; } |
11737 if test "${ac_cv_prog_liblockfile+set}" = set; then : | 11769 if ${ac_cv_prog_liblockfile+:} false; then : |
11738 $as_echo_n "(cached) " >&6 | 11770 $as_echo_n "(cached) " >&6 |
11739 else | 11771 else |
11740 if test -n "$liblockfile"; then | 11772 if test -n "$liblockfile"; then |
11741 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 11773 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
11742 else | 11774 else |
11768 $as_echo "no" >&6; } | 11800 $as_echo "no" >&6; } |
11769 fi | 11801 fi |
11770 | 11802 |
11771 | 11803 |
11772 if test $ac_cv_prog_liblockfile = yes; then | 11804 if test $ac_cv_prog_liblockfile = yes; then |
11773 as_fn_error "Shared liblockfile found but can't link against it. | 11805 as_fn_error $? "Shared liblockfile found but can't link against it. |
11774 This probably means that movemail could lose mail. | 11806 This probably means that movemail could lose mail. |
11775 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 11807 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
11776 fi | 11808 fi |
11777 fi | 11809 fi |
11778 for ac_func in touchlock | 11810 for ac_func in touchlock |
11779 do : | 11811 do : |
11780 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" | 11812 ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" |
11781 if test "x$ac_cv_func_touchlock" = x""yes; then : | 11813 if test "x$ac_cv_func_touchlock" = xyes; then : |
11782 cat >>confdefs.h <<_ACEOF | 11814 cat >>confdefs.h <<_ACEOF |
11783 #define HAVE_TOUCHLOCK 1 | 11815 #define HAVE_TOUCHLOCK 1 |
11784 _ACEOF | 11816 _ACEOF |
11785 | 11817 |
11786 fi | 11818 fi |
11787 done | 11819 done |
11788 | 11820 |
11789 for ac_header in maillock.h | 11821 for ac_header in maillock.h |
11790 do : | 11822 do : |
11791 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" | 11823 ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" |
11792 if test "x$ac_cv_header_maillock_h" = x""yes; then : | 11824 if test "x$ac_cv_header_maillock_h" = xyes; then : |
11793 cat >>confdefs.h <<_ACEOF | 11825 cat >>confdefs.h <<_ACEOF |
11794 #define HAVE_MAILLOCK_H 1 | 11826 #define HAVE_MAILLOCK_H 1 |
11795 _ACEOF | 11827 _ACEOF |
11796 | 11828 |
11797 fi | 11829 fi |
11857 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 11889 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11858 cfmakeraw cfsetspeed isnan copysign __executable_start | 11890 cfmakeraw cfsetspeed isnan copysign __executable_start |
11859 do : | 11891 do : |
11860 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11861 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11862 eval as_val=\$$as_ac_var | 11894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11863 if test "x$as_val" = x""yes; then : | |
11864 cat >>confdefs.h <<_ACEOF | 11895 cat >>confdefs.h <<_ACEOF |
11865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11866 _ACEOF | 11897 _ACEOF |
11867 | 11898 |
11868 fi | 11899 fi |
11870 | 11901 |
11871 | 11902 |
11872 for ac_header in sys/un.h | 11903 for ac_header in sys/un.h |
11873 do : | 11904 do : |
11874 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" | 11905 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" |
11875 if test "x$ac_cv_header_sys_un_h" = x""yes; then : | 11906 if test "x$ac_cv_header_sys_un_h" = xyes; then : |
11876 cat >>confdefs.h <<_ACEOF | 11907 cat >>confdefs.h <<_ACEOF |
11877 #define HAVE_SYS_UN_H 1 | 11908 #define HAVE_SYS_UN_H 1 |
11878 _ACEOF | 11909 _ACEOF |
11879 | 11910 |
11880 fi | 11911 fi |
11889 | 11920 |
11890 for ac_func in $ac_func_list | 11921 for ac_func in $ac_func_list |
11891 do : | 11922 do : |
11892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11894 eval as_val=\$$as_ac_var | 11925 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11895 if test "x$as_val" = x""yes; then : | |
11896 cat >>confdefs.h <<_ACEOF | 11926 cat >>confdefs.h <<_ACEOF |
11897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11898 _ACEOF | 11928 _ACEOF |
11899 | 11929 |
11900 fi | 11930 fi |
11904 | 11934 |
11905 | 11935 |
11906 | 11936 |
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 | 11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 |
11908 $as_echo_n "checking for working mktime... " >&6; } | 11938 $as_echo_n "checking for working mktime... " >&6; } |
11909 if test "${ac_cv_func_working_mktime+set}" = set; then : | 11939 if ${ac_cv_func_working_mktime+:} false; then : |
11910 $as_echo_n "(cached) " >&6 | 11940 $as_echo_n "(cached) " >&6 |
11911 else | 11941 else |
11912 if test "$cross_compiling" = yes; then : | 11942 if test "$cross_compiling" = yes; then : |
11913 ac_cv_func_working_mktime=no | 11943 ac_cv_func_working_mktime=no |
11914 else | 11944 else |
11942 | 11972 |
11943 static time_t time_t_max; | 11973 static time_t time_t_max; |
11944 static time_t time_t_min; | 11974 static time_t time_t_min; |
11945 | 11975 |
11946 /* Values we'll use to set the TZ environment variable. */ | 11976 /* Values we'll use to set the TZ environment variable. */ |
11947 static char *tz_strings[] = { | 11977 static const char *tz_strings[] = { |
11948 (char *) 0, "TZ=GMT0", "TZ=JST-9", | 11978 (const char *) 0, "TZ=GMT0", "TZ=JST-9", |
11949 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 11979 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
11950 }; | 11980 }; |
11951 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 11981 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
11952 | 11982 |
11953 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 11983 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
11960 | 11990 |
11961 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11991 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11962 instead of "TZ=America/Vancouver" in order to detect the bug even | 11992 instead of "TZ=America/Vancouver" in order to detect the bug even |
11963 on systems that don't support the Olson extension, or don't have the | 11993 on systems that don't support the Olson extension, or don't have the |
11964 full zoneinfo tables installed. */ | 11994 full zoneinfo tables installed. */ |
11965 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 11995 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
11966 | 11996 |
11967 tm.tm_year = 98; | 11997 tm.tm_year = 98; |
11968 tm.tm_mon = 3; | 11998 tm.tm_mon = 3; |
11969 tm.tm_mday = 5; | 11999 tm.tm_mday = 5; |
11970 tm.tm_hour = 2; | 12000 tm.tm_hour = 2; |
11973 tm.tm_isdst = -1; | 12003 tm.tm_isdst = -1; |
11974 return mktime (&tm) != (time_t) -1; | 12004 return mktime (&tm) != (time_t) -1; |
11975 } | 12005 } |
11976 | 12006 |
11977 static int | 12007 static int |
11978 mktime_test1 (now) | 12008 mktime_test1 (time_t now) |
11979 time_t now; | |
11980 { | 12009 { |
11981 struct tm *lt; | 12010 struct tm *lt; |
11982 return ! (lt = localtime (&now)) || mktime (lt) == now; | 12011 return ! (lt = localtime (&now)) || mktime (lt) == now; |
11983 } | 12012 } |
11984 | 12013 |
11985 static int | 12014 static int |
11986 mktime_test (now) | 12015 mktime_test (time_t now) |
11987 time_t now; | |
11988 { | 12016 { |
11989 return (mktime_test1 (now) | 12017 return (mktime_test1 (now) |
11990 && mktime_test1 ((time_t) (time_t_max - now)) | 12018 && mktime_test1 ((time_t) (time_t_max - now)) |
11991 && mktime_test1 ((time_t) (time_t_min + now))); | 12019 && mktime_test1 ((time_t) (time_t_min + now))); |
11992 } | 12020 } |
12006 mktime (&tm); | 12034 mktime (&tm); |
12007 return tm.tm_mon == 2 && tm.tm_mday == 31; | 12035 return tm.tm_mon == 2 && tm.tm_mday == 31; |
12008 } | 12036 } |
12009 | 12037 |
12010 static int | 12038 static int |
12011 bigtime_test (j) | 12039 bigtime_test (int j) |
12012 int j; | |
12013 { | 12040 { |
12014 struct tm tm; | 12041 struct tm tm; |
12015 time_t now; | 12042 time_t now; |
12016 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | 12043 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; |
12017 now = mktime (&tm); | 12044 now = mktime (&tm); |
12051 | 12078 |
12052 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 12079 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
12053 instead of "TZ=America/Vancouver" in order to detect the bug even | 12080 instead of "TZ=America/Vancouver" in order to detect the bug even |
12054 on systems that don't support the Olson extension, or don't have the | 12081 on systems that don't support the Olson extension, or don't have the |
12055 full zoneinfo tables installed. */ | 12082 full zoneinfo tables installed. */ |
12056 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | 12083 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); |
12057 | 12084 |
12058 t = mktime (&tm); | 12085 t = mktime (&tm); |
12059 | 12086 |
12060 /* Check that the result is either a failure, or close enough | 12087 /* Check that the result is either a failure, or close enough |
12061 to the correct answer that we can assume the discrepancy is | 12088 to the correct answer that we can assume the discrepancy is |
12086 | 12113 |
12087 delta = time_t_max / 997; /* a suitable prime number */ | 12114 delta = time_t_max / 997; /* a suitable prime number */ |
12088 for (i = 0; i < N_STRINGS; i++) | 12115 for (i = 0; i < N_STRINGS; i++) |
12089 { | 12116 { |
12090 if (tz_strings[i]) | 12117 if (tz_strings[i]) |
12091 putenv (tz_strings[i]); | 12118 putenv ((char*) tz_strings[i]); |
12092 | 12119 |
12093 for (t = 0; t <= time_t_max - delta; t += delta) | 12120 for (t = 0; t <= time_t_max - delta; t += delta) |
12094 if (! mktime_test (t)) | 12121 if (! mktime_test (t)) |
12095 return 1; | 12122 return 1; |
12096 if (! (mktime_test ((time_t) 1) | 12123 if (! (mktime_test ((time_t) 1) |
12138 | 12165 |
12139 ac_have_func=no # yes means we've found a way to get the load average. | 12166 ac_have_func=no # yes means we've found a way to get the load average. |
12140 | 12167 |
12141 # Make sure getloadavg.c is where it belongs, at configure-time. | 12168 # Make sure getloadavg.c is where it belongs, at configure-time. |
12142 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 12169 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
12143 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 12170 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
12144 | 12171 |
12145 ac_save_LIBS=$LIBS | 12172 ac_save_LIBS=$LIBS |
12146 | 12173 |
12147 # Check for getloadavg, but be sure not to touch the cache variable. | 12174 # Check for getloadavg, but be sure not to touch the cache variable. |
12148 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 12175 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12149 if test "x$ac_cv_func_getloadavg" = x""yes; then : | 12176 if test "x$ac_cv_func_getloadavg" = xyes; then : |
12150 exit 0 | 12177 exit 0 |
12151 else | 12178 else |
12152 exit 1 | 12179 exit 1 |
12153 fi | 12180 fi |
12154 ) && ac_have_func=yes | 12181 ) && ac_have_func=yes |
12155 | 12182 |
12156 # On HPUX9, an unprivileged user can get load averages through this function. | 12183 # On HPUX9, an unprivileged user can get load averages through this function. |
12157 for ac_func in pstat_getdynamic | 12184 for ac_func in pstat_getdynamic |
12158 do : | 12185 do : |
12159 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" | 12186 ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" |
12160 if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : | 12187 if test "x$ac_cv_func_pstat_getdynamic" = xyes; then : |
12161 cat >>confdefs.h <<_ACEOF | 12188 cat >>confdefs.h <<_ACEOF |
12162 #define HAVE_PSTAT_GETDYNAMIC 1 | 12189 #define HAVE_PSTAT_GETDYNAMIC 1 |
12163 _ACEOF | 12190 _ACEOF |
12164 | 12191 |
12165 fi | 12192 fi |
12167 | 12194 |
12168 | 12195 |
12169 # Solaris has libkstat which does not require root. | 12196 # Solaris has libkstat which does not require root. |
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 | 12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 |
12171 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 12198 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
12172 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : | 12199 if ${ac_cv_lib_kstat_kstat_open+:} false; then : |
12173 $as_echo_n "(cached) " >&6 | 12200 $as_echo_n "(cached) " >&6 |
12174 else | 12201 else |
12175 ac_check_lib_save_LIBS=$LIBS | 12202 ac_check_lib_save_LIBS=$LIBS |
12176 LIBS="-lkstat $LIBS" | 12203 LIBS="-lkstat $LIBS" |
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12201 conftest$ac_exeext conftest.$ac_ext | 12228 conftest$ac_exeext conftest.$ac_ext |
12202 LIBS=$ac_check_lib_save_LIBS | 12229 LIBS=$ac_check_lib_save_LIBS |
12203 fi | 12230 fi |
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 | 12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 |
12205 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 12232 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
12206 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : | 12233 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then : |
12207 cat >>confdefs.h <<_ACEOF | 12234 cat >>confdefs.h <<_ACEOF |
12208 #define HAVE_LIBKSTAT 1 | 12235 #define HAVE_LIBKSTAT 1 |
12209 _ACEOF | 12236 _ACEOF |
12210 | 12237 |
12211 LIBS="-lkstat $LIBS" | 12238 LIBS="-lkstat $LIBS" |
12219 # to get the right answer into the cache. | 12246 # to get the right answer into the cache. |
12220 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 12247 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
12221 if test $ac_have_func = no; then | 12248 if test $ac_have_func = no; then |
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 | 12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 |
12223 $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 12250 $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
12224 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : | 12251 if ${ac_cv_lib_elf_elf_begin+:} false; then : |
12225 $as_echo_n "(cached) " >&6 | 12252 $as_echo_n "(cached) " >&6 |
12226 else | 12253 else |
12227 ac_check_lib_save_LIBS=$LIBS | 12254 ac_check_lib_save_LIBS=$LIBS |
12228 LIBS="-lelf $LIBS" | 12255 LIBS="-lelf $LIBS" |
12229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12253 conftest$ac_exeext conftest.$ac_ext | 12280 conftest$ac_exeext conftest.$ac_ext |
12254 LIBS=$ac_check_lib_save_LIBS | 12281 LIBS=$ac_check_lib_save_LIBS |
12255 fi | 12282 fi |
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 | 12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 |
12257 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 12284 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
12258 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : | 12285 if test "x$ac_cv_lib_elf_elf_begin" = xyes; then : |
12259 LIBS="-lelf $LIBS" | 12286 LIBS="-lelf $LIBS" |
12260 fi | 12287 fi |
12261 | 12288 |
12262 fi | 12289 fi |
12263 if test $ac_have_func = no; then | 12290 if test $ac_have_func = no; then |
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 | 12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 |
12265 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 12292 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
12266 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : | 12293 if ${ac_cv_lib_kvm_kvm_open+:} false; then : |
12267 $as_echo_n "(cached) " >&6 | 12294 $as_echo_n "(cached) " >&6 |
12268 else | 12295 else |
12269 ac_check_lib_save_LIBS=$LIBS | 12296 ac_check_lib_save_LIBS=$LIBS |
12270 LIBS="-lkvm $LIBS" | 12297 LIBS="-lkvm $LIBS" |
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12295 conftest$ac_exeext conftest.$ac_ext | 12322 conftest$ac_exeext conftest.$ac_ext |
12296 LIBS=$ac_check_lib_save_LIBS | 12323 LIBS=$ac_check_lib_save_LIBS |
12297 fi | 12324 fi |
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 | 12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 |
12299 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 12326 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
12300 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : | 12327 if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then : |
12301 LIBS="-lkvm $LIBS" | 12328 LIBS="-lkvm $LIBS" |
12302 fi | 12329 fi |
12303 | 12330 |
12304 # Check for the 4.4BSD definition of getloadavg. | 12331 # Check for the 4.4BSD definition of getloadavg. |
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 | 12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 |
12306 $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 12333 $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
12307 if test "${ac_cv_lib_util_getloadavg+set}" = set; then : | 12334 if ${ac_cv_lib_util_getloadavg+:} false; then : |
12308 $as_echo_n "(cached) " >&6 | 12335 $as_echo_n "(cached) " >&6 |
12309 else | 12336 else |
12310 ac_check_lib_save_LIBS=$LIBS | 12337 ac_check_lib_save_LIBS=$LIBS |
12311 LIBS="-lutil $LIBS" | 12338 LIBS="-lutil $LIBS" |
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12336 conftest$ac_exeext conftest.$ac_ext | 12363 conftest$ac_exeext conftest.$ac_ext |
12337 LIBS=$ac_check_lib_save_LIBS | 12364 LIBS=$ac_check_lib_save_LIBS |
12338 fi | 12365 fi |
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 | 12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 |
12340 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 12367 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
12341 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : | 12368 if test "x$ac_cv_lib_util_getloadavg" = xyes; then : |
12342 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 12369 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
12343 fi | 12370 fi |
12344 | 12371 |
12345 fi | 12372 fi |
12346 | 12373 |
12349 # Since it is not a standard part of AIX, it might be installed locally. | 12376 # Since it is not a standard part of AIX, it might be installed locally. |
12350 ac_getloadavg_LIBS=$LIBS | 12377 ac_getloadavg_LIBS=$LIBS |
12351 LIBS="-L/usr/local/lib $LIBS" | 12378 LIBS="-L/usr/local/lib $LIBS" |
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 | 12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 |
12353 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 12380 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
12354 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : | 12381 if ${ac_cv_lib_getloadavg_getloadavg+:} false; then : |
12355 $as_echo_n "(cached) " >&6 | 12382 $as_echo_n "(cached) " >&6 |
12356 else | 12383 else |
12357 ac_check_lib_save_LIBS=$LIBS | 12384 ac_check_lib_save_LIBS=$LIBS |
12358 LIBS="-lgetloadavg $LIBS" | 12385 LIBS="-lgetloadavg $LIBS" |
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12383 conftest$ac_exeext conftest.$ac_ext | 12410 conftest$ac_exeext conftest.$ac_ext |
12384 LIBS=$ac_check_lib_save_LIBS | 12411 LIBS=$ac_check_lib_save_LIBS |
12385 fi | 12412 fi |
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
12387 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 12414 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
12388 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : | 12415 if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then : |
12389 LIBS="-lgetloadavg $LIBS" | 12416 LIBS="-lgetloadavg $LIBS" |
12390 else | 12417 else |
12391 LIBS=$ac_getloadavg_LIBS | 12418 LIBS=$ac_getloadavg_LIBS |
12392 fi | 12419 fi |
12393 | 12420 |
12396 # Make sure it is really in the library, if we think we found it, | 12423 # Make sure it is really in the library, if we think we found it, |
12397 # otherwise set up the replacement function. | 12424 # otherwise set up the replacement function. |
12398 for ac_func in getloadavg | 12425 for ac_func in getloadavg |
12399 do : | 12426 do : |
12400 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 12427 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12401 if test "x$ac_cv_func_getloadavg" = x""yes; then : | 12428 if test "x$ac_cv_func_getloadavg" = xyes; then : |
12402 cat >>confdefs.h <<_ACEOF | 12429 cat >>confdefs.h <<_ACEOF |
12403 #define HAVE_GETLOADAVG 1 | 12430 #define HAVE_GETLOADAVG 1 |
12404 _ACEOF | 12431 _ACEOF |
12405 | 12432 |
12406 else | 12433 else |
12414 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h | 12441 $as_echo "#define C_GETLOADAVG 1" >>confdefs.h |
12415 | 12442 |
12416 # Figure out what our getloadavg.c needs. | 12443 # Figure out what our getloadavg.c needs. |
12417 ac_have_func=no | 12444 ac_have_func=no |
12418 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" | 12445 ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" |
12419 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : | 12446 if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then : |
12420 ac_have_func=yes | 12447 ac_have_func=yes |
12421 | 12448 |
12422 $as_echo "#define DGUX 1" >>confdefs.h | 12449 $as_echo "#define DGUX 1" >>confdefs.h |
12423 | 12450 |
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 | 12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 |
12425 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 12452 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
12426 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : | 12453 if ${ac_cv_lib_dgc_dg_sys_info+:} false; then : |
12427 $as_echo_n "(cached) " >&6 | 12454 $as_echo_n "(cached) " >&6 |
12428 else | 12455 else |
12429 ac_check_lib_save_LIBS=$LIBS | 12456 ac_check_lib_save_LIBS=$LIBS |
12430 LIBS="-ldgc $LIBS" | 12457 LIBS="-ldgc $LIBS" |
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12455 conftest$ac_exeext conftest.$ac_ext | 12482 conftest$ac_exeext conftest.$ac_ext |
12456 LIBS=$ac_check_lib_save_LIBS | 12483 LIBS=$ac_check_lib_save_LIBS |
12457 fi | 12484 fi |
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
12459 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 12486 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
12460 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : | 12487 if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then : |
12461 cat >>confdefs.h <<_ACEOF | 12488 cat >>confdefs.h <<_ACEOF |
12462 #define HAVE_LIBDGC 1 | 12489 #define HAVE_LIBDGC 1 |
12463 _ACEOF | 12490 _ACEOF |
12464 | 12491 |
12465 LIBS="-ldgc $LIBS" | 12492 LIBS="-ldgc $LIBS" |
12469 fi | 12496 fi |
12470 | 12497 |
12471 | 12498 |
12472 | 12499 |
12473 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" | 12500 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
12474 if test "x$ac_cv_header_locale_h" = x""yes; then : | 12501 if test "x$ac_cv_header_locale_h" = xyes; then : |
12475 | 12502 |
12476 fi | 12503 fi |
12477 | 12504 |
12478 | 12505 |
12479 for ac_func in setlocale | 12506 for ac_func in setlocale |
12480 do : | 12507 do : |
12481 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" | 12508 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" |
12482 if test "x$ac_cv_func_setlocale" = x""yes; then : | 12509 if test "x$ac_cv_func_setlocale" = xyes; then : |
12483 cat >>confdefs.h <<_ACEOF | 12510 cat >>confdefs.h <<_ACEOF |
12484 #define HAVE_SETLOCALE 1 | 12511 #define HAVE_SETLOCALE 1 |
12485 _ACEOF | 12512 _ACEOF |
12486 | 12513 |
12487 fi | 12514 fi |
12489 | 12516 |
12490 | 12517 |
12491 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it | 12518 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it |
12492 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because | 12519 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because |
12493 # Irix 4.0.5F has the header but not the library. | 12520 # Irix 4.0.5F has the header but not the library. |
12494 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 12521 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes \ |
12522 && test "$ac_cv_lib_kvm_kvm_open" = yes; then | |
12495 ac_have_func=yes | 12523 ac_have_func=yes |
12496 | 12524 |
12497 $as_echo "#define SVR4 1" >>confdefs.h | 12525 $as_echo "#define SVR4 1" >>confdefs.h |
12498 | 12526 |
12499 fi | 12527 fi |
12500 | 12528 |
12501 if test $ac_have_func = no; then | 12529 if test $ac_have_func = no; then |
12502 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" | 12530 ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" |
12503 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : | 12531 if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then : |
12504 ac_have_func=yes | 12532 ac_have_func=yes |
12505 | 12533 |
12506 $as_echo "#define UMAX 1" >>confdefs.h | 12534 $as_echo "#define UMAX 1" >>confdefs.h |
12507 | 12535 |
12508 | 12536 |
12513 | 12541 |
12514 fi | 12542 fi |
12515 | 12543 |
12516 if test $ac_have_func = no; then | 12544 if test $ac_have_func = no; then |
12517 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" | 12545 ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" |
12518 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : | 12546 if test "x$ac_cv_header_sys_cpustats_h" = xyes; then : |
12519 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h | 12547 ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h |
12520 | 12548 |
12521 fi | 12549 fi |
12522 | 12550 |
12523 | 12551 |
12525 | 12553 |
12526 if test $ac_have_func = no; then | 12554 if test $ac_have_func = no; then |
12527 for ac_header in mach/mach.h | 12555 for ac_header in mach/mach.h |
12528 do : | 12556 do : |
12529 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" | 12557 ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" |
12530 if test "x$ac_cv_header_mach_mach_h" = x""yes; then : | 12558 if test "x$ac_cv_header_mach_mach_h" = xyes; then : |
12531 cat >>confdefs.h <<_ACEOF | 12559 cat >>confdefs.h <<_ACEOF |
12532 #define HAVE_MACH_MACH_H 1 | 12560 #define HAVE_MACH_MACH_H 1 |
12533 _ACEOF | 12561 _ACEOF |
12534 | 12562 |
12535 fi | 12563 fi |
12539 fi | 12567 fi |
12540 | 12568 |
12541 for ac_header in nlist.h | 12569 for ac_header in nlist.h |
12542 do : | 12570 do : |
12543 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" | 12571 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" |
12544 if test "x$ac_cv_header_nlist_h" = x""yes; then : | 12572 if test "x$ac_cv_header_nlist_h" = xyes; then : |
12545 cat >>confdefs.h <<_ACEOF | 12573 cat >>confdefs.h <<_ACEOF |
12546 #define HAVE_NLIST_H 1 | 12574 #define HAVE_NLIST_H 1 |
12547 _ACEOF | 12575 _ACEOF |
12548 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> | 12576 ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> |
12549 " | 12577 " |
12550 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : | 12578 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then : |
12551 | 12579 |
12552 cat >>confdefs.h <<_ACEOF | 12580 cat >>confdefs.h <<_ACEOF |
12553 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 12581 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
12554 _ACEOF | 12582 _ACEOF |
12555 | 12583 |
12568 | 12596 |
12569 | 12597 |
12570 # Some definitions of getloadavg require that the program be installed setgid. | 12598 # Some definitions of getloadavg require that the program be installed setgid. |
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 | 12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 |
12572 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 12600 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
12573 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : | 12601 if ${ac_cv_func_getloadavg_setgid+:} false; then : |
12574 $as_echo_n "(cached) " >&6 | 12602 $as_echo_n "(cached) " >&6 |
12575 else | 12603 else |
12576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12577 /* end confdefs.h. */ | 12605 /* end confdefs.h. */ |
12578 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 12606 #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
12601 fi | 12629 fi |
12602 | 12630 |
12603 if test $ac_cv_func_getloadavg_setgid = yes; then | 12631 if test $ac_cv_func_getloadavg_setgid = yes; then |
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 | 12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 |
12605 $as_echo_n "checking group of /dev/kmem... " >&6; } | 12633 $as_echo_n "checking group of /dev/kmem... " >&6; } |
12606 if test "${ac_cv_group_kmem+set}" = set; then : | 12634 if ${ac_cv_group_kmem+:} false; then : |
12607 $as_echo_n "(cached) " >&6 | 12635 $as_echo_n "(cached) " >&6 |
12608 else | 12636 else |
12609 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 12637 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
12610 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 12638 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
12611 # If we got an error (system does not support symlinks), try without -L. | 12639 # If we got an error (system does not support symlinks), try without -L. |
12629 | 12657 |
12630 | 12658 |
12631 | 12659 |
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
12633 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 12661 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
12634 if test "${ac_cv_sys_largefile_source+set}" = set; then : | 12662 if ${ac_cv_sys_largefile_source+:} false; then : |
12635 $as_echo_n "(cached) " >&6 | 12663 $as_echo_n "(cached) " >&6 |
12636 else | 12664 else |
12637 while :; do | 12665 while :; do |
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12639 /* end confdefs.h. */ | 12667 /* end confdefs.h. */ |
12722 | 12750 |
12723 GETOPT_H= | 12751 GETOPT_H= |
12724 for ac_header in getopt.h | 12752 for ac_header in getopt.h |
12725 do : | 12753 do : |
12726 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" | 12754 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
12727 if test "x$ac_cv_header_getopt_h" = x""yes; then : | 12755 if test "x$ac_cv_header_getopt_h" = xyes; then : |
12728 cat >>confdefs.h <<_ACEOF | 12756 cat >>confdefs.h <<_ACEOF |
12729 #define HAVE_GETOPT_H 1 | 12757 #define HAVE_GETOPT_H 1 |
12730 _ACEOF | 12758 _ACEOF |
12731 | 12759 |
12732 else | 12760 else |
12737 | 12765 |
12738 if test -z "$GETOPT_H"; then | 12766 if test -z "$GETOPT_H"; then |
12739 for ac_func in getopt_long_only | 12767 for ac_func in getopt_long_only |
12740 do : | 12768 do : |
12741 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" | 12769 ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" |
12742 if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | 12770 if test "x$ac_cv_func_getopt_long_only" = xyes; then : |
12743 cat >>confdefs.h <<_ACEOF | 12771 cat >>confdefs.h <<_ACEOF |
12744 #define HAVE_GETOPT_LONG_ONLY 1 | 12772 #define HAVE_GETOPT_LONG_ONLY 1 |
12745 _ACEOF | 12773 _ACEOF |
12746 | 12774 |
12747 else | 12775 else |
12752 fi | 12780 fi |
12753 | 12781 |
12754 if test -z "$GETOPT_H"; then | 12782 if test -z "$GETOPT_H"; then |
12755 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> | 12783 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> |
12756 " | 12784 " |
12757 if test "x$ac_cv_have_decl_optreset" = x""yes; then : | 12785 if test "x$ac_cv_have_decl_optreset" = xyes; then : |
12758 GETOPT_H=getopt.h | 12786 GETOPT_H=getopt.h |
12759 fi | 12787 fi |
12760 | 12788 |
12761 fi | 12789 fi |
12762 | 12790 |
12763 if test -z "$GETOPT_H"; then | 12791 if test -z "$GETOPT_H"; then |
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 | 12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 |
12765 $as_echo_n "checking for working GNU getopt function... " >&6; } | 12793 $as_echo_n "checking for working GNU getopt function... " >&6; } |
12766 if test "${gl_cv_func_gnu_getopt+set}" = set; then : | 12794 if ${gl_cv_func_gnu_getopt+:} false; then : |
12767 $as_echo_n "(cached) " >&6 | 12795 $as_echo_n "(cached) " >&6 |
12768 else | 12796 else |
12769 if test "$cross_compiling" = yes; then : | 12797 if test "$cross_compiling" = yes; then : |
12770 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> | 12798 ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> |
12771 " | 12799 " |
12772 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : | 12800 if test "x$ac_cv_have_decl_getopt_clip" = xyes; then : |
12773 gl_cv_func_gnu_getopt=no | 12801 gl_cv_func_gnu_getopt=no |
12774 else | 12802 else |
12775 gl_cv_func_gnu_getopt=yes | 12803 gl_cv_func_gnu_getopt=yes |
12776 fi | 12804 fi |
12777 | 12805 |
12828 | 12856 |
12829 | 12857 |
12830 | 12858 |
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | 12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 |
12832 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 12860 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
12833 if test "${ac_cv_func_getpgrp_void+set}" = set; then : | 12861 if ${ac_cv_func_getpgrp_void+:} false; then : |
12834 $as_echo_n "(cached) " >&6 | 12862 $as_echo_n "(cached) " >&6 |
12835 else | 12863 else |
12836 # Use it with a single arg. | 12864 # Use it with a single arg. |
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12838 /* end confdefs.h. */ | 12866 /* end confdefs.h. */ |
12863 | 12891 |
12864 | 12892 |
12865 for ac_func in strftime | 12893 for ac_func in strftime |
12866 do : | 12894 do : |
12867 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | 12895 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
12868 if test "x$ac_cv_func_strftime" = x""yes; then : | 12896 if test "x$ac_cv_func_strftime" = xyes; then : |
12869 cat >>confdefs.h <<_ACEOF | 12897 cat >>confdefs.h <<_ACEOF |
12870 #define HAVE_STRFTIME 1 | 12898 #define HAVE_STRFTIME 1 |
12871 _ACEOF | 12899 _ACEOF |
12872 | 12900 |
12873 else | 12901 else |
12874 # strftime is in -lintl on SCO UNIX. | 12902 # strftime is in -lintl on SCO UNIX. |
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | 12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
12876 $as_echo_n "checking for strftime in -lintl... " >&6; } | 12904 $as_echo_n "checking for strftime in -lintl... " >&6; } |
12877 if test "${ac_cv_lib_intl_strftime+set}" = set; then : | 12905 if ${ac_cv_lib_intl_strftime+:} false; then : |
12878 $as_echo_n "(cached) " >&6 | 12906 $as_echo_n "(cached) " >&6 |
12879 else | 12907 else |
12880 ac_check_lib_save_LIBS=$LIBS | 12908 ac_check_lib_save_LIBS=$LIBS |
12881 LIBS="-lintl $LIBS" | 12909 LIBS="-lintl $LIBS" |
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12906 conftest$ac_exeext conftest.$ac_ext | 12934 conftest$ac_exeext conftest.$ac_ext |
12907 LIBS=$ac_check_lib_save_LIBS | 12935 LIBS=$ac_check_lib_save_LIBS |
12908 fi | 12936 fi |
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
12910 $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 12938 $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
12911 if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | 12939 if test "x$ac_cv_lib_intl_strftime" = xyes; then : |
12912 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 12940 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
12913 | 12941 |
12914 LIBS="-lintl $LIBS" | 12942 LIBS="-lintl $LIBS" |
12915 fi | 12943 fi |
12916 | 12944 |
12920 | 12948 |
12921 # UNIX98 PTYs. | 12949 # UNIX98 PTYs. |
12922 for ac_func in grantpt | 12950 for ac_func in grantpt |
12923 do : | 12951 do : |
12924 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" | 12952 ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" |
12925 if test "x$ac_cv_func_grantpt" = x""yes; then : | 12953 if test "x$ac_cv_func_grantpt" = xyes; then : |
12926 cat >>confdefs.h <<_ACEOF | 12954 cat >>confdefs.h <<_ACEOF |
12927 #define HAVE_GRANTPT 1 | 12955 #define HAVE_GRANTPT 1 |
12928 _ACEOF | 12956 _ACEOF |
12929 | 12957 |
12930 fi | 12958 fi |
12933 | 12961 |
12934 # PTY-related GNU extensions. | 12962 # PTY-related GNU extensions. |
12935 for ac_func in getpt | 12963 for ac_func in getpt |
12936 do : | 12964 do : |
12937 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | 12965 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" |
12938 if test "x$ac_cv_func_getpt" = x""yes; then : | 12966 if test "x$ac_cv_func_getpt" = xyes; then : |
12939 cat >>confdefs.h <<_ACEOF | 12967 cat >>confdefs.h <<_ACEOF |
12940 #define HAVE_GETPT 1 | 12968 #define HAVE_GETPT 1 |
12941 _ACEOF | 12969 _ACEOF |
12942 | 12970 |
12943 fi | 12971 fi |
12950 # than to expect to find it in ncurses. | 12978 # than to expect to find it in ncurses. |
12951 # Also we need tputs and friends to be able to build at all. | 12979 # Also we need tputs and friends to be able to build at all. |
12952 have_tputs_et_al=true | 12980 have_tputs_et_al=true |
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 | 12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 |
12954 $as_echo_n "checking for library containing tputs... " >&6; } | 12982 $as_echo_n "checking for library containing tputs... " >&6; } |
12955 if test "${ac_cv_search_tputs+set}" = set; then : | 12983 if ${ac_cv_search_tputs+:} false; then : |
12956 $as_echo_n "(cached) " >&6 | 12984 $as_echo_n "(cached) " >&6 |
12957 else | 12985 else |
12958 ac_func_search_save_LIBS=$LIBS | 12986 ac_func_search_save_LIBS=$LIBS |
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12960 /* end confdefs.h. */ | 12988 /* end confdefs.h. */ |
12984 if ac_fn_c_try_link "$LINENO"; then : | 13012 if ac_fn_c_try_link "$LINENO"; then : |
12985 ac_cv_search_tputs=$ac_res | 13013 ac_cv_search_tputs=$ac_res |
12986 fi | 13014 fi |
12987 rm -f core conftest.err conftest.$ac_objext \ | 13015 rm -f core conftest.err conftest.$ac_objext \ |
12988 conftest$ac_exeext | 13016 conftest$ac_exeext |
12989 if test "${ac_cv_search_tputs+set}" = set; then : | 13017 if ${ac_cv_search_tputs+:} false; then : |
12990 break | 13018 break |
12991 fi | 13019 fi |
12992 done | 13020 done |
12993 if test "${ac_cv_search_tputs+set}" = set; then : | 13021 if ${ac_cv_search_tputs+:} false; then : |
12994 | 13022 |
12995 else | 13023 else |
12996 ac_cv_search_tputs=no | 13024 ac_cv_search_tputs=no |
12997 fi | 13025 fi |
12998 rm conftest.$ac_ext | 13026 rm conftest.$ac_ext |
13007 else | 13035 else |
13008 have_tputs_et_al=false | 13036 have_tputs_et_al=false |
13009 fi | 13037 fi |
13010 | 13038 |
13011 if test "$have_tputs_et_al" != true; then | 13039 if test "$have_tputs_et_al" != true; then |
13012 as_fn_error "I couldn't find termcap functions (tputs and friends). | 13040 as_fn_error $? "I couldn't find termcap functions (tputs and friends). |
13013 Maybe some development libraries/packages are missing? Try installing | 13041 Maybe some development libraries/packages are missing? Try installing |
13014 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 13042 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
13015 fi | 13043 fi |
13016 # Must define this when any termcap library is found. | 13044 # Must define this when any termcap library is found. |
13017 | 13045 |
13047 ;; | 13075 ;; |
13048 | 13076 |
13049 freebsd) | 13077 freebsd) |
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 | 13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5 |
13051 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } | 13079 $as_echo_n "checking whether FreeBSD is new enough to use terminfo... " >&6; } |
13052 if test "${emacs_cv_freebsd_terminfo+set}" = set; then : | 13080 if ${emacs_cv_freebsd_terminfo+:} false; then : |
13053 $as_echo_n "(cached) " >&6 | 13081 $as_echo_n "(cached) " >&6 |
13054 else | 13082 else |
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13056 /* end confdefs.h. */ | 13084 /* end confdefs.h. */ |
13057 #include <osreldate.h> | 13085 #include <osreldate.h> |
13189 # Do we need the Hesiod library to provide the support routines? | 13217 # Do we need the Hesiod library to provide the support routines? |
13190 LIBHESIOD= | 13218 LIBHESIOD= |
13191 if test "$with_hesiod" != no ; then | 13219 if test "$with_hesiod" != no ; then |
13192 # Don't set $LIBS here -- see comments above. FIXME which comments? | 13220 # Don't set $LIBS here -- see comments above. FIXME which comments? |
13193 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" | 13221 ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" |
13194 if test "x$ac_cv_func_res_send" = x""yes; then : | 13222 if test "x$ac_cv_func_res_send" = xyes; then : |
13195 | 13223 |
13196 else | 13224 else |
13197 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" | 13225 ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" |
13198 if test "x$ac_cv_func___res_send" = x""yes; then : | 13226 if test "x$ac_cv_func___res_send" = xyes; then : |
13199 | 13227 |
13200 else | 13228 else |
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 | 13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 |
13202 $as_echo_n "checking for res_send in -lresolv... " >&6; } | 13230 $as_echo_n "checking for res_send in -lresolv... " >&6; } |
13203 if test "${ac_cv_lib_resolv_res_send+set}" = set; then : | 13231 if ${ac_cv_lib_resolv_res_send+:} false; then : |
13204 $as_echo_n "(cached) " >&6 | 13232 $as_echo_n "(cached) " >&6 |
13205 else | 13233 else |
13206 ac_check_lib_save_LIBS=$LIBS | 13234 ac_check_lib_save_LIBS=$LIBS |
13207 LIBS="-lresolv $LIBS" | 13235 LIBS="-lresolv $LIBS" |
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13232 conftest$ac_exeext conftest.$ac_ext | 13260 conftest$ac_exeext conftest.$ac_ext |
13233 LIBS=$ac_check_lib_save_LIBS | 13261 LIBS=$ac_check_lib_save_LIBS |
13234 fi | 13262 fi |
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 | 13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 |
13236 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 13264 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
13237 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : | 13265 if test "x$ac_cv_lib_resolv_res_send" = xyes; then : |
13238 resolv=yes | 13266 resolv=yes |
13239 else | 13267 else |
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 | 13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 |
13241 $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 13269 $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
13242 if test "${ac_cv_lib_resolv___res_send+set}" = set; then : | 13270 if ${ac_cv_lib_resolv___res_send+:} false; then : |
13243 $as_echo_n "(cached) " >&6 | 13271 $as_echo_n "(cached) " >&6 |
13244 else | 13272 else |
13245 ac_check_lib_save_LIBS=$LIBS | 13273 ac_check_lib_save_LIBS=$LIBS |
13246 LIBS="-lresolv $LIBS" | 13274 LIBS="-lresolv $LIBS" |
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13271 conftest$ac_exeext conftest.$ac_ext | 13299 conftest$ac_exeext conftest.$ac_ext |
13272 LIBS=$ac_check_lib_save_LIBS | 13300 LIBS=$ac_check_lib_save_LIBS |
13273 fi | 13301 fi |
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 | 13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 |
13275 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 13303 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
13276 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : | 13304 if test "x$ac_cv_lib_resolv___res_send" = xyes; then : |
13277 resolv=yes | 13305 resolv=yes |
13278 fi | 13306 fi |
13279 | 13307 |
13280 fi | 13308 fi |
13281 | 13309 |
13287 RESOLVLIB=-lresolv | 13315 RESOLVLIB=-lresolv |
13288 else | 13316 else |
13289 RESOLVLIB= | 13317 RESOLVLIB= |
13290 fi | 13318 fi |
13291 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" | 13319 ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" |
13292 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : | 13320 if test "x$ac_cv_func_hes_getmailhost" = xyes; then : |
13293 | 13321 |
13294 else | 13322 else |
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 | 13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 |
13296 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 13324 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
13297 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : | 13325 if ${ac_cv_lib_hesiod_hes_getmailhost+:} false; then : |
13298 $as_echo_n "(cached) " >&6 | 13326 $as_echo_n "(cached) " >&6 |
13299 else | 13327 else |
13300 ac_check_lib_save_LIBS=$LIBS | 13328 ac_check_lib_save_LIBS=$LIBS |
13301 LIBS="-lhesiod $RESOLVLIB $LIBS" | 13329 LIBS="-lhesiod $RESOLVLIB $LIBS" |
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13326 conftest$ac_exeext conftest.$ac_ext | 13354 conftest$ac_exeext conftest.$ac_ext |
13327 LIBS=$ac_check_lib_save_LIBS | 13355 LIBS=$ac_check_lib_save_LIBS |
13328 fi | 13356 fi |
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
13330 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 13358 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
13331 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : | 13359 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = xyes; then : |
13332 hesiod=yes | 13360 hesiod=yes |
13333 else | 13361 else |
13334 : | 13362 : |
13335 fi | 13363 fi |
13336 | 13364 |
13365 KRB4LIB= | 13393 KRB4LIB= |
13366 | 13394 |
13367 if test "${with_kerberos}" != no; then | 13395 if test "${with_kerberos}" != no; then |
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 | 13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 |
13369 $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 13397 $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
13370 if test "${ac_cv_lib_com_err_com_err+set}" = set; then : | 13398 if ${ac_cv_lib_com_err_com_err+:} false; then : |
13371 $as_echo_n "(cached) " >&6 | 13399 $as_echo_n "(cached) " >&6 |
13372 else | 13400 else |
13373 ac_check_lib_save_LIBS=$LIBS | 13401 ac_check_lib_save_LIBS=$LIBS |
13374 LIBS="-lcom_err $LIBS" | 13402 LIBS="-lcom_err $LIBS" |
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13399 conftest$ac_exeext conftest.$ac_ext | 13427 conftest$ac_exeext conftest.$ac_ext |
13400 LIBS=$ac_check_lib_save_LIBS | 13428 LIBS=$ac_check_lib_save_LIBS |
13401 fi | 13429 fi |
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 | 13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 |
13403 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 13431 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
13404 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : | 13432 if test "x$ac_cv_lib_com_err_com_err" = xyes; then : |
13405 have_com_err=yes | 13433 have_com_err=yes |
13406 else | 13434 else |
13407 have_com_err=no | 13435 have_com_err=no |
13408 fi | 13436 fi |
13409 | 13437 |
13414 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h | 13442 $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h |
13415 | 13443 |
13416 fi | 13444 fi |
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
13418 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 13446 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
13419 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : | 13447 if ${ac_cv_lib_crypto_mit_des_cbc_encrypt+:} false; then : |
13420 $as_echo_n "(cached) " >&6 | 13448 $as_echo_n "(cached) " >&6 |
13421 else | 13449 else |
13422 ac_check_lib_save_LIBS=$LIBS | 13450 ac_check_lib_save_LIBS=$LIBS |
13423 LIBS="-lcrypto $LIBS" | 13451 LIBS="-lcrypto $LIBS" |
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13448 conftest$ac_exeext conftest.$ac_ext | 13476 conftest$ac_exeext conftest.$ac_ext |
13449 LIBS=$ac_check_lib_save_LIBS | 13477 LIBS=$ac_check_lib_save_LIBS |
13450 fi | 13478 fi |
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
13452 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 13480 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
13453 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : | 13481 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = xyes; then : |
13454 have_crypto=yes | 13482 have_crypto=yes |
13455 else | 13483 else |
13456 have_crypto=no | 13484 have_crypto=no |
13457 fi | 13485 fi |
13458 | 13486 |
13463 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h | 13491 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13464 | 13492 |
13465 fi | 13493 fi |
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
13467 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 13495 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
13468 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : | 13496 if ${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+:} false; then : |
13469 $as_echo_n "(cached) " >&6 | 13497 $as_echo_n "(cached) " >&6 |
13470 else | 13498 else |
13471 ac_check_lib_save_LIBS=$LIBS | 13499 ac_check_lib_save_LIBS=$LIBS |
13472 LIBS="-lk5crypto $LIBS" | 13500 LIBS="-lk5crypto $LIBS" |
13473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13497 conftest$ac_exeext conftest.$ac_ext | 13525 conftest$ac_exeext conftest.$ac_ext |
13498 LIBS=$ac_check_lib_save_LIBS | 13526 LIBS=$ac_check_lib_save_LIBS |
13499 fi | 13527 fi |
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
13501 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 13529 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
13502 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : | 13530 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = xyes; then : |
13503 have_k5crypto=yes | 13531 have_k5crypto=yes |
13504 else | 13532 else |
13505 have_k5crypto=no | 13533 have_k5crypto=no |
13506 fi | 13534 fi |
13507 | 13535 |
13512 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h | 13540 $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h |
13513 | 13541 |
13514 fi | 13542 fi |
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 | 13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 |
13516 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 13544 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
13517 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : | 13545 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then : |
13518 $as_echo_n "(cached) " >&6 | 13546 $as_echo_n "(cached) " >&6 |
13519 else | 13547 else |
13520 ac_check_lib_save_LIBS=$LIBS | 13548 ac_check_lib_save_LIBS=$LIBS |
13521 LIBS="-lkrb5 $LIBS" | 13549 LIBS="-lkrb5 $LIBS" |
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13546 conftest$ac_exeext conftest.$ac_ext | 13574 conftest$ac_exeext conftest.$ac_ext |
13547 LIBS=$ac_check_lib_save_LIBS | 13575 LIBS=$ac_check_lib_save_LIBS |
13548 fi | 13576 fi |
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
13550 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 13578 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
13551 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : | 13579 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then : |
13552 have_krb5=yes | 13580 have_krb5=yes |
13553 else | 13581 else |
13554 have_krb5=no | 13582 have_krb5=no |
13555 fi | 13583 fi |
13556 | 13584 |
13562 | 13590 |
13563 fi | 13591 fi |
13564 if test "${with_kerberos5}" = no; then | 13592 if test "${with_kerberos5}" = no; then |
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 | 13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 |
13566 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 13594 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
13567 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : | 13595 if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then : |
13568 $as_echo_n "(cached) " >&6 | 13596 $as_echo_n "(cached) " >&6 |
13569 else | 13597 else |
13570 ac_check_lib_save_LIBS=$LIBS | 13598 ac_check_lib_save_LIBS=$LIBS |
13571 LIBS="-ldes425 $LIBS" | 13599 LIBS="-ldes425 $LIBS" |
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13596 conftest$ac_exeext conftest.$ac_ext | 13624 conftest$ac_exeext conftest.$ac_ext |
13597 LIBS=$ac_check_lib_save_LIBS | 13625 LIBS=$ac_check_lib_save_LIBS |
13598 fi | 13626 fi |
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
13600 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 13628 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
13601 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : | 13629 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then : |
13602 have_des425=yes | 13630 have_des425=yes |
13603 else | 13631 else |
13604 have_des425=no | 13632 have_des425=no |
13605 fi | 13633 fi |
13606 | 13634 |
13611 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h | 13639 $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h |
13612 | 13640 |
13613 else | 13641 else |
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | 13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 |
13615 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 13643 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
13616 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : | 13644 if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then : |
13617 $as_echo_n "(cached) " >&6 | 13645 $as_echo_n "(cached) " >&6 |
13618 else | 13646 else |
13619 ac_check_lib_save_LIBS=$LIBS | 13647 ac_check_lib_save_LIBS=$LIBS |
13620 LIBS="-ldes $LIBS" | 13648 LIBS="-ldes $LIBS" |
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13645 conftest$ac_exeext conftest.$ac_ext | 13673 conftest$ac_exeext conftest.$ac_ext |
13646 LIBS=$ac_check_lib_save_LIBS | 13674 LIBS=$ac_check_lib_save_LIBS |
13647 fi | 13675 fi |
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
13649 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 13677 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
13650 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : | 13678 if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then : |
13651 have_des=yes | 13679 have_des=yes |
13652 else | 13680 else |
13653 have_des=no | 13681 have_des=no |
13654 fi | 13682 fi |
13655 | 13683 |
13661 | 13689 |
13662 fi | 13690 fi |
13663 fi | 13691 fi |
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 | 13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 |
13665 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 13693 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
13666 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : | 13694 if ${ac_cv_lib_krb4_krb_get_cred+:} false; then : |
13667 $as_echo_n "(cached) " >&6 | 13695 $as_echo_n "(cached) " >&6 |
13668 else | 13696 else |
13669 ac_check_lib_save_LIBS=$LIBS | 13697 ac_check_lib_save_LIBS=$LIBS |
13670 LIBS="-lkrb4 $LIBS" | 13698 LIBS="-lkrb4 $LIBS" |
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13695 conftest$ac_exeext conftest.$ac_ext | 13723 conftest$ac_exeext conftest.$ac_ext |
13696 LIBS=$ac_check_lib_save_LIBS | 13724 LIBS=$ac_check_lib_save_LIBS |
13697 fi | 13725 fi |
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
13699 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 13727 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
13700 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : | 13728 if test "x$ac_cv_lib_krb4_krb_get_cred" = xyes; then : |
13701 have_krb4=yes | 13729 have_krb4=yes |
13702 else | 13730 else |
13703 have_krb4=no | 13731 have_krb4=no |
13704 fi | 13732 fi |
13705 | 13733 |
13710 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h | 13738 $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h |
13711 | 13739 |
13712 else | 13740 else |
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 | 13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 |
13714 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 13742 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
13715 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : | 13743 if ${ac_cv_lib_krb_krb_get_cred+:} false; then : |
13716 $as_echo_n "(cached) " >&6 | 13744 $as_echo_n "(cached) " >&6 |
13717 else | 13745 else |
13718 ac_check_lib_save_LIBS=$LIBS | 13746 ac_check_lib_save_LIBS=$LIBS |
13719 LIBS="-lkrb $LIBS" | 13747 LIBS="-lkrb $LIBS" |
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13744 conftest$ac_exeext conftest.$ac_ext | 13772 conftest$ac_exeext conftest.$ac_ext |
13745 LIBS=$ac_check_lib_save_LIBS | 13773 LIBS=$ac_check_lib_save_LIBS |
13746 fi | 13774 fi |
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
13748 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 13776 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
13749 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : | 13777 if test "x$ac_cv_lib_krb_krb_get_cred" = xyes; then : |
13750 have_krb=yes | 13778 have_krb=yes |
13751 else | 13779 else |
13752 have_krb=no | 13780 have_krb=no |
13753 fi | 13781 fi |
13754 | 13782 |
13764 | 13792 |
13765 if test "${with_kerberos5}" != no; then | 13793 if test "${with_kerberos5}" != no; then |
13766 for ac_header in krb5.h | 13794 for ac_header in krb5.h |
13767 do : | 13795 do : |
13768 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" | 13796 ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" |
13769 if test "x$ac_cv_header_krb5_h" = x""yes; then : | 13797 if test "x$ac_cv_header_krb5_h" = xyes; then : |
13770 cat >>confdefs.h <<_ACEOF | 13798 cat >>confdefs.h <<_ACEOF |
13771 #define HAVE_KRB5_H 1 | 13799 #define HAVE_KRB5_H 1 |
13772 _ACEOF | 13800 _ACEOF |
13773 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> | 13801 ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> |
13774 " | 13802 " |
13775 if test "x$ac_cv_member_krb5_error_text" = x""yes; then : | 13803 if test "x$ac_cv_member_krb5_error_text" = xyes; then : |
13776 | 13804 |
13777 cat >>confdefs.h <<_ACEOF | 13805 cat >>confdefs.h <<_ACEOF |
13778 #define HAVE_KRB5_ERROR_TEXT 1 | 13806 #define HAVE_KRB5_ERROR_TEXT 1 |
13779 _ACEOF | 13807 _ACEOF |
13780 | 13808 |
13781 | 13809 |
13782 fi | 13810 fi |
13783 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> | 13811 ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> |
13784 " | 13812 " |
13785 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : | 13813 if test "x$ac_cv_member_krb5_error_e_text" = xyes; then : |
13786 | 13814 |
13787 cat >>confdefs.h <<_ACEOF | 13815 cat >>confdefs.h <<_ACEOF |
13788 #define HAVE_KRB5_ERROR_E_TEXT 1 | 13816 #define HAVE_KRB5_ERROR_E_TEXT 1 |
13789 _ACEOF | 13817 _ACEOF |
13790 | 13818 |
13797 | 13825 |
13798 else | 13826 else |
13799 for ac_header in des.h | 13827 for ac_header in des.h |
13800 do : | 13828 do : |
13801 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" | 13829 ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" |
13802 if test "x$ac_cv_header_des_h" = x""yes; then : | 13830 if test "x$ac_cv_header_des_h" = xyes; then : |
13803 cat >>confdefs.h <<_ACEOF | 13831 cat >>confdefs.h <<_ACEOF |
13804 #define HAVE_DES_H 1 | 13832 #define HAVE_DES_H 1 |
13805 _ACEOF | 13833 _ACEOF |
13806 | 13834 |
13807 else | 13835 else |
13808 for ac_header in kerberosIV/des.h | 13836 for ac_header in kerberosIV/des.h |
13809 do : | 13837 do : |
13810 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" | 13838 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" |
13811 if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : | 13839 if test "x$ac_cv_header_kerberosIV_des_h" = xyes; then : |
13812 cat >>confdefs.h <<_ACEOF | 13840 cat >>confdefs.h <<_ACEOF |
13813 #define HAVE_KERBEROSIV_DES_H 1 | 13841 #define HAVE_KERBEROSIV_DES_H 1 |
13814 _ACEOF | 13842 _ACEOF |
13815 | 13843 |
13816 else | 13844 else |
13817 for ac_header in kerberos/des.h | 13845 for ac_header in kerberos/des.h |
13818 do : | 13846 do : |
13819 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" | 13847 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" |
13820 if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : | 13848 if test "x$ac_cv_header_kerberos_des_h" = xyes; then : |
13821 cat >>confdefs.h <<_ACEOF | 13849 cat >>confdefs.h <<_ACEOF |
13822 #define HAVE_KERBEROS_DES_H 1 | 13850 #define HAVE_KERBEROS_DES_H 1 |
13823 _ACEOF | 13851 _ACEOF |
13824 | 13852 |
13825 fi | 13853 fi |
13835 done | 13863 done |
13836 | 13864 |
13837 for ac_header in krb.h | 13865 for ac_header in krb.h |
13838 do : | 13866 do : |
13839 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" | 13867 ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" |
13840 if test "x$ac_cv_header_krb_h" = x""yes; then : | 13868 if test "x$ac_cv_header_krb_h" = xyes; then : |
13841 cat >>confdefs.h <<_ACEOF | 13869 cat >>confdefs.h <<_ACEOF |
13842 #define HAVE_KRB_H 1 | 13870 #define HAVE_KRB_H 1 |
13843 _ACEOF | 13871 _ACEOF |
13844 | 13872 |
13845 else | 13873 else |
13846 for ac_header in kerberosIV/krb.h | 13874 for ac_header in kerberosIV/krb.h |
13847 do : | 13875 do : |
13848 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" | 13876 ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" |
13849 if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : | 13877 if test "x$ac_cv_header_kerberosIV_krb_h" = xyes; then : |
13850 cat >>confdefs.h <<_ACEOF | 13878 cat >>confdefs.h <<_ACEOF |
13851 #define HAVE_KERBEROSIV_KRB_H 1 | 13879 #define HAVE_KERBEROSIV_KRB_H 1 |
13852 _ACEOF | 13880 _ACEOF |
13853 | 13881 |
13854 else | 13882 else |
13855 for ac_header in kerberos/krb.h | 13883 for ac_header in kerberos/krb.h |
13856 do : | 13884 do : |
13857 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" | 13885 ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" |
13858 if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : | 13886 if test "x$ac_cv_header_kerberos_krb_h" = xyes; then : |
13859 cat >>confdefs.h <<_ACEOF | 13887 cat >>confdefs.h <<_ACEOF |
13860 #define HAVE_KERBEROS_KRB_H 1 | 13888 #define HAVE_KERBEROS_KRB_H 1 |
13861 _ACEOF | 13889 _ACEOF |
13862 | 13890 |
13863 fi | 13891 fi |
13874 | 13902 |
13875 fi | 13903 fi |
13876 for ac_header in com_err.h | 13904 for ac_header in com_err.h |
13877 do : | 13905 do : |
13878 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" | 13906 ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" |
13879 if test "x$ac_cv_header_com_err_h" = x""yes; then : | 13907 if test "x$ac_cv_header_com_err_h" = xyes; then : |
13880 cat >>confdefs.h <<_ACEOF | 13908 cat >>confdefs.h <<_ACEOF |
13881 #define HAVE_COM_ERR_H 1 | 13909 #define HAVE_COM_ERR_H 1 |
13882 _ACEOF | 13910 _ACEOF |
13883 | 13911 |
13884 fi | 13912 fi |
13895 | 13923 |
13896 # Solaris requires -lintl if you want strerror (which calls dgettext) | 13924 # Solaris requires -lintl if you want strerror (which calls dgettext) |
13897 # to return localized messages. | 13925 # to return localized messages. |
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | 13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 |
13899 $as_echo_n "checking for dgettext in -lintl... " >&6; } | 13927 $as_echo_n "checking for dgettext in -lintl... " >&6; } |
13900 if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 13928 if ${ac_cv_lib_intl_dgettext+:} false; then : |
13901 $as_echo_n "(cached) " >&6 | 13929 $as_echo_n "(cached) " >&6 |
13902 else | 13930 else |
13903 ac_check_lib_save_LIBS=$LIBS | 13931 ac_check_lib_save_LIBS=$LIBS |
13904 LIBS="-lintl $LIBS" | 13932 LIBS="-lintl $LIBS" |
13905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13929 conftest$ac_exeext conftest.$ac_ext | 13957 conftest$ac_exeext conftest.$ac_ext |
13930 LIBS=$ac_check_lib_save_LIBS | 13958 LIBS=$ac_check_lib_save_LIBS |
13931 fi | 13959 fi |
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 | 13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
13933 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 13961 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
13934 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 13962 if test "x$ac_cv_lib_intl_dgettext" = xyes; then : |
13935 cat >>confdefs.h <<_ACEOF | 13963 cat >>confdefs.h <<_ACEOF |
13936 #define HAVE_LIBINTL 1 | 13964 #define HAVE_LIBINTL 1 |
13937 _ACEOF | 13965 _ACEOF |
13938 | 13966 |
13939 LIBS="-lintl $LIBS" | 13967 LIBS="-lintl $LIBS" |
13941 fi | 13969 fi |
13942 | 13970 |
13943 | 13971 |
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 | 13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 |
13945 $as_echo_n "checking whether localtime caches TZ... " >&6; } | 13973 $as_echo_n "checking whether localtime caches TZ... " >&6; } |
13946 if test "${emacs_cv_localtime_cache+set}" = set; then : | 13974 if ${emacs_cv_localtime_cache+:} false; then : |
13947 $as_echo_n "(cached) " >&6 | 13975 $as_echo_n "(cached) " >&6 |
13948 else | 13976 else |
13949 if test x$ac_cv_func_tzset = xyes; then | 13977 if test x$ac_cv_func_tzset = xyes; then |
13950 if test "$cross_compiling" = yes; then : | 13978 if test "$cross_compiling" = yes; then : |
13951 # If we have tzset, assume the worst when cross-compiling. | 13979 # If we have tzset, assume the worst when cross-compiling. |
14008 | 14036 |
14009 if test "x$HAVE_TIMEVAL" = xyes; then | 14037 if test "x$HAVE_TIMEVAL" = xyes; then |
14010 for ac_func in gettimeofday | 14038 for ac_func in gettimeofday |
14011 do : | 14039 do : |
14012 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | 14040 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
14013 if test "x$ac_cv_func_gettimeofday" = x""yes; then : | 14041 if test "x$ac_cv_func_gettimeofday" = xyes; then : |
14014 cat >>confdefs.h <<_ACEOF | 14042 cat >>confdefs.h <<_ACEOF |
14015 #define HAVE_GETTIMEOFDAY 1 | 14043 #define HAVE_GETTIMEOFDAY 1 |
14016 _ACEOF | 14044 _ACEOF |
14017 | 14045 |
14018 fi | 14046 fi |
14019 done | 14047 done |
14020 | 14048 |
14021 if test $ac_cv_func_gettimeofday = yes; then | 14049 if test $ac_cv_func_gettimeofday = yes; then |
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 | 14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 |
14023 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | 14051 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } |
14024 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | 14052 if ${emacs_cv_gettimeofday_two_arguments+:} false; then : |
14025 $as_echo_n "(cached) " >&6 | 14053 $as_echo_n "(cached) " >&6 |
14026 else | 14054 else |
14027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14028 /* end confdefs.h. */ | 14056 /* end confdefs.h. */ |
14029 | 14057 |
14063 fi | 14091 fi |
14064 fi | 14092 fi |
14065 | 14093 |
14066 ok_so_far=yes | 14094 ok_so_far=yes |
14067 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" | 14095 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
14068 if test "x$ac_cv_func_socket" = x""yes; then : | 14096 if test "x$ac_cv_func_socket" = xyes; then : |
14069 | 14097 |
14070 else | 14098 else |
14071 ok_so_far=no | 14099 ok_so_far=no |
14072 fi | 14100 fi |
14073 | 14101 |
14074 if test $ok_so_far = yes; then | 14102 if test $ok_so_far = yes; then |
14075 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" | 14103 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" |
14076 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | 14104 if test "x$ac_cv_header_netinet_in_h" = xyes; then : |
14077 | 14105 |
14078 else | 14106 else |
14079 ok_so_far=no | 14107 ok_so_far=no |
14080 fi | 14108 fi |
14081 | 14109 |
14082 | 14110 |
14083 fi | 14111 fi |
14084 if test $ok_so_far = yes; then | 14112 if test $ok_so_far = yes; then |
14085 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" | 14113 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" |
14086 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | 14114 if test "x$ac_cv_header_arpa_inet_h" = xyes; then : |
14087 | 14115 |
14088 else | 14116 else |
14089 ok_so_far=no | 14117 ok_so_far=no |
14090 fi | 14118 fi |
14091 | 14119 |
14098 fi | 14126 fi |
14099 | 14127 |
14100 for ac_header in sys/ioctl.h | 14128 for ac_header in sys/ioctl.h |
14101 do : | 14129 do : |
14102 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" | 14130 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" |
14103 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : | 14131 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then : |
14104 cat >>confdefs.h <<_ACEOF | 14132 cat >>confdefs.h <<_ACEOF |
14105 #define HAVE_SYS_IOCTL_H 1 | 14133 #define HAVE_SYS_IOCTL_H 1 |
14106 _ACEOF | 14134 _ACEOF |
14107 | 14135 |
14108 fi | 14136 fi |
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14129 $as_echo "no" >&6; } | 14157 $as_echo "no" >&6; } |
14130 fi | 14158 fi |
14131 | 14159 |
14132 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | 14160 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
14133 if test "x$ac_cv_type_pid_t" = x""yes; then : | 14161 if test "x$ac_cv_type_pid_t" = xyes; then : |
14134 | 14162 |
14135 else | 14163 else |
14136 | 14164 |
14137 cat >>confdefs.h <<_ACEOF | 14165 cat >>confdefs.h <<_ACEOF |
14138 #define pid_t int | 14166 #define pid_t int |
14141 fi | 14169 fi |
14142 | 14170 |
14143 for ac_header in vfork.h | 14171 for ac_header in vfork.h |
14144 do : | 14172 do : |
14145 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | 14173 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" |
14146 if test "x$ac_cv_header_vfork_h" = x""yes; then : | 14174 if test "x$ac_cv_header_vfork_h" = xyes; then : |
14147 cat >>confdefs.h <<_ACEOF | 14175 cat >>confdefs.h <<_ACEOF |
14148 #define HAVE_VFORK_H 1 | 14176 #define HAVE_VFORK_H 1 |
14149 _ACEOF | 14177 _ACEOF |
14150 | 14178 |
14151 fi | 14179 fi |
14154 | 14182 |
14155 for ac_func in fork vfork | 14183 for ac_func in fork vfork |
14156 do : | 14184 do : |
14157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 14186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
14159 eval as_val=\$$as_ac_var | 14187 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
14160 if test "x$as_val" = x""yes; then : | |
14161 cat >>confdefs.h <<_ACEOF | 14188 cat >>confdefs.h <<_ACEOF |
14162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14163 _ACEOF | 14190 _ACEOF |
14164 | 14191 |
14165 fi | 14192 fi |
14166 done | 14193 done |
14167 | 14194 |
14168 if test "x$ac_cv_func_fork" = xyes; then | 14195 if test "x$ac_cv_func_fork" = xyes; then |
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | 14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 |
14170 $as_echo_n "checking for working fork... " >&6; } | 14197 $as_echo_n "checking for working fork... " >&6; } |
14171 if test "${ac_cv_func_fork_works+set}" = set; then : | 14198 if ${ac_cv_func_fork_works+:} false; then : |
14172 $as_echo_n "(cached) " >&6 | 14199 $as_echo_n "(cached) " >&6 |
14173 else | 14200 else |
14174 if test "$cross_compiling" = yes; then : | 14201 if test "$cross_compiling" = yes; then : |
14175 ac_cv_func_fork_works=cross | 14202 ac_cv_func_fork_works=cross |
14176 else | 14203 else |
14219 fi | 14246 fi |
14220 ac_cv_func_vfork_works=$ac_cv_func_vfork | 14247 ac_cv_func_vfork_works=$ac_cv_func_vfork |
14221 if test "x$ac_cv_func_vfork" = xyes; then | 14248 if test "x$ac_cv_func_vfork" = xyes; then |
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 | 14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
14223 $as_echo_n "checking for working vfork... " >&6; } | 14250 $as_echo_n "checking for working vfork... " >&6; } |
14224 if test "${ac_cv_func_vfork_works+set}" = set; then : | 14251 if ${ac_cv_func_vfork_works+:} false; then : |
14225 $as_echo_n "(cached) " >&6 | 14252 $as_echo_n "(cached) " >&6 |
14226 else | 14253 else |
14227 if test "$cross_compiling" = yes; then : | 14254 if test "$cross_compiling" = yes; then : |
14228 ac_cv_func_vfork_works=cross | 14255 ac_cv_func_vfork_works=cross |
14229 else | 14256 else |
14355 fi | 14382 fi |
14356 | 14383 |
14357 | 14384 |
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 | 14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 |
14359 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 14386 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
14360 if test "${emacs_cv_langinfo_codeset+set}" = set; then : | 14387 if ${emacs_cv_langinfo_codeset+:} false; then : |
14361 $as_echo_n "(cached) " >&6 | 14388 $as_echo_n "(cached) " >&6 |
14362 else | 14389 else |
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14364 /* end confdefs.h. */ | 14391 /* end confdefs.h. */ |
14365 #include <langinfo.h> | 14392 #include <langinfo.h> |
14387 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h | 14414 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h |
14388 | 14415 |
14389 fi | 14416 fi |
14390 | 14417 |
14391 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 14418 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
14392 if test "x$ac_cv_type_size_t" = x""yes; then : | 14419 if test "x$ac_cv_type_size_t" = xyes; then : |
14393 | 14420 |
14394 cat >>confdefs.h <<_ACEOF | 14421 cat >>confdefs.h <<_ACEOF |
14395 #define HAVE_SIZE_T 1 | 14422 #define HAVE_SIZE_T 1 |
14396 _ACEOF | 14423 _ACEOF |
14397 | 14424 |
14399 fi | 14426 fi |
14400 | 14427 |
14401 | 14428 |
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 | 14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 |
14403 $as_echo_n "checking for mbstate_t... " >&6; } | 14430 $as_echo_n "checking for mbstate_t... " >&6; } |
14404 if test "${ac_cv_type_mbstate_t+set}" = set; then : | 14431 if ${ac_cv_type_mbstate_t+:} false; then : |
14405 $as_echo_n "(cached) " >&6 | 14432 $as_echo_n "(cached) " >&6 |
14406 else | 14433 else |
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14408 /* end confdefs.h. */ | 14435 /* end confdefs.h. */ |
14409 $ac_includes_default | 14436 $ac_includes_default |
14435 | 14462 |
14436 fi | 14463 fi |
14437 | 14464 |
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 | 14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 |
14439 $as_echo_n "checking for C restrict keyword... " >&6; } | 14466 $as_echo_n "checking for C restrict keyword... " >&6; } |
14440 if test "${emacs_cv_c_restrict+set}" = set; then : | 14467 if ${emacs_cv_c_restrict+:} false; then : |
14441 $as_echo_n "(cached) " >&6 | 14468 $as_echo_n "(cached) " >&6 |
14442 else | 14469 else |
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14444 /* end confdefs.h. */ | 14471 /* end confdefs.h. */ |
14445 void fred (int *restrict x); | 14472 void fred (int *restrict x); |
14489 | 14516 |
14490 fi | 14517 fi |
14491 | 14518 |
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 | 14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 |
14493 $as_echo_n "checking for C restricted array declarations... " >&6; } | 14520 $as_echo_n "checking for C restricted array declarations... " >&6; } |
14494 if test "${emacs_cv_c_restrict_arr+set}" = set; then : | 14521 if ${emacs_cv_c_restrict_arr+:} false; then : |
14495 $as_echo_n "(cached) " >&6 | 14522 $as_echo_n "(cached) " >&6 |
14496 else | 14523 else |
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14498 /* end confdefs.h. */ | 14525 /* end confdefs.h. */ |
14499 void fred (int x[__restrict]); | 14526 void fred (int x[__restrict]); |
14536 | 14563 |
14537 #### Find out which version of Emacs this is. | 14564 #### Find out which version of Emacs this is. |
14538 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 14565 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
14539 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 14566 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
14540 if test x"${version}" = x; then | 14567 if test x"${version}" = x; then |
14541 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 14568 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 |
14542 fi | 14569 fi |
14543 if test x"${version}" != x"$PACKAGE_VERSION"; then | 14570 if test x"${version}" != x"$PACKAGE_VERSION"; then |
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 | 14571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 |
14545 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} | 14572 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
14546 fi | 14573 fi |
14965 | 14992 |
14966 echo " Does Emacs use -lgpm? ${HAVE_GPM}" | 14993 echo " Does Emacs use -lgpm? ${HAVE_GPM}" |
14967 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" | 14994 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" |
14968 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" | 14995 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" |
14969 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" | 14996 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" |
14970 echo " Does Emacs use -lgnutls? ${HAVE_GNUTLS}" | 14997 echo " Does Emacs use -lgnutls? ${HAVE_GNUTLS}" |
14971 echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" | 14998 echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" |
14972 | 14999 |
14973 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" | 15000 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" |
14974 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" | 15001 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" |
14975 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" | 15002 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" |
15078 t end | 15105 t end |
15079 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 15106 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
15080 :end' >>confcache | 15107 :end' >>confcache |
15081 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 15108 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
15082 if test -w "$cache_file"; then | 15109 if test -w "$cache_file"; then |
15083 test "x$cache_file" != "x/dev/null" && | 15110 if test "x$cache_file" != "x/dev/null"; then |
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 15111 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
15085 $as_echo "$as_me: updating cache $cache_file" >&6;} | 15112 $as_echo "$as_me: updating cache $cache_file" >&6;} |
15086 cat confcache >$cache_file | 15113 if test ! -f "$cache_file" || test -h "$cache_file"; then |
15114 cat confcache >"$cache_file" | |
15115 else | |
15116 case $cache_file in #( | |
15117 */* | ?:*) | |
15118 mv -f confcache "$cache_file"$$ && | |
15119 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
15120 *) | |
15121 mv -f confcache "$cache_file" ;; | |
15122 esac | |
15123 fi | |
15124 fi | |
15087 else | 15125 else |
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 15126 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
15089 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 15127 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
15090 fi | 15128 fi |
15091 fi | 15129 fi |
15097 | 15135 |
15098 DEFS=-DHAVE_CONFIG_H | 15136 DEFS=-DHAVE_CONFIG_H |
15099 | 15137 |
15100 ac_libobjs= | 15138 ac_libobjs= |
15101 ac_ltlibobjs= | 15139 ac_ltlibobjs= |
15140 U= | |
15102 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 15141 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
15103 # 1. Remove the extension, and $U if already installed. | 15142 # 1. Remove the extension, and $U if already installed. |
15104 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 15143 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
15105 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 15144 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
15106 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 15145 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
15113 LTLIBOBJS=$ac_ltlibobjs | 15152 LTLIBOBJS=$ac_ltlibobjs |
15114 | 15153 |
15115 | 15154 |
15116 | 15155 |
15117 | 15156 |
15118 : ${CONFIG_STATUS=./config.status} | 15157 : "${CONFIG_STATUS=./config.status}" |
15119 ac_write_fail=0 | 15158 ac_write_fail=0 |
15120 ac_clean_files_save=$ac_clean_files | 15159 ac_clean_files_save=$ac_clean_files |
15121 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 15160 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 15161 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
15123 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 15162 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
15214 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 15253 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
15215 # splitting by setting IFS to empty value.) | 15254 # splitting by setting IFS to empty value.) |
15216 IFS=" "" $as_nl" | 15255 IFS=" "" $as_nl" |
15217 | 15256 |
15218 # Find who we are. Look in the path if we contain no directory separator. | 15257 # Find who we are. Look in the path if we contain no directory separator. |
15258 as_myself= | |
15219 case $0 in #(( | 15259 case $0 in #(( |
15220 *[\\/]* ) as_myself=$0 ;; | 15260 *[\\/]* ) as_myself=$0 ;; |
15221 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 15261 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
15222 for as_dir in $PATH | 15262 for as_dir in $PATH |
15223 do | 15263 do |
15259 | 15299 |
15260 # CDPATH. | 15300 # CDPATH. |
15261 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 15301 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
15262 | 15302 |
15263 | 15303 |
15264 # as_fn_error ERROR [LINENO LOG_FD] | 15304 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
15265 # --------------------------------- | 15305 # ---------------------------------------- |
15266 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 15306 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
15267 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 15307 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
15268 # script with status $?, using 1 if that was 0. | 15308 # script with STATUS, using 1 if that was 0. |
15269 as_fn_error () | 15309 as_fn_error () |
15270 { | 15310 { |
15271 as_status=$?; test $as_status -eq 0 && as_status=1 | 15311 as_status=$1; test $as_status -eq 0 && as_status=1 |
15272 if test "$3"; then | 15312 if test "$4"; then |
15273 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 15313 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
15274 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 15314 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
15275 fi | 15315 fi |
15276 $as_echo "$as_me: error: $1" >&2 | 15316 $as_echo "$as_me: error: $2" >&2 |
15277 as_fn_exit $as_status | 15317 as_fn_exit $as_status |
15278 } # as_fn_error | 15318 } # as_fn_error |
15279 | 15319 |
15280 | 15320 |
15281 # as_fn_set_status STATUS | 15321 # as_fn_set_status STATUS |
15467 } | 15507 } |
15468 s/.*/./; q'` | 15508 s/.*/./; q'` |
15469 test -d "$as_dir" && break | 15509 test -d "$as_dir" && break |
15470 done | 15510 done |
15471 test -z "$as_dirs" || eval "mkdir $as_dirs" | 15511 test -z "$as_dirs" || eval "mkdir $as_dirs" |
15472 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 15512 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
15473 | 15513 |
15474 | 15514 |
15475 } # as_fn_mkdir_p | 15515 } # as_fn_mkdir_p |
15476 if mkdir -p . 2>/dev/null; then | 15516 if mkdir -p . 2>/dev/null; then |
15477 as_mkdir_p='mkdir -p "$as_dir"' | 15517 as_mkdir_p='mkdir -p "$as_dir"' |
15521 # Save the log message, to keep $0 and so on meaningful, and to | 15561 # Save the log message, to keep $0 and so on meaningful, and to |
15522 # report actual input values of CONFIG_FILES etc. instead of their | 15562 # report actual input values of CONFIG_FILES etc. instead of their |
15523 # values after options handling. | 15563 # values after options handling. |
15524 ac_log=" | 15564 ac_log=" |
15525 This file was extended by emacs $as_me 24.0.50, which was | 15565 This file was extended by emacs $as_me 24.0.50, which was |
15526 generated by GNU Autoconf 2.65. Invocation command line was | 15566 generated by GNU Autoconf 2.68. Invocation command line was |
15527 | 15567 |
15528 CONFIG_FILES = $CONFIG_FILES | 15568 CONFIG_FILES = $CONFIG_FILES |
15529 CONFIG_HEADERS = $CONFIG_HEADERS | 15569 CONFIG_HEADERS = $CONFIG_HEADERS |
15530 CONFIG_LINKS = $CONFIG_LINKS | 15570 CONFIG_LINKS = $CONFIG_LINKS |
15531 CONFIG_COMMANDS = $CONFIG_COMMANDS | 15571 CONFIG_COMMANDS = $CONFIG_COMMANDS |
15587 _ACEOF | 15627 _ACEOF |
15588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15589 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 15629 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15590 ac_cs_version="\\ | 15630 ac_cs_version="\\ |
15591 emacs config.status 24.0.50 | 15631 emacs config.status 24.0.50 |
15592 configured by $0, generated by GNU Autoconf 2.65, | 15632 configured by $0, generated by GNU Autoconf 2.68, |
15593 with options \\"\$ac_cs_config\\" | 15633 with options \\"\$ac_cs_config\\" |
15594 | 15634 |
15595 Copyright (C) 2009 Free Software Foundation, Inc. | 15635 Copyright (C) 2010 Free Software Foundation, Inc. |
15596 This config.status script is free software; the Free Software Foundation | 15636 This config.status script is free software; the Free Software Foundation |
15597 gives unlimited permission to copy, distribute and modify it." | 15637 gives unlimited permission to copy, distribute and modify it." |
15598 | 15638 |
15599 ac_pwd='$ac_pwd' | 15639 ac_pwd='$ac_pwd' |
15600 srcdir='$srcdir' | 15640 srcdir='$srcdir' |
15606 # The default lists apply if the user does not specify any file. | 15646 # The default lists apply if the user does not specify any file. |
15607 ac_need_defaults=: | 15647 ac_need_defaults=: |
15608 while test $# != 0 | 15648 while test $# != 0 |
15609 do | 15649 do |
15610 case $1 in | 15650 case $1 in |
15611 --*=*) | 15651 --*=?*) |
15612 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 15652 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15613 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 15653 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
15654 ac_shift=: | |
15655 ;; | |
15656 --*=) | |
15657 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
15658 ac_optarg= | |
15614 ac_shift=: | 15659 ac_shift=: |
15615 ;; | 15660 ;; |
15616 *) | 15661 *) |
15617 ac_option=$1 | 15662 ac_option=$1 |
15618 ac_optarg=$2 | 15663 ac_optarg=$2 |
15632 debug=: ;; | 15677 debug=: ;; |
15633 --file | --fil | --fi | --f ) | 15678 --file | --fil | --fi | --f ) |
15634 $ac_shift | 15679 $ac_shift |
15635 case $ac_optarg in | 15680 case $ac_optarg in |
15636 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 15681 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15682 '') as_fn_error $? "missing file argument" ;; | |
15637 esac | 15683 esac |
15638 as_fn_append CONFIG_FILES " '$ac_optarg'" | 15684 as_fn_append CONFIG_FILES " '$ac_optarg'" |
15639 ac_need_defaults=false;; | 15685 ac_need_defaults=false;; |
15640 --header | --heade | --head | --hea ) | 15686 --header | --heade | --head | --hea ) |
15641 $ac_shift | 15687 $ac_shift |
15644 esac | 15690 esac |
15645 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 15691 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
15646 ac_need_defaults=false;; | 15692 ac_need_defaults=false;; |
15647 --he | --h) | 15693 --he | --h) |
15648 # Conflict between --help and --header | 15694 # Conflict between --help and --header |
15649 as_fn_error "ambiguous option: \`$1' | 15695 as_fn_error $? "ambiguous option: \`$1' |
15650 Try \`$0 --help' for more information.";; | 15696 Try \`$0 --help' for more information.";; |
15651 --help | --hel | -h ) | 15697 --help | --hel | -h ) |
15652 $as_echo "$ac_cs_usage"; exit ;; | 15698 $as_echo "$ac_cs_usage"; exit ;; |
15653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 15699 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
15654 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 15700 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
15655 ac_cs_silent=: ;; | 15701 ac_cs_silent=: ;; |
15656 | 15702 |
15657 # This is an error. | 15703 # This is an error. |
15658 -*) as_fn_error "unrecognized option: \`$1' | 15704 -*) as_fn_error $? "unrecognized option: \`$1' |
15659 Try \`$0 --help' for more information." ;; | 15705 Try \`$0 --help' for more information." ;; |
15660 | 15706 |
15661 *) as_fn_append ac_config_targets " $1" | 15707 *) as_fn_append ac_config_targets " $1" |
15662 ac_need_defaults=false ;; | 15708 ac_need_defaults=false ;; |
15663 | 15709 |
15721 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 15767 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
15722 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 15768 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
15723 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 15769 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
15724 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 15770 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
15725 | 15771 |
15726 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15772 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15727 esac | 15773 esac |
15728 done | 15774 done |
15729 | 15775 |
15730 | 15776 |
15731 # If the user did not use the arguments to specify the items to instantiate, | 15777 # If the user did not use the arguments to specify the items to instantiate, |
15744 # Hook for its removal unless debugging. | 15790 # Hook for its removal unless debugging. |
15745 # Note that there is a small window in which the directory will not be cleaned: | 15791 # Note that there is a small window in which the directory will not be cleaned: |
15746 # after its creation but before its name has been assigned to `$tmp'. | 15792 # after its creation but before its name has been assigned to `$tmp'. |
15747 $debug || | 15793 $debug || |
15748 { | 15794 { |
15749 tmp= | 15795 tmp= ac_tmp= |
15750 trap 'exit_status=$? | 15796 trap 'exit_status=$? |
15751 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 15797 : "${ac_tmp:=$tmp}" |
15798 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
15752 ' 0 | 15799 ' 0 |
15753 trap 'as_fn_exit 1' 1 2 13 15 | 15800 trap 'as_fn_exit 1' 1 2 13 15 |
15754 } | 15801 } |
15755 # Create a (secure) tmp directory for tmp files. | 15802 # Create a (secure) tmp directory for tmp files. |
15756 | 15803 |
15757 { | 15804 { |
15758 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 15805 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
15759 test -n "$tmp" && test -d "$tmp" | 15806 test -d "$tmp" |
15760 } || | 15807 } || |
15761 { | 15808 { |
15762 tmp=./conf$$-$RANDOM | 15809 tmp=./conf$$-$RANDOM |
15763 (umask 077 && mkdir "$tmp") | 15810 (umask 077 && mkdir "$tmp") |
15764 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 15811 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15812 ac_tmp=$tmp | |
15765 | 15813 |
15766 # Set up the scripts for CONFIG_FILES section. | 15814 # Set up the scripts for CONFIG_FILES section. |
15767 # No need to generate them if there are no CONFIG_FILES. | 15815 # No need to generate them if there are no CONFIG_FILES. |
15768 # This happens for instance with `./config.status config.h'. | 15816 # This happens for instance with `./config.status config.h'. |
15769 if test -n "$CONFIG_FILES"; then | 15817 if test -n "$CONFIG_FILES"; then |
15793 if test "x$ac_cr" = x; then | 15841 if test "x$ac_cr" = x; then |
15794 eval ac_cr=\$\'\\r\' | 15842 eval ac_cr=\$\'\\r\' |
15795 fi | 15843 fi |
15796 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 15844 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15797 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 15845 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15798 ac_cs_awk_cr='\r' | 15846 ac_cs_awk_cr='\\r' |
15799 else | 15847 else |
15800 ac_cs_awk_cr=$ac_cr | 15848 ac_cs_awk_cr=$ac_cr |
15801 fi | 15849 fi |
15802 | 15850 |
15803 echo 'BEGIN {' >"$tmp/subs1.awk" && | 15851 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
15804 _ACEOF | 15852 _ACEOF |
15805 | 15853 |
15806 # Create commands to substitute file output variables. | 15854 # Create commands to substitute file output variables. |
15807 { | 15855 { |
15808 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && | 15856 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && |
15809 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && | 15857 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' && |
15810 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | 15858 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
15811 echo "_ACAWK" && | 15859 echo "_ACAWK" && |
15812 echo "_ACEOF" | 15860 echo "_ACEOF" |
15813 } >conf$$files.sh && | 15861 } >conf$$files.sh && |
15814 . ./conf$$files.sh || | 15862 . ./conf$$files.sh || |
15815 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15863 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15816 rm -f conf$$files.sh | 15864 rm -f conf$$files.sh |
15817 | 15865 |
15818 { | 15866 { |
15819 echo "cat >conf$$subs.awk <<_ACEOF" && | 15867 echo "cat >conf$$subs.awk <<_ACEOF" && |
15820 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 15868 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15821 echo "_ACEOF" | 15869 echo "_ACEOF" |
15822 } >conf$$subs.sh || | 15870 } >conf$$subs.sh || |
15823 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15871 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15824 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 15872 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15825 ac_delim='%!_!# ' | 15873 ac_delim='%!_!# ' |
15826 for ac_last_try in false false false false false :; do | 15874 for ac_last_try in false false false false false :; do |
15827 . ./conf$$subs.sh || | 15875 . ./conf$$subs.sh || |
15828 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15876 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15829 | 15877 |
15830 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 15878 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15831 if test $ac_delim_n = $ac_delim_num; then | 15879 if test $ac_delim_n = $ac_delim_num; then |
15832 break | 15880 break |
15833 elif $ac_last_try; then | 15881 elif $ac_last_try; then |
15834 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 15882 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15835 else | 15883 else |
15836 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15884 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15837 fi | 15885 fi |
15838 done | 15886 done |
15839 rm -f conf$$subs.sh | 15887 rm -f conf$$subs.sh |
15840 | 15888 |
15841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15842 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | 15890 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
15843 _ACEOF | 15891 _ACEOF |
15844 sed -n ' | 15892 sed -n ' |
15845 h | 15893 h |
15846 s/^/S["/; s/!.*/"]=/ | 15894 s/^/S["/; s/!.*/"]=/ |
15847 p | 15895 p |
15885 } | 15933 } |
15886 ' >>$CONFIG_STATUS || ac_write_fail=1 | 15934 ' >>$CONFIG_STATUS || ac_write_fail=1 |
15887 rm -f conf$$subs.awk | 15935 rm -f conf$$subs.awk |
15888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15889 _ACAWK | 15937 _ACAWK |
15890 cat >>"\$tmp/subs1.awk" <<_ACAWK && | 15938 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
15891 for (key in S) S_is_set[key] = 1 | 15939 for (key in S) S_is_set[key] = 1 |
15892 FS = "" | 15940 FS = "" |
15893 \$ac_cs_awk_pipe_init | 15941 \$ac_cs_awk_pipe_init |
15894 } | 15942 } |
15895 { | 15943 { |
15923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15924 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 15972 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15925 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 15973 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15926 else | 15974 else |
15927 cat | 15975 cat |
15928 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 15976 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
15929 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 15977 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15930 _ACEOF | 15978 _ACEOF |
15931 | 15979 |
15932 # VPATH may cause trouble with some makes, so we remove $(srcdir), | 15980 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15933 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 15981 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15934 # trailing colons and then remove the whole line if VPATH becomes empty | 15982 # trailing colons and then remove the whole line if VPATH becomes empty |
15935 # (actually we leave an empty line to preserve line numbers). | 15983 # (actually we leave an empty line to preserve line numbers). |
15936 if test "x$srcdir" = x.; then | 15984 if test "x$srcdir" = x.; then |
15937 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 15985 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15938 s/:*\$(srcdir):*/:/ | 15986 h |
15939 s/:*\${srcdir}:*/:/ | 15987 s/// |
15940 s/:*@srcdir@:*/:/ | 15988 s/^/:/ |
15941 s/^\([^=]*=[ ]*\):*/\1/ | 15989 s/[ ]*$/:/ |
15990 s/:\$(srcdir):/:/g | |
15991 s/:\${srcdir}:/:/g | |
15992 s/:@srcdir@:/:/g | |
15993 s/^:*// | |
15942 s/:*$// | 15994 s/:*$// |
15995 x | |
15996 s/\(=[ ]*\).*/\1/ | |
15997 G | |
15998 s/\n// | |
15943 s/^[^=]*=[ ]*$// | 15999 s/^[^=]*=[ ]*$// |
15944 }' | 16000 }' |
15945 fi | 16001 fi |
15946 | 16002 |
15947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 16003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15949 | 16005 |
15950 # Set up the scripts for CONFIG_HEADERS section. | 16006 # Set up the scripts for CONFIG_HEADERS section. |
15951 # No need to generate them if there are no CONFIG_HEADERS. | 16007 # No need to generate them if there are no CONFIG_HEADERS. |
15952 # This happens for instance with `./config.status Makefile'. | 16008 # This happens for instance with `./config.status Makefile'. |
15953 if test -n "$CONFIG_HEADERS"; then | 16009 if test -n "$CONFIG_HEADERS"; then |
15954 cat >"$tmp/defines.awk" <<\_ACAWK || | 16010 cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
15955 BEGIN { | 16011 BEGIN { |
15956 _ACEOF | 16012 _ACEOF |
15957 | 16013 |
15958 # Transform confdefs.h into an awk script `defines.awk', embedded as | 16014 # Transform confdefs.h into an awk script `defines.awk', embedded as |
15959 # here-document in config.status, that substitutes the proper values into | 16015 # here-document in config.status, that substitutes the proper values into |
15961 | 16017 |
15962 # Create a delimiter string that does not exist in confdefs.h, to ease | 16018 # Create a delimiter string that does not exist in confdefs.h, to ease |
15963 # handling of long lines. | 16019 # handling of long lines. |
15964 ac_delim='%!_!# ' | 16020 ac_delim='%!_!# ' |
15965 for ac_last_try in false false :; do | 16021 for ac_last_try in false false :; do |
15966 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 16022 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
15967 if test -z "$ac_t"; then | 16023 if test -z "$ac_tt"; then |
15968 break | 16024 break |
15969 elif $ac_last_try; then | 16025 elif $ac_last_try; then |
15970 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 16026 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15971 else | 16027 else |
15972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 16028 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15973 fi | 16029 fi |
15974 done | 16030 done |
15975 | 16031 |
16050 } | 16106 } |
16051 { print } | 16107 { print } |
16052 _ACAWK | 16108 _ACAWK |
16053 _ACEOF | 16109 _ACEOF |
16054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 16110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16055 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 16111 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
16056 fi # test -n "$CONFIG_HEADERS" | 16112 fi # test -n "$CONFIG_HEADERS" |
16057 | 16113 |
16058 | 16114 |
16059 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 16115 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
16060 shift | 16116 shift |
16063 case $ac_tag in | 16119 case $ac_tag in |
16064 :[FHLC]) ac_mode=$ac_tag; continue;; | 16120 :[FHLC]) ac_mode=$ac_tag; continue;; |
16065 esac | 16121 esac |
16066 case $ac_mode$ac_tag in | 16122 case $ac_mode$ac_tag in |
16067 :[FHL]*:*);; | 16123 :[FHL]*:*);; |
16068 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 16124 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
16069 :[FH]-) ac_tag=-:-;; | 16125 :[FH]-) ac_tag=-:-;; |
16070 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 16126 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
16071 esac | 16127 esac |
16072 ac_save_IFS=$IFS | 16128 ac_save_IFS=$IFS |
16073 IFS=: | 16129 IFS=: |
16082 :[FH]) | 16138 :[FH]) |
16083 ac_file_inputs= | 16139 ac_file_inputs= |
16084 for ac_f | 16140 for ac_f |
16085 do | 16141 do |
16086 case $ac_f in | 16142 case $ac_f in |
16087 -) ac_f="$tmp/stdin";; | 16143 -) ac_f="$ac_tmp/stdin";; |
16088 *) # Look for the file first in the build tree, then in the source tree | 16144 *) # Look for the file first in the build tree, then in the source tree |
16089 # (if the path is not absolute). The absolute path cannot be DOS-style, | 16145 # (if the path is not absolute). The absolute path cannot be DOS-style, |
16090 # because $ac_f cannot contain `:'. | 16146 # because $ac_f cannot contain `:'. |
16091 test -f "$ac_f" || | 16147 test -f "$ac_f" || |
16092 case $ac_f in | 16148 case $ac_f in |
16093 [\\/$]*) false;; | 16149 [\\/$]*) false;; |
16094 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 16150 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
16095 esac || | 16151 esac || |
16096 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 16152 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
16097 esac | 16153 esac |
16098 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 16154 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
16099 as_fn_append ac_file_inputs " '$ac_f'" | 16155 as_fn_append ac_file_inputs " '$ac_f'" |
16100 done | 16156 done |
16101 | 16157 |
16117 sed 's/[\\\\&|]/\\\\&/g'`;; #( | 16173 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
16118 *) ac_sed_conf_input=$configure_input;; | 16174 *) ac_sed_conf_input=$configure_input;; |
16119 esac | 16175 esac |
16120 | 16176 |
16121 case $ac_tag in | 16177 case $ac_tag in |
16122 *:-:* | *:-) cat >"$tmp/stdin" \ | 16178 *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
16123 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 16179 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
16124 esac | 16180 esac |
16125 ;; | 16181 ;; |
16126 esac | 16182 esac |
16127 | 16183 |
16128 ac_dir=`$as_dirname -- "$ac_file" || | 16184 ac_dir=`$as_dirname -- "$ac_file" || |
16250 s&@INSTALL@&$ac_INSTALL&;t t | 16306 s&@INSTALL@&$ac_INSTALL&;t t |
16251 $ac_datarootdir_hack | 16307 $ac_datarootdir_hack |
16252 " | 16308 " |
16253 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | | 16309 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | |
16254 if $ac_cs_awk_getline; then | 16310 if $ac_cs_awk_getline; then |
16255 $AWK -f "$tmp/subs.awk" | 16311 $AWK -f "$ac_tmp/subs.awk" |
16256 else | 16312 else |
16257 $AWK -f "$tmp/subs.awk" | $SHELL | 16313 $AWK -f "$ac_tmp/subs.awk" | $SHELL |
16258 fi >$tmp/out \ | 16314 fi \ |
16259 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16315 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16260 | 16316 |
16261 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 16317 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
16262 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 16318 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
16263 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 16319 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
16320 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 16321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16265 which seems to be undefined. Please make sure it is defined." >&5 | 16322 which seems to be undefined. Please make sure it is defined" >&5 |
16266 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 16323 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16267 which seems to be undefined. Please make sure it is defined." >&2;} | 16324 which seems to be undefined. Please make sure it is defined" >&2;} |
16268 | 16325 |
16269 rm -f "$tmp/stdin" | 16326 rm -f "$ac_tmp/stdin" |
16270 case $ac_file in | 16327 case $ac_file in |
16271 -) cat "$tmp/out" && rm -f "$tmp/out";; | 16328 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
16272 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 16329 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
16273 esac \ | 16330 esac \ |
16274 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16331 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16275 ;; | 16332 ;; |
16276 :H) | 16333 :H) |
16277 # | 16334 # |
16278 # CONFIG_HEADER | 16335 # CONFIG_HEADER |
16279 # | 16336 # |
16280 if test x"$ac_file" != x-; then | 16337 if test x"$ac_file" != x-; then |
16281 { | 16338 { |
16282 $as_echo "/* $configure_input */" \ | 16339 $as_echo "/* $configure_input */" \ |
16283 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 16340 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
16284 } >"$tmp/config.h" \ | 16341 } >"$ac_tmp/config.h" \ |
16285 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16286 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 16343 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 16344 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16288 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 16345 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
16289 else | 16346 else |
16290 rm -f "$ac_file" | 16347 rm -f "$ac_file" |
16291 mv "$tmp/config.h" "$ac_file" \ | 16348 mv "$ac_tmp/config.h" "$ac_file" \ |
16292 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 16349 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16293 fi | 16350 fi |
16294 else | 16351 else |
16295 $as_echo "/* $configure_input */" \ | 16352 $as_echo "/* $configure_input */" \ |
16296 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 16353 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
16297 || as_fn_error "could not create -" "$LINENO" 5 | 16354 || as_fn_error $? "could not create -" "$LINENO" 5 |
16298 fi | 16355 fi |
16299 ;; | 16356 ;; |
16300 | 16357 |
16301 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 16358 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
16302 $as_echo "$as_me: executing $ac_file commands" >&6;} | 16359 $as_echo "$as_me: executing $ac_file commands" >&6;} |
16329 as_fn_exit 0 | 16386 as_fn_exit 0 |
16330 _ACEOF | 16387 _ACEOF |
16331 ac_clean_files=$ac_clean_files_save | 16388 ac_clean_files=$ac_clean_files_save |
16332 | 16389 |
16333 test $ac_write_fail = 0 || | 16390 test $ac_write_fail = 0 || |
16334 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 16391 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16335 | 16392 |
16336 | 16393 |
16337 # configure is writing to config.log, and then calls config.status. | 16394 # configure is writing to config.log, and then calls config.status. |
16338 # config.status does its own redirection, appending to config.log. | 16395 # config.status does its own redirection, appending to config.log. |
16339 # Unfortunately, on DOS this fails, as config.log is still kept open | 16396 # Unfortunately, on DOS this fails, as config.log is still kept open |
16350 exec 5>/dev/null | 16407 exec 5>/dev/null |
16351 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 16408 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
16352 exec 5>>config.log | 16409 exec 5>>config.log |
16353 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 16410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
16354 # would make configure fail if this is the last instruction. | 16411 # would make configure fail if this is the last instruction. |
16355 $ac_cs_success || as_fn_exit $? | 16412 $ac_cs_success || as_fn_exit 1 |
16356 fi | 16413 fi |
16357 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 16414 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 16415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
16359 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 16416 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
16360 fi | 16417 fi |