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

Comparing IO-AIO/configure (file contents):
Revision 1.14 by root, Fri Apr 6 11:39:25 2012 UTC vs.
Revision 1.28 by root, Sun Mar 10 12:11:46 2019 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"
2024
1986 2025
1987 2026
1988ac_ext=c 2027ac_ext=c
1989ac_cpp='$CPP $CPPFLAGS' 2028ac_cpp='$CPP $CPPFLAGS'
1990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1993if test -n "$ac_tool_prefix"; then 2032if test -n "$ac_tool_prefix"; then
1994 # 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.
1995set dummy ${ac_tool_prefix}gcc; ac_word=$2 2034set dummy ${ac_tool_prefix}gcc; ac_word=$2
1996{ $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
1997$as_echo_n "checking for $ac_word... " >&6; } 2036$as_echo_n "checking for $ac_word... " >&6; }
1998if test "${ac_cv_prog_CC+set}" = set; then : 2037if ${ac_cv_prog_CC+:} false; then :
1999 $as_echo_n "(cached) " >&6 2038 $as_echo_n "(cached) " >&6
2000else 2039else
2001 if test -n "$CC"; then 2040 if test -n "$CC"; then
2002 ac_cv_prog_CC="$CC" # Let the user override the test. 2041 ac_cv_prog_CC="$CC" # Let the user override the test.
2003else 2042else
2005for as_dir in $PATH 2044for as_dir in $PATH
2006do 2045do
2007 IFS=$as_save_IFS 2046 IFS=$as_save_IFS
2008 test -z "$as_dir" && as_dir=. 2047 test -z "$as_dir" && as_dir=.
2009 for ac_exec_ext in '' $ac_executable_extensions; do 2048 for ac_exec_ext in '' $ac_executable_extensions; do
2010 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
2011 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2050 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2012 $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
2013 break 2 2052 break 2
2014 fi 2053 fi
2015done 2054done
2033 ac_ct_CC=$CC 2072 ac_ct_CC=$CC
2034 # 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.
2035set dummy gcc; ac_word=$2 2074set dummy gcc; ac_word=$2
2036{ $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
2037$as_echo_n "checking for $ac_word... " >&6; } 2076$as_echo_n "checking for $ac_word... " >&6; }
2038if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2077if ${ac_cv_prog_ac_ct_CC+:} false; then :
2039 $as_echo_n "(cached) " >&6 2078 $as_echo_n "(cached) " >&6
2040else 2079else
2041 if test -n "$ac_ct_CC"; then 2080 if test -n "$ac_ct_CC"; then
2042 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.
2043else 2082else
2045for as_dir in $PATH 2084for as_dir in $PATH
2046do 2085do
2047 IFS=$as_save_IFS 2086 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=. 2087 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do 2088 for ac_exec_ext in '' $ac_executable_extensions; do
2050 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
2051 ac_cv_prog_ac_ct_CC="gcc" 2090 ac_cv_prog_ac_ct_CC="gcc"
2052 $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
2053 break 2 2092 break 2
2054 fi 2093 fi
2055done 2094done
2086 if test -n "$ac_tool_prefix"; then 2125 if test -n "$ac_tool_prefix"; then
2087 # 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.
2088set dummy ${ac_tool_prefix}cc; ac_word=$2 2127set dummy ${ac_tool_prefix}cc; ac_word=$2
2089{ $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
2090$as_echo_n "checking for $ac_word... " >&6; } 2129$as_echo_n "checking for $ac_word... " >&6; }
2091if test "${ac_cv_prog_CC+set}" = set; then : 2130if ${ac_cv_prog_CC+:} false; then :
2092 $as_echo_n "(cached) " >&6 2131 $as_echo_n "(cached) " >&6
2093else 2132else
2094 if test -n "$CC"; then 2133 if test -n "$CC"; then
2095 ac_cv_prog_CC="$CC" # Let the user override the test. 2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2096else 2135else
2098for as_dir in $PATH 2137for as_dir in $PATH
2099do 2138do
2100 IFS=$as_save_IFS 2139 IFS=$as_save_IFS
2101 test -z "$as_dir" && as_dir=. 2140 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do 2141 for ac_exec_ext in '' $ac_executable_extensions; do
2103 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
2104 ac_cv_prog_CC="${ac_tool_prefix}cc" 2143 ac_cv_prog_CC="${ac_tool_prefix}cc"
2105 $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
2106 break 2 2145 break 2
2107 fi 2146 fi
2108done 2147done
2126if test -z "$CC"; then 2165if test -z "$CC"; then
2127 # 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.
2128set dummy cc; ac_word=$2 2167set dummy cc; ac_word=$2
2129{ $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
2130$as_echo_n "checking for $ac_word... " >&6; } 2169$as_echo_n "checking for $ac_word... " >&6; }
2131if test "${ac_cv_prog_CC+set}" = set; then : 2170if ${ac_cv_prog_CC+:} false; then :
2132 $as_echo_n "(cached) " >&6 2171 $as_echo_n "(cached) " >&6
2133else 2172else
2134 if test -n "$CC"; then 2173 if test -n "$CC"; then
2135 ac_cv_prog_CC="$CC" # Let the user override the test. 2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2136else 2175else
2139for as_dir in $PATH 2178for as_dir in $PATH
2140do 2179do
2141 IFS=$as_save_IFS 2180 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=. 2181 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do 2182 for ac_exec_ext in '' $ac_executable_extensions; do
2144 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
2145 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
2146 ac_prog_rejected=yes 2185 ac_prog_rejected=yes
2147 continue 2186 continue
2148 fi 2187 fi
2149 ac_cv_prog_CC="cc" 2188 ac_cv_prog_CC="cc"
2185 do 2224 do
2186 # 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.
2187set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2226set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2188{ $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
2189$as_echo_n "checking for $ac_word... " >&6; } 2228$as_echo_n "checking for $ac_word... " >&6; }
2190if test "${ac_cv_prog_CC+set}" = set; then : 2229if ${ac_cv_prog_CC+:} false; then :
2191 $as_echo_n "(cached) " >&6 2230 $as_echo_n "(cached) " >&6
2192else 2231else
2193 if test -n "$CC"; then 2232 if test -n "$CC"; then
2194 ac_cv_prog_CC="$CC" # Let the user override the test. 2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2195else 2234else
2197for as_dir in $PATH 2236for as_dir in $PATH
2198do 2237do
2199 IFS=$as_save_IFS 2238 IFS=$as_save_IFS
2200 test -z "$as_dir" && as_dir=. 2239 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do 2240 for ac_exec_ext in '' $ac_executable_extensions; do
2202 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
2203 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2204 $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
2205 break 2 2244 break 2
2206 fi 2245 fi
2207done 2246done
2229do 2268do
2230 # 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.
2231set dummy $ac_prog; ac_word=$2 2270set dummy $ac_prog; ac_word=$2
2232{ $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
2233$as_echo_n "checking for $ac_word... " >&6; } 2272$as_echo_n "checking for $ac_word... " >&6; }
2234if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2273if ${ac_cv_prog_ac_ct_CC+:} false; then :
2235 $as_echo_n "(cached) " >&6 2274 $as_echo_n "(cached) " >&6
2236else 2275else
2237 if test -n "$ac_ct_CC"; then 2276 if test -n "$ac_ct_CC"; then
2238 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.
2239else 2278else
2241for as_dir in $PATH 2280for as_dir in $PATH
2242do 2281do
2243 IFS=$as_save_IFS 2282 IFS=$as_save_IFS
2244 test -z "$as_dir" && as_dir=. 2283 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do 2284 for ac_exec_ext in '' $ac_executable_extensions; do
2246 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
2247 ac_cv_prog_ac_ct_CC="$ac_prog" 2286 ac_cv_prog_ac_ct_CC="$ac_prog"
2248 $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
2249 break 2 2288 break 2
2250 fi 2289 fi
2251done 2290done
2284 2323
2285 2324
2286test -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
2287$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288as_fn_error $? "no acceptable C compiler found in \$PATH 2327as_fn_error $? "no acceptable C compiler found in \$PATH
2289See \`config.log' for more details" "$LINENO" 5 ; } 2328See \`config.log' for more details" "$LINENO" 5; }
2290 2329
2291# Provide some information about the compiler. 2330# Provide some information about the compiler.
2292$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
2293set X $ac_compile 2332set X $ac_compile
2294ac_compiler=$2 2333ac_compiler=$2
2399sed 's/^/| /' conftest.$ac_ext >&5 2438sed 's/^/| /' conftest.$ac_ext >&5
2400 2439
2401{ { $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
2402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2441$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403as_fn_error 77 "C compiler cannot create executables 2442as_fn_error 77 "C compiler cannot create executables
2404See \`config.log' for more details" "$LINENO" 5 ; } 2443See \`config.log' for more details" "$LINENO" 5; }
2405else 2444else
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2407$as_echo "yes" >&6; } 2446$as_echo "yes" >&6; }
2408fi 2447fi
2409{ $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
2442done 2481done
2443else 2482else
2444 { { $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
2445$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2484$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2446as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2485as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2447See \`config.log' for more details" "$LINENO" 5 ; } 2486See \`config.log' for more details" "$LINENO" 5; }
2448fi 2487fi
2449rm -f conftest conftest$ac_cv_exeext 2488rm -f conftest conftest$ac_cv_exeext
2450{ $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
2451$as_echo "$ac_cv_exeext" >&6; } 2490$as_echo "$ac_cv_exeext" >&6; }
2452 2491
2501 else 2540 else
2502 { { $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
2503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2504as_fn_error $? "cannot run C compiled programs. 2543as_fn_error $? "cannot run C compiled programs.
2505If you meant to cross compile, use \`--host'. 2544If you meant to cross compile, use \`--host'.
2506See \`config.log' for more details" "$LINENO" 5 ; } 2545See \`config.log' for more details" "$LINENO" 5; }
2507 fi 2546 fi
2508 fi 2547 fi
2509fi 2548fi
2510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2511$as_echo "$cross_compiling" >&6; } 2550$as_echo "$cross_compiling" >&6; }
2512 2551
2513rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2552rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2514ac_clean_files=$ac_clean_files_save 2553ac_clean_files=$ac_clean_files_save
2515{ $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
2516$as_echo_n "checking for suffix of object files... " >&6; } 2555$as_echo_n "checking for suffix of object files... " >&6; }
2517if test "${ac_cv_objext+set}" = set; then : 2556if ${ac_cv_objext+:} false; then :
2518 $as_echo_n "(cached) " >&6 2557 $as_echo_n "(cached) " >&6
2519else 2558else
2520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2521/* end confdefs.h. */ 2560/* end confdefs.h. */
2522 2561
2553sed 's/^/| /' conftest.$ac_ext >&5 2592sed 's/^/| /' conftest.$ac_ext >&5
2554 2593
2555{ { $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
2556$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2595$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2557as_fn_error $? "cannot compute suffix of object files: cannot compile 2596as_fn_error $? "cannot compute suffix of object files: cannot compile
2558See \`config.log' for more details" "$LINENO" 5 ; } 2597See \`config.log' for more details" "$LINENO" 5; }
2559fi 2598fi
2560rm -f conftest.$ac_cv_objext conftest.$ac_ext 2599rm -f conftest.$ac_cv_objext conftest.$ac_ext
2561fi 2600fi
2562{ $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
2563$as_echo "$ac_cv_objext" >&6; } 2602$as_echo "$ac_cv_objext" >&6; }
2564OBJEXT=$ac_cv_objext 2603OBJEXT=$ac_cv_objext
2565ac_objext=$OBJEXT 2604ac_objext=$OBJEXT
2566{ $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
2567$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; }
2568if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2607if ${ac_cv_c_compiler_gnu+:} false; then :
2569 $as_echo_n "(cached) " >&6 2608 $as_echo_n "(cached) " >&6
2570else 2609else
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572/* end confdefs.h. */ 2611/* end confdefs.h. */
2573 2612
2600fi 2639fi
2601ac_test_CFLAGS=${CFLAGS+set} 2640ac_test_CFLAGS=${CFLAGS+set}
2602ac_save_CFLAGS=$CFLAGS 2641ac_save_CFLAGS=$CFLAGS
2603{ $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
2604$as_echo_n "checking whether $CC accepts -g... " >&6; } 2643$as_echo_n "checking whether $CC accepts -g... " >&6; }
2605if test "${ac_cv_prog_cc_g+set}" = set; then : 2644if ${ac_cv_prog_cc_g+:} false; then :
2606 $as_echo_n "(cached) " >&6 2645 $as_echo_n "(cached) " >&6
2607else 2646else
2608 ac_save_c_werror_flag=$ac_c_werror_flag 2647 ac_save_c_werror_flag=$ac_c_werror_flag
2609 ac_c_werror_flag=yes 2648 ac_c_werror_flag=yes
2610 ac_cv_prog_cc_g=no 2649 ac_cv_prog_cc_g=no
2678 CFLAGS= 2717 CFLAGS=
2679 fi 2718 fi
2680fi 2719fi
2681{ $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
2682$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; }
2683if test "${ac_cv_prog_cc_c89+set}" = set; then : 2722if ${ac_cv_prog_cc_c89+:} false; then :
2684 $as_echo_n "(cached) " >&6 2723 $as_echo_n "(cached) " >&6
2685else 2724else
2686 ac_cv_prog_cc_c89=no 2725 ac_cv_prog_cc_c89=no
2687ac_save_CC=$CC 2726ac_save_CC=$CC
2688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689/* end confdefs.h. */ 2728/* end confdefs.h. */
2690#include <stdarg.h> 2729#include <stdarg.h>
2691#include <stdio.h> 2730#include <stdio.h>
2692#include <sys/types.h> 2731struct stat;
2693#include <sys/stat.h>
2694/* 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. */
2695struct buf { int x; }; 2733struct buf { int x; };
2696FILE * (*rcsopen) (struct buf *, struct stat *, int); 2734FILE * (*rcsopen) (struct buf *, struct stat *, int);
2697static char *e (p, i) 2735static char *e (p, i)
2698 char **p; 2736 char **p;
2774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2776ac_compiler_gnu=$ac_cv_c_compiler_gnu 2814ac_compiler_gnu=$ac_cv_c_compiler_gnu
2777 2815
2778 2816
2779
2780ac_ext=c 2817ac_ext=c
2781ac_cpp='$CPP $CPPFLAGS' 2818ac_cpp='$CPP $CPPFLAGS'
2782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2784ac_compiler_gnu=$ac_cv_c_compiler_gnu 2821ac_compiler_gnu=$ac_cv_c_compiler_gnu
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>
3172fi 3209fi
3173 3210
3174done 3211done
3175 3212
3176 3213
3177for ac_header in linux/fs.h linux/fiemap.h
3178do :
3179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3180ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3181if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3182 cat >>confdefs.h <<_ACEOF
3183#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3184_ACEOF
3185 3214
3215 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3216if test "x$ac_cv_header_minix_config_h" = xyes; then :
3217 MINIX=yes
3218else
3219 MINIX=
3186fi 3220fi
3187 3221
3222
3223 if test "$MINIX" = yes; then
3224
3225$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3226
3227
3228$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3229
3230
3231$as_echo "#define _MINIX 1" >>confdefs.h
3232
3233 fi
3234
3235
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3237$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3238if ${ac_cv_safe_to_define___extensions__+:} false; then :
3239 $as_echo_n "(cached) " >&6
3240else
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242/* end confdefs.h. */
3243
3244# define __EXTENSIONS__ 1
3245 $ac_includes_default
3246int
3247main ()
3248{
3249
3250 ;
3251 return 0;
3252}
3253_ACEOF
3254if ac_fn_c_try_compile "$LINENO"; then :
3255 ac_cv_safe_to_define___extensions__=yes
3256else
3257 ac_cv_safe_to_define___extensions__=no
3258fi
3259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260fi
3261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3262$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3263 test $ac_cv_safe_to_define___extensions__ = yes &&
3264 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3265
3266 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3267
3268 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3269
3270 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3271
3272 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3273
3274
3275
3276ac_ext=c
3277ac_cpp='$CPP $CPPFLAGS'
3278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281if test -n "$ac_tool_prefix"; then
3282 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3283set dummy ${ac_tool_prefix}gcc; ac_word=$2
3284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285$as_echo_n "checking for $ac_word... " >&6; }
3286if ${ac_cv_prog_CC+:} false; then :
3287 $as_echo_n "(cached) " >&6
3288else
3289 if test -n "$CC"; then
3290 ac_cv_prog_CC="$CC" # Let the user override the test.
3291else
3292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293for as_dir in $PATH
3294do
3295 IFS=$as_save_IFS
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3299 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 break 2
3302 fi
3188done 3303done
3304 done
3305IFS=$as_save_IFS
3306
3307fi
3308fi
3309CC=$ac_cv_prog_CC
3310if test -n "$CC"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3312$as_echo "$CC" >&6; }
3313else
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315$as_echo "no" >&6; }
3316fi
3317
3318
3319fi
3320if test -z "$ac_cv_prog_CC"; then
3321 ac_ct_CC=$CC
3322 # Extract the first word of "gcc", so it can be a program name with args.
3323set dummy gcc; ac_word=$2
3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3325$as_echo_n "checking for $ac_word... " >&6; }
3326if ${ac_cv_prog_ac_ct_CC+:} false; then :
3327 $as_echo_n "(cached) " >&6
3328else
3329 if test -n "$ac_ct_CC"; then
3330 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3331else
3332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333for as_dir in $PATH
3334do
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339 ac_cv_prog_ac_ct_CC="gcc"
3340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 break 2
3342 fi
3343done
3344 done
3345IFS=$as_save_IFS
3346
3347fi
3348fi
3349ac_ct_CC=$ac_cv_prog_ac_ct_CC
3350if test -n "$ac_ct_CC"; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3352$as_echo "$ac_ct_CC" >&6; }
3353else
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3355$as_echo "no" >&6; }
3356fi
3357
3358 if test "x$ac_ct_CC" = x; then
3359 CC=""
3360 else
3361 case $cross_compiling:$ac_tool_warned in
3362yes:)
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3364$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3365ac_tool_warned=yes ;;
3366esac
3367 CC=$ac_ct_CC
3368 fi
3369else
3370 CC="$ac_cv_prog_CC"
3371fi
3372
3373if test -z "$CC"; then
3374 if test -n "$ac_tool_prefix"; then
3375 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3376set dummy ${ac_tool_prefix}cc; ac_word=$2
3377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378$as_echo_n "checking for $ac_word... " >&6; }
3379if ${ac_cv_prog_CC+:} false; then :
3380 $as_echo_n "(cached) " >&6
3381else
3382 if test -n "$CC"; then
3383 ac_cv_prog_CC="$CC" # Let the user override the test.
3384else
3385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386for as_dir in $PATH
3387do
3388 IFS=$as_save_IFS
3389 test -z "$as_dir" && as_dir=.
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3392 ac_cv_prog_CC="${ac_tool_prefix}cc"
3393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 break 2
3395 fi
3396done
3397 done
3398IFS=$as_save_IFS
3399
3400fi
3401fi
3402CC=$ac_cv_prog_CC
3403if test -n "$CC"; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3405$as_echo "$CC" >&6; }
3406else
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408$as_echo "no" >&6; }
3409fi
3410
3411
3412 fi
3413fi
3414if test -z "$CC"; then
3415 # Extract the first word of "cc", so it can be a program name with args.
3416set dummy cc; ac_word=$2
3417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418$as_echo_n "checking for $ac_word... " >&6; }
3419if ${ac_cv_prog_CC+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421else
3422 if test -n "$CC"; then
3423 ac_cv_prog_CC="$CC" # Let the user override the test.
3424else
3425 ac_prog_rejected=no
3426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427for as_dir in $PATH
3428do
3429 IFS=$as_save_IFS
3430 test -z "$as_dir" && as_dir=.
3431 for ac_exec_ext in '' $ac_executable_extensions; do
3432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3434 ac_prog_rejected=yes
3435 continue
3436 fi
3437 ac_cv_prog_CC="cc"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 break 2
3440 fi
3441done
3442 done
3443IFS=$as_save_IFS
3444
3445if test $ac_prog_rejected = yes; then
3446 # We found a bogon in the path, so make sure we never use it.
3447 set dummy $ac_cv_prog_CC
3448 shift
3449 if test $# != 0; then
3450 # We chose a different compiler from the bogus one.
3451 # However, it has the same basename, so the bogon will be chosen
3452 # first if we set CC to just the basename; use the full file name.
3453 shift
3454 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3455 fi
3456fi
3457fi
3458fi
3459CC=$ac_cv_prog_CC
3460if test -n "$CC"; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3462$as_echo "$CC" >&6; }
3463else
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465$as_echo "no" >&6; }
3466fi
3467
3468
3469fi
3470if test -z "$CC"; then
3471 if test -n "$ac_tool_prefix"; then
3472 for ac_prog in cl.exe
3473 do
3474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3475set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477$as_echo_n "checking for $ac_word... " >&6; }
3478if ${ac_cv_prog_CC+:} false; then :
3479 $as_echo_n "(cached) " >&6
3480else
3481 if test -n "$CC"; then
3482 ac_cv_prog_CC="$CC" # Let the user override the test.
3483else
3484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485for as_dir in $PATH
3486do
3487 IFS=$as_save_IFS
3488 test -z "$as_dir" && as_dir=.
3489 for ac_exec_ext in '' $ac_executable_extensions; do
3490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 break 2
3494 fi
3495done
3496 done
3497IFS=$as_save_IFS
3498
3499fi
3500fi
3501CC=$ac_cv_prog_CC
3502if test -n "$CC"; then
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3504$as_echo "$CC" >&6; }
3505else
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3507$as_echo "no" >&6; }
3508fi
3509
3510
3511 test -n "$CC" && break
3512 done
3513fi
3514if test -z "$CC"; then
3515 ac_ct_CC=$CC
3516 for ac_prog in cl.exe
3517do
3518 # Extract the first word of "$ac_prog", so it can be a program name with args.
3519set dummy $ac_prog; ac_word=$2
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521$as_echo_n "checking for $ac_word... " >&6; }
3522if ${ac_cv_prog_ac_ct_CC+:} false; then :
3523 $as_echo_n "(cached) " >&6
3524else
3525 if test -n "$ac_ct_CC"; then
3526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3527else
3528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529for as_dir in $PATH
3530do
3531 IFS=$as_save_IFS
3532 test -z "$as_dir" && as_dir=.
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535 ac_cv_prog_ac_ct_CC="$ac_prog"
3536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 break 2
3538 fi
3539done
3540 done
3541IFS=$as_save_IFS
3542
3543fi
3544fi
3545ac_ct_CC=$ac_cv_prog_ac_ct_CC
3546if test -n "$ac_ct_CC"; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3548$as_echo "$ac_ct_CC" >&6; }
3549else
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551$as_echo "no" >&6; }
3552fi
3553
3554
3555 test -n "$ac_ct_CC" && break
3556done
3557
3558 if test "x$ac_ct_CC" = x; then
3559 CC=""
3560 else
3561 case $cross_compiling:$ac_tool_warned in
3562yes:)
3563{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3564$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3565ac_tool_warned=yes ;;
3566esac
3567 CC=$ac_ct_CC
3568 fi
3569fi
3570
3571fi
3572
3573
3574test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576as_fn_error $? "no acceptable C compiler found in \$PATH
3577See \`config.log' for more details" "$LINENO" 5; }
3578
3579# Provide some information about the compiler.
3580$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3581set X $ac_compile
3582ac_compiler=$2
3583for ac_option in --version -v -V -qversion; do
3584 { { ac_try="$ac_compiler $ac_option >&5"
3585case "(($ac_try" in
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3588esac
3589eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3590$as_echo "$ac_try_echo"; } >&5
3591 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3592 ac_status=$?
3593 if test -s conftest.err; then
3594 sed '10a\
3595... rest of stderr output deleted ...
3596 10q' conftest.err >conftest.er1
3597 cat conftest.er1 >&5
3598 fi
3599 rm -f conftest.er1 conftest.err
3600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601 test $ac_status = 0; }
3602done
3603
3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3605$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3606if ${ac_cv_c_compiler_gnu+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608else
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610/* end confdefs.h. */
3611
3612int
3613main ()
3614{
3615#ifndef __GNUC__
3616 choke me
3617#endif
3618
3619 ;
3620 return 0;
3621}
3622_ACEOF
3623if ac_fn_c_try_compile "$LINENO"; then :
3624 ac_compiler_gnu=yes
3625else
3626 ac_compiler_gnu=no
3627fi
3628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629ac_cv_c_compiler_gnu=$ac_compiler_gnu
3630
3631fi
3632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3633$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3634if test $ac_compiler_gnu = yes; then
3635 GCC=yes
3636else
3637 GCC=
3638fi
3639ac_test_CFLAGS=${CFLAGS+set}
3640ac_save_CFLAGS=$CFLAGS
3641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3642$as_echo_n "checking whether $CC accepts -g... " >&6; }
3643if ${ac_cv_prog_cc_g+:} false; then :
3644 $as_echo_n "(cached) " >&6
3645else
3646 ac_save_c_werror_flag=$ac_c_werror_flag
3647 ac_c_werror_flag=yes
3648 ac_cv_prog_cc_g=no
3649 CFLAGS="-g"
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651/* end confdefs.h. */
3652
3653int
3654main ()
3655{
3656
3657 ;
3658 return 0;
3659}
3660_ACEOF
3661if ac_fn_c_try_compile "$LINENO"; then :
3662 ac_cv_prog_cc_g=yes
3663else
3664 CFLAGS=""
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666/* end confdefs.h. */
3667
3668int
3669main ()
3670{
3671
3672 ;
3673 return 0;
3674}
3675_ACEOF
3676if ac_fn_c_try_compile "$LINENO"; then :
3677
3678else
3679 ac_c_werror_flag=$ac_save_c_werror_flag
3680 CFLAGS="-g"
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682/* end confdefs.h. */
3683
3684int
3685main ()
3686{
3687
3688 ;
3689 return 0;
3690}
3691_ACEOF
3692if ac_fn_c_try_compile "$LINENO"; then :
3693 ac_cv_prog_cc_g=yes
3694fi
3695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696fi
3697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3698fi
3699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 ac_c_werror_flag=$ac_save_c_werror_flag
3701fi
3702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3703$as_echo "$ac_cv_prog_cc_g" >&6; }
3704if test "$ac_test_CFLAGS" = set; then
3705 CFLAGS=$ac_save_CFLAGS
3706elif test $ac_cv_prog_cc_g = yes; then
3707 if test "$GCC" = yes; then
3708 CFLAGS="-g -O2"
3709 else
3710 CFLAGS="-g"
3711 fi
3712else
3713 if test "$GCC" = yes; then
3714 CFLAGS="-O2"
3715 else
3716 CFLAGS=
3717 fi
3718fi
3719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3720$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3721if ${ac_cv_prog_cc_c89+:} false; then :
3722 $as_echo_n "(cached) " >&6
3723else
3724 ac_cv_prog_cc_c89=no
3725ac_save_CC=$CC
3726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727/* end confdefs.h. */
3728#include <stdarg.h>
3729#include <stdio.h>
3730struct stat;
3731/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3732struct buf { int x; };
3733FILE * (*rcsopen) (struct buf *, struct stat *, int);
3734static char *e (p, i)
3735 char **p;
3736 int i;
3737{
3738 return p[i];
3739}
3740static char *f (char * (*g) (char **, int), char **p, ...)
3741{
3742 char *s;
3743 va_list v;
3744 va_start (v,p);
3745 s = g (p, va_arg (v,int));
3746 va_end (v);
3747 return s;
3748}
3749
3750/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3751 function prototypes and stuff, but not '\xHH' hex character constants.
3752 These don't provoke an error unfortunately, instead are silently treated
3753 as 'x'. The following induces an error, until -std is added to get
3754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3755 array size at least. It's necessary to write '\x00'==0 to get something
3756 that's true only with -std. */
3757int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3758
3759/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3760 inside strings and character constants. */
3761#define FOO(x) 'x'
3762int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3763
3764int test (int i, double x);
3765struct s1 {int (*f) (int a);};
3766struct s2 {int (*f) (double a);};
3767int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3768int argc;
3769char **argv;
3770int
3771main ()
3772{
3773return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3774 ;
3775 return 0;
3776}
3777_ACEOF
3778for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3780do
3781 CC="$ac_save_CC $ac_arg"
3782 if ac_fn_c_try_compile "$LINENO"; then :
3783 ac_cv_prog_cc_c89=$ac_arg
3784fi
3785rm -f core conftest.err conftest.$ac_objext
3786 test "x$ac_cv_prog_cc_c89" != "xno" && break
3787done
3788rm -f conftest.$ac_ext
3789CC=$ac_save_CC
3790
3791fi
3792# AC_CACHE_VAL
3793case "x$ac_cv_prog_cc_c89" in
3794 x)
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3796$as_echo "none needed" >&6; } ;;
3797 xno)
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3799$as_echo "unsupported" >&6; } ;;
3800 *)
3801 CC="$CC $ac_cv_prog_cc_c89"
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3803$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3804esac
3805if test "x$ac_cv_prog_cc_c89" != xno; then :
3806
3807fi
3808
3809ac_ext=c
3810ac_cpp='$CPP $CPPFLAGS'
3811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813ac_compiler_gnu=$ac_cv_c_compiler_gnu
3189 3814
3190 3815
3191for ac_header in stdint.h sys/syscall.h sys/prctl.h 3816for ac_header in stdint.h sys/syscall.h sys/prctl.h
3192do : 3817do :
3193 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3202done 3827done
3203 3828
3204 3829
3205{ $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
3206$as_echo_n "checking for library containing pthread_create... " >&6; } 3831$as_echo_n "checking for library containing pthread_create... " >&6; }
3207if test "${ac_cv_search_pthread_create+set}" = set; then : 3832if ${ac_cv_search_pthread_create+:} false; then :
3208 $as_echo_n "(cached) " >&6 3833 $as_echo_n "(cached) " >&6
3209else 3834else
3210 ac_func_search_save_LIBS=$LIBS 3835 ac_func_search_save_LIBS=$LIBS
3211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212/* end confdefs.h. */ 3837/* end confdefs.h. */
3236 if ac_fn_c_try_link "$LINENO"; then : 3861 if ac_fn_c_try_link "$LINENO"; then :
3237 ac_cv_search_pthread_create=$ac_res 3862 ac_cv_search_pthread_create=$ac_res
3238fi 3863fi
3239rm -f core conftest.err conftest.$ac_objext \ 3864rm -f core conftest.err conftest.$ac_objext \
3240 conftest$ac_exeext 3865 conftest$ac_exeext
3241 if test "${ac_cv_search_pthread_create+set}" = set; then : 3866 if ${ac_cv_search_pthread_create+:} false; then :
3242 break 3867 break
3243fi 3868fi
3244done 3869done
3245if test "${ac_cv_search_pthread_create+set}" = set; then : 3870if ${ac_cv_search_pthread_create+:} false; then :
3246 3871
3247else 3872else
3248 ac_cv_search_pthread_create=no 3873 ac_cv_search_pthread_create=no
3249fi 3874fi
3250rm conftest.$ac_ext 3875rm conftest.$ac_ext
3262fi 3887fi
3263 3888
3264 3889
3265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5
3266$as_echo_n "checking for utimes... " >&6; } 3891$as_echo_n "checking for utimes... " >&6; }
3267if test "${ac_cv_utimes+set}" = set; then : 3892if ${ac_cv_utimes+:} false; then :
3268 $as_echo_n "(cached) " >&6 3893 $as_echo_n "(cached) " >&6
3269else 3894else
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271/* end confdefs.h. */ 3896/* end confdefs.h. */
3272 3897
3296$as_echo "#define HAVE_UTIMES 1" >>confdefs.h 3921$as_echo "#define HAVE_UTIMES 1" >>confdefs.h
3297 3922
3298 3923
3299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 3924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5
3300$as_echo_n "checking for futimes... " >&6; } 3925$as_echo_n "checking for futimes... " >&6; }
3301if test "${ac_cv_futimes+set}" = set; then : 3926if ${ac_cv_futimes+:} false; then :
3302 $as_echo_n "(cached) " >&6 3927 $as_echo_n "(cached) " >&6
3303else 3928else
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305/* end confdefs.h. */ 3930/* end confdefs.h. */
3306 3931
3331$as_echo "#define HAVE_FUTIMES 1" >>confdefs.h 3956$as_echo "#define HAVE_FUTIMES 1" >>confdefs.h
3332 3957
3333 3958
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5
3335$as_echo_n "checking for readahead... " >&6; } 3960$as_echo_n "checking for readahead... " >&6; }
3336if test "${ac_cv_readahead+set}" = set; then : 3961if ${ac_cv_readahead+:} false; then :
3337 $as_echo_n "(cached) " >&6 3962 $as_echo_n "(cached) " >&6
3338else 3963else
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340/* end confdefs.h. */ 3965/* end confdefs.h. */
3341 3966
3967#include <sys/types.h>
3342#include <fcntl.h> 3968#include <fcntl.h>
3343int main (void) 3969int main (void)
3344{ 3970{
3345 int fd = 0; 3971 int fd = 0;
3346 size_t count = 2; 3972 size_t count = 2;
3364$as_echo "#define HAVE_READAHEAD 1" >>confdefs.h 3990$as_echo "#define HAVE_READAHEAD 1" >>confdefs.h
3365 3991
3366 3992
3367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
3368$as_echo_n "checking for fdatasync... " >&6; } 3994$as_echo_n "checking for fdatasync... " >&6; }
3369if test "${ac_cv_fdatasync+set}" = set; then : 3995if ${ac_cv_fdatasync+:} false; then :
3370 $as_echo_n "(cached) " >&6 3996 $as_echo_n "(cached) " >&6
3371else 3997else
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373/* end confdefs.h. */ 3999/* end confdefs.h. */
3374 4000
3393$as_echo "$ac_cv_fdatasync" >&6; } 4019$as_echo "$ac_cv_fdatasync" >&6; }
3394test $ac_cv_fdatasync = yes && 4020test $ac_cv_fdatasync = yes &&
3395$as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h 4021$as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h
3396 4022
3397 4023
3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5
3399$as_echo_n "checking for pread and pwrite... " >&6; }
3400if test "${ac_cv_preadwrite+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3402else
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404/* end confdefs.h. */
3405
3406#include <unistd.h>
3407int main (void)
3408{
3409 int fd = 0;
3410 size_t count = 1;
3411 char buf;
3412 off_t offset = 1;
3413 ssize_t res;
3414 res = pread (fd, &buf, count, offset);
3415 res = pwrite (fd, &buf, count, offset);
3416 return 0;
3417}
3418
3419_ACEOF
3420if ac_fn_c_try_link "$LINENO"; then :
3421 ac_cv_preadwrite=yes
3422else
3423 ac_cv_preadwrite=no
3424fi
3425rm -f core conftest.err conftest.$ac_objext \
3426 conftest$ac_exeext conftest.$ac_ext
3427fi
3428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5
3429$as_echo "$ac_cv_preadwrite" >&6; }
3430test $ac_cv_preadwrite = yes &&
3431$as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h
3432
3433
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 4024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5
3435$as_echo_n "checking for sendfile... " >&6; } 4025$as_echo_n "checking for sendfile... " >&6; }
3436if test "${ac_cv_sendfile+set}" = set; then : 4026if ${ac_cv_sendfile+:} false; then :
3437 $as_echo_n "(cached) " >&6 4027 $as_echo_n "(cached) " >&6
3438else 4028else
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440/* end confdefs.h. */ 4030/* end confdefs.h. */
3441 4031
3455 int fd = 0; 4045 int fd = 0;
3456 off_t offset = 1; 4046 off_t offset = 1;
3457 size_t count = 2; 4047 size_t count = 2;
3458 ssize_t res; 4048 ssize_t res;
3459#if __linux 4049#if __linux
3460 res = sendfile (fd, fd, offset, count); 4050 res = sendfile (fd, fd, &offset, count);
3461#elif __FreeBSD__ 4051#elif __FreeBSD__
3462 res = sendfile (fd, fd, offset, count, 0, &offset, 0); 4052 res = sendfile (fd, fd, offset, count, 0, &offset, 0);
3463#elif __hpux 4053#elif __hpux
3464 res = sendfile (fd, fd, offset, count, 0, 0); 4054 res = sendfile (fd, fd, offset, count, 0, 0);
3465#endif 4055#endif
3481$as_echo "#define HAVE_SENDFILE 1" >>confdefs.h 4071$as_echo "#define HAVE_SENDFILE 1" >>confdefs.h
3482 4072
3483 4073
3484{ $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
3485$as_echo_n "checking for sync_file_range... " >&6; } 4075$as_echo_n "checking for sync_file_range... " >&6; }
3486if test "${ac_cv_sync_file_range+set}" = set; then : 4076if ${ac_cv_sync_file_range+:} false; then :
3487 $as_echo_n "(cached) " >&6 4077 $as_echo_n "(cached) " >&6
3488else 4078else
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490/* end confdefs.h. */ 4080/* end confdefs.h. */
3491 4081
4082#include <sys/types.h>
3492#include <fcntl.h> 4083#include <fcntl.h>
3493int main (void) 4084int main (void)
3494{ 4085{
3495 int fd = 0; 4086 int fd = 0;
3496 off64_t offset = 1; 4087 off64_t offset = 1;
3516$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h 4107$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
3517 4108
3518 4109
3519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
3520$as_echo_n "checking for fallocate... " >&6; } 4111$as_echo_n "checking for fallocate... " >&6; }
3521if test "${ac_cv_fallocate+set}" = set; then : 4112if ${ac_cv_linux_fallocate+:} false; then :
3522 $as_echo_n "(cached) " >&6 4113 $as_echo_n "(cached) " >&6
3523else 4114else
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525/* end confdefs.h. */ 4116/* end confdefs.h. */
3526 4117
3536 return 0; 4127 return 0;
3537} 4128}
3538 4129
3539_ACEOF 4130_ACEOF
3540if ac_fn_c_try_link "$LINENO"; then : 4131if ac_fn_c_try_link "$LINENO"; then :
3541 ac_cv_fallocate=yes 4132 ac_cv_linux_fallocate=yes
3542else 4133else
3543 ac_cv_fallocate=no 4134 ac_cv_linux_fallocate=no
3544fi 4135fi
3545rm -f core conftest.err conftest.$ac_objext \ 4136rm -f core conftest.err conftest.$ac_objext \
3546 conftest$ac_exeext conftest.$ac_ext 4137 conftest$ac_exeext conftest.$ac_ext
3547fi 4138fi
3548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5 4139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_fallocate" >&5
3549$as_echo "$ac_cv_fallocate" >&6; } 4140$as_echo "$ac_cv_linux_fallocate" >&6; }
3550test $ac_cv_fallocate = yes && 4141test $ac_cv_linux_fallocate = yes &&
3551$as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h 4142$as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h
3552 4143
3553 4144
3554{ $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
3555$as_echo_n "checking for sys_syncfs... " >&6; } 4146$as_echo_n "checking for sys_syncfs... " >&6; }
3556if test "${ac_cv_sys_syncfs+set}" = set; then : 4147if ${ac_cv_sys_syncfs+:} false; then :
3557 $as_echo_n "(cached) " >&6 4148 $as_echo_n "(cached) " >&6
3558else 4149else
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560/* end confdefs.h. */ 4151/* end confdefs.h. */
3561 4152
3581$as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h 4172$as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h
3582 4173
3583 4174
3584{ $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
3585$as_echo_n "checking for prctl_set_name... " >&6; } 4176$as_echo_n "checking for prctl_set_name... " >&6; }
3586if test "${ac_cv_prctl_set_name+set}" = set; then : 4177if ${ac_cv_prctl_set_name+:} false; then :
3587 $as_echo_n "(cached) " >&6 4178 $as_echo_n "(cached) " >&6
3588else 4179else
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590/* end confdefs.h. */ 4181/* end confdefs.h. */
3591 4182
3592#include <sys/prctl.h> 4183#include <sys/prctl.h>
3593int main (void) 4184int main (void)
3594{ 4185{
3595 char name = "test123"; 4186 char *name = "test123";
3596 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);
3597} 4188}
3598 4189
3599_ACEOF 4190_ACEOF
3600if ac_fn_c_try_link "$LINENO"; then : 4191if ac_fn_c_try_link "$LINENO"; then :
3609$as_echo "$ac_cv_prctl_set_name" >&6; } 4200$as_echo "$ac_cv_prctl_set_name" >&6; }
3610test $ac_cv_prctl_set_name = yes && 4201test $ac_cv_prctl_set_name = yes &&
3611$as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h 4202$as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h
3612 4203
3613 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 res;
4284int main (void)
4285{
4286 struct rlimit srl;
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
3614 4307
3615{ $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
3616$as_echo_n "checking for posix_madvise... " >&6; } 4309$as_echo_n "checking for posix_madvise... " >&6; }
3617if test "${ac_cv_posix_madvise+set}" = set; then : 4310if ${ac_cv_posix_madvise+:} false; then :
3618 $as_echo_n "(cached) " >&6 4311 $as_echo_n "(cached) " >&6
3619else 4312else
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621/* end confdefs.h. */ 4314/* end confdefs.h. */
3622 4315
3646$as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h 4339$as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h
3647 4340
3648 4341
3649{ $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
3650$as_echo_n "checking for posix_fadvise... " >&6; } 4343$as_echo_n "checking for posix_fadvise... " >&6; }
3651if test "${ac_cv_posix_fadvise+set}" = set; then : 4344if ${ac_cv_posix_fadvise+:} false; then :
3652 $as_echo_n "(cached) " >&6 4345 $as_echo_n "(cached) " >&6
3653else 4346else
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655/* end confdefs.h. */ 4348/* end confdefs.h. */
3656 4349
3680$as_echo "$ac_cv_posix_fadvise" >&6; } 4373$as_echo "$ac_cv_posix_fadvise" >&6; }
3681test $ac_cv_posix_fadvise = yes && 4374test $ac_cv_posix_fadvise = yes &&
3682$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 4375$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
3683 4376
3684 4377
4378for ac_header in linux/fs.h linux/fiemap.h
4379do :
4380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4381ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4382if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4383 cat >>confdefs.h <<_ACEOF
4384#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4385_ACEOF
4386
4387fi
4388
4389done
4390
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
4418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5
4419$as_echo_n "checking for splice, vmsplice and tee... " >&6; }
4420if ${ac_cv_linux_splice+:} false; then :
4421 $as_echo_n "(cached) " >&6
4422else
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424/* end confdefs.h. */
4425
4426#include <sys/types.h>
4427#include <fcntl.h>
4428int main (void)
4429{
4430 ssize_t res;
4431 res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE);
4432 res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK);
4433 res = vmsplice ((int)0, (struct iovec *)0, 0, SPLICE_F_NONBLOCK | SPLICE_F_GIFT);
4434 return 0;
4435}
4436
4437_ACEOF
4438if ac_fn_c_try_link "$LINENO"; then :
4439 ac_cv_linux_splice=yes
4440else
4441 ac_cv_linux_splice=no
4442fi
4443rm -f core conftest.err conftest.$ac_objext \
4444 conftest$ac_exeext conftest.$ac_ext
4445fi
4446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_splice" >&5
4447$as_echo "$ac_cv_linux_splice" >&6; }
4448test $ac_cv_linux_splice = yes &&
4449$as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h
4450
4451
4452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe2" >&5
4453$as_echo_n "checking for pipe2... " >&6; }
4454if ${ac_cv_pipe2+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456else
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458/* end confdefs.h. */
4459
4460#include <fcntl.h>
4461#include <unistd.h>
4462int res;
4463int main (void)
4464{
4465 res = pipe2 (0, 0);
4466 return 0;
4467}
4468
4469_ACEOF
4470if ac_fn_c_try_link "$LINENO"; then :
4471 ac_cv_pipe2=yes
4472else
4473 ac_cv_pipe2=no
4474fi
4475rm -f core conftest.err conftest.$ac_objext \
4476 conftest$ac_exeext conftest.$ac_ext
4477fi
4478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pipe2" >&5
4479$as_echo "$ac_cv_pipe2" >&6; }
4480test $ac_cv_pipe2 = yes &&
4481$as_echo "#define HAVE_PIPE2 1" >>confdefs.h
4482
4483
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for eventfd" >&5
4485$as_echo_n "checking for eventfd... " >&6; }
4486if ${ac_cv_eventfd+:} false; then :
4487 $as_echo_n "(cached) " >&6
4488else
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490/* end confdefs.h. */
4491
4492#include <sys/eventfd.h>
4493int res;
4494int main (void)
4495{
4496 res = eventfd (1, EFD_CLOEXEC | EFD_NONBLOCK);
4497 return 0;
4498}
4499
4500_ACEOF
4501if ac_fn_c_try_link "$LINENO"; then :
4502 ac_cv_eventfd=yes
4503else
4504 ac_cv_eventfd=no
4505fi
4506rm -f core conftest.err conftest.$ac_objext \
4507 conftest$ac_exeext conftest.$ac_ext
4508fi
4509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_eventfd" >&5
4510$as_echo "$ac_cv_eventfd" >&6; }
4511test $ac_cv_eventfd = yes &&
4512$as_echo "#define HAVE_EVENTFD 1" >>confdefs.h
4513
4514
4515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerfd" >&5
4516$as_echo_n "checking for timerfd... " >&6; }
4517if ${ac_cv_timerfd+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519else
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521/* end confdefs.h. */
4522
4523#include <sys/timerfd.h>
4524int res;
4525int main (void)
4526{
4527 struct itimerspec its;
4528 res = timerfd_create (CLOCK_REALTIME, TFD_CLOEXEC | TFD_NONBLOCK);
4529 res = timerfd_settime (res, TFD_TIMER_ABSTIME /*| TFD_TIMER_CANCEL_ON_SET*/, &its, 0);
4530 res = timerfd_gettime (res, &its);
4531 return 0;
4532}
4533
4534_ACEOF
4535if ac_fn_c_try_link "$LINENO"; then :
4536 ac_cv_timerfd=yes
4537else
4538 ac_cv_timerfd=no
4539fi
4540rm -f core conftest.err conftest.$ac_objext \
4541 conftest$ac_exeext conftest.$ac_ext
4542fi
4543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_timerfd" >&5
4544$as_echo "$ac_cv_timerfd" >&6; }
4545test $ac_cv_timerfd = yes &&
4546$as_echo "#define HAVE_TIMERFD 1" >>confdefs.h
4547
4548
4549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5
4550$as_echo_n "checking for copy_file_range... " >&6; }
4551if ${ac_cv_copy_file_range+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553else
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555/* end confdefs.h. */
4556
4557#include <unistd.h>
4558#include <sys/syscall.h>
4559/*#include <linux/copy.h>*/
4560int res;
4561int main (void)
4562{
4563 /*res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, COPY_FR_REFLINK | COPY_FR_DEDUP | COPY_FR_COPY);*/
4564 res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, 0);
4565 return 0;
4566}
4567
4568_ACEOF
4569if ac_fn_c_try_link "$LINENO"; then :
4570 ac_cv_copy_file_range=yes
4571else
4572 ac_cv_copy_file_range=no
4573fi
4574rm -f core conftest.err conftest.$ac_objext \
4575 conftest$ac_exeext conftest.$ac_ext
4576fi
4577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_copy_file_range" >&5
4578$as_echo "$ac_cv_copy_file_range" >&6; }
4579test $ac_cv_copy_file_range = yes &&
4580$as_echo "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h
4581
4582
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_xtimensec" >&5
4584$as_echo_n "checking for st_xtimensec... " >&6; }
4585if ${ac_cv_xtimensec+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587else
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589/* end confdefs.h. */
4590
4591#include "EXTERN.h"
4592#include "perl.h"
4593#include "XSUB.h"
4594
4595int main (void)
4596{
4597 return PL_statcache.st_atimensec
4598 + PL_statcache.st_mtimensec
4599 + PL_statcache.st_ctimensec;
4600}
4601
4602_ACEOF
4603if ac_fn_c_try_compile "$LINENO"; then :
4604 ac_cv_xtimensec=yes
4605else
4606 ac_cv_xtimensec=no
4607fi
4608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609fi
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_xtimensec" >&5
4611$as_echo "$ac_cv_xtimensec" >&6; }
4612test $ac_cv_xtimensec = yes &&
4613$as_echo "#define HAVE_ST_XTIMENSEC 1" >>confdefs.h
4614
4615
4616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_xtimespec" >&5
4617$as_echo_n "checking for st_xtimespec... " >&6; }
4618if ${ac_cv_xtimespec+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620else
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622/* end confdefs.h. */
4623
4624#include "EXTERN.h"
4625#include "perl.h"
4626#include "XSUB.h"
4627
4628int main (void)
4629{
4630 return PL_statcache.st_atim.tv_nsec
4631 + PL_statcache.st_mtim.tv_nsec
4632 + PL_statcache.st_ctim.tv_nsec;
4633}
4634
4635_ACEOF
4636if ac_fn_c_try_compile "$LINENO"; then :
4637 ac_cv_xtimespec=yes
4638else
4639 ac_cv_xtimespec=no
4640fi
4641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642fi
4643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_xtimespec" >&5
4644$as_echo "$ac_cv_xtimespec" >&6; }
4645test $ac_cv_xtimespec = yes &&
4646$as_echo "#define HAVE_ST_XTIMESPEC 1" >>confdefs.h
4647
4648
4649# apparently, True64 uses st_u[amc]time, aix uses at_[amc]time_n and apple uses st_[amc,birth]timespec?
4650
4651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimensec" >&5
4652$as_echo_n "checking for st_birthtimensec... " >&6; }
4653if ${ac_cv_birthtimensec+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655else
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657/* end confdefs.h. */
4658
4659#include "EXTERN.h"
4660#include "perl.h"
4661#include "XSUB.h"
4662
4663int main (void)
4664{
4665 return PL_statcache.st_birthtime + PL_statcache.st_birthtimensec;
4666}
4667
4668_ACEOF
4669if ac_fn_c_try_compile "$LINENO"; then :
4670 ac_cv_birthtimensec=yes
4671else
4672 ac_cv_birthtimensec=no
4673fi
4674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675fi
4676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimensec" >&5
4677$as_echo "$ac_cv_birthtimensec" >&6; }
4678test $ac_cv_birthtimensec = yes &&
4679$as_echo "#define HAVE_ST_BIRTHTIMENSEC 1" >>confdefs.h
4680
4681
4682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimespec" >&5
4683$as_echo_n "checking for st_birthtimespec... " >&6; }
4684if ${ac_cv_birthtimespec+:} false; then :
4685 $as_echo_n "(cached) " >&6
4686else
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688/* end confdefs.h. */
4689
4690#include "EXTERN.h"
4691#include "perl.h"
4692#include "XSUB.h"
4693
4694int main (void)
4695{
4696 return PL_statcache.st_birthtim.tv_sec + PL_statcache.st_birthtim.tv_nsec;
4697}
4698
4699_ACEOF
4700if ac_fn_c_try_compile "$LINENO"; then :
4701 ac_cv_birthtimespec=yes
4702else
4703 ac_cv_birthtimespec=no
4704fi
4705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706fi
4707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimespec" >&5
4708$as_echo "$ac_cv_birthtimespec" >&6; }
4709test $ac_cv_birthtimespec = yes &&
4710$as_echo "#define HAVE_ST_BIRTHTIMESPEC 1" >>confdefs.h
4711
4712
4713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_gen" >&5
4714$as_echo_n "checking for st_gen... " >&6; }
4715if ${ac_cv_st_gen+:} false; then :
4716 $as_echo_n "(cached) " >&6
4717else
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719/* end confdefs.h. */
4720
4721#include "EXTERN.h"
4722#include "perl.h"
4723#include "XSUB.h"
4724
4725int main (void)
4726{
4727 return PL_statcache.st_gen;
4728}
4729
4730_ACEOF
4731if ac_fn_c_try_compile "$LINENO"; then :
4732 ac_cv_st_gen=yes
4733else
4734 ac_cv_st_gen=no
4735fi
4736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737fi
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_st_gen" >&5
4739$as_echo "$ac_cv_st_gen" >&6; }
4740test $ac_cv_st_gen = yes &&
4741$as_echo "#define HAVE_ST_GEN 1" >>confdefs.h
3685 4742
3686 4743
3687cat >confcache <<\_ACEOF 4744cat >confcache <<\_ACEOF
3688# This file is a shell script that caches the results of configure 4745# This file is a shell script that caches the results of configure
3689# tests run on this system so they can be shared between configure 4746# tests run on this system so they can be shared between configure
3746 t end 4803 t end
3747 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4804 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3748 :end' >>confcache 4805 :end' >>confcache
3749if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4806if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3750 if test -w "$cache_file"; then 4807 if test -w "$cache_file"; then
3751 test "x$cache_file" != "x/dev/null" && 4808 if test "x$cache_file" != "x/dev/null"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4809 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3753$as_echo "$as_me: updating cache $cache_file" >&6;} 4810$as_echo "$as_me: updating cache $cache_file" >&6;}
4811 if test ! -f "$cache_file" || test -h "$cache_file"; then
3754 cat confcache >$cache_file 4812 cat confcache >"$cache_file"
4813 else
4814 case $cache_file in #(
4815 */* | ?:*)
4816 mv -f confcache "$cache_file"$$ &&
4817 mv -f "$cache_file"$$ "$cache_file" ;; #(
4818 *)
4819 mv -f confcache "$cache_file" ;;
4820 esac
4821 fi
4822 fi
3755 else 4823 else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3757$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4825$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3758 fi 4826 fi
3759fi 4827fi
3781 4849
3782LTLIBOBJS=$ac_ltlibobjs 4850LTLIBOBJS=$ac_ltlibobjs
3783 4851
3784 4852
3785 4853
3786: ${CONFIG_STATUS=./config.status} 4854: "${CONFIG_STATUS=./config.status}"
3787ac_write_fail=0 4855ac_write_fail=0
3788ac_clean_files_save=$ac_clean_files 4856ac_clean_files_save=$ac_clean_files
3789ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4857ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3790{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4858{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3791$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4859$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3882# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4950# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3883# splitting by setting IFS to empty value.) 4951# splitting by setting IFS to empty value.)
3884IFS=" "" $as_nl" 4952IFS=" "" $as_nl"
3885 4953
3886# Find who we are. Look in the path if we contain no directory separator. 4954# Find who we are. Look in the path if we contain no directory separator.
4955as_myself=
3887case $0 in #(( 4956case $0 in #((
3888 *[\\/]* ) as_myself=$0 ;; 4957 *[\\/]* ) as_myself=$0 ;;
3889 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4958 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890for as_dir in $PATH 4959for as_dir in $PATH
3891do 4960do
4077 if ln -s conf$$.file conf$$ 2>/dev/null; then 5146 if ln -s conf$$.file conf$$ 2>/dev/null; then
4078 as_ln_s='ln -s' 5147 as_ln_s='ln -s'
4079 # ... but there are two gotchas: 5148 # ... but there are two gotchas:
4080 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5149 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4081 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5150 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4082 # In both cases, we have to default to `cp -p'. 5151 # In both cases, we have to default to `cp -pR'.
4083 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5152 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4084 as_ln_s='cp -p' 5153 as_ln_s='cp -pR'
4085 elif ln conf$$.file conf$$ 2>/dev/null; then 5154 elif ln conf$$.file conf$$ 2>/dev/null; then
4086 as_ln_s=ln 5155 as_ln_s=ln
4087 else 5156 else
4088 as_ln_s='cp -p' 5157 as_ln_s='cp -pR'
4089 fi 5158 fi
4090else 5159else
4091 as_ln_s='cp -p' 5160 as_ln_s='cp -pR'
4092fi 5161fi
4093rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5162rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4094rmdir conf$$.dir 2>/dev/null 5163rmdir conf$$.dir 2>/dev/null
4095 5164
4096 5165
4146else 5215else
4147 test -d ./-p && rmdir ./-p 5216 test -d ./-p && rmdir ./-p
4148 as_mkdir_p=false 5217 as_mkdir_p=false
4149fi 5218fi
4150 5219
4151if test -x / >/dev/null 2>&1; then 5220
5221# as_fn_executable_p FILE
5222# -----------------------
5223# Test if FILE is an executable regular file.
5224as_fn_executable_p ()
5225{
5226 test -f "$1" && test -x "$1"
5227} # as_fn_executable_p
4152 as_test_x='test -x' 5228as_test_x='test -x'
4153else 5229as_executable_p=as_fn_executable_p
4154 if ls -dL / >/dev/null 2>&1; then
4155 as_ls_L_option=L
4156 else
4157 as_ls_L_option=
4158 fi
4159 as_test_x='
4160 eval sh -c '\''
4161 if test -d "$1"; then
4162 test -d "$1/.";
4163 else
4164 case $1 in #(
4165 -*)set "./$1";;
4166 esac;
4167 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4168 ???[sx]*):;;*)false;;esac;fi
4169 '\'' sh
4170 '
4171fi
4172as_executable_p=$as_test_x
4173 5230
4174# Sed expression to map a string onto a valid CPP name. 5231# Sed expression to map a string onto a valid CPP name.
4175as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5232as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4176 5233
4177# Sed expression to map a string onto a valid variable name. 5234# Sed expression to map a string onto a valid variable name.
4189# Save the log message, to keep $0 and so on meaningful, and to 5246# Save the log message, to keep $0 and so on meaningful, and to
4190# report actual input values of CONFIG_FILES etc. instead of their 5247# report actual input values of CONFIG_FILES etc. instead of their
4191# values after options handling. 5248# values after options handling.
4192ac_log=" 5249ac_log="
4193This file was extended by $as_me, which was 5250This file was extended by $as_me, which was
4194generated by GNU Autoconf 2.67. Invocation command line was 5251generated by GNU Autoconf 2.69. Invocation command line was
4195 5252
4196 CONFIG_FILES = $CONFIG_FILES 5253 CONFIG_FILES = $CONFIG_FILES
4197 CONFIG_HEADERS = $CONFIG_HEADERS 5254 CONFIG_HEADERS = $CONFIG_HEADERS
4198 CONFIG_LINKS = $CONFIG_LINKS 5255 CONFIG_LINKS = $CONFIG_LINKS
4199 CONFIG_COMMANDS = $CONFIG_COMMANDS 5256 CONFIG_COMMANDS = $CONFIG_COMMANDS
4242_ACEOF 5299_ACEOF
4243cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5300cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4244ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5301ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4245ac_cs_version="\\ 5302ac_cs_version="\\
4246config.status 5303config.status
4247configured by $0, generated by GNU Autoconf 2.67, 5304configured by $0, generated by GNU Autoconf 2.69,
4248 with options \\"\$ac_cs_config\\" 5305 with options \\"\$ac_cs_config\\"
4249 5306
4250Copyright (C) 2010 Free Software Foundation, Inc. 5307Copyright (C) 2012 Free Software Foundation, Inc.
4251This config.status script is free software; the Free Software Foundation 5308This config.status script is free software; the Free Software Foundation
4252gives unlimited permission to copy, distribute and modify it." 5309gives unlimited permission to copy, distribute and modify it."
4253 5310
4254ac_pwd='$ac_pwd' 5311ac_pwd='$ac_pwd'
4255srcdir='$srcdir' 5312srcdir='$srcdir'
4325fi 5382fi
4326 5383
4327_ACEOF 5384_ACEOF
4328cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5385cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4329if \$ac_cs_recheck; then 5386if \$ac_cs_recheck; then
4330 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5387 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4331 shift 5388 shift
4332 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5389 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4333 CONFIG_SHELL='$SHELL' 5390 CONFIG_SHELL='$SHELL'
4334 export CONFIG_SHELL 5391 export CONFIG_SHELL
4335 exec "\$@" 5392 exec "\$@"
4354 5411
4355# Handling of arguments. 5412# Handling of arguments.
4356for ac_config_target in $ac_config_targets 5413for ac_config_target in $ac_config_targets
4357do 5414do
4358 case $ac_config_target in 5415 case $ac_config_target in
4359 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; 5416 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4360 5417
4361 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 5418 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4362 esac 5419 esac
4363done 5420done
4364 5421
4365 5422
4366# If the user did not use the arguments to specify the items to instantiate, 5423# If the user did not use the arguments to specify the items to instantiate,
4377# Hook for its removal unless debugging. 5434# Hook for its removal unless debugging.
4378# Note that there is a small window in which the directory will not be cleaned: 5435# Note that there is a small window in which the directory will not be cleaned:
4379# after its creation but before its name has been assigned to `$tmp'. 5436# after its creation but before its name has been assigned to `$tmp'.
4380$debug || 5437$debug ||
4381{ 5438{
4382 tmp= 5439 tmp= ac_tmp=
4383 trap 'exit_status=$? 5440 trap 'exit_status=$?
5441 : "${ac_tmp:=$tmp}"
4384 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5442 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4385' 0 5443' 0
4386 trap 'as_fn_exit 1' 1 2 13 15 5444 trap 'as_fn_exit 1' 1 2 13 15
4387} 5445}
4388# Create a (secure) tmp directory for tmp files. 5446# Create a (secure) tmp directory for tmp files.
4389 5447
4390{ 5448{
4391 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5449 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4392 test -n "$tmp" && test -d "$tmp" 5450 test -d "$tmp"
4393} || 5451} ||
4394{ 5452{
4395 tmp=./conf$$-$RANDOM 5453 tmp=./conf$$-$RANDOM
4396 (umask 077 && mkdir "$tmp") 5454 (umask 077 && mkdir "$tmp")
4397} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5455} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5456ac_tmp=$tmp
4398 5457
4399# Set up the scripts for CONFIG_HEADERS section. 5458# Set up the scripts for CONFIG_HEADERS section.
4400# No need to generate them if there are no CONFIG_HEADERS. 5459# No need to generate them if there are no CONFIG_HEADERS.
4401# This happens for instance with `./config.status Makefile'. 5460# This happens for instance with `./config.status Makefile'.
4402if test -n "$CONFIG_HEADERS"; then 5461if test -n "$CONFIG_HEADERS"; then
4403cat >"$tmp/defines.awk" <<\_ACAWK || 5462cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4404BEGIN { 5463BEGIN {
4405_ACEOF 5464_ACEOF
4406 5465
4407# Transform confdefs.h into an awk script `defines.awk', embedded as 5466# Transform confdefs.h into an awk script `defines.awk', embedded as
4408# here-document in config.status, that substitutes the proper values into 5467# here-document in config.status, that substitutes the proper values into
4410 5469
4411# Create a delimiter string that does not exist in confdefs.h, to ease 5470# Create a delimiter string that does not exist in confdefs.h, to ease
4412# handling of long lines. 5471# handling of long lines.
4413ac_delim='%!_!# ' 5472ac_delim='%!_!# '
4414for ac_last_try in false false :; do 5473for ac_last_try in false false :; do
4415 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 5474 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4416 if test -z "$ac_t"; then 5475 if test -z "$ac_tt"; then
4417 break 5476 break
4418 elif $ac_last_try; then 5477 elif $ac_last_try; then
4419 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5478 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4420 else 5479 else
4421 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5480 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4512 case $ac_tag in 5571 case $ac_tag in
4513 :[FHLC]) ac_mode=$ac_tag; continue;; 5572 :[FHLC]) ac_mode=$ac_tag; continue;;
4514 esac 5573 esac
4515 case $ac_mode$ac_tag in 5574 case $ac_mode$ac_tag in
4516 :[FHL]*:*);; 5575 :[FHL]*:*);;
4517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 5576 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4518 :[FH]-) ac_tag=-:-;; 5577 :[FH]-) ac_tag=-:-;;
4519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5578 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4520 esac 5579 esac
4521 ac_save_IFS=$IFS 5580 ac_save_IFS=$IFS
4522 IFS=: 5581 IFS=:
4531 :[FH]) 5590 :[FH])
4532 ac_file_inputs= 5591 ac_file_inputs=
4533 for ac_f 5592 for ac_f
4534 do 5593 do
4535 case $ac_f in 5594 case $ac_f in
4536 -) ac_f="$tmp/stdin";; 5595 -) ac_f="$ac_tmp/stdin";;
4537 *) # Look for the file first in the build tree, then in the source tree 5596 *) # Look for the file first in the build tree, then in the source tree
4538 # (if the path is not absolute). The absolute path cannot be DOS-style, 5597 # (if the path is not absolute). The absolute path cannot be DOS-style,
4539 # because $ac_f cannot contain `:'. 5598 # because $ac_f cannot contain `:'.
4540 test -f "$ac_f" || 5599 test -f "$ac_f" ||
4541 case $ac_f in 5600 case $ac_f in
4542 [\\/$]*) false;; 5601 [\\/$]*) false;;
4543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5602 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4544 esac || 5603 esac ||
4545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 5604 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4546 esac 5605 esac
4547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5606 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4548 as_fn_append ac_file_inputs " '$ac_f'" 5607 as_fn_append ac_file_inputs " '$ac_f'"
4549 done 5608 done
4550 5609
4566 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5625 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4567 *) ac_sed_conf_input=$configure_input;; 5626 *) ac_sed_conf_input=$configure_input;;
4568 esac 5627 esac
4569 5628
4570 case $ac_tag in 5629 case $ac_tag in
4571 *:-:* | *:-) cat >"$tmp/stdin" \ 5630 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4573 esac 5632 esac
4574 ;; 5633 ;;
4575 esac 5634 esac
4576 5635
4577 ac_dir=`$as_dirname -- "$ac_file" || 5636 ac_dir=`$as_dirname -- "$ac_file" ||
4640 # CONFIG_HEADER 5699 # CONFIG_HEADER
4641 # 5700 #
4642 if test x"$ac_file" != x-; then 5701 if test x"$ac_file" != x-; then
4643 { 5702 {
4644 $as_echo "/* $configure_input */" \ 5703 $as_echo "/* $configure_input */" \
4645 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 5704 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4646 } >"$tmp/config.h" \ 5705 } >"$ac_tmp/config.h" \
4647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5706 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4648 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 5707 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5708 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4650$as_echo "$as_me: $ac_file is unchanged" >&6;} 5709$as_echo "$as_me: $ac_file is unchanged" >&6;}
4651 else 5710 else
4652 rm -f "$ac_file" 5711 rm -f "$ac_file"
4653 mv "$tmp/config.h" "$ac_file" \ 5712 mv "$ac_tmp/config.h" "$ac_file" \
4654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4655 fi 5714 fi
4656 else 5715 else
4657 $as_echo "/* $configure_input */" \ 5716 $as_echo "/* $configure_input */" \
4658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 5717 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4659 || as_fn_error $? "could not create -" "$LINENO" 5 5718 || as_fn_error $? "could not create -" "$LINENO" 5
4660 fi 5719 fi
4661 ;; 5720 ;;
4662 5721
4663 5722
4697if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5756if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4699$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5758$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4700fi 5759fi
4701 5760
5761

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines