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

Comparing IO-AIO/configure (file contents):
Revision 1.7 by root, Sat Jan 2 12:58:37 2010 UTC vs.
Revision 1.8 by root, Wed Dec 1 04:43:12 2010 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.64. 3# Generated by GNU Autoconf 2.67.
4#
4# 5#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
7# Foundation, Inc. 8# Foundation, Inc.
9#
8# 10#
9# This configure script is free software; the Free Software Foundation 11# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it. 12# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ## 13## -------------------- ##
12## M4sh Initialization. ## 14## M4sh Initialization. ##
311 } 313 }
312 s/.*/./; q'` 314 s/.*/./; q'`
313 test -d "$as_dir" && break 315 test -d "$as_dir" && break
314 done 316 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs" 317 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 318 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
317 319
318 320
319} # as_fn_mkdir_p 321} # as_fn_mkdir_p
320# as_fn_append VAR VALUE 322# as_fn_append VAR VALUE
321# ---------------------- 323# ----------------------
351 as_val=`expr "$@" || test $? -eq 1` 353 as_val=`expr "$@" || test $? -eq 1`
352 } 354 }
353fi # as_fn_arith 355fi # as_fn_arith
354 356
355 357
356# as_fn_error ERROR [LINENO LOG_FD] 358# as_fn_error STATUS ERROR [LINENO LOG_FD]
357# --------------------------------- 359# ----------------------------------------
358# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360# script with status $?, using 1 if that was 0. 362# script with STATUS, using 1 if that was 0.
361as_fn_error () 363as_fn_error ()
362{ 364{
363 as_status=$?; test $as_status -eq 0 && as_status=1 365 as_status=$1; test $as_status -eq 0 && as_status=1
364 if test "$3"; then 366 if test "$4"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 367 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
367 fi 369 fi
368 $as_echo "$as_me: error: $1" >&2 370 $as_echo "$as_me: error: $2" >&2
369 as_fn_exit $as_status 371 as_fn_exit $as_status
370} # as_fn_error 372} # as_fn_error
371 373
372if expr a : '\(a\)' >/dev/null 2>&1 && 374if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then 375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
521 523
522# Sed expression to map a string onto a valid variable name. 524# Sed expression to map a string onto a valid variable name.
523as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 525as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524 526
525 527
526exec 7<&0 </dev/null 6>&1 528test -n "$DJDIR" || exec 7<&0 </dev/null
529exec 6>&1
527 530
528# Name of the host. 531# Name of the host.
529# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 532# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
530# so uname gets run too. 533# so uname gets run too.
531ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 534ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532 535
533# 536#
534# Initializations. 537# Initializations.
670 ac_prev= 673 ac_prev=
671 continue 674 continue
672 fi 675 fi
673 676
674 case $ac_option in 677 case $ac_option in
675 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 678 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
679 *=) ac_optarg= ;;
676 *) ac_optarg=yes ;; 680 *) ac_optarg=yes ;;
677 esac 681 esac
678 682
679 # Accept the important Cygnus configure options, so we can diagnose typos. 683 # Accept the important Cygnus configure options, so we can diagnose typos.
680 684
681 case $ac_dashdash$ac_option in 685 case $ac_dashdash$ac_option in
716 720
717 -disable-* | --disable-*) 721 -disable-* | --disable-*)
718 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 722 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
719 # Reject names that are not valid shell variable names. 723 # Reject names that are not valid shell variable names.
720 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 724 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
721 as_fn_error "invalid feature name: $ac_useropt" 725 as_fn_error $? "invalid feature name: $ac_useropt"
722 ac_useropt_orig=$ac_useropt 726 ac_useropt_orig=$ac_useropt
723 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 727 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
724 case $ac_user_opts in 728 case $ac_user_opts in
725 *" 729 *"
726"enable_$ac_useropt" 730"enable_$ac_useropt"
742 746
743 -enable-* | --enable-*) 747 -enable-* | --enable-*)
744 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 748 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
745 # Reject names that are not valid shell variable names. 749 # Reject names that are not valid shell variable names.
746 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 750 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
747 as_fn_error "invalid feature name: $ac_useropt" 751 as_fn_error $? "invalid feature name: $ac_useropt"
748 ac_useropt_orig=$ac_useropt 752 ac_useropt_orig=$ac_useropt
749 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 753 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
750 case $ac_user_opts in 754 case $ac_user_opts in
751 *" 755 *"
752"enable_$ac_useropt" 756"enable_$ac_useropt"
946 950
947 -with-* | --with-*) 951 -with-* | --with-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 952 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
949 # Reject names that are not valid shell variable names. 953 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error "invalid package name: $ac_useropt" 955 as_fn_error $? "invalid package name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt 956 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 957 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in 958 case $ac_user_opts in
955 *" 959 *"
956"with_$ac_useropt" 960"with_$ac_useropt"
962 966
963 -without-* | --without-*) 967 -without-* | --without-*)
964 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 968 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
965 # Reject names that are not valid shell variable names. 969 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967 as_fn_error "invalid package name: $ac_useropt" 971 as_fn_error $? "invalid package name: $ac_useropt"
968 ac_useropt_orig=$ac_useropt 972 ac_useropt_orig=$ac_useropt
969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in 974 case $ac_user_opts in
971 *" 975 *"
972"with_$ac_useropt" 976"with_$ac_useropt"
992 ac_prev=x_libraries ;; 996 ac_prev=x_libraries ;;
993 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 997 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
994 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 998 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
995 x_libraries=$ac_optarg ;; 999 x_libraries=$ac_optarg ;;
996 1000
997 -*) as_fn_error "unrecognized option: \`$ac_option' 1001 -*) as_fn_error $? "unrecognized option: \`$ac_option'
998Try \`$0 --help' for more information." 1002Try \`$0 --help' for more information"
999 ;; 1003 ;;
1000 1004
1001 *=*) 1005 *=*)
1002 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1006 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1003 # Reject names that are not valid shell variable names. 1007 # Reject names that are not valid shell variable names.
1004 case $ac_envvar in #( 1008 case $ac_envvar in #(
1005 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1009 '' | [0-9]* | *[!_$as_cr_alnum]* )
1006 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1010 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1007 esac 1011 esac
1008 eval $ac_envvar=\$ac_optarg 1012 eval $ac_envvar=\$ac_optarg
1009 export $ac_envvar ;; 1013 export $ac_envvar ;;
1010 1014
1011 *) 1015 *)
1019 esac 1023 esac
1020done 1024done
1021 1025
1022if test -n "$ac_prev"; then 1026if test -n "$ac_prev"; then
1023 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1027 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1024 as_fn_error "missing argument to $ac_option" 1028 as_fn_error $? "missing argument to $ac_option"
1025fi 1029fi
1026 1030
1027if test -n "$ac_unrecognized_opts"; then 1031if test -n "$ac_unrecognized_opts"; then
1028 case $enable_option_checking in 1032 case $enable_option_checking in
1029 no) ;; 1033 no) ;;
1030 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1034 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1031 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1035 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1032 esac 1036 esac
1033fi 1037fi
1034 1038
1035# Check all directory arguments for consistency. 1039# Check all directory arguments for consistency.
1048 # Be sure to have absolute directory names. 1052 # Be sure to have absolute directory names.
1049 case $ac_val in 1053 case $ac_val in
1050 [\\/$]* | ?:[\\/]* ) continue;; 1054 [\\/$]* | ?:[\\/]* ) continue;;
1051 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1055 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1052 esac 1056 esac
1053 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1057 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1054done 1058done
1055 1059
1056# There might be people who depend on the old broken behavior: `$host' 1060# There might be people who depend on the old broken behavior: `$host'
1057# used to hold the argument of --host etc. 1061# used to hold the argument of --host etc.
1058# FIXME: To remove some day. 1062# FIXME: To remove some day.
1062 1066
1063# FIXME: To remove some day. 1067# FIXME: To remove some day.
1064if test "x$host_alias" != x; then 1068if test "x$host_alias" != x; then
1065 if test "x$build_alias" = x; then 1069 if test "x$build_alias" = x; then
1066 cross_compiling=maybe 1070 cross_compiling=maybe
1067 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1071 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1068 If a cross compiler is detected then cross compile mode will be used." >&2 1072 If a cross compiler is detected then cross compile mode will be used" >&2
1069 elif test "x$build_alias" != "x$host_alias"; then 1073 elif test "x$build_alias" != "x$host_alias"; then
1070 cross_compiling=yes 1074 cross_compiling=yes
1071 fi 1075 fi
1072fi 1076fi
1073 1077
1078 1082
1079 1083
1080ac_pwd=`pwd` && test -n "$ac_pwd" && 1084ac_pwd=`pwd` && test -n "$ac_pwd" &&
1081ac_ls_di=`ls -di .` && 1085ac_ls_di=`ls -di .` &&
1082ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1086ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1083 as_fn_error "working directory cannot be determined" 1087 as_fn_error $? "working directory cannot be determined"
1084test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1088test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1085 as_fn_error "pwd does not report name of working directory" 1089 as_fn_error $? "pwd does not report name of working directory"
1086 1090
1087 1091
1088# Find the source files, if location was not specified. 1092# Find the source files, if location was not specified.
1089if test -z "$srcdir"; then 1093if test -z "$srcdir"; then
1090 ac_srcdir_defaulted=yes 1094 ac_srcdir_defaulted=yes
1119else 1123else
1120 ac_srcdir_defaulted=no 1124 ac_srcdir_defaulted=no
1121fi 1125fi
1122if test ! -r "$srcdir/$ac_unique_file"; then 1126if test ! -r "$srcdir/$ac_unique_file"; then
1123 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1127 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1124 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1128 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1125fi 1129fi
1126ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1130ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1127ac_abs_confdir=`( 1131ac_abs_confdir=`(
1128 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1132 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1129 pwd)` 1133 pwd)`
1130# When building in place, set srcdir=. 1134# When building in place, set srcdir=.
1131if test "$ac_abs_confdir" = "$ac_pwd"; then 1135if test "$ac_abs_confdir" = "$ac_pwd"; then
1132 srcdir=. 1136 srcdir=.
1133fi 1137fi
1163Configuration: 1167Configuration:
1164 -h, --help display this help and exit 1168 -h, --help display this help and exit
1165 --help=short display options specific to this package 1169 --help=short display options specific to this package
1166 --help=recursive display the short help of all the included packages 1170 --help=recursive display the short help of all the included packages
1167 -V, --version display version information and exit 1171 -V, --version display version information and exit
1168 -q, --quiet, --silent do not print \`checking...' messages 1172 -q, --quiet, --silent do not print \`checking ...' messages
1169 --cache-file=FILE cache test results in FILE [disabled] 1173 --cache-file=FILE cache test results in FILE [disabled]
1170 -C, --config-cache alias for \`--cache-file=config.cache' 1174 -C, --config-cache alias for \`--cache-file=config.cache'
1171 -n, --no-create do not create output files 1175 -n, --no-create do not create output files
1172 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1176 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1173 1177
1218 CC C compiler command 1222 CC C compiler command
1219 CFLAGS C compiler flags 1223 CFLAGS C compiler flags
1220 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1224 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1221 nonstandard directory <lib dir> 1225 nonstandard directory <lib dir>
1222 LIBS libraries to pass to the linker, e.g. -l<library> 1226 LIBS libraries to pass to the linker, e.g. -l<library>
1223 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1227 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1224 you have headers in a nonstandard directory <include dir> 1228 you have headers in a nonstandard directory <include dir>
1225 1229
1226Use these variables to override the choices made by `configure' or to help 1230Use these variables to override the choices made by `configure' or to help
1227it to find libraries and programs with nonstandard names/locations. 1231it to find libraries and programs with nonstandard names/locations.
1228 1232
1288 1292
1289test -n "$ac_init_help" && exit $ac_status 1293test -n "$ac_init_help" && exit $ac_status
1290if $ac_init_version; then 1294if $ac_init_version; then
1291 cat <<\_ACEOF 1295 cat <<\_ACEOF
1292configure 1296configure
1293generated by GNU Autoconf 2.64 1297generated by GNU Autoconf 2.67
1294 1298
1295Copyright (C) 2009 Free Software Foundation, Inc. 1299Copyright (C) 2010 Free Software Foundation, Inc.
1296This configure script is free software; the Free Software Foundation 1300This configure script is free software; the Free Software Foundation
1297gives unlimited permission to copy, distribute and modify it. 1301gives unlimited permission to copy, distribute and modify it.
1298_ACEOF 1302_ACEOF
1299 exit 1303 exit
1300fi 1304fi
1335sed 's/^/| /' conftest.$ac_ext >&5 1339sed 's/^/| /' conftest.$ac_ext >&5
1336 1340
1337 ac_retval=1 1341 ac_retval=1
1338fi 1342fi
1339 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1343 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1340 return $ac_retval 1344 as_fn_set_status $ac_retval
1341 1345
1342} # ac_fn_c_try_compile 1346} # ac_fn_c_try_compile
1343 1347
1344# ac_fn_c_try_link LINENO 1348# ac_fn_c_try_link LINENO
1345# ----------------------- 1349# -----------------------
1381 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1385 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1382 # interfere with the next link command; also delete a directory that is 1386 # interfere with the next link command; also delete a directory that is
1383 # left behind by Apple's compiler. We do this before executing the actions. 1387 # left behind by Apple's compiler. We do this before executing the actions.
1384 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1388 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1385 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1389 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1386 return $ac_retval 1390 as_fn_set_status $ac_retval
1387 1391
1388} # ac_fn_c_try_link 1392} # ac_fn_c_try_link
1389cat >config.log <<_ACEOF 1393cat >config.log <<_ACEOF
1390This file contains any messages produced by compilers while 1394This file contains any messages produced by compilers while
1391running configure, to aid debugging if configure makes a mistake. 1395running configure, to aid debugging if configure makes a mistake.
1392 1396
1393It was created by $as_me, which was 1397It was created by $as_me, which was
1394generated by GNU Autoconf 2.64. Invocation command line was 1398generated by GNU Autoconf 2.67. Invocation command line was
1395 1399
1396 $ $0 $@ 1400 $ $0 $@
1397 1401
1398_ACEOF 1402_ACEOF
1399exec 5>>config.log 1403exec 5>>config.log
1499trap 'exit_status=$? 1503trap 'exit_status=$?
1500 # Save into config.log some information that might help in debugging. 1504 # Save into config.log some information that might help in debugging.
1501 { 1505 {
1502 echo 1506 echo
1503 1507
1504 cat <<\_ASBOX
1505## ---------------- ## 1508 $as_echo "## ---------------- ##
1506## Cache variables. ## 1509## Cache variables. ##
1507## ---------------- ## 1510## ---------------- ##"
1508_ASBOX
1509 echo 1511 echo
1510 # The following way of writing the cache mishandles newlines in values, 1512 # The following way of writing the cache mishandles newlines in values,
1511( 1513(
1512 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1514 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1513 eval ac_val=\$$ac_var 1515 eval ac_val=\$$ac_var
1537 esac | 1539 esac |
1538 sort 1540 sort
1539) 1541)
1540 echo 1542 echo
1541 1543
1542 cat <<\_ASBOX
1543## ----------------- ## 1544 $as_echo "## ----------------- ##
1544## Output variables. ## 1545## Output variables. ##
1545## ----------------- ## 1546## ----------------- ##"
1546_ASBOX
1547 echo 1547 echo
1548 for ac_var in $ac_subst_vars 1548 for ac_var in $ac_subst_vars
1549 do 1549 do
1550 eval ac_val=\$$ac_var 1550 eval ac_val=\$$ac_var
1551 case $ac_val in 1551 case $ac_val in
1554 $as_echo "$ac_var='\''$ac_val'\''" 1554 $as_echo "$ac_var='\''$ac_val'\''"
1555 done | sort 1555 done | sort
1556 echo 1556 echo
1557 1557
1558 if test -n "$ac_subst_files"; then 1558 if test -n "$ac_subst_files"; then
1559 cat <<\_ASBOX
1560## ------------------- ## 1559 $as_echo "## ------------------- ##
1561## File substitutions. ## 1560## File substitutions. ##
1562## ------------------- ## 1561## ------------------- ##"
1563_ASBOX
1564 echo 1562 echo
1565 for ac_var in $ac_subst_files 1563 for ac_var in $ac_subst_files
1566 do 1564 do
1567 eval ac_val=\$$ac_var 1565 eval ac_val=\$$ac_var
1568 case $ac_val in 1566 case $ac_val in
1572 done | sort 1570 done | sort
1573 echo 1571 echo
1574 fi 1572 fi
1575 1573
1576 if test -s confdefs.h; then 1574 if test -s confdefs.h; then
1577 cat <<\_ASBOX 1575 $as_echo "## ----------- ##
1578## ----------- ##
1579## confdefs.h. ## 1576## confdefs.h. ##
1580## ----------- ## 1577## ----------- ##"
1581_ASBOX
1582 echo 1578 echo
1583 cat confdefs.h 1579 cat confdefs.h
1584 echo 1580 echo
1585 fi 1581 fi
1586 test "$ac_signal" != 0 && 1582 test "$ac_signal" != 0 &&
1631# Let the site file select an alternate cache file if it wants to. 1627# Let the site file select an alternate cache file if it wants to.
1632# Prefer an explicitly selected file to automatically selected ones. 1628# Prefer an explicitly selected file to automatically selected ones.
1633ac_site_file1=NONE 1629ac_site_file1=NONE
1634ac_site_file2=NONE 1630ac_site_file2=NONE
1635if test -n "$CONFIG_SITE"; then 1631if test -n "$CONFIG_SITE"; then
1632 # We do not want a PATH search for config.site.
1633 case $CONFIG_SITE in #((
1634 -*) ac_site_file1=./$CONFIG_SITE;;
1636 ac_site_file1=$CONFIG_SITE 1635 */*) ac_site_file1=$CONFIG_SITE;;
1636 *) ac_site_file1=./$CONFIG_SITE;;
1637 esac
1637elif test "x$prefix" != xNONE; then 1638elif test "x$prefix" != xNONE; then
1638 ac_site_file1=$prefix/share/config.site 1639 ac_site_file1=$prefix/share/config.site
1639 ac_site_file2=$prefix/etc/config.site 1640 ac_site_file2=$prefix/etc/config.site
1640else 1641else
1641 ac_site_file1=$ac_default_prefix/share/config.site 1642 ac_site_file1=$ac_default_prefix/share/config.site
1642 ac_site_file2=$ac_default_prefix/etc/config.site 1643 ac_site_file2=$ac_default_prefix/etc/config.site
1643fi 1644fi
1644for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1645for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1645do 1646do
1646 test "x$ac_site_file" = xNONE && continue 1647 test "x$ac_site_file" = xNONE && continue
1647 if test -r "$ac_site_file"; then 1648 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1649$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1650$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1650 sed 's/^/| /' "$ac_site_file" >&5 1651 sed 's/^/| /' "$ac_site_file" >&5
1651 . "$ac_site_file" 1652 . "$ac_site_file" \
1653 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1655as_fn_error $? "failed to load site script $ac_site_file
1656See \`config.log' for more details" "$LINENO" 5 ; }
1652 fi 1657 fi
1653done 1658done
1654 1659
1655if test -r "$cache_file"; then 1660if test -r "$cache_file"; then
1656 # Some versions of bash will fail to source /dev/null (special 1661 # Some versions of bash will fail to source /dev/null (special files
1657 # files actually), so we avoid doing that. 1662 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1658 if test -f "$cache_file"; then 1663 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1664 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1660$as_echo "$as_me: loading cache $cache_file" >&6;} 1665$as_echo "$as_me: loading cache $cache_file" >&6;}
1661 case $cache_file in 1666 case $cache_file in
1662 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1667 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1663 *) . "./$cache_file";; 1668 *) . "./$cache_file";;
1722if $ac_cache_corrupted; then 1727if $ac_cache_corrupted; then
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1726$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1731$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1727 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1732 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1728fi 1733fi
1729## -------------------- ## 1734## -------------------- ##
1730## Main body of script. ## 1735## Main body of script. ##
1731## -------------------- ## 1736## -------------------- ##
1732 1737
2039fi 2044fi
2040 2045
2041 2046
2042test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2047test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2048$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044as_fn_error "no acceptable C compiler found in \$PATH 2049as_fn_error $? "no acceptable C compiler found in \$PATH
2045See \`config.log' for more details." "$LINENO" 5; } 2050See \`config.log' for more details" "$LINENO" 5 ; }
2046 2051
2047# Provide some information about the compiler. 2052# Provide some information about the compiler.
2048$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2053$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2049set X $ac_compile 2054set X $ac_compile
2050ac_compiler=$2 2055ac_compiler=$2
2061 if test -s conftest.err; then 2066 if test -s conftest.err; then
2062 sed '10a\ 2067 sed '10a\
2063... rest of stderr output deleted ... 2068... rest of stderr output deleted ...
2064 10q' conftest.err >conftest.er1 2069 10q' conftest.err >conftest.er1
2065 cat conftest.er1 >&5 2070 cat conftest.er1 >&5
2066 rm -f conftest.er1 conftest.err
2067 fi 2071 fi
2072 rm -f conftest.er1 conftest.err
2068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2069 test $ac_status = 0; } 2074 test $ac_status = 0; }
2070done 2075done
2071 2076
2072cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2077cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073/* end confdefs.h. */ 2078/* end confdefs.h. */
2074#include <stdio.h> 2079
2075int 2080int
2076main () 2081main ()
2077{ 2082{
2078FILE *f = fopen ("conftest.out", "w");
2079 return ferror (f) || fclose (f) != 0;
2080 2083
2081 ; 2084 ;
2082 return 0; 2085 return 0;
2083} 2086}
2084_ACEOF 2087_ACEOF
2085ac_clean_files_save=$ac_clean_files 2088ac_clean_files_save=$ac_clean_files
2086ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 2089ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2087# Try to create an executable without -o first, disregard a.out. 2090# Try to create an executable without -o first, disregard a.out.
2088# It will help us diagnose broken compilers, and finding out an intuition 2091# It will help us diagnose broken compilers, and finding out an intuition
2089# of exeext. 2092# of exeext.
2090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2091$as_echo_n "checking for C compiler default output file name... " >&6; } 2094$as_echo_n "checking whether the C compiler works... " >&6; }
2092ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2095ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2093 2096
2094# The possible output files: 2097# The possible output files:
2095ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2098ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2096 2099
2148test "$ac_cv_exeext" = no && ac_cv_exeext= 2151test "$ac_cv_exeext" = no && ac_cv_exeext=
2149 2152
2150else 2153else
2151 ac_file='' 2154 ac_file=''
2152fi 2155fi
2156if test -z "$ac_file"; then :
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158$as_echo "no" >&6; }
2159$as_echo "$as_me: failed program was:" >&5
2160sed 's/^/| /' conftest.$ac_ext >&5
2161
2162{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2163$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2164as_fn_error 77 "C compiler cannot create executables
2165See \`config.log' for more details" "$LINENO" 5 ; }
2166else
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2168$as_echo "yes" >&6; }
2169fi
2170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2171$as_echo_n "checking for C compiler default output file name... " >&6; }
2153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2154$as_echo "$ac_file" >&6; } 2173$as_echo "$ac_file" >&6; }
2155if test -z "$ac_file"; then :
2156 $as_echo "$as_me: failed program was:" >&5
2157sed 's/^/| /' conftest.$ac_ext >&5
2158
2159{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161{ as_fn_set_status 77
2162as_fn_error "C compiler cannot create executables
2163See \`config.log' for more details." "$LINENO" 5; }; }
2164fi
2165ac_exeext=$ac_cv_exeext 2174ac_exeext=$ac_cv_exeext
2166 2175
2167# Check that the compiler produces executables we can run. If not, either
2168# the compiler is broken, or we cross compile.
2169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2170$as_echo_n "checking whether the C compiler works... " >&6; }
2171# If not cross compiling, check that we can run a simple program.
2172if test "$cross_compiling" != yes; then
2173 if { ac_try='./$ac_file'
2174 { { case "(($ac_try" in
2175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2176 *) ac_try_echo=$ac_try;;
2177esac
2178eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2179$as_echo "$ac_try_echo"; } >&5
2180 (eval "$ac_try") 2>&5
2181 ac_status=$?
2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2183 test $ac_status = 0; }; }; then
2184 cross_compiling=no
2185 else
2186 if test "$cross_compiling" = maybe; then
2187 cross_compiling=yes
2188 else
2189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191as_fn_error "cannot run C compiled programs.
2192If you meant to cross compile, use \`--host'.
2193See \`config.log' for more details." "$LINENO" 5; }
2194 fi
2195 fi
2196fi
2197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2198$as_echo "yes" >&6; }
2199
2200rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 2176rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2201ac_clean_files=$ac_clean_files_save 2177ac_clean_files=$ac_clean_files_save
2202# Check that the compiler produces executables we can run. If not, either
2203# the compiler is broken, or we cross compile.
2204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2205$as_echo_n "checking whether we are cross compiling... " >&6; }
2206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2207$as_echo "$cross_compiling" >&6; }
2208
2209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2210$as_echo_n "checking for suffix of executables... " >&6; } 2179$as_echo_n "checking for suffix of executables... " >&6; }
2211if { { ac_try="$ac_link" 2180if { { ac_try="$ac_link"
2212case "(($ac_try" in 2181case "(($ac_try" in
2213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2233 esac 2202 esac
2234done 2203done
2235else 2204else
2236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2238as_fn_error "cannot compute suffix of executables: cannot compile and link 2207as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2239See \`config.log' for more details." "$LINENO" 5; } 2208See \`config.log' for more details" "$LINENO" 5 ; }
2240fi 2209fi
2241rm -f conftest$ac_cv_exeext 2210rm -f conftest conftest$ac_cv_exeext
2242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2243$as_echo "$ac_cv_exeext" >&6; } 2212$as_echo "$ac_cv_exeext" >&6; }
2244 2213
2245rm -f conftest.$ac_ext 2214rm -f conftest.$ac_ext
2246EXEEXT=$ac_cv_exeext 2215EXEEXT=$ac_cv_exeext
2247ac_exeext=$EXEEXT 2216ac_exeext=$EXEEXT
2217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218/* end confdefs.h. */
2219#include <stdio.h>
2220int
2221main ()
2222{
2223FILE *f = fopen ("conftest.out", "w");
2224 return ferror (f) || fclose (f) != 0;
2225
2226 ;
2227 return 0;
2228}
2229_ACEOF
2230ac_clean_files="$ac_clean_files conftest.out"
2231# Check that the compiler produces executables we can run. If not, either
2232# the compiler is broken, or we cross compile.
2233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2234$as_echo_n "checking whether we are cross compiling... " >&6; }
2235if test "$cross_compiling" != yes; then
2236 { { ac_try="$ac_link"
2237case "(($ac_try" in
2238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2239 *) ac_try_echo=$ac_try;;
2240esac
2241eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2242$as_echo "$ac_try_echo"; } >&5
2243 (eval "$ac_link") 2>&5
2244 ac_status=$?
2245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2246 test $ac_status = 0; }
2247 if { ac_try='./conftest$ac_cv_exeext'
2248 { { case "(($ac_try" in
2249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2250 *) ac_try_echo=$ac_try;;
2251esac
2252eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2253$as_echo "$ac_try_echo"; } >&5
2254 (eval "$ac_try") 2>&5
2255 ac_status=$?
2256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2257 test $ac_status = 0; }; }; then
2258 cross_compiling=no
2259 else
2260 if test "$cross_compiling" = maybe; then
2261 cross_compiling=yes
2262 else
2263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2265as_fn_error $? "cannot run C compiled programs.
2266If you meant to cross compile, use \`--host'.
2267See \`config.log' for more details" "$LINENO" 5 ; }
2268 fi
2269 fi
2270fi
2271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2272$as_echo "$cross_compiling" >&6; }
2273
2274rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2275ac_clean_files=$ac_clean_files_save
2248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2249$as_echo_n "checking for suffix of object files... " >&6; } 2277$as_echo_n "checking for suffix of object files... " >&6; }
2250if test "${ac_cv_objext+set}" = set; then : 2278if test "${ac_cv_objext+set}" = set; then :
2251 $as_echo_n "(cached) " >&6 2279 $as_echo_n "(cached) " >&6
2252else 2280else
2285 $as_echo "$as_me: failed program was:" >&5 2313 $as_echo "$as_me: failed program was:" >&5
2286sed 's/^/| /' conftest.$ac_ext >&5 2314sed 's/^/| /' conftest.$ac_ext >&5
2287 2315
2288{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2316{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290as_fn_error "cannot compute suffix of object files: cannot compile 2318as_fn_error $? "cannot compute suffix of object files: cannot compile
2291See \`config.log' for more details." "$LINENO" 5; } 2319See \`config.log' for more details" "$LINENO" 5 ; }
2292fi 2320fi
2293rm -f conftest.$ac_cv_objext conftest.$ac_ext 2321rm -f conftest.$ac_cv_objext conftest.$ac_ext
2294fi 2322fi
2295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2296$as_echo "$ac_cv_objext" >&6; } 2324$as_echo "$ac_cv_objext" >&6; }
2563ac_res=$ac_cv_search_pthread_create 2591ac_res=$ac_cv_search_pthread_create
2564if test "$ac_res" != no; then : 2592if test "$ac_res" != no; then :
2565 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 2593 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2566 2594
2567else 2595else
2568 as_fn_error "pthread functions not found" "$LINENO" 5 2596 as_fn_error $? "pthread functions not found" "$LINENO" 5
2569 2597
2570fi 2598fi
2571 2599
2572 2600
2573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5
2582#include <sys/time.h> 2610#include <sys/time.h>
2583#include <utime.h> 2611#include <utime.h>
2584struct timeval tv[2]; 2612struct timeval tv[2];
2585int res; 2613int res;
2586int fd; 2614int fd;
2587int main(void) 2615int main (void)
2588{ 2616{
2589 res = futimes (fd, tv); 2617 res = futimes (fd, tv);
2590 return 0; 2618 return 0;
2591} 2619}
2592 2620
2612else 2640else
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614/* end confdefs.h. */ 2642/* end confdefs.h. */
2615 2643
2616#include <fcntl.h> 2644#include <fcntl.h>
2617int main(void) 2645int main (void)
2618{ 2646{
2619 int fd = 0; 2647 int fd = 0;
2620 size_t count = 2; 2648 size_t count = 2;
2621 ssize_t res; 2649 ssize_t res;
2622 res = readahead (fd, 0, count); 2650 res = readahead (fd, 0, count);
2645else 2673else
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647/* end confdefs.h. */ 2675/* end confdefs.h. */
2648 2676
2649#include <unistd.h> 2677#include <unistd.h>
2650int main(void) 2678int main (void)
2651{ 2679{
2652 int fd = 0; 2680 int fd = 0;
2653 fdatasync (fd); 2681 fdatasync (fd);
2654 return 0; 2682 return 0;
2655} 2683}
2676else 2704else
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678/* end confdefs.h. */ 2706/* end confdefs.h. */
2679 2707
2680#include <unistd.h> 2708#include <unistd.h>
2681int main(void) 2709int main (void)
2682{ 2710{
2683 int fd = 0; 2711 int fd = 0;
2684 size_t count = 1; 2712 size_t count = 1;
2685 char buf; 2713 char buf;
2686 off_t offset = 1; 2714 off_t offset = 1;
2714/* end confdefs.h. */ 2742/* end confdefs.h. */
2715 2743
2716# include <sys/types.h> 2744# include <sys/types.h>
2717#if __linux 2745#if __linux
2718# include <sys/sendfile.h> 2746# include <sys/sendfile.h>
2719#elif __freebsd || defined (__APPLE__) 2747#elif __FreeBSD__ || defined __APPLE__
2720# include <sys/socket.h> 2748# include <sys/socket.h>
2721# include <sys/uio.h> 2749# include <sys/uio.h>
2722#elif __hpux 2750#elif __hpux
2723# include <sys/socket.h> 2751# include <sys/socket.h>
2724#else 2752#else
2725# error unsupported architecture 2753# error unsupported architecture
2726#endif 2754#endif
2727int main(void) 2755int main (void)
2728{ 2756{
2729 int fd = 0; 2757 int fd = 0;
2730 off_t offset = 1; 2758 off_t offset = 1;
2731 size_t count = 2; 2759 size_t count = 2;
2732 ssize_t res; 2760 ssize_t res;
2733#if __linux 2761#if __linux
2734 res = sendfile (fd, fd, offset, count); 2762 res = sendfile (fd, fd, offset, count);
2735#elif __freebsd 2763#elif __FreeBSD__
2736 res = sendfile (fd, fd, offset, count, 0, &offset, 0); 2764 res = sendfile (fd, fd, offset, count, 0, &offset, 0);
2737#elif __hpux 2765#elif __hpux
2738 res = sendfile (fd, fd, offset, count, 0, 0); 2766 res = sendfile (fd, fd, offset, count, 0, 0);
2739#endif 2767#endif
2740 return 0; 2768 return 0;
2762else 2790else
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764/* end confdefs.h. */ 2792/* end confdefs.h. */
2765 2793
2766#include <fcntl.h> 2794#include <fcntl.h>
2767int main(void) 2795int main (void)
2768{ 2796{
2769 int fd = 0; 2797 int fd = 0;
2770 off64_t offset = 1; 2798 off64_t offset = 1;
2771 off64_t nbytes = 1; 2799 off64_t nbytes = 1;
2772 unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; 2800 unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER;
2788$as_echo "$ac_cv_sync_file_range" >&6; } 2816$as_echo "$ac_cv_sync_file_range" >&6; }
2789test $ac_cv_sync_file_range = yes && 2817test $ac_cv_sync_file_range = yes &&
2790$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h 2818$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
2791 2819
2792 2820
2821
2822
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5
2824$as_echo_n "checking for posix_madvise... " >&6; }
2825if test "${ac_cv_posix_madvise+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2827else
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829/* end confdefs.h. */
2830
2831#include <sys/mman.h>
2832int main (void)
2833{
2834 int res = posix_madvise ((void *)0, (size_t)0, POSIX_MADV_NORMAL);
2835 int a = POSIX_MADV_SEQUENTIAL;
2836 int b = POSIX_MADV_RANDOM;
2837 int c = POSIX_MADV_WILLNEED;
2838 int d = POSIX_MADV_DONTNEED;
2839 return 0;
2840}
2841
2842_ACEOF
2843if ac_fn_c_try_link "$LINENO"; then :
2844 ac_cv_posix_madvise=yes
2845else
2846 ac_cv_posix_madvise=no
2847fi
2848rm -f core conftest.err conftest.$ac_objext \
2849 conftest$ac_exeext conftest.$ac_ext
2850fi
2851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_madvise" >&5
2852$as_echo "$ac_cv_posix_madvise" >&6; }
2853test $ac_cv_posix_madvise = yes &&
2854$as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h
2855
2856
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5
2858$as_echo_n "checking for posix_fadvise... " >&6; }
2859if test "${ac_cv_posix_fadvise+set}" = set; then :
2860 $as_echo_n "(cached) " >&6
2861else
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863/* end confdefs.h. */
2864
2865#define _XOPEN_SOURCE 600
2866#include <fcntl.h>
2867int main (void)
2868{
2869 int res = posix_fadvise ((int)0, (off_t)0, (off_t)0, POSIX_FADV_NORMAL);
2870 int a = POSIX_FADV_SEQUENTIAL;
2871 int b = POSIX_FADV_NOREUSE;
2872 int c = POSIX_FADV_RANDOM;
2873 int d = POSIX_FADV_WILLNEED;
2874 int e = POSIX_FADV_DONTNEED;
2875 return 0;
2876}
2877
2878_ACEOF
2879if ac_fn_c_try_link "$LINENO"; then :
2880 ac_cv_posix_fadvise=yes
2881else
2882 ac_cv_posix_fadvise=no
2883fi
2884rm -f core conftest.err conftest.$ac_objext \
2885 conftest$ac_exeext conftest.$ac_ext
2886fi
2887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5
2888$as_echo "$ac_cv_posix_fadvise" >&6; }
2889test $ac_cv_posix_fadvise = yes &&
2890$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
2793 2891
2794 2892
2795cat >confcache <<\_ACEOF 2893cat >confcache <<\_ACEOF
2796# This file is a shell script that caches the results of configure 2894# This file is a shell script that caches the results of configure
2797# tests run on this system so they can be shared between configure 2895# tests run on this system so they can be shared between configure
2873 2971
2874DEFS=-DHAVE_CONFIG_H 2972DEFS=-DHAVE_CONFIG_H
2875 2973
2876ac_libobjs= 2974ac_libobjs=
2877ac_ltlibobjs= 2975ac_ltlibobjs=
2976U=
2878for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2977for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2879 # 1. Remove the extension, and $U if already installed. 2978 # 1. Remove the extension, and $U if already installed.
2880 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2979 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2881 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 2980 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2882 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2981 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3034 3133
3035# CDPATH. 3134# CDPATH.
3036(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3037 3136
3038 3137
3039# as_fn_error ERROR [LINENO LOG_FD] 3138# as_fn_error STATUS ERROR [LINENO LOG_FD]
3040# --------------------------------- 3139# ----------------------------------------
3041# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3140# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3042# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3141# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3043# script with status $?, using 1 if that was 0. 3142# script with STATUS, using 1 if that was 0.
3044as_fn_error () 3143as_fn_error ()
3045{ 3144{
3046 as_status=$?; test $as_status -eq 0 && as_status=1 3145 as_status=$1; test $as_status -eq 0 && as_status=1
3047 if test "$3"; then 3146 if test "$4"; then
3048 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 3148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3050 fi 3149 fi
3051 $as_echo "$as_me: error: $1" >&2 3150 $as_echo "$as_me: error: $2" >&2
3052 as_fn_exit $as_status 3151 as_fn_exit $as_status
3053} # as_fn_error 3152} # as_fn_error
3054 3153
3055 3154
3056# as_fn_set_status STATUS 3155# as_fn_set_status STATUS
3242 } 3341 }
3243 s/.*/./; q'` 3342 s/.*/./; q'`
3244 test -d "$as_dir" && break 3343 test -d "$as_dir" && break
3245 done 3344 done
3246 test -z "$as_dirs" || eval "mkdir $as_dirs" 3345 test -z "$as_dirs" || eval "mkdir $as_dirs"
3247 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 3346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3248 3347
3249 3348
3250} # as_fn_mkdir_p 3349} # as_fn_mkdir_p
3251if mkdir -p . 2>/dev/null; then 3350if mkdir -p . 2>/dev/null; then
3252 as_mkdir_p='mkdir -p "$as_dir"' 3351 as_mkdir_p='mkdir -p "$as_dir"'
3296# Save the log message, to keep $0 and so on meaningful, and to 3395# Save the log message, to keep $0 and so on meaningful, and to
3297# report actual input values of CONFIG_FILES etc. instead of their 3396# report actual input values of CONFIG_FILES etc. instead of their
3298# values after options handling. 3397# values after options handling.
3299ac_log=" 3398ac_log="
3300This file was extended by $as_me, which was 3399This file was extended by $as_me, which was
3301generated by GNU Autoconf 2.64. Invocation command line was 3400generated by GNU Autoconf 2.67. Invocation command line was
3302 3401
3303 CONFIG_FILES = $CONFIG_FILES 3402 CONFIG_FILES = $CONFIG_FILES
3304 CONFIG_HEADERS = $CONFIG_HEADERS 3403 CONFIG_HEADERS = $CONFIG_HEADERS
3305 CONFIG_LINKS = $CONFIG_LINKS 3404 CONFIG_LINKS = $CONFIG_LINKS
3306 CONFIG_COMMANDS = $CONFIG_COMMANDS 3405 CONFIG_COMMANDS = $CONFIG_COMMANDS
3331 3430
3332Usage: $0 [OPTION]... [TAG]... 3431Usage: $0 [OPTION]... [TAG]...
3333 3432
3334 -h, --help print this help, then exit 3433 -h, --help print this help, then exit
3335 -V, --version print version number and configuration settings, then exit 3434 -V, --version print version number and configuration settings, then exit
3435 --config print configuration, then exit
3336 -q, --quiet, --silent 3436 -q, --quiet, --silent
3337 do not print progress messages 3437 do not print progress messages
3338 -d, --debug don't remove temporary files 3438 -d, --debug don't remove temporary files
3339 --recheck update $as_me by reconfiguring in the same conditions 3439 --recheck update $as_me by reconfiguring in the same conditions
3340 --header=FILE[:TEMPLATE] 3440 --header=FILE[:TEMPLATE]
3345 3445
3346Report bugs to the package provider." 3446Report bugs to the package provider."
3347 3447
3348_ACEOF 3448_ACEOF
3349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3449cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3450ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3350ac_cs_version="\\ 3451ac_cs_version="\\
3351config.status 3452config.status
3352configured by $0, generated by GNU Autoconf 2.64, 3453configured by $0, generated by GNU Autoconf 2.67,
3353 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3454 with options \\"\$ac_cs_config\\"
3354 3455
3355Copyright (C) 2009 Free Software Foundation, Inc. 3456Copyright (C) 2010 Free Software Foundation, Inc.
3356This config.status script is free software; the Free Software Foundation 3457This config.status script is free software; the Free Software Foundation
3357gives unlimited permission to copy, distribute and modify it." 3458gives unlimited permission to copy, distribute and modify it."
3358 3459
3359ac_pwd='$ac_pwd' 3460ac_pwd='$ac_pwd'
3360srcdir='$srcdir' 3461srcdir='$srcdir'
3365# The default lists apply if the user does not specify any file. 3466# The default lists apply if the user does not specify any file.
3366ac_need_defaults=: 3467ac_need_defaults=:
3367while test $# != 0 3468while test $# != 0
3368do 3469do
3369 case $1 in 3470 case $1 in
3370 --*=*) 3471 --*=?*)
3371 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3472 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3372 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3473 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3474 ac_shift=:
3475 ;;
3476 --*=)
3477 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3478 ac_optarg=
3373 ac_shift=: 3479 ac_shift=:
3374 ;; 3480 ;;
3375 *) 3481 *)
3376 ac_option=$1 3482 ac_option=$1
3377 ac_optarg=$2 3483 ac_optarg=$2
3383 # Handling of the options. 3489 # Handling of the options.
3384 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3490 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3385 ac_cs_recheck=: ;; 3491 ac_cs_recheck=: ;;
3386 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3492 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3387 $as_echo "$ac_cs_version"; exit ;; 3493 $as_echo "$ac_cs_version"; exit ;;
3494 --config | --confi | --conf | --con | --co | --c )
3495 $as_echo "$ac_cs_config"; exit ;;
3388 --debug | --debu | --deb | --de | --d | -d ) 3496 --debug | --debu | --deb | --de | --d | -d )
3389 debug=: ;; 3497 debug=: ;;
3390 --header | --heade | --head | --hea ) 3498 --header | --heade | --head | --hea )
3391 $ac_shift 3499 $ac_shift
3392 case $ac_optarg in 3500 case $ac_optarg in
3394 esac 3502 esac
3395 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3503 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3396 ac_need_defaults=false;; 3504 ac_need_defaults=false;;
3397 --he | --h) 3505 --he | --h)
3398 # Conflict between --help and --header 3506 # Conflict between --help and --header
3399 as_fn_error "ambiguous option: \`$1' 3507 as_fn_error $? "ambiguous option: \`$1'
3400Try \`$0 --help' for more information.";; 3508Try \`$0 --help' for more information.";;
3401 --help | --hel | -h ) 3509 --help | --hel | -h )
3402 $as_echo "$ac_cs_usage"; exit ;; 3510 $as_echo "$ac_cs_usage"; exit ;;
3403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3404 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3512 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3405 ac_cs_silent=: ;; 3513 ac_cs_silent=: ;;
3406 3514
3407 # This is an error. 3515 # This is an error.
3408 -*) as_fn_error "unrecognized option: \`$1' 3516 -*) as_fn_error $? "unrecognized option: \`$1'
3409Try \`$0 --help' for more information." ;; 3517Try \`$0 --help' for more information." ;;
3410 3518
3411 *) as_fn_append ac_config_targets " $1" 3519 *) as_fn_append ac_config_targets " $1"
3412 ac_need_defaults=false ;; 3520 ac_need_defaults=false ;;
3413 3521
3454for ac_config_target in $ac_config_targets 3562for ac_config_target in $ac_config_targets
3455do 3563do
3456 case $ac_config_target in 3564 case $ac_config_target in
3457 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; 3565 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;;
3458 3566
3459 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3567 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3460 esac 3568 esac
3461done 3569done
3462 3570
3463 3571
3464# If the user did not use the arguments to specify the items to instantiate, 3572# If the user did not use the arguments to specify the items to instantiate,
3490 test -n "$tmp" && test -d "$tmp" 3598 test -n "$tmp" && test -d "$tmp"
3491} || 3599} ||
3492{ 3600{
3493 tmp=./conf$$-$RANDOM 3601 tmp=./conf$$-$RANDOM
3494 (umask 077 && mkdir "$tmp") 3602 (umask 077 && mkdir "$tmp")
3495} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 3603} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3496 3604
3497# Set up the scripts for CONFIG_HEADERS section. 3605# Set up the scripts for CONFIG_HEADERS section.
3498# No need to generate them if there are no CONFIG_HEADERS. 3606# No need to generate them if there are no CONFIG_HEADERS.
3499# This happens for instance with `./config.status Makefile'. 3607# This happens for instance with `./config.status Makefile'.
3500if test -n "$CONFIG_HEADERS"; then 3608if test -n "$CONFIG_HEADERS"; then
3512for ac_last_try in false false :; do 3620for ac_last_try in false false :; do
3513 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 3621 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
3514 if test -z "$ac_t"; then 3622 if test -z "$ac_t"; then
3515 break 3623 break
3516 elif $ac_last_try; then 3624 elif $ac_last_try; then
3517 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 3625 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3518 else 3626 else
3519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3627 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3520 fi 3628 fi
3521done 3629done
3522 3630
3597} 3705}
3598{ print } 3706{ print }
3599_ACAWK 3707_ACAWK
3600_ACEOF 3708_ACEOF
3601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3709cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3602 as_fn_error "could not setup config headers machinery" "$LINENO" 5 3710 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3603fi # test -n "$CONFIG_HEADERS" 3711fi # test -n "$CONFIG_HEADERS"
3604 3712
3605 3713
3606eval set X " :H $CONFIG_HEADERS " 3714eval set X " :H $CONFIG_HEADERS "
3607shift 3715shift
3610 case $ac_tag in 3718 case $ac_tag in
3611 :[FHLC]) ac_mode=$ac_tag; continue;; 3719 :[FHLC]) ac_mode=$ac_tag; continue;;
3612 esac 3720 esac
3613 case $ac_mode$ac_tag in 3721 case $ac_mode$ac_tag in
3614 :[FHL]*:*);; 3722 :[FHL]*:*);;
3615 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 3723 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3616 :[FH]-) ac_tag=-:-;; 3724 :[FH]-) ac_tag=-:-;;
3617 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3725 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3618 esac 3726 esac
3619 ac_save_IFS=$IFS 3727 ac_save_IFS=$IFS
3620 IFS=: 3728 IFS=:
3638 test -f "$ac_f" || 3746 test -f "$ac_f" ||
3639 case $ac_f in 3747 case $ac_f in
3640 [\\/$]*) false;; 3748 [\\/$]*) false;;
3641 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3749 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3642 esac || 3750 esac ||
3643 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3751 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3644 esac 3752 esac
3645 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3753 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3646 as_fn_append ac_file_inputs " '$ac_f'" 3754 as_fn_append ac_file_inputs " '$ac_f'"
3647 done 3755 done
3648 3756
3665 *) ac_sed_conf_input=$configure_input;; 3773 *) ac_sed_conf_input=$configure_input;;
3666 esac 3774 esac
3667 3775
3668 case $ac_tag in 3776 case $ac_tag in
3669 *:-:* | *:-) cat >"$tmp/stdin" \ 3777 *:-:* | *:-) cat >"$tmp/stdin" \
3670 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 3778 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3671 esac 3779 esac
3672 ;; 3780 ;;
3673 esac 3781 esac
3674 3782
3675 ac_dir=`$as_dirname -- "$ac_file" || 3783 ac_dir=`$as_dirname -- "$ac_file" ||
3740 if test x"$ac_file" != x-; then 3848 if test x"$ac_file" != x-; then
3741 { 3849 {
3742 $as_echo "/* $configure_input */" \ 3850 $as_echo "/* $configure_input */" \
3743 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 3851 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
3744 } >"$tmp/config.h" \ 3852 } >"$tmp/config.h" \
3745 || as_fn_error "could not create $ac_file" "$LINENO" 5 3853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3746 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 3854 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 3855 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3748$as_echo "$as_me: $ac_file is unchanged" >&6;} 3856$as_echo "$as_me: $ac_file is unchanged" >&6;}
3749 else 3857 else
3750 rm -f "$ac_file" 3858 rm -f "$ac_file"
3751 mv "$tmp/config.h" "$ac_file" \ 3859 mv "$tmp/config.h" "$ac_file" \
3752 || as_fn_error "could not create $ac_file" "$LINENO" 5 3860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3753 fi 3861 fi
3754 else 3862 else
3755 $as_echo "/* $configure_input */" \ 3863 $as_echo "/* $configure_input */" \
3756 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 3864 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
3757 || as_fn_error "could not create -" "$LINENO" 5 3865 || as_fn_error $? "could not create -" "$LINENO" 5
3758 fi 3866 fi
3759 ;; 3867 ;;
3760 3868
3761 3869
3762 esac 3870 esac
3767as_fn_exit 0 3875as_fn_exit 0
3768_ACEOF 3876_ACEOF
3769ac_clean_files=$ac_clean_files_save 3877ac_clean_files=$ac_clean_files_save
3770 3878
3771test $ac_write_fail = 0 || 3879test $ac_write_fail = 0 ||
3772 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 3880 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3773 3881
3774 3882
3775# configure is writing to config.log, and then calls config.status. 3883# configure is writing to config.log, and then calls config.status.
3776# config.status does its own redirection, appending to config.log. 3884# config.status does its own redirection, appending to config.log.
3777# Unfortunately, on DOS this fails, as config.log is still kept open 3885# Unfortunately, on DOS this fails, as config.log is still kept open
3788 exec 5>/dev/null 3896 exec 5>/dev/null
3789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3897 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3790 exec 5>>config.log 3898 exec 5>>config.log
3791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3792 # would make configure fail if this is the last instruction. 3900 # would make configure fail if this is the last instruction.
3793 $ac_cs_success || as_fn_exit $? 3901 $ac_cs_success || as_fn_exit 1
3794fi 3902fi
3795if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 3903if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 3904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3797$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 3905$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3798fi 3906fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines