ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
(Generate patch)

Comparing IO-AIO/configure (file contents):
Revision 1.16 by root, Sat Jun 2 20:13:53 2012 UTC vs.
Revision 1.33 by root, Tue Dec 29 15:16:28 2020 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67. 3# Generated by GNU Autoconf 2.69.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9# 7#
10# 8#
11# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ## 11## -------------------- ##
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.) 86# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl" 87IFS=" "" $as_nl"
90 88
91# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
92case $0 in #(( 91case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH 94for as_dir in $PATH
96do 95do
131export LANGUAGE 130export LANGUAGE
132 131
133# CDPATH. 132# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
136if test "x$CONFIG_SHELL" = x; then 160if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh 162 emulate sh
139 NULLCMD=: 163 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 189
166else 190else
167 exitcode=1; echo positional parameters were not saved. 191 exitcode=1; echo positional parameters were not saved.
168fi 192fi
169test x\$exitcode = x0 || exit 1" 193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1" 199test \$(( 1 + 1 )) = 2 || exit 1"
209fi; } 234fi; }
210IFS=$as_save_IFS 235IFS=$as_save_IFS
211 236
212 237
213 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
214 # We cannot yet assume a decent shell, so we have to provide a 240 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 241# neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 244BASH_ENV=/dev/null
218 ENV=/dev/null 245ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
222fi 258fi
223 259
224 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 262 $as_echo "$0: the shells that I found on your system."
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 356
321 357
322} # as_fn_mkdir_p 358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
323# as_fn_append VAR VALUE 367# as_fn_append VAR VALUE
324# ---------------------- 368# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take 369# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over 370# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive 371# repeated appends, instead of the typical quadratic growth present in naive
439 s/-\n.*// 483 s/-\n.*//
440 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
444 # Don't try to exec as it changes $[0], causing all sort of problems 492 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the 493 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno" 495 . "./$as_me.lineno"
448 # Exit status is that of the last command. 496 # Exit status is that of the last command.
473 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s' 522 as_ln_s='ln -s'
475 # ... but there are two gotchas: 523 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
481 elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln 530 as_ln_s=ln
483 else 531 else
484 as_ln_s='cp -p' 532 as_ln_s='cp -pR'
485 fi 533 fi
486else 534else
487 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
488fi 536fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
491 539
492if mkdir -p . 2>/dev/null; then 540if mkdir -p . 2>/dev/null; then
494else 542else
495 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false 544 as_mkdir_p=false
497fi 545fi
498 546
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x' 547as_test_x='test -x'
501else 548as_executable_p=as_fn_executable_p
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521 549
522# Sed expression to map a string onto a valid CPP name. 550# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 552
525# Sed expression to map a string onto a valid variable name. 553# Sed expression to map a string onto a valid variable name.
620htmldir 648htmldir
621infodir 649infodir
622docdir 650docdir
623oldincludedir 651oldincludedir
624includedir 652includedir
653runstatedir
625localstatedir 654localstatedir
626sharedstatedir 655sharedstatedir
627sysconfdir 656sysconfdir
628datadir 657datadir
629datarootdir 658datarootdir
690datarootdir='${prefix}/share' 719datarootdir='${prefix}/share'
691datadir='${datarootdir}' 720datadir='${datarootdir}'
692sysconfdir='${prefix}/etc' 721sysconfdir='${prefix}/etc'
693sharedstatedir='${prefix}/com' 722sharedstatedir='${prefix}/com'
694localstatedir='${prefix}/var' 723localstatedir='${prefix}/var'
724runstatedir='${localstatedir}/run'
695includedir='${prefix}/include' 725includedir='${prefix}/include'
696oldincludedir='/usr/include' 726oldincludedir='/usr/include'
697docdir='${datarootdir}/doc/${PACKAGE}' 727docdir='${datarootdir}/doc/${PACKAGE}'
698infodir='${datarootdir}/info' 728infodir='${datarootdir}/info'
699htmldir='${docdir}' 729htmldir='${docdir}'
942 972
943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
944 | -silent | --silent | --silen | --sile | --sil) 974 | -silent | --silent | --silen | --sile | --sil)
945 silent=yes ;; 975 silent=yes ;;
946 976
977 -runstatedir | --runstatedir | --runstatedi | --runstated \
978 | --runstate | --runstat | --runsta | --runst | --runs \
979 | --run | --ru | --r)
980 ac_prev=runstatedir ;;
981 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
982 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
983 | --run=* | --ru=* | --r=*)
984 runstatedir=$ac_optarg ;;
985
947 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 986 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
948 ac_prev=sbindir ;; 987 ac_prev=sbindir ;;
949 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 988 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
950 | --sbi=* | --sb=*) 989 | --sbi=* | --sb=*)
951 sbindir=$ac_optarg ;; 990 sbindir=$ac_optarg ;;
1056 *) 1095 *)
1057 # FIXME: should be removed in autoconf 3.0. 1096 # FIXME: should be removed in autoconf 3.0.
1058 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1097 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1059 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1098 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1099 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1061 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1100 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1062 ;; 1101 ;;
1063 1102
1064 esac 1103 esac
1065done 1104done
1066 1105
1079 1118
1080# Check all directory arguments for consistency. 1119# Check all directory arguments for consistency.
1081for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1120for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \ 1121 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir 1123 libdir localedir mandir runstatedir
1085do 1124do
1086 eval ac_val=\$$ac_var 1125 eval ac_val=\$$ac_var
1087 # Remove trailing slashes. 1126 # Remove trailing slashes.
1088 case $ac_val in 1127 case $ac_val in
1089 */ ) 1128 */ )
1107 1146
1108# FIXME: To remove some day. 1147# FIXME: To remove some day.
1109if test "x$host_alias" != x; then 1148if test "x$host_alias" != x; then
1110 if test "x$build_alias" = x; then 1149 if test "x$build_alias" = x; then
1111 cross_compiling=maybe 1150 cross_compiling=maybe
1112 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1113 If a cross compiler is detected then cross compile mode will be used" >&2
1114 elif test "x$build_alias" != "x$host_alias"; then 1151 elif test "x$build_alias" != "x$host_alias"; then
1115 cross_compiling=yes 1152 cross_compiling=yes
1116 fi 1153 fi
1117fi 1154fi
1118 1155
1234 --sbindir=DIR system admin executables [EPREFIX/sbin] 1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1235 --libexecdir=DIR program executables [EPREFIX/libexec] 1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1236 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1237 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1238 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1239 --libdir=DIR object code libraries [EPREFIX/lib] 1277 --libdir=DIR object code libraries [EPREFIX/lib]
1240 --includedir=DIR C header files [PREFIX/include] 1278 --includedir=DIR C header files [PREFIX/include]
1241 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1242 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1243 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 1372
1335test -n "$ac_init_help" && exit $ac_status 1373test -n "$ac_init_help" && exit $ac_status
1336if $ac_init_version; then 1374if $ac_init_version; then
1337 cat <<\_ACEOF 1375 cat <<\_ACEOF
1338configure 1376configure
1339generated by GNU Autoconf 2.67 1377generated by GNU Autoconf 2.69
1340 1378
1341Copyright (C) 2010 Free Software Foundation, Inc. 1379Copyright (C) 2012 Free Software Foundation, Inc.
1342This configure script is free software; the Free Software Foundation 1380This configure script is free software; the Free Software Foundation
1343gives unlimited permission to copy, distribute and modify it. 1381gives unlimited permission to copy, distribute and modify it.
1344_ACEOF 1382_ACEOF
1345 exit 1383 exit
1346fi 1384fi
1380 $as_echo "$as_me: failed program was:" >&5 1418 $as_echo "$as_me: failed program was:" >&5
1381sed 's/^/| /' conftest.$ac_ext >&5 1419sed 's/^/| /' conftest.$ac_ext >&5
1382 1420
1383 ac_retval=1 1421 ac_retval=1
1384fi 1422fi
1385 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1423 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1386 as_fn_set_status $ac_retval 1424 as_fn_set_status $ac_retval
1387 1425
1388} # ac_fn_c_try_compile 1426} # ac_fn_c_try_compile
1389 1427
1390# ac_fn_c_try_cpp LINENO 1428# ac_fn_c_try_cpp LINENO
1417 $as_echo "$as_me: failed program was:" >&5 1455 $as_echo "$as_me: failed program was:" >&5
1418sed 's/^/| /' conftest.$ac_ext >&5 1456sed 's/^/| /' conftest.$ac_ext >&5
1419 1457
1420 ac_retval=1 1458 ac_retval=1
1421fi 1459fi
1422 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1423 as_fn_set_status $ac_retval 1461 as_fn_set_status $ac_retval
1424 1462
1425} # ac_fn_c_try_cpp 1463} # ac_fn_c_try_cpp
1426 1464
1427# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1465# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1430# the include files in INCLUDES and setting the cache variable VAR 1468# the include files in INCLUDES and setting the cache variable VAR
1431# accordingly. 1469# accordingly.
1432ac_fn_c_check_header_mongrel () 1470ac_fn_c_check_header_mongrel ()
1433{ 1471{
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435 if eval "test \"\${$3+set}\"" = set; then : 1473 if eval \${$3+:} false; then :
1436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1437$as_echo_n "checking for $2... " >&6; } 1475$as_echo_n "checking for $2... " >&6; }
1438if eval "test \"\${$3+set}\"" = set; then : 1476if eval \${$3+:} false; then :
1439 $as_echo_n "(cached) " >&6 1477 $as_echo_n "(cached) " >&6
1440fi 1478fi
1441eval ac_res=\$$3 1479eval ac_res=\$$3
1442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1443$as_echo "$ac_res" >&6; } 1481$as_echo "$ac_res" >&6; }
1496$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1534$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1497 ;; 1535 ;;
1498esac 1536esac
1499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1500$as_echo_n "checking for $2... " >&6; } 1538$as_echo_n "checking for $2... " >&6; }
1501if eval "test \"\${$3+set}\"" = set; then : 1539if eval \${$3+:} false; then :
1502 $as_echo_n "(cached) " >&6 1540 $as_echo_n "(cached) " >&6
1503else 1541else
1504 eval "$3=\$ac_header_compiler" 1542 eval "$3=\$ac_header_compiler"
1505fi 1543fi
1506eval ac_res=\$$3 1544eval ac_res=\$$3
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1508$as_echo "$ac_res" >&6; } 1546$as_echo "$ac_res" >&6; }
1509fi 1547fi
1510 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511 1549
1512} # ac_fn_c_check_header_mongrel 1550} # ac_fn_c_check_header_mongrel
1513 1551
1514# ac_fn_c_try_run LINENO 1552# ac_fn_c_try_run LINENO
1515# ---------------------- 1553# ----------------------
1546sed 's/^/| /' conftest.$ac_ext >&5 1584sed 's/^/| /' conftest.$ac_ext >&5
1547 1585
1548 ac_retval=$ac_status 1586 ac_retval=$ac_status
1549fi 1587fi
1550 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1588 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1551 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552 as_fn_set_status $ac_retval 1590 as_fn_set_status $ac_retval
1553 1591
1554} # ac_fn_c_try_run 1592} # ac_fn_c_try_run
1555 1593
1556# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1594# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1560ac_fn_c_check_header_compile () 1598ac_fn_c_check_header_compile ()
1561{ 1599{
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1564$as_echo_n "checking for $2... " >&6; } 1602$as_echo_n "checking for $2... " >&6; }
1565if eval "test \"\${$3+set}\"" = set; then : 1603if eval \${$3+:} false; then :
1566 $as_echo_n "(cached) " >&6 1604 $as_echo_n "(cached) " >&6
1567else 1605else
1568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1569/* end confdefs.h. */ 1607/* end confdefs.h. */
1570$4 1608$4
1578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1579fi 1617fi
1580eval ac_res=\$$3 1618eval ac_res=\$$3
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582$as_echo "$ac_res" >&6; } 1620$as_echo "$ac_res" >&6; }
1583 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584 1622
1585} # ac_fn_c_check_header_compile 1623} # ac_fn_c_check_header_compile
1586 1624
1587# ac_fn_c_try_link LINENO 1625# ac_fn_c_try_link LINENO
1588# ----------------------- 1626# -----------------------
1609 test $ac_status = 0; } && { 1647 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" || 1648 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err 1649 test ! -s conftest.err
1612 } && test -s conftest$ac_exeext && { 1650 } && test -s conftest$ac_exeext && {
1613 test "$cross_compiling" = yes || 1651 test "$cross_compiling" = yes ||
1614 $as_test_x conftest$ac_exeext 1652 test -x conftest$ac_exeext
1615 }; then : 1653 }; then :
1616 ac_retval=0 1654 ac_retval=0
1617else 1655else
1618 $as_echo "$as_me: failed program was:" >&5 1656 $as_echo "$as_me: failed program was:" >&5
1619sed 's/^/| /' conftest.$ac_ext >&5 1657sed 's/^/| /' conftest.$ac_ext >&5
1623 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1661 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1624 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1662 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1625 # interfere with the next link command; also delete a directory that is 1663 # interfere with the next link command; also delete a directory that is
1626 # left behind by Apple's compiler. We do this before executing the actions. 1664 # left behind by Apple's compiler. We do this before executing the actions.
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1628 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval 1667 as_fn_set_status $ac_retval
1630 1668
1631} # ac_fn_c_try_link 1669} # ac_fn_c_try_link
1632cat >config.log <<_ACEOF 1670cat >config.log <<_ACEOF
1633This file contains any messages produced by compilers while 1671This file contains any messages produced by compilers while
1634running configure, to aid debugging if configure makes a mistake. 1672running configure, to aid debugging if configure makes a mistake.
1635 1673
1636It was created by $as_me, which was 1674It was created by $as_me, which was
1637generated by GNU Autoconf 2.67. Invocation command line was 1675generated by GNU Autoconf 2.69. Invocation command line was
1638 1676
1639 $ $0 $@ 1677 $ $0 $@
1640 1678
1641_ACEOF 1679_ACEOF
1642exec 5>>config.log 1680exec 5>>config.log
1890 sed 's/^/| /' "$ac_site_file" >&5 1928 sed 's/^/| /' "$ac_site_file" >&5
1891 . "$ac_site_file" \ 1929 . "$ac_site_file" \
1892 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1930 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1893$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1931$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1894as_fn_error $? "failed to load site script $ac_site_file 1932as_fn_error $? "failed to load site script $ac_site_file
1895See \`config.log' for more details" "$LINENO" 5 ; } 1933See \`config.log' for more details" "$LINENO" 5; }
1896 fi 1934 fi
1897done 1935done
1898 1936
1899if test -r "$cache_file"; then 1937if test -r "$cache_file"; then
1900 # Some versions of bash will fail to source /dev/null (special files 1938 # Some versions of bash will fail to source /dev/null (special files
1980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1981ac_compiler_gnu=$ac_cv_c_compiler_gnu 2019ac_compiler_gnu=$ac_cv_c_compiler_gnu
1982 2020
1983 2021
1984 2022
1985ac_config_headers="$ac_config_headers libeio/config.h" 2023ac_config_headers="$ac_config_headers config.h"
1986 2024
1987 2025
1988 2026
1989ac_ext=c 2027ac_ext=c
1990ac_cpp='$CPP $CPPFLAGS' 2028ac_cpp='$CPP $CPPFLAGS'
1994if test -n "$ac_tool_prefix"; then 2032if test -n "$ac_tool_prefix"; then
1995 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2033 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1996set dummy ${ac_tool_prefix}gcc; ac_word=$2 2034set dummy ${ac_tool_prefix}gcc; ac_word=$2
1997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1998$as_echo_n "checking for $ac_word... " >&6; } 2036$as_echo_n "checking for $ac_word... " >&6; }
1999if test "${ac_cv_prog_CC+set}" = set; then : 2037if ${ac_cv_prog_CC+:} false; then :
2000 $as_echo_n "(cached) " >&6 2038 $as_echo_n "(cached) " >&6
2001else 2039else
2002 if test -n "$CC"; then 2040 if test -n "$CC"; then
2003 ac_cv_prog_CC="$CC" # Let the user override the test. 2041 ac_cv_prog_CC="$CC" # Let the user override the test.
2004else 2042else
2006for as_dir in $PATH 2044for as_dir in $PATH
2007do 2045do
2008 IFS=$as_save_IFS 2046 IFS=$as_save_IFS
2009 test -z "$as_dir" && as_dir=. 2047 test -z "$as_dir" && as_dir=.
2010 for ac_exec_ext in '' $ac_executable_extensions; do 2048 for ac_exec_ext in '' $ac_executable_extensions; do
2011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2012 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2050 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2014 break 2 2052 break 2
2015 fi 2053 fi
2016done 2054done
2034 ac_ct_CC=$CC 2072 ac_ct_CC=$CC
2035 # Extract the first word of "gcc", so it can be a program name with args. 2073 # Extract the first word of "gcc", so it can be a program name with args.
2036set dummy gcc; ac_word=$2 2074set dummy gcc; ac_word=$2
2037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2038$as_echo_n "checking for $ac_word... " >&6; } 2076$as_echo_n "checking for $ac_word... " >&6; }
2039if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2077if ${ac_cv_prog_ac_ct_CC+:} false; then :
2040 $as_echo_n "(cached) " >&6 2078 $as_echo_n "(cached) " >&6
2041else 2079else
2042 if test -n "$ac_ct_CC"; then 2080 if test -n "$ac_ct_CC"; then
2043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2044else 2082else
2046for as_dir in $PATH 2084for as_dir in $PATH
2047do 2085do
2048 IFS=$as_save_IFS 2086 IFS=$as_save_IFS
2049 test -z "$as_dir" && as_dir=. 2087 test -z "$as_dir" && as_dir=.
2050 for ac_exec_ext in '' $ac_executable_extensions; do 2088 for ac_exec_ext in '' $ac_executable_extensions; do
2051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_ac_ct_CC="gcc" 2090 ac_cv_prog_ac_ct_CC="gcc"
2053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 break 2 2092 break 2
2055 fi 2093 fi
2056done 2094done
2087 if test -n "$ac_tool_prefix"; then 2125 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2089set dummy ${ac_tool_prefix}cc; ac_word=$2 2127set dummy ${ac_tool_prefix}cc; ac_word=$2
2090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2091$as_echo_n "checking for $ac_word... " >&6; } 2129$as_echo_n "checking for $ac_word... " >&6; }
2092if test "${ac_cv_prog_CC+set}" = set; then : 2130if ${ac_cv_prog_CC+:} false; then :
2093 $as_echo_n "(cached) " >&6 2131 $as_echo_n "(cached) " >&6
2094else 2132else
2095 if test -n "$CC"; then 2133 if test -n "$CC"; then
2096 ac_cv_prog_CC="$CC" # Let the user override the test. 2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2097else 2135else
2099for as_dir in $PATH 2137for as_dir in $PATH
2100do 2138do
2101 IFS=$as_save_IFS 2139 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=. 2140 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do 2141 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_CC="${ac_tool_prefix}cc" 2143 ac_cv_prog_CC="${ac_tool_prefix}cc"
2106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2 2145 break 2
2108 fi 2146 fi
2109done 2147done
2127if test -z "$CC"; then 2165if test -z "$CC"; then
2128 # Extract the first word of "cc", so it can be a program name with args. 2166 # Extract the first word of "cc", so it can be a program name with args.
2129set dummy cc; ac_word=$2 2167set dummy cc; ac_word=$2
2130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2131$as_echo_n "checking for $ac_word... " >&6; } 2169$as_echo_n "checking for $ac_word... " >&6; }
2132if test "${ac_cv_prog_CC+set}" = set; then : 2170if ${ac_cv_prog_CC+:} false; then :
2133 $as_echo_n "(cached) " >&6 2171 $as_echo_n "(cached) " >&6
2134else 2172else
2135 if test -n "$CC"; then 2173 if test -n "$CC"; then
2136 ac_cv_prog_CC="$CC" # Let the user override the test. 2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2137else 2175else
2140for as_dir in $PATH 2178for as_dir in $PATH
2141do 2179do
2142 IFS=$as_save_IFS 2180 IFS=$as_save_IFS
2143 test -z "$as_dir" && as_dir=. 2181 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do 2182 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2146 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2147 ac_prog_rejected=yes 2185 ac_prog_rejected=yes
2148 continue 2186 continue
2149 fi 2187 fi
2150 ac_cv_prog_CC="cc" 2188 ac_cv_prog_CC="cc"
2186 do 2224 do
2187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2188set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2226set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2190$as_echo_n "checking for $ac_word... " >&6; } 2228$as_echo_n "checking for $ac_word... " >&6; }
2191if test "${ac_cv_prog_CC+set}" = set; then : 2229if ${ac_cv_prog_CC+:} false; then :
2192 $as_echo_n "(cached) " >&6 2230 $as_echo_n "(cached) " >&6
2193else 2231else
2194 if test -n "$CC"; then 2232 if test -n "$CC"; then
2195 ac_cv_prog_CC="$CC" # Let the user override the test. 2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2196else 2234else
2198for as_dir in $PATH 2236for as_dir in $PATH
2199do 2237do
2200 IFS=$as_save_IFS 2238 IFS=$as_save_IFS
2201 test -z "$as_dir" && as_dir=. 2239 test -z "$as_dir" && as_dir=.
2202 for ac_exec_ext in '' $ac_executable_extensions; do 2240 for ac_exec_ext in '' $ac_executable_extensions; do
2203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2204 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2 2244 break 2
2207 fi 2245 fi
2208done 2246done
2230do 2268do
2231 # Extract the first word of "$ac_prog", so it can be a program name with args. 2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2232set dummy $ac_prog; ac_word=$2 2270set dummy $ac_prog; ac_word=$2
2233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234$as_echo_n "checking for $ac_word... " >&6; } 2272$as_echo_n "checking for $ac_word... " >&6; }
2235if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2273if ${ac_cv_prog_ac_ct_CC+:} false; then :
2236 $as_echo_n "(cached) " >&6 2274 $as_echo_n "(cached) " >&6
2237else 2275else
2238 if test -n "$ac_ct_CC"; then 2276 if test -n "$ac_ct_CC"; then
2239 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2240else 2278else
2242for as_dir in $PATH 2280for as_dir in $PATH
2243do 2281do
2244 IFS=$as_save_IFS 2282 IFS=$as_save_IFS
2245 test -z "$as_dir" && as_dir=. 2283 test -z "$as_dir" && as_dir=.
2246 for ac_exec_ext in '' $ac_executable_extensions; do 2284 for ac_exec_ext in '' $ac_executable_extensions; do
2247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_ac_ct_CC="$ac_prog" 2286 ac_cv_prog_ac_ct_CC="$ac_prog"
2249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 break 2 2288 break 2
2251 fi 2289 fi
2252done 2290done
2285 2323
2286 2324
2287test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2325test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289as_fn_error $? "no acceptable C compiler found in \$PATH 2327as_fn_error $? "no acceptable C compiler found in \$PATH
2290See \`config.log' for more details" "$LINENO" 5 ; } 2328See \`config.log' for more details" "$LINENO" 5; }
2291 2329
2292# Provide some information about the compiler. 2330# Provide some information about the compiler.
2293$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2331$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2294set X $ac_compile 2332set X $ac_compile
2295ac_compiler=$2 2333ac_compiler=$2
2400sed 's/^/| /' conftest.$ac_ext >&5 2438sed 's/^/| /' conftest.$ac_ext >&5
2401 2439
2402{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2440{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2403$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2441$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2404as_fn_error 77 "C compiler cannot create executables 2442as_fn_error 77 "C compiler cannot create executables
2405See \`config.log' for more details" "$LINENO" 5 ; } 2443See \`config.log' for more details" "$LINENO" 5; }
2406else 2444else
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2408$as_echo "yes" >&6; } 2446$as_echo "yes" >&6; }
2409fi 2447fi
2410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2443done 2481done
2444else 2482else
2445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2446$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2484$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2485as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2448See \`config.log' for more details" "$LINENO" 5 ; } 2486See \`config.log' for more details" "$LINENO" 5; }
2449fi 2487fi
2450rm -f conftest conftest$ac_cv_exeext 2488rm -f conftest conftest$ac_cv_exeext
2451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2452$as_echo "$ac_cv_exeext" >&6; } 2490$as_echo "$ac_cv_exeext" >&6; }
2453 2491
2502 else 2540 else
2503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2504$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505as_fn_error $? "cannot run C compiled programs. 2543as_fn_error $? "cannot run C compiled programs.
2506If you meant to cross compile, use \`--host'. 2544If you meant to cross compile, use \`--host'.
2507See \`config.log' for more details" "$LINENO" 5 ; } 2545See \`config.log' for more details" "$LINENO" 5; }
2508 fi 2546 fi
2509 fi 2547 fi
2510fi 2548fi
2511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2512$as_echo "$cross_compiling" >&6; } 2550$as_echo "$cross_compiling" >&6; }
2513 2551
2514rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2552rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2515ac_clean_files=$ac_clean_files_save 2553ac_clean_files=$ac_clean_files_save
2516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2517$as_echo_n "checking for suffix of object files... " >&6; } 2555$as_echo_n "checking for suffix of object files... " >&6; }
2518if test "${ac_cv_objext+set}" = set; then : 2556if ${ac_cv_objext+:} false; then :
2519 $as_echo_n "(cached) " >&6 2557 $as_echo_n "(cached) " >&6
2520else 2558else
2521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2522/* end confdefs.h. */ 2560/* end confdefs.h. */
2523 2561
2554sed 's/^/| /' conftest.$ac_ext >&5 2592sed 's/^/| /' conftest.$ac_ext >&5
2555 2593
2556{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2594{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2557$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2595$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2558as_fn_error $? "cannot compute suffix of object files: cannot compile 2596as_fn_error $? "cannot compute suffix of object files: cannot compile
2559See \`config.log' for more details" "$LINENO" 5 ; } 2597See \`config.log' for more details" "$LINENO" 5; }
2560fi 2598fi
2561rm -f conftest.$ac_cv_objext conftest.$ac_ext 2599rm -f conftest.$ac_cv_objext conftest.$ac_ext
2562fi 2600fi
2563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2564$as_echo "$ac_cv_objext" >&6; } 2602$as_echo "$ac_cv_objext" >&6; }
2565OBJEXT=$ac_cv_objext 2603OBJEXT=$ac_cv_objext
2566ac_objext=$OBJEXT 2604ac_objext=$OBJEXT
2567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2568$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2606$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2569if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2607if ${ac_cv_c_compiler_gnu+:} false; then :
2570 $as_echo_n "(cached) " >&6 2608 $as_echo_n "(cached) " >&6
2571else 2609else
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573/* end confdefs.h. */ 2611/* end confdefs.h. */
2574 2612
2601fi 2639fi
2602ac_test_CFLAGS=${CFLAGS+set} 2640ac_test_CFLAGS=${CFLAGS+set}
2603ac_save_CFLAGS=$CFLAGS 2641ac_save_CFLAGS=$CFLAGS
2604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2605$as_echo_n "checking whether $CC accepts -g... " >&6; } 2643$as_echo_n "checking whether $CC accepts -g... " >&6; }
2606if test "${ac_cv_prog_cc_g+set}" = set; then : 2644if ${ac_cv_prog_cc_g+:} false; then :
2607 $as_echo_n "(cached) " >&6 2645 $as_echo_n "(cached) " >&6
2608else 2646else
2609 ac_save_c_werror_flag=$ac_c_werror_flag 2647 ac_save_c_werror_flag=$ac_c_werror_flag
2610 ac_c_werror_flag=yes 2648 ac_c_werror_flag=yes
2611 ac_cv_prog_cc_g=no 2649 ac_cv_prog_cc_g=no
2679 CFLAGS= 2717 CFLAGS=
2680 fi 2718 fi
2681fi 2719fi
2682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2683$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2721$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2684if test "${ac_cv_prog_cc_c89+set}" = set; then : 2722if ${ac_cv_prog_cc_c89+:} false; then :
2685 $as_echo_n "(cached) " >&6 2723 $as_echo_n "(cached) " >&6
2686else 2724else
2687 ac_cv_prog_cc_c89=no 2725 ac_cv_prog_cc_c89=no
2688ac_save_CC=$CC 2726ac_save_CC=$CC
2689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690/* end confdefs.h. */ 2728/* end confdefs.h. */
2691#include <stdarg.h> 2729#include <stdarg.h>
2692#include <stdio.h> 2730#include <stdio.h>
2693#include <sys/types.h> 2731struct stat;
2694#include <sys/stat.h>
2695/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2732/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2696struct buf { int x; }; 2733struct buf { int x; };
2697FILE * (*rcsopen) (struct buf *, struct stat *, int); 2734FILE * (*rcsopen) (struct buf *, struct stat *, int);
2698static char *e (p, i) 2735static char *e (p, i)
2699 char **p; 2736 char **p;
2787# On Suns, sometimes $CPP names a directory. 2824# On Suns, sometimes $CPP names a directory.
2788if test -n "$CPP" && test -d "$CPP"; then 2825if test -n "$CPP" && test -d "$CPP"; then
2789 CPP= 2826 CPP=
2790fi 2827fi
2791if test -z "$CPP"; then 2828if test -z "$CPP"; then
2792 if test "${ac_cv_prog_CPP+set}" = set; then : 2829 if ${ac_cv_prog_CPP+:} false; then :
2793 $as_echo_n "(cached) " >&6 2830 $as_echo_n "(cached) " >&6
2794else 2831else
2795 # Double quotes because CPP needs to be expanded 2832 # Double quotes because CPP needs to be expanded
2796 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2833 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2797 do 2834 do
2903 2940
2904else 2941else
2905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2943$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2907as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 2944as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
2908See \`config.log' for more details" "$LINENO" 5 ; } 2945See \`config.log' for more details" "$LINENO" 5; }
2909fi 2946fi
2910 2947
2911ac_ext=c 2948ac_ext=c
2912ac_cpp='$CPP $CPPFLAGS' 2949ac_cpp='$CPP $CPPFLAGS'
2913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2915ac_compiler_gnu=$ac_cv_c_compiler_gnu 2952ac_compiler_gnu=$ac_cv_c_compiler_gnu
2916 2953
2917 2954
2918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2919$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 2956$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2920if test "${ac_cv_path_GREP+set}" = set; then : 2957if ${ac_cv_path_GREP+:} false; then :
2921 $as_echo_n "(cached) " >&6 2958 $as_echo_n "(cached) " >&6
2922else 2959else
2923 if test -z "$GREP"; then 2960 if test -z "$GREP"; then
2924 ac_path_GREP_found=false 2961 ac_path_GREP_found=false
2925 # Loop through the user's path and test for each of PROGNAME-LIST 2962 # Loop through the user's path and test for each of PROGNAME-LIST
2929 IFS=$as_save_IFS 2966 IFS=$as_save_IFS
2930 test -z "$as_dir" && as_dir=. 2967 test -z "$as_dir" && as_dir=.
2931 for ac_prog in grep ggrep; do 2968 for ac_prog in grep ggrep; do
2932 for ac_exec_ext in '' $ac_executable_extensions; do 2969 for ac_exec_ext in '' $ac_executable_extensions; do
2933 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 2970 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2934 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 2971 as_fn_executable_p "$ac_path_GREP" || continue
2935# Check for GNU ac_path_GREP and select it if it is found. 2972# Check for GNU ac_path_GREP and select it if it is found.
2936 # Check for GNU $ac_path_GREP 2973 # Check for GNU $ac_path_GREP
2937case `"$ac_path_GREP" --version 2>&1` in 2974case `"$ac_path_GREP" --version 2>&1` in
2938*GNU*) 2975*GNU*)
2939 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 2976 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2978 GREP="$ac_cv_path_GREP" 3015 GREP="$ac_cv_path_GREP"
2979 3016
2980 3017
2981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2982$as_echo_n "checking for egrep... " >&6; } 3019$as_echo_n "checking for egrep... " >&6; }
2983if test "${ac_cv_path_EGREP+set}" = set; then : 3020if ${ac_cv_path_EGREP+:} false; then :
2984 $as_echo_n "(cached) " >&6 3021 $as_echo_n "(cached) " >&6
2985else 3022else
2986 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3023 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2987 then ac_cv_path_EGREP="$GREP -E" 3024 then ac_cv_path_EGREP="$GREP -E"
2988 else 3025 else
2995 IFS=$as_save_IFS 3032 IFS=$as_save_IFS
2996 test -z "$as_dir" && as_dir=. 3033 test -z "$as_dir" && as_dir=.
2997 for ac_prog in egrep; do 3034 for ac_prog in egrep; do
2998 for ac_exec_ext in '' $ac_executable_extensions; do 3035 for ac_exec_ext in '' $ac_executable_extensions; do
2999 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3036 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3000 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3037 as_fn_executable_p "$ac_path_EGREP" || continue
3001# Check for GNU ac_path_EGREP and select it if it is found. 3038# Check for GNU ac_path_EGREP and select it if it is found.
3002 # Check for GNU $ac_path_EGREP 3039 # Check for GNU $ac_path_EGREP
3003case `"$ac_path_EGREP" --version 2>&1` in 3040case `"$ac_path_EGREP" --version 2>&1` in
3004*GNU*) 3041*GNU*)
3005 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3042 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3045 EGREP="$ac_cv_path_EGREP" 3082 EGREP="$ac_cv_path_EGREP"
3046 3083
3047 3084
3048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3049$as_echo_n "checking for ANSI C header files... " >&6; } 3086$as_echo_n "checking for ANSI C header files... " >&6; }
3050if test "${ac_cv_header_stdc+set}" = set; then : 3087if ${ac_cv_header_stdc+:} false; then :
3051 $as_echo_n "(cached) " >&6 3088 $as_echo_n "(cached) " >&6
3052else 3089else
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054/* end confdefs.h. */ 3091/* end confdefs.h. */
3055#include <stdlib.h> 3092#include <stdlib.h>
3174done 3211done
3175 3212
3176 3213
3177 3214
3178 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3215 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3179if test "x$ac_cv_header_minix_config_h" = x""yes; then : 3216if test "x$ac_cv_header_minix_config_h" = xyes; then :
3180 MINIX=yes 3217 MINIX=yes
3181else 3218else
3182 MINIX= 3219 MINIX=
3183fi 3220fi
3184 3221
3196 fi 3233 fi
3197 3234
3198 3235
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3200$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3237$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3201if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 3238if ${ac_cv_safe_to_define___extensions__+:} false; then :
3202 $as_echo_n "(cached) " >&6 3239 $as_echo_n "(cached) " >&6
3203else 3240else
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205/* end confdefs.h. */ 3242/* end confdefs.h. */
3206 3243
3207# define __EXTENSIONS__ 1 3244# define __EXTENSIONS__ 1
3208 $ac_includes_default 3245 $ac_includes_default
3209int 3246int
3210main () 3247main ()
3211{ 3248{
3212 3249
3213 ; 3250 ;
3244if test -n "$ac_tool_prefix"; then 3281if test -n "$ac_tool_prefix"; then
3245 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3282 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3246set dummy ${ac_tool_prefix}gcc; ac_word=$2 3283set dummy ${ac_tool_prefix}gcc; ac_word=$2
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248$as_echo_n "checking for $ac_word... " >&6; } 3285$as_echo_n "checking for $ac_word... " >&6; }
3249if test "${ac_cv_prog_CC+set}" = set; then : 3286if ${ac_cv_prog_CC+:} false; then :
3250 $as_echo_n "(cached) " >&6 3287 $as_echo_n "(cached) " >&6
3251else 3288else
3252 if test -n "$CC"; then 3289 if test -n "$CC"; then
3253 ac_cv_prog_CC="$CC" # Let the user override the test. 3290 ac_cv_prog_CC="$CC" # Let the user override the test.
3254else 3291else
3256for as_dir in $PATH 3293for as_dir in $PATH
3257do 3294do
3258 IFS=$as_save_IFS 3295 IFS=$as_save_IFS
3259 test -z "$as_dir" && as_dir=. 3296 test -z "$as_dir" && as_dir=.
3260 for ac_exec_ext in '' $ac_executable_extensions; do 3297 for ac_exec_ext in '' $ac_executable_extensions; do
3261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3262 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3299 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 break 2 3301 break 2
3265 fi 3302 fi
3266done 3303done
3284 ac_ct_CC=$CC 3321 ac_ct_CC=$CC
3285 # Extract the first word of "gcc", so it can be a program name with args. 3322 # Extract the first word of "gcc", so it can be a program name with args.
3286set dummy gcc; ac_word=$2 3323set dummy gcc; ac_word=$2
3287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288$as_echo_n "checking for $ac_word... " >&6; } 3325$as_echo_n "checking for $ac_word... " >&6; }
3289if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3326if ${ac_cv_prog_ac_ct_CC+:} false; then :
3290 $as_echo_n "(cached) " >&6 3327 $as_echo_n "(cached) " >&6
3291else 3328else
3292 if test -n "$ac_ct_CC"; then 3329 if test -n "$ac_ct_CC"; then
3293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3330 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3294else 3331else
3296for as_dir in $PATH 3333for as_dir in $PATH
3297do 3334do
3298 IFS=$as_save_IFS 3335 IFS=$as_save_IFS
3299 test -z "$as_dir" && as_dir=. 3336 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do 3337 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 ac_cv_prog_ac_ct_CC="gcc" 3339 ac_cv_prog_ac_ct_CC="gcc"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 break 2 3341 break 2
3305 fi 3342 fi
3306done 3343done
3337 if test -n "$ac_tool_prefix"; then 3374 if test -n "$ac_tool_prefix"; then
3338 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3375 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3339set dummy ${ac_tool_prefix}cc; ac_word=$2 3376set dummy ${ac_tool_prefix}cc; ac_word=$2
3340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341$as_echo_n "checking for $ac_word... " >&6; } 3378$as_echo_n "checking for $ac_word... " >&6; }
3342if test "${ac_cv_prog_CC+set}" = set; then : 3379if ${ac_cv_prog_CC+:} false; then :
3343 $as_echo_n "(cached) " >&6 3380 $as_echo_n "(cached) " >&6
3344else 3381else
3345 if test -n "$CC"; then 3382 if test -n "$CC"; then
3346 ac_cv_prog_CC="$CC" # Let the user override the test. 3383 ac_cv_prog_CC="$CC" # Let the user override the test.
3347else 3384else
3349for as_dir in $PATH 3386for as_dir in $PATH
3350do 3387do
3351 IFS=$as_save_IFS 3388 IFS=$as_save_IFS
3352 test -z "$as_dir" && as_dir=. 3389 test -z "$as_dir" && as_dir=.
3353 for ac_exec_ext in '' $ac_executable_extensions; do 3390 for ac_exec_ext in '' $ac_executable_extensions; do
3354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3355 ac_cv_prog_CC="${ac_tool_prefix}cc" 3392 ac_cv_prog_CC="${ac_tool_prefix}cc"
3356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 break 2 3394 break 2
3358 fi 3395 fi
3359done 3396done
3377if test -z "$CC"; then 3414if test -z "$CC"; then
3378 # Extract the first word of "cc", so it can be a program name with args. 3415 # Extract the first word of "cc", so it can be a program name with args.
3379set dummy cc; ac_word=$2 3416set dummy cc; ac_word=$2
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381$as_echo_n "checking for $ac_word... " >&6; } 3418$as_echo_n "checking for $ac_word... " >&6; }
3382if test "${ac_cv_prog_CC+set}" = set; then : 3419if ${ac_cv_prog_CC+:} false; then :
3383 $as_echo_n "(cached) " >&6 3420 $as_echo_n "(cached) " >&6
3384else 3421else
3385 if test -n "$CC"; then 3422 if test -n "$CC"; then
3386 ac_cv_prog_CC="$CC" # Let the user override the test. 3423 ac_cv_prog_CC="$CC" # Let the user override the test.
3387else 3424else
3390for as_dir in $PATH 3427for as_dir in $PATH
3391do 3428do
3392 IFS=$as_save_IFS 3429 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=. 3430 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do 3431 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3433 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3397 ac_prog_rejected=yes 3434 ac_prog_rejected=yes
3398 continue 3435 continue
3399 fi 3436 fi
3400 ac_cv_prog_CC="cc" 3437 ac_cv_prog_CC="cc"
3436 do 3473 do
3437 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3438set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3475set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440$as_echo_n "checking for $ac_word... " >&6; } 3477$as_echo_n "checking for $ac_word... " >&6; }
3441if test "${ac_cv_prog_CC+set}" = set; then : 3478if ${ac_cv_prog_CC+:} false; then :
3442 $as_echo_n "(cached) " >&6 3479 $as_echo_n "(cached) " >&6
3443else 3480else
3444 if test -n "$CC"; then 3481 if test -n "$CC"; then
3445 ac_cv_prog_CC="$CC" # Let the user override the test. 3482 ac_cv_prog_CC="$CC" # Let the user override the test.
3446else 3483else
3448for as_dir in $PATH 3485for as_dir in $PATH
3449do 3486do
3450 IFS=$as_save_IFS 3487 IFS=$as_save_IFS
3451 test -z "$as_dir" && as_dir=. 3488 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do 3489 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3491 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456 break 2 3493 break 2
3457 fi 3494 fi
3458done 3495done
3480do 3517do
3481 # Extract the first word of "$ac_prog", so it can be a program name with args. 3518 # Extract the first word of "$ac_prog", so it can be a program name with args.
3482set dummy $ac_prog; ac_word=$2 3519set dummy $ac_prog; ac_word=$2
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484$as_echo_n "checking for $ac_word... " >&6; } 3521$as_echo_n "checking for $ac_word... " >&6; }
3485if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3522if ${ac_cv_prog_ac_ct_CC+:} false; then :
3486 $as_echo_n "(cached) " >&6 3523 $as_echo_n "(cached) " >&6
3487else 3524else
3488 if test -n "$ac_ct_CC"; then 3525 if test -n "$ac_ct_CC"; then
3489 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3490else 3527else
3492for as_dir in $PATH 3529for as_dir in $PATH
3493do 3530do
3494 IFS=$as_save_IFS 3531 IFS=$as_save_IFS
3495 test -z "$as_dir" && as_dir=. 3532 test -z "$as_dir" && as_dir=.
3496 for ac_exec_ext in '' $ac_executable_extensions; do 3533 for ac_exec_ext in '' $ac_executable_extensions; do
3497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498 ac_cv_prog_ac_ct_CC="$ac_prog" 3535 ac_cv_prog_ac_ct_CC="$ac_prog"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 break 2 3537 break 2
3501 fi 3538 fi
3502done 3539done
3535 3572
3536 3573
3537test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3574test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3575$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539as_fn_error $? "no acceptable C compiler found in \$PATH 3576as_fn_error $? "no acceptable C compiler found in \$PATH
3540See \`config.log' for more details" "$LINENO" 5 ; } 3577See \`config.log' for more details" "$LINENO" 5; }
3541 3578
3542# Provide some information about the compiler. 3579# Provide some information about the compiler.
3543$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3580$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3544set X $ac_compile 3581set X $ac_compile
3545ac_compiler=$2 3582ac_compiler=$2
3564 test $ac_status = 0; } 3601 test $ac_status = 0; }
3565done 3602done
3566 3603
3567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3568$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3605$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3569if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3606if ${ac_cv_c_compiler_gnu+:} false; then :
3570 $as_echo_n "(cached) " >&6 3607 $as_echo_n "(cached) " >&6
3571else 3608else
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573/* end confdefs.h. */ 3610/* end confdefs.h. */
3574 3611
3601fi 3638fi
3602ac_test_CFLAGS=${CFLAGS+set} 3639ac_test_CFLAGS=${CFLAGS+set}
3603ac_save_CFLAGS=$CFLAGS 3640ac_save_CFLAGS=$CFLAGS
3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3605$as_echo_n "checking whether $CC accepts -g... " >&6; } 3642$as_echo_n "checking whether $CC accepts -g... " >&6; }
3606if test "${ac_cv_prog_cc_g+set}" = set; then : 3643if ${ac_cv_prog_cc_g+:} false; then :
3607 $as_echo_n "(cached) " >&6 3644 $as_echo_n "(cached) " >&6
3608else 3645else
3609 ac_save_c_werror_flag=$ac_c_werror_flag 3646 ac_save_c_werror_flag=$ac_c_werror_flag
3610 ac_c_werror_flag=yes 3647 ac_c_werror_flag=yes
3611 ac_cv_prog_cc_g=no 3648 ac_cv_prog_cc_g=no
3679 CFLAGS= 3716 CFLAGS=
3680 fi 3717 fi
3681fi 3718fi
3682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3683$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3720$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3684if test "${ac_cv_prog_cc_c89+set}" = set; then : 3721if ${ac_cv_prog_cc_c89+:} false; then :
3685 $as_echo_n "(cached) " >&6 3722 $as_echo_n "(cached) " >&6
3686else 3723else
3687 ac_cv_prog_cc_c89=no 3724 ac_cv_prog_cc_c89=no
3688ac_save_CC=$CC 3725ac_save_CC=$CC
3689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690/* end confdefs.h. */ 3727/* end confdefs.h. */
3691#include <stdarg.h> 3728#include <stdarg.h>
3692#include <stdio.h> 3729#include <stdio.h>
3693#include <sys/types.h> 3730struct stat;
3694#include <sys/stat.h>
3695/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3731/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3696struct buf { int x; }; 3732struct buf { int x; };
3697FILE * (*rcsopen) (struct buf *, struct stat *, int); 3733FILE * (*rcsopen) (struct buf *, struct stat *, int);
3698static char *e (p, i) 3734static char *e (p, i)
3699 char **p; 3735 char **p;
3791done 3827done
3792 3828
3793 3829
3794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 3830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
3795$as_echo_n "checking for library containing pthread_create... " >&6; } 3831$as_echo_n "checking for library containing pthread_create... " >&6; }
3796if test "${ac_cv_search_pthread_create+set}" = set; then : 3832if ${ac_cv_search_pthread_create+:} false; then :
3797 $as_echo_n "(cached) " >&6 3833 $as_echo_n "(cached) " >&6
3798else 3834else
3799 ac_func_search_save_LIBS=$LIBS 3835 ac_func_search_save_LIBS=$LIBS
3800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801/* end confdefs.h. */ 3837/* end confdefs.h. */
3825 if ac_fn_c_try_link "$LINENO"; then : 3861 if ac_fn_c_try_link "$LINENO"; then :
3826 ac_cv_search_pthread_create=$ac_res 3862 ac_cv_search_pthread_create=$ac_res
3827fi 3863fi
3828rm -f core conftest.err conftest.$ac_objext \ 3864rm -f core conftest.err conftest.$ac_objext \
3829 conftest$ac_exeext 3865 conftest$ac_exeext
3830 if test "${ac_cv_search_pthread_create+set}" = set; then : 3866 if ${ac_cv_search_pthread_create+:} false; then :
3831 break 3867 break
3832fi 3868fi
3833done 3869done
3834if test "${ac_cv_search_pthread_create+set}" = set; then : 3870if ${ac_cv_search_pthread_create+:} false; then :
3835 3871
3836else 3872else
3837 ac_cv_search_pthread_create=no 3873 ac_cv_search_pthread_create=no
3838fi 3874fi
3839rm conftest.$ac_ext 3875rm conftest.$ac_ext
3851fi 3887fi
3852 3888
3853 3889
3854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5
3855$as_echo_n "checking for utimes... " >&6; } 3891$as_echo_n "checking for utimes... " >&6; }
3856if test "${ac_cv_utimes+set}" = set; then : 3892if ${ac_cv_utimes+:} false; then :
3857 $as_echo_n "(cached) " >&6 3893 $as_echo_n "(cached) " >&6
3858else 3894else
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860/* end confdefs.h. */ 3896/* end confdefs.h. */
3861 3897
3885$as_echo "#define HAVE_UTIMES 1" >>confdefs.h 3921$as_echo "#define HAVE_UTIMES 1" >>confdefs.h
3886 3922
3887 3923
3888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 3924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5
3889$as_echo_n "checking for futimes... " >&6; } 3925$as_echo_n "checking for futimes... " >&6; }
3890if test "${ac_cv_futimes+set}" = set; then : 3926if ${ac_cv_futimes+:} false; then :
3891 $as_echo_n "(cached) " >&6 3927 $as_echo_n "(cached) " >&6
3892else 3928else
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894/* end confdefs.h. */ 3930/* end confdefs.h. */
3895 3931
3920$as_echo "#define HAVE_FUTIMES 1" >>confdefs.h 3956$as_echo "#define HAVE_FUTIMES 1" >>confdefs.h
3921 3957
3922 3958
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5
3924$as_echo_n "checking for readahead... " >&6; } 3960$as_echo_n "checking for readahead... " >&6; }
3925if test "${ac_cv_readahead+set}" = set; then : 3961if ${ac_cv_readahead+:} false; then :
3926 $as_echo_n "(cached) " >&6 3962 $as_echo_n "(cached) " >&6
3927else 3963else
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929/* end confdefs.h. */ 3965/* end confdefs.h. */
3930 3966
3967#include <sys/types.h>
3931#include <fcntl.h> 3968#include <fcntl.h>
3932int main (void) 3969int main (void)
3933{ 3970{
3934 int fd = 0; 3971 int fd = 0;
3935 size_t count = 2; 3972 size_t count = 2;
3953$as_echo "#define HAVE_READAHEAD 1" >>confdefs.h 3990$as_echo "#define HAVE_READAHEAD 1" >>confdefs.h
3954 3991
3955 3992
3956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
3957$as_echo_n "checking for fdatasync... " >&6; } 3994$as_echo_n "checking for fdatasync... " >&6; }
3958if test "${ac_cv_fdatasync+set}" = set; then : 3995if ${ac_cv_fdatasync+:} false; then :
3959 $as_echo_n "(cached) " >&6 3996 $as_echo_n "(cached) " >&6
3960else 3997else
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962/* end confdefs.h. */ 3999/* end confdefs.h. */
3963 4000
3984$as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h 4021$as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h
3985 4022
3986 4023
3987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 4024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5
3988$as_echo_n "checking for sendfile... " >&6; } 4025$as_echo_n "checking for sendfile... " >&6; }
3989if test "${ac_cv_sendfile+set}" = set; then : 4026if ${ac_cv_sendfile+:} false; then :
3990 $as_echo_n "(cached) " >&6 4027 $as_echo_n "(cached) " >&6
3991else 4028else
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993/* end confdefs.h. */ 4030/* end confdefs.h. */
3994 4031
4008 int fd = 0; 4045 int fd = 0;
4009 off_t offset = 1; 4046 off_t offset = 1;
4010 size_t count = 2; 4047 size_t count = 2;
4011 ssize_t res; 4048 ssize_t res;
4012#if __linux 4049#if __linux
4013 res = sendfile (fd, fd, offset, count); 4050 res = sendfile (fd, fd, &offset, count);
4014#elif __FreeBSD__ 4051#elif __FreeBSD__
4015 res = sendfile (fd, fd, offset, count, 0, &offset, 0); 4052 res = sendfile (fd, fd, offset, count, 0, &offset, 0);
4016#elif __hpux 4053#elif __hpux
4017 res = sendfile (fd, fd, offset, count, 0, 0); 4054 res = sendfile (fd, fd, offset, count, 0, 0);
4018#endif 4055#endif
4034$as_echo "#define HAVE_SENDFILE 1" >>confdefs.h 4071$as_echo "#define HAVE_SENDFILE 1" >>confdefs.h
4035 4072
4036 4073
4037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 4074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5
4038$as_echo_n "checking for sync_file_range... " >&6; } 4075$as_echo_n "checking for sync_file_range... " >&6; }
4039if test "${ac_cv_sync_file_range+set}" = set; then : 4076if ${ac_cv_sync_file_range+:} false; then :
4040 $as_echo_n "(cached) " >&6 4077 $as_echo_n "(cached) " >&6
4041else 4078else
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043/* end confdefs.h. */ 4080/* end confdefs.h. */
4044 4081
4082#include <sys/types.h>
4045#include <fcntl.h> 4083#include <fcntl.h>
4046int main (void) 4084int main (void)
4047{ 4085{
4048 int fd = 0; 4086 int fd = 0;
4049 off64_t offset = 1; 4087 off64_t offset = 1;
4069$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h 4107$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
4070 4108
4071 4109
4072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
4073$as_echo_n "checking for fallocate... " >&6; } 4111$as_echo_n "checking for fallocate... " >&6; }
4074if test "${ac_cv_linux_fallocate+set}" = set; then : 4112if ${ac_cv_linux_fallocate+:} false; then :
4075 $as_echo_n "(cached) " >&6 4113 $as_echo_n "(cached) " >&6
4076else 4114else
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078/* end confdefs.h. */ 4116/* end confdefs.h. */
4079 4117
4104$as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h 4142$as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h
4105 4143
4106 4144
4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5
4108$as_echo_n "checking for sys_syncfs... " >&6; } 4146$as_echo_n "checking for sys_syncfs... " >&6; }
4109if test "${ac_cv_sys_syncfs+set}" = set; then : 4147if ${ac_cv_sys_syncfs+:} false; then :
4110 $as_echo_n "(cached) " >&6 4148 $as_echo_n "(cached) " >&6
4111else 4149else
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113/* end confdefs.h. */ 4151/* end confdefs.h. */
4114 4152
4134$as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h 4172$as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h
4135 4173
4136 4174
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5
4138$as_echo_n "checking for prctl_set_name... " >&6; } 4176$as_echo_n "checking for prctl_set_name... " >&6; }
4139if test "${ac_cv_prctl_set_name+set}" = set; then : 4177if ${ac_cv_prctl_set_name+:} false; then :
4140 $as_echo_n "(cached) " >&6 4178 $as_echo_n "(cached) " >&6
4141else 4179else
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143/* end confdefs.h. */ 4181/* end confdefs.h. */
4144 4182
4145#include <sys/prctl.h> 4183#include <sys/prctl.h>
4146int main (void) 4184int main (void)
4147{ 4185{
4148 char name = "test123"; 4186 char *name = "test123";
4149 int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); 4187 int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0);
4150} 4188}
4151 4189
4152_ACEOF 4190_ACEOF
4153if ac_fn_c_try_link "$LINENO"; then : 4191if ac_fn_c_try_link "$LINENO"; then :
4162$as_echo "$ac_cv_prctl_set_name" >&6; } 4200$as_echo "$ac_cv_prctl_set_name" >&6; }
4163test $ac_cv_prctl_set_name = yes && 4201test $ac_cv_prctl_set_name = yes &&
4164$as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h 4202$as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h
4165 4203
4166 4204
4205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_close" >&5
4206$as_echo_n "checking for posix_close... " >&6; }
4207if ${ac_cv_posix_close+:} false; then :
4208 $as_echo_n "(cached) " >&6
4209else
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211/* end confdefs.h. */
4212
4213#include <unistd.h>
4214int res;
4215int main (void)
4216{
4217 res = posix_close (0, 0); /* we do not need any flags */
4218 return 0;
4219}
4220
4221_ACEOF
4222if ac_fn_c_try_link "$LINENO"; then :
4223 ac_cv_posix_close=yes
4224else
4225 ac_cv_posix_close=no
4226fi
4227rm -f core conftest.err conftest.$ac_objext \
4228 conftest$ac_exeext conftest.$ac_ext
4229fi
4230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_close" >&5
4231$as_echo "$ac_cv_posix_close" >&6; }
4232test $ac_cv_posix_close = yes &&
4233$as_echo "#define HAVE_POSIX_CLOSE 1" >>confdefs.h
4234
4235
4236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for renameat2" >&5
4237$as_echo_n "checking for renameat2... " >&6; }
4238if ${ac_cv_renameat2+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240else
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242/* end confdefs.h. */
4243
4244#include <unistd.h>
4245#include <sys/syscall.h>
4246#include <linux/fs.h>
4247int res;
4248int main (void)
4249{
4250 res = syscall (SYS_renameat2, 0, 0, 0, 0, RENAME_EXCHANGE | RENAME_NOREPLACE);
4251 return 0;
4252}
4253
4254_ACEOF
4255if ac_fn_c_try_link "$LINENO"; then :
4256 ac_cv_renameat2=yes
4257else
4258 ac_cv_renameat2=no
4259fi
4260rm -f core conftest.err conftest.$ac_objext \
4261 conftest$ac_exeext conftest.$ac_ext
4262fi
4263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_renameat2" >&5
4264$as_echo "$ac_cv_renameat2" >&6; }
4265test $ac_cv_renameat2 = yes &&
4266$as_echo "#define HAVE_RENAMEAT2 1" >>confdefs.h
4267
4268
4269
4270
4271# for these to work, you need to run autoheader in IO::AIO, not libeio :(
4272
4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for set/getrlimit" >&5
4274$as_echo_n "checking for set/getrlimit... " >&6; }
4275if ${ac_cv_rlimits+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277else
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279/* end confdefs.h. */
4280
4281#include <sys/time.h>
4282#include <sys/resource.h>
4283int main (void)
4284{
4285 struct rlimit srl;
4286 int res;
4287 srl.rlim_cur = srl.rlim_max = RLIM_INFINITY;
4288 res = getrlimit (RLIMIT_NOFILE, &srl);
4289 res = setrlimit (RLIMIT_NOFILE, &srl);
4290 return 0;
4291}
4292
4293_ACEOF
4294if ac_fn_c_try_link "$LINENO"; then :
4295 ac_cv_rlimits=yes
4296else
4297 ac_cv_rlimits=no
4298fi
4299rm -f core conftest.err conftest.$ac_objext \
4300 conftest$ac_exeext conftest.$ac_ext
4301fi
4302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rlimits" >&5
4303$as_echo "$ac_cv_rlimits" >&6; }
4304test $ac_cv_rlimits = yes &&
4305$as_echo "#define HAVE_RLIMITS 1" >>confdefs.h
4306
4167 4307
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 4308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5
4169$as_echo_n "checking for posix_madvise... " >&6; } 4309$as_echo_n "checking for posix_madvise... " >&6; }
4170if test "${ac_cv_posix_madvise+set}" = set; then : 4310if ${ac_cv_posix_madvise+:} false; then :
4171 $as_echo_n "(cached) " >&6 4311 $as_echo_n "(cached) " >&6
4172else 4312else
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174/* end confdefs.h. */ 4314/* end confdefs.h. */
4175 4315
4199$as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h 4339$as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h
4200 4340
4201 4341
4202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 4342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5
4203$as_echo_n "checking for posix_fadvise... " >&6; } 4343$as_echo_n "checking for posix_fadvise... " >&6; }
4204if test "${ac_cv_posix_fadvise+set}" = set; then : 4344if ${ac_cv_posix_fadvise+:} false; then :
4205 $as_echo_n "(cached) " >&6 4345 $as_echo_n "(cached) " >&6
4206else 4346else
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208/* end confdefs.h. */ 4348/* end confdefs.h. */
4209 4349
4247fi 4387fi
4248 4388
4249done 4389done
4250 4390
4251 4391
4392for ac_header in sys/sysmacros.h
4393do :
4394 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4395if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4396 cat >>confdefs.h <<_ACEOF
4397#define HAVE_SYS_SYSMACROS_H 1
4398_ACEOF
4399
4400fi
4401
4402done
4403
4404
4405for ac_header in sys/mkdev.h
4406do :
4407 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
4408if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
4409 cat >>confdefs.h <<_ACEOF
4410#define HAVE_SYS_MKDEV_H 1
4411_ACEOF
4412
4413fi
4414
4415done
4416
4417
4418for ac_header in sys/uio.h
4419do :
4420 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
4421if test "x$ac_cv_header_sys_uio_h" = xyes; then :
4422 cat >>confdefs.h <<_ACEOF
4423#define HAVE_SYS_UIO_H 1
4424_ACEOF
4425
4426fi
4427
4428done
4429
4430
4431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-style syscall interface" >&5
4432$as_echo_n "checking for unix-style syscall interface... " >&6; }
4433if ${ac_cv_syscall+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435else
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437/* end confdefs.h. */
4438
4439#include <unistd.h>
4440#include <sys/syscall.h>
4441int main (void)
4442{
4443 long res = syscall (SYS_exit, 0);
4444 return 0;
4445}
4446
4447_ACEOF
4448if ac_fn_c_try_link "$LINENO"; then :
4449 ac_cv_syscall=yes
4450else
4451 ac_cv_syscall=no
4452fi
4453rm -f core conftest.err conftest.$ac_objext \
4454 conftest$ac_exeext conftest.$ac_ext
4455fi
4456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_syscall" >&5
4457$as_echo "$ac_cv_syscall" >&6; }
4458test $ac_cv_syscall = yes &&
4459$as_echo "#define HAVE_SYSCALL 1" >>confdefs.h
4460
4461
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 4462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5
4253$as_echo_n "checking for splice, vmsplice and tee... " >&6; } 4463$as_echo_n "checking for splice, vmsplice and tee... " >&6; }
4254if test "${ac_cv_linux_splice+set}" = set; then : 4464if ${ac_cv_linux_splice+:} false; then :
4255 $as_echo_n "(cached) " >&6 4465 $as_echo_n "(cached) " >&6
4256else 4466else
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258/* end confdefs.h. */ 4468/* end confdefs.h. */
4259 4469
4470#include <sys/types.h>
4260#include <fcntl.h> 4471#include <fcntl.h>
4472#include <sys/uio.h>
4261int main (void) 4473int main (void)
4262{ 4474{
4263 ssize_t res; 4475 ssize_t res;
4264 res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); 4476 res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE);
4265 res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK); 4477 res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK);
4280$as_echo "$ac_cv_linux_splice" >&6; } 4492$as_echo "$ac_cv_linux_splice" >&6; }
4281test $ac_cv_linux_splice = yes && 4493test $ac_cv_linux_splice = yes &&
4282$as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h 4494$as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h
4283 4495
4284 4496
4497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5
4498$as_echo_n "checking for pipe2... " >&6; }
4499if ${ac_cv_pipe2+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501else
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503/* end confdefs.h. */
4504
4505#include <fcntl.h>
4506#include <unistd.h>
4507int main (void)
4508{
4509 int res;
4510 res = pipe2 (0, 0);
4511 return 0;
4512}
4513
4514_ACEOF
4515if ac_fn_c_try_link "$LINENO"; then :
4516 ac_cv_pipe2=yes
4517else
4518 ac_cv_pipe2=no
4519fi
4520rm -f core conftest.err conftest.$ac_objext \
4521 conftest$ac_exeext conftest.$ac_ext
4522fi
4523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5
4524$as_echo "$ac_cv_pipe2" >&6; }
4525test $ac_cv_pipe2 = yes &&
4526$as_echo "#define HAVE_PIPE2 1" >>confdefs.h
4527
4528
4529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for eventfd" >&5
4530$as_echo_n "checking for eventfd... " >&6; }
4531if ${ac_cv_eventfd+:} false; then :
4532 $as_echo_n "(cached) " >&6
4533else
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535/* end confdefs.h. */
4536
4537#include <sys/eventfd.h>
4538int main (void)
4539{
4540 int res;
4541 res = eventfd (1, EFD_CLOEXEC | EFD_NONBLOCK);
4542 return 0;
4543}
4544
4545_ACEOF
4546if ac_fn_c_try_link "$LINENO"; then :
4547 ac_cv_eventfd=yes
4548else
4549 ac_cv_eventfd=no
4550fi
4551rm -f core conftest.err conftest.$ac_objext \
4552 conftest$ac_exeext conftest.$ac_ext
4553fi
4554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_eventfd" >&5
4555$as_echo "$ac_cv_eventfd" >&6; }
4556test $ac_cv_eventfd = yes &&
4557$as_echo "#define HAVE_EVENTFD 1" >>confdefs.h
4558
4559
4560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerfd_*" >&5
4561$as_echo_n "checking for timerfd_*... " >&6; }
4562if ${ac_cv_timerfd+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564else
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566/* end confdefs.h. */
4567
4568#include <sys/timerfd.h>
4569int main (void)
4570{
4571 struct itimerspec its;
4572 int res;
4573 res = timerfd_create (CLOCK_REALTIME, TFD_CLOEXEC | TFD_NONBLOCK);
4574 res = timerfd_settime (res, TFD_TIMER_ABSTIME /*| TFD_TIMER_CANCEL_ON_SET*/, &its, 0);
4575 res = timerfd_gettime (res, &its);
4576 return 0;
4577}
4578
4579_ACEOF
4580if ac_fn_c_try_link "$LINENO"; then :
4581 ac_cv_timerfd=yes
4582else
4583 ac_cv_timerfd=no
4584fi
4585rm -f core conftest.err conftest.$ac_objext \
4586 conftest$ac_exeext conftest.$ac_ext
4587fi
4588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_timerfd" >&5
4589$as_echo "$ac_cv_timerfd" >&6; }
4590test $ac_cv_timerfd = yes &&
4591$as_echo "#define HAVE_TIMERFD 1" >>confdefs.h
4592
4593
4594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5
4595$as_echo_n "checking for memfd_create... " >&6; }
4596if ${ac_cv_memfd_create+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598else
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600/* end confdefs.h. */
4601
4602#include <sys/mman.h>
4603int main (void)
4604{
4605 int res = memfd_create ("name", MFD_CLOEXEC | MFD_ALLOW_SEALING);
4606 return 0;
4607}
4608
4609_ACEOF
4610if ac_fn_c_try_link "$LINENO"; then :
4611 ac_cv_memfd_create=yes
4612else
4613 ac_cv_memfd_create=no
4614fi
4615rm -f core conftest.err conftest.$ac_objext \
4616 conftest$ac_exeext conftest.$ac_ext
4617fi
4618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_memfd_create" >&5
4619$as_echo "$ac_cv_memfd_create" >&6; }
4620test $ac_cv_memfd_create = yes &&
4621$as_echo "#define HAVE_MEMFD_CREATE 1" >>confdefs.h
4622
4623
4624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5
4625$as_echo_n "checking for copy_file_range... " >&6; }
4626if ${ac_cv_copy_file_range+:} false; then :
4627 $as_echo_n "(cached) " >&6
4628else
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630/* end confdefs.h. */
4631
4632#include <unistd.h>
4633#include <sys/syscall.h>
4634/*#include <linux/copy.h>*/
4635int main (void)
4636{
4637 int res;
4638 /*res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, COPY_FR_REFLINK | COPY_FR_DEDUP | COPY_FR_COPY);*/
4639 res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, 0);
4640 return 0;
4641}
4642
4643_ACEOF
4644if ac_fn_c_try_link "$LINENO"; then :
4645 ac_cv_copy_file_range=yes
4646else
4647 ac_cv_copy_file_range=no
4648fi
4649rm -f core conftest.err conftest.$ac_objext \
4650 conftest$ac_exeext conftest.$ac_ext
4651fi
4652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_copy_file_range" >&5
4653$as_echo "$ac_cv_copy_file_range" >&6; }
4654test $ac_cv_copy_file_range = yes &&
4655$as_echo "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h
4656
4657
4658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_xtimensec" >&5
4659$as_echo_n "checking for st_xtimensec... " >&6; }
4660if ${ac_cv_xtimensec+:} false; then :
4661 $as_echo_n "(cached) " >&6
4662else
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664/* end confdefs.h. */
4665
4666#include "EXTERN.h"
4667#include "perl.h"
4668#include "XSUB.h"
4669
4670int main (void)
4671{
4672 return PL_statcache.st_atimensec
4673 + PL_statcache.st_mtimensec
4674 + PL_statcache.st_ctimensec;
4675}
4676
4677_ACEOF
4678if ac_fn_c_try_compile "$LINENO"; then :
4679 ac_cv_xtimensec=yes
4680else
4681 ac_cv_xtimensec=no
4682fi
4683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4684fi
4685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_xtimensec" >&5
4686$as_echo "$ac_cv_xtimensec" >&6; }
4687test $ac_cv_xtimensec = yes &&
4688$as_echo "#define HAVE_ST_XTIMENSEC 1" >>confdefs.h
4689
4690
4691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_xtimespec" >&5
4692$as_echo_n "checking for st_xtimespec... " >&6; }
4693if ${ac_cv_xtimespec+:} false; then :
4694 $as_echo_n "(cached) " >&6
4695else
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697/* end confdefs.h. */
4698
4699#include "EXTERN.h"
4700#include "perl.h"
4701#include "XSUB.h"
4702
4703int main (void)
4704{
4705 return PL_statcache.st_atim.tv_nsec
4706 + PL_statcache.st_mtim.tv_nsec
4707 + PL_statcache.st_ctim.tv_nsec;
4708}
4709
4710_ACEOF
4711if ac_fn_c_try_compile "$LINENO"; then :
4712 ac_cv_xtimespec=yes
4713else
4714 ac_cv_xtimespec=no
4715fi
4716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717fi
4718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_xtimespec" >&5
4719$as_echo "$ac_cv_xtimespec" >&6; }
4720test $ac_cv_xtimespec = yes &&
4721$as_echo "#define HAVE_ST_XTIMESPEC 1" >>confdefs.h
4722
4723
4724# apparently, True64 uses st_u[amc]time, aix uses at_[amc]time_n and apple uses st_[amc,birth]timespec?
4725
4726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimensec" >&5
4727$as_echo_n "checking for st_birthtimensec... " >&6; }
4728if ${ac_cv_birthtimensec+:} false; then :
4729 $as_echo_n "(cached) " >&6
4730else
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732/* end confdefs.h. */
4733
4734#include "EXTERN.h"
4735#include "perl.h"
4736#include "XSUB.h"
4737
4738int main (void)
4739{
4740 return PL_statcache.st_birthtime + PL_statcache.st_birthtimensec;
4741}
4742
4743_ACEOF
4744if ac_fn_c_try_compile "$LINENO"; then :
4745 ac_cv_birthtimensec=yes
4746else
4747 ac_cv_birthtimensec=no
4748fi
4749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750fi
4751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimensec" >&5
4752$as_echo "$ac_cv_birthtimensec" >&6; }
4753test $ac_cv_birthtimensec = yes &&
4754$as_echo "#define HAVE_ST_BIRTHTIMENSEC 1" >>confdefs.h
4755
4756
4757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimespec" >&5
4758$as_echo_n "checking for st_birthtimespec... " >&6; }
4759if ${ac_cv_birthtimespec+:} false; then :
4760 $as_echo_n "(cached) " >&6
4761else
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763/* end confdefs.h. */
4764
4765#include "EXTERN.h"
4766#include "perl.h"
4767#include "XSUB.h"
4768
4769int main (void)
4770{
4771 return PL_statcache.st_birthtim.tv_sec + PL_statcache.st_birthtim.tv_nsec;
4772}
4773
4774_ACEOF
4775if ac_fn_c_try_compile "$LINENO"; then :
4776 ac_cv_birthtimespec=yes
4777else
4778 ac_cv_birthtimespec=no
4779fi
4780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4781fi
4782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimespec" >&5
4783$as_echo "$ac_cv_birthtimespec" >&6; }
4784test $ac_cv_birthtimespec = yes &&
4785$as_echo "#define HAVE_ST_BIRTHTIMESPEC 1" >>confdefs.h
4786
4787
4788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_gen" >&5
4789$as_echo_n "checking for st_gen... " >&6; }
4790if ${ac_cv_st_gen+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792else
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794/* end confdefs.h. */
4795
4796#include "EXTERN.h"
4797#include "perl.h"
4798#include "XSUB.h"
4799
4800int main (void)
4801{
4802 return PL_statcache.st_gen;
4803}
4804
4805_ACEOF
4806if ac_fn_c_try_compile "$LINENO"; then :
4807 ac_cv_st_gen=yes
4808else
4809 ac_cv_st_gen=no
4810fi
4811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812fi
4813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_st_gen" >&5
4814$as_echo "$ac_cv_st_gen" >&6; }
4815test $ac_cv_st_gen = yes &&
4816$as_echo "#define HAVE_ST_GEN 1" >>confdefs.h
4817
4818
4819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for statx" >&5
4820$as_echo_n "checking for statx... " >&6; }
4821if ${ac_cv_statx+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823else
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825/* end confdefs.h. */
4826
4827#include <sys/types.h>
4828#include <sys/stat.h>
4829#include <unistd.h>
4830#include <fcntl.h>
4831int res;
4832int main (void)
4833{
4834 struct statx sx;
4835 int res;
4836 res = statx (AT_FDCWD, ".",
4837 AT_EMPTY_PATH | AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW | AT_STATX_SYNC_AS_STAT | AT_STATX_FORCE_SYNC | AT_STATX_DONT_SYNC,
4838 STATX_ALL, &sx);
4839 STATX_TYPE; STATX_MODE; STATX_NLINK; STATX_UID; STATX_GID; STATX_ATIME; STATX_MTIME; STATX_CTIME;
4840 STATX_INO; STATX_SIZE; STATX_BLOCKS; STATX_BASIC_STATS; STATX_BTIME; STATX_ALL;
4841 STATX_ATTR_COMPRESSED; STATX_ATTR_IMMUTABLE; STATX_ATTR_APPEND; STATX_ATTR_NODUMP; STATX_ATTR_ENCRYPTED;
4842 return 0;
4843}
4844
4845_ACEOF
4846if ac_fn_c_try_link "$LINENO"; then :
4847 ac_cv_statx=yes
4848else
4849 ac_cv_statx=no
4850fi
4851rm -f core conftest.err conftest.$ac_objext \
4852 conftest$ac_exeext conftest.$ac_ext
4853fi
4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_statx" >&5
4855$as_echo "$ac_cv_statx" >&6; }
4856test $ac_cv_statx = yes &&
4857$as_echo "#define HAVE_STATX 1" >>confdefs.h
4858
4859
4860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept4" >&5
4861$as_echo_n "checking for accept4... " >&6; }
4862if ${ac_cv_accept4+:} false; then :
4863 $as_echo_n "(cached) " >&6
4864else
4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4866/* end confdefs.h. */
4867
4868#include <sys/types.h>
4869#include <sys/socket.h>
4870int main (void)
4871{
4872 int res;
4873 res = accept4 (1, (struct sockaddr *)0, (socklen_t)0, SOCK_NONBLOCK | SOCK_CLOEXEC);
4874 return 0;
4875}
4876
4877_ACEOF
4878if ac_fn_c_try_link "$LINENO"; then :
4879 ac_cv_accept4=yes
4880else
4881 ac_cv_accept4=no
4882fi
4883rm -f core conftest.err conftest.$ac_objext \
4884 conftest$ac_exeext conftest.$ac_ext
4885fi
4886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_accept4" >&5
4887$as_echo "$ac_cv_accept4" >&6; }
4888test $ac_cv_accept4 = yes &&
4889$as_echo "#define HAVE_ACCEPT4 1" >>confdefs.h
4285 4890
4286 4891
4287cat >confcache <<\_ACEOF 4892cat >confcache <<\_ACEOF
4288# This file is a shell script that caches the results of configure 4893# This file is a shell script that caches the results of configure
4289# tests run on this system so they can be shared between configure 4894# tests run on this system so they can be shared between configure
4346 t end 4951 t end
4347 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4952 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4348 :end' >>confcache 4953 :end' >>confcache
4349if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4954if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4350 if test -w "$cache_file"; then 4955 if test -w "$cache_file"; then
4351 test "x$cache_file" != "x/dev/null" && 4956 if test "x$cache_file" != "x/dev/null"; then
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4957 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4353$as_echo "$as_me: updating cache $cache_file" >&6;} 4958$as_echo "$as_me: updating cache $cache_file" >&6;}
4959 if test ! -f "$cache_file" || test -h "$cache_file"; then
4354 cat confcache >$cache_file 4960 cat confcache >"$cache_file"
4961 else
4962 case $cache_file in #(
4963 */* | ?:*)
4964 mv -f confcache "$cache_file"$$ &&
4965 mv -f "$cache_file"$$ "$cache_file" ;; #(
4966 *)
4967 mv -f confcache "$cache_file" ;;
4968 esac
4969 fi
4970 fi
4355 else 4971 else
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4357$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4973$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4358 fi 4974 fi
4359fi 4975fi
4381 4997
4382LTLIBOBJS=$ac_ltlibobjs 4998LTLIBOBJS=$ac_ltlibobjs
4383 4999
4384 5000
4385 5001
4386: ${CONFIG_STATUS=./config.status} 5002: "${CONFIG_STATUS=./config.status}"
4387ac_write_fail=0 5003ac_write_fail=0
4388ac_clean_files_save=$ac_clean_files 5004ac_clean_files_save=$ac_clean_files
4389ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5005ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5006{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4391$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5007$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4482# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5098# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4483# splitting by setting IFS to empty value.) 5099# splitting by setting IFS to empty value.)
4484IFS=" "" $as_nl" 5100IFS=" "" $as_nl"
4485 5101
4486# Find who we are. Look in the path if we contain no directory separator. 5102# Find who we are. Look in the path if we contain no directory separator.
5103as_myself=
4487case $0 in #(( 5104case $0 in #((
4488 *[\\/]* ) as_myself=$0 ;; 5105 *[\\/]* ) as_myself=$0 ;;
4489 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490for as_dir in $PATH 5107for as_dir in $PATH
4491do 5108do
4677 if ln -s conf$$.file conf$$ 2>/dev/null; then 5294 if ln -s conf$$.file conf$$ 2>/dev/null; then
4678 as_ln_s='ln -s' 5295 as_ln_s='ln -s'
4679 # ... but there are two gotchas: 5296 # ... but there are two gotchas:
4680 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5297 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4681 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5298 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4682 # In both cases, we have to default to `cp -p'. 5299 # In both cases, we have to default to `cp -pR'.
4683 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5300 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4684 as_ln_s='cp -p' 5301 as_ln_s='cp -pR'
4685 elif ln conf$$.file conf$$ 2>/dev/null; then 5302 elif ln conf$$.file conf$$ 2>/dev/null; then
4686 as_ln_s=ln 5303 as_ln_s=ln
4687 else 5304 else
4688 as_ln_s='cp -p' 5305 as_ln_s='cp -pR'
4689 fi 5306 fi
4690else 5307else
4691 as_ln_s='cp -p' 5308 as_ln_s='cp -pR'
4692fi 5309fi
4693rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5310rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4694rmdir conf$$.dir 2>/dev/null 5311rmdir conf$$.dir 2>/dev/null
4695 5312
4696 5313
4746else 5363else
4747 test -d ./-p && rmdir ./-p 5364 test -d ./-p && rmdir ./-p
4748 as_mkdir_p=false 5365 as_mkdir_p=false
4749fi 5366fi
4750 5367
4751if test -x / >/dev/null 2>&1; then 5368
5369# as_fn_executable_p FILE
5370# -----------------------
5371# Test if FILE is an executable regular file.
5372as_fn_executable_p ()
5373{
5374 test -f "$1" && test -x "$1"
5375} # as_fn_executable_p
4752 as_test_x='test -x' 5376as_test_x='test -x'
4753else 5377as_executable_p=as_fn_executable_p
4754 if ls -dL / >/dev/null 2>&1; then
4755 as_ls_L_option=L
4756 else
4757 as_ls_L_option=
4758 fi
4759 as_test_x='
4760 eval sh -c '\''
4761 if test -d "$1"; then
4762 test -d "$1/.";
4763 else
4764 case $1 in #(
4765 -*)set "./$1";;
4766 esac;
4767 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4768 ???[sx]*):;;*)false;;esac;fi
4769 '\'' sh
4770 '
4771fi
4772as_executable_p=$as_test_x
4773 5378
4774# Sed expression to map a string onto a valid CPP name. 5379# Sed expression to map a string onto a valid CPP name.
4775as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5380as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4776 5381
4777# Sed expression to map a string onto a valid variable name. 5382# Sed expression to map a string onto a valid variable name.
4789# Save the log message, to keep $0 and so on meaningful, and to 5394# Save the log message, to keep $0 and so on meaningful, and to
4790# report actual input values of CONFIG_FILES etc. instead of their 5395# report actual input values of CONFIG_FILES etc. instead of their
4791# values after options handling. 5396# values after options handling.
4792ac_log=" 5397ac_log="
4793This file was extended by $as_me, which was 5398This file was extended by $as_me, which was
4794generated by GNU Autoconf 2.67. Invocation command line was 5399generated by GNU Autoconf 2.69. Invocation command line was
4795 5400
4796 CONFIG_FILES = $CONFIG_FILES 5401 CONFIG_FILES = $CONFIG_FILES
4797 CONFIG_HEADERS = $CONFIG_HEADERS 5402 CONFIG_HEADERS = $CONFIG_HEADERS
4798 CONFIG_LINKS = $CONFIG_LINKS 5403 CONFIG_LINKS = $CONFIG_LINKS
4799 CONFIG_COMMANDS = $CONFIG_COMMANDS 5404 CONFIG_COMMANDS = $CONFIG_COMMANDS
4842_ACEOF 5447_ACEOF
4843cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5448cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4844ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5449ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4845ac_cs_version="\\ 5450ac_cs_version="\\
4846config.status 5451config.status
4847configured by $0, generated by GNU Autoconf 2.67, 5452configured by $0, generated by GNU Autoconf 2.69,
4848 with options \\"\$ac_cs_config\\" 5453 with options \\"\$ac_cs_config\\"
4849 5454
4850Copyright (C) 2010 Free Software Foundation, Inc. 5455Copyright (C) 2012 Free Software Foundation, Inc.
4851This config.status script is free software; the Free Software Foundation 5456This config.status script is free software; the Free Software Foundation
4852gives unlimited permission to copy, distribute and modify it." 5457gives unlimited permission to copy, distribute and modify it."
4853 5458
4854ac_pwd='$ac_pwd' 5459ac_pwd='$ac_pwd'
4855srcdir='$srcdir' 5460srcdir='$srcdir'
4925fi 5530fi
4926 5531
4927_ACEOF 5532_ACEOF
4928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5533cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4929if \$ac_cs_recheck; then 5534if \$ac_cs_recheck; then
4930 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5535 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4931 shift 5536 shift
4932 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5537 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4933 CONFIG_SHELL='$SHELL' 5538 CONFIG_SHELL='$SHELL'
4934 export CONFIG_SHELL 5539 export CONFIG_SHELL
4935 exec "\$@" 5540 exec "\$@"
4954 5559
4955# Handling of arguments. 5560# Handling of arguments.
4956for ac_config_target in $ac_config_targets 5561for ac_config_target in $ac_config_targets
4957do 5562do
4958 case $ac_config_target in 5563 case $ac_config_target in
4959 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; 5564 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4960 5565
4961 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 5566 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4962 esac 5567 esac
4963done 5568done
4964 5569
4965 5570
4966# If the user did not use the arguments to specify the items to instantiate, 5571# If the user did not use the arguments to specify the items to instantiate,
4977# Hook for its removal unless debugging. 5582# Hook for its removal unless debugging.
4978# Note that there is a small window in which the directory will not be cleaned: 5583# Note that there is a small window in which the directory will not be cleaned:
4979# after its creation but before its name has been assigned to `$tmp'. 5584# after its creation but before its name has been assigned to `$tmp'.
4980$debug || 5585$debug ||
4981{ 5586{
4982 tmp= 5587 tmp= ac_tmp=
4983 trap 'exit_status=$? 5588 trap 'exit_status=$?
5589 : "${ac_tmp:=$tmp}"
4984 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5590 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4985' 0 5591' 0
4986 trap 'as_fn_exit 1' 1 2 13 15 5592 trap 'as_fn_exit 1' 1 2 13 15
4987} 5593}
4988# Create a (secure) tmp directory for tmp files. 5594# Create a (secure) tmp directory for tmp files.
4989 5595
4990{ 5596{
4991 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5597 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4992 test -n "$tmp" && test -d "$tmp" 5598 test -d "$tmp"
4993} || 5599} ||
4994{ 5600{
4995 tmp=./conf$$-$RANDOM 5601 tmp=./conf$$-$RANDOM
4996 (umask 077 && mkdir "$tmp") 5602 (umask 077 && mkdir "$tmp")
4997} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5603} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5604ac_tmp=$tmp
4998 5605
4999# Set up the scripts for CONFIG_HEADERS section. 5606# Set up the scripts for CONFIG_HEADERS section.
5000# No need to generate them if there are no CONFIG_HEADERS. 5607# No need to generate them if there are no CONFIG_HEADERS.
5001# This happens for instance with `./config.status Makefile'. 5608# This happens for instance with `./config.status Makefile'.
5002if test -n "$CONFIG_HEADERS"; then 5609if test -n "$CONFIG_HEADERS"; then
5003cat >"$tmp/defines.awk" <<\_ACAWK || 5610cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5004BEGIN { 5611BEGIN {
5005_ACEOF 5612_ACEOF
5006 5613
5007# Transform confdefs.h into an awk script `defines.awk', embedded as 5614# Transform confdefs.h into an awk script `defines.awk', embedded as
5008# here-document in config.status, that substitutes the proper values into 5615# here-document in config.status, that substitutes the proper values into
5010 5617
5011# Create a delimiter string that does not exist in confdefs.h, to ease 5618# Create a delimiter string that does not exist in confdefs.h, to ease
5012# handling of long lines. 5619# handling of long lines.
5013ac_delim='%!_!# ' 5620ac_delim='%!_!# '
5014for ac_last_try in false false :; do 5621for ac_last_try in false false :; do
5015 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 5622 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5016 if test -z "$ac_t"; then 5623 if test -z "$ac_tt"; then
5017 break 5624 break
5018 elif $ac_last_try; then 5625 elif $ac_last_try; then
5019 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5626 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5020 else 5627 else
5021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5628 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5112 case $ac_tag in 5719 case $ac_tag in
5113 :[FHLC]) ac_mode=$ac_tag; continue;; 5720 :[FHLC]) ac_mode=$ac_tag; continue;;
5114 esac 5721 esac
5115 case $ac_mode$ac_tag in 5722 case $ac_mode$ac_tag in
5116 :[FHL]*:*);; 5723 :[FHL]*:*);;
5117 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 5724 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5118 :[FH]-) ac_tag=-:-;; 5725 :[FH]-) ac_tag=-:-;;
5119 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5726 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5120 esac 5727 esac
5121 ac_save_IFS=$IFS 5728 ac_save_IFS=$IFS
5122 IFS=: 5729 IFS=:
5131 :[FH]) 5738 :[FH])
5132 ac_file_inputs= 5739 ac_file_inputs=
5133 for ac_f 5740 for ac_f
5134 do 5741 do
5135 case $ac_f in 5742 case $ac_f in
5136 -) ac_f="$tmp/stdin";; 5743 -) ac_f="$ac_tmp/stdin";;
5137 *) # Look for the file first in the build tree, then in the source tree 5744 *) # Look for the file first in the build tree, then in the source tree
5138 # (if the path is not absolute). The absolute path cannot be DOS-style, 5745 # (if the path is not absolute). The absolute path cannot be DOS-style,
5139 # because $ac_f cannot contain `:'. 5746 # because $ac_f cannot contain `:'.
5140 test -f "$ac_f" || 5747 test -f "$ac_f" ||
5141 case $ac_f in 5748 case $ac_f in
5142 [\\/$]*) false;; 5749 [\\/$]*) false;;
5143 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5750 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5144 esac || 5751 esac ||
5145 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 5752 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5146 esac 5753 esac
5147 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5754 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5148 as_fn_append ac_file_inputs " '$ac_f'" 5755 as_fn_append ac_file_inputs " '$ac_f'"
5149 done 5756 done
5150 5757
5166 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5773 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5167 *) ac_sed_conf_input=$configure_input;; 5774 *) ac_sed_conf_input=$configure_input;;
5168 esac 5775 esac
5169 5776
5170 case $ac_tag in 5777 case $ac_tag in
5171 *:-:* | *:-) cat >"$tmp/stdin" \ 5778 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5779 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5173 esac 5780 esac
5174 ;; 5781 ;;
5175 esac 5782 esac
5176 5783
5177 ac_dir=`$as_dirname -- "$ac_file" || 5784 ac_dir=`$as_dirname -- "$ac_file" ||
5240 # CONFIG_HEADER 5847 # CONFIG_HEADER
5241 # 5848 #
5242 if test x"$ac_file" != x-; then 5849 if test x"$ac_file" != x-; then
5243 { 5850 {
5244 $as_echo "/* $configure_input */" \ 5851 $as_echo "/* $configure_input */" \
5245 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 5852 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5246 } >"$tmp/config.h" \ 5853 } >"$ac_tmp/config.h" \
5247 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5248 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 5855 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5856 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5250$as_echo "$as_me: $ac_file is unchanged" >&6;} 5857$as_echo "$as_me: $ac_file is unchanged" >&6;}
5251 else 5858 else
5252 rm -f "$ac_file" 5859 rm -f "$ac_file"
5253 mv "$tmp/config.h" "$ac_file" \ 5860 mv "$ac_tmp/config.h" "$ac_file" \
5254 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5255 fi 5862 fi
5256 else 5863 else
5257 $as_echo "/* $configure_input */" \ 5864 $as_echo "/* $configure_input */" \
5258 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 5865 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5259 || as_fn_error $? "could not create -" "$LINENO" 5 5866 || as_fn_error $? "could not create -" "$LINENO" 5
5260 fi 5867 fi
5261 ;; 5868 ;;
5262 5869
5263 5870
5297if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5904if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5299$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5906$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5300fi 5907fi
5301 5908
5909

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines