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.9 by root, Wed Dec 1 07:30:38 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
2599
2600
2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5
2602$as_echo_n "checking for utimes... " >&6; }
2603if test "${ac_cv_utimes+set}" = set; then :
2604 $as_echo_n "(cached) " >&6
2605else
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607/* end confdefs.h. */
2608
2609#include <sys/types.h>
2610#include <sys/time.h>
2611#include <utime.h>
2612struct timeval tv[2];
2613int res;
2614int main (void)
2615{
2616 res = utimes ("/", tv);
2617 return 0;
2618}
2619
2620_ACEOF
2621if ac_fn_c_try_link "$LINENO"; then :
2622 ac_cv_utimes=yes
2623else
2624 ac_cv_utimes=no
2625fi
2626rm -f core conftest.err conftest.$ac_objext \
2627 conftest$ac_exeext conftest.$ac_ext
2628fi
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_utimes" >&5
2630$as_echo "$ac_cv_utimes" >&6; }
2631test $ac_cv_utimes = yes &&
2632$as_echo "#define HAVE_UTIMES 1" >>confdefs.h
2571 2633
2572 2634
2573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5
2574$as_echo_n "checking for futimes... " >&6; } 2636$as_echo_n "checking for futimes... " >&6; }
2575if test "${ac_cv_futimes+set}" = set; then : 2637if test "${ac_cv_futimes+set}" = set; then :
2582#include <sys/time.h> 2644#include <sys/time.h>
2583#include <utime.h> 2645#include <utime.h>
2584struct timeval tv[2]; 2646struct timeval tv[2];
2585int res; 2647int res;
2586int fd; 2648int fd;
2587int main(void) 2649int main (void)
2588{ 2650{
2589 res = futimes (fd, tv); 2651 res = futimes (fd, tv);
2590 return 0; 2652 return 0;
2591} 2653}
2592 2654
2612else 2674else
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614/* end confdefs.h. */ 2676/* end confdefs.h. */
2615 2677
2616#include <fcntl.h> 2678#include <fcntl.h>
2617int main(void) 2679int main (void)
2618{ 2680{
2619 int fd = 0; 2681 int fd = 0;
2620 size_t count = 2; 2682 size_t count = 2;
2621 ssize_t res; 2683 ssize_t res;
2622 res = readahead (fd, 0, count); 2684 res = readahead (fd, 0, count);
2645else 2707else
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647/* end confdefs.h. */ 2709/* end confdefs.h. */
2648 2710
2649#include <unistd.h> 2711#include <unistd.h>
2650int main(void) 2712int main (void)
2651{ 2713{
2652 int fd = 0; 2714 int fd = 0;
2653 fdatasync (fd); 2715 fdatasync (fd);
2654 return 0; 2716 return 0;
2655} 2717}
2676else 2738else
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678/* end confdefs.h. */ 2740/* end confdefs.h. */
2679 2741
2680#include <unistd.h> 2742#include <unistd.h>
2681int main(void) 2743int main (void)
2682{ 2744{
2683 int fd = 0; 2745 int fd = 0;
2684 size_t count = 1; 2746 size_t count = 1;
2685 char buf; 2747 char buf;
2686 off_t offset = 1; 2748 off_t offset = 1;
2714/* end confdefs.h. */ 2776/* end confdefs.h. */
2715 2777
2716# include <sys/types.h> 2778# include <sys/types.h>
2717#if __linux 2779#if __linux
2718# include <sys/sendfile.h> 2780# include <sys/sendfile.h>
2719#elif __freebsd || defined (__APPLE__) 2781#elif __FreeBSD__ || defined __APPLE__
2720# include <sys/socket.h> 2782# include <sys/socket.h>
2721# include <sys/uio.h> 2783# include <sys/uio.h>
2722#elif __hpux 2784#elif __hpux
2723# include <sys/socket.h> 2785# include <sys/socket.h>
2724#else 2786#else
2725# error unsupported architecture 2787# error unsupported architecture
2726#endif 2788#endif
2727int main(void) 2789int main (void)
2728{ 2790{
2729 int fd = 0; 2791 int fd = 0;
2730 off_t offset = 1; 2792 off_t offset = 1;
2731 size_t count = 2; 2793 size_t count = 2;
2732 ssize_t res; 2794 ssize_t res;
2733#if __linux 2795#if __linux
2734 res = sendfile (fd, fd, offset, count); 2796 res = sendfile (fd, fd, offset, count);
2735#elif __freebsd 2797#elif __FreeBSD__
2736 res = sendfile (fd, fd, offset, count, 0, &offset, 0); 2798 res = sendfile (fd, fd, offset, count, 0, &offset, 0);
2737#elif __hpux 2799#elif __hpux
2738 res = sendfile (fd, fd, offset, count, 0, 0); 2800 res = sendfile (fd, fd, offset, count, 0, 0);
2739#endif 2801#endif
2740 return 0; 2802 return 0;
2762else 2824else
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764/* end confdefs.h. */ 2826/* end confdefs.h. */
2765 2827
2766#include <fcntl.h> 2828#include <fcntl.h>
2767int main(void) 2829int main (void)
2768{ 2830{
2769 int fd = 0; 2831 int fd = 0;
2770 off64_t offset = 1; 2832 off64_t offset = 1;
2771 off64_t nbytes = 1; 2833 off64_t nbytes = 1;
2772 unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; 2834 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; } 2850$as_echo "$ac_cv_sync_file_range" >&6; }
2789test $ac_cv_sync_file_range = yes && 2851test $ac_cv_sync_file_range = yes &&
2790$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h 2852$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
2791 2853
2792 2854
2855
2856
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5
2858$as_echo_n "checking for posix_madvise... " >&6; }
2859if test "${ac_cv_posix_madvise+set}" = set; then :
2860 $as_echo_n "(cached) " >&6
2861else
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863/* end confdefs.h. */
2864
2865#include <sys/mman.h>
2866int main (void)
2867{
2868 int res = posix_madvise ((void *)0, (size_t)0, POSIX_MADV_NORMAL);
2869 int a = POSIX_MADV_SEQUENTIAL;
2870 int b = POSIX_MADV_RANDOM;
2871 int c = POSIX_MADV_WILLNEED;
2872 int d = POSIX_MADV_DONTNEED;
2873 return 0;
2874}
2875
2876_ACEOF
2877if ac_fn_c_try_link "$LINENO"; then :
2878 ac_cv_posix_madvise=yes
2879else
2880 ac_cv_posix_madvise=no
2881fi
2882rm -f core conftest.err conftest.$ac_objext \
2883 conftest$ac_exeext conftest.$ac_ext
2884fi
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_madvise" >&5
2886$as_echo "$ac_cv_posix_madvise" >&6; }
2887test $ac_cv_posix_madvise = yes &&
2888$as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h
2889
2890
2891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5
2892$as_echo_n "checking for posix_fadvise... " >&6; }
2893if test "${ac_cv_posix_fadvise+set}" = set; then :
2894 $as_echo_n "(cached) " >&6
2895else
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897/* end confdefs.h. */
2898
2899#define _XOPEN_SOURCE 600
2900#include <fcntl.h>
2901int main (void)
2902{
2903 int res = posix_fadvise ((int)0, (off_t)0, (off_t)0, POSIX_FADV_NORMAL);
2904 int a = POSIX_FADV_SEQUENTIAL;
2905 int b = POSIX_FADV_NOREUSE;
2906 int c = POSIX_FADV_RANDOM;
2907 int d = POSIX_FADV_WILLNEED;
2908 int e = POSIX_FADV_DONTNEED;
2909 return 0;
2910}
2911
2912_ACEOF
2913if ac_fn_c_try_link "$LINENO"; then :
2914 ac_cv_posix_fadvise=yes
2915else
2916 ac_cv_posix_fadvise=no
2917fi
2918rm -f core conftest.err conftest.$ac_objext \
2919 conftest$ac_exeext conftest.$ac_ext
2920fi
2921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5
2922$as_echo "$ac_cv_posix_fadvise" >&6; }
2923test $ac_cv_posix_fadvise = yes &&
2924$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
2793 2925
2794 2926
2795cat >confcache <<\_ACEOF 2927cat >confcache <<\_ACEOF
2796# This file is a shell script that caches the results of configure 2928# 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 2929# tests run on this system so they can be shared between configure
2873 3005
2874DEFS=-DHAVE_CONFIG_H 3006DEFS=-DHAVE_CONFIG_H
2875 3007
2876ac_libobjs= 3008ac_libobjs=
2877ac_ltlibobjs= 3009ac_ltlibobjs=
3010U=
2878for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3011for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2879 # 1. Remove the extension, and $U if already installed. 3012 # 1. Remove the extension, and $U if already installed.
2880 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3013 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2881 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3014 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2882 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3015 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3034 3167
3035# CDPATH. 3168# CDPATH.
3036(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3169(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3037 3170
3038 3171
3039# as_fn_error ERROR [LINENO LOG_FD] 3172# as_fn_error STATUS ERROR [LINENO LOG_FD]
3040# --------------------------------- 3173# ----------------------------------------
3041# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3174# 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 3175# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3043# script with status $?, using 1 if that was 0. 3176# script with STATUS, using 1 if that was 0.
3044as_fn_error () 3177as_fn_error ()
3045{ 3178{
3046 as_status=$?; test $as_status -eq 0 && as_status=1 3179 as_status=$1; test $as_status -eq 0 && as_status=1
3047 if test "$3"; then 3180 if test "$4"; then
3048 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3181 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 3182 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3050 fi 3183 fi
3051 $as_echo "$as_me: error: $1" >&2 3184 $as_echo "$as_me: error: $2" >&2
3052 as_fn_exit $as_status 3185 as_fn_exit $as_status
3053} # as_fn_error 3186} # as_fn_error
3054 3187
3055 3188
3056# as_fn_set_status STATUS 3189# as_fn_set_status STATUS
3242 } 3375 }
3243 s/.*/./; q'` 3376 s/.*/./; q'`
3244 test -d "$as_dir" && break 3377 test -d "$as_dir" && break
3245 done 3378 done
3246 test -z "$as_dirs" || eval "mkdir $as_dirs" 3379 test -z "$as_dirs" || eval "mkdir $as_dirs"
3247 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 3380 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3248 3381
3249 3382
3250} # as_fn_mkdir_p 3383} # as_fn_mkdir_p
3251if mkdir -p . 2>/dev/null; then 3384if mkdir -p . 2>/dev/null; then
3252 as_mkdir_p='mkdir -p "$as_dir"' 3385 as_mkdir_p='mkdir -p "$as_dir"'
3296# Save the log message, to keep $0 and so on meaningful, and to 3429# 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 3430# report actual input values of CONFIG_FILES etc. instead of their
3298# values after options handling. 3431# values after options handling.
3299ac_log=" 3432ac_log="
3300This file was extended by $as_me, which was 3433This file was extended by $as_me, which was
3301generated by GNU Autoconf 2.64. Invocation command line was 3434generated by GNU Autoconf 2.67. Invocation command line was
3302 3435
3303 CONFIG_FILES = $CONFIG_FILES 3436 CONFIG_FILES = $CONFIG_FILES
3304 CONFIG_HEADERS = $CONFIG_HEADERS 3437 CONFIG_HEADERS = $CONFIG_HEADERS
3305 CONFIG_LINKS = $CONFIG_LINKS 3438 CONFIG_LINKS = $CONFIG_LINKS
3306 CONFIG_COMMANDS = $CONFIG_COMMANDS 3439 CONFIG_COMMANDS = $CONFIG_COMMANDS
3331 3464
3332Usage: $0 [OPTION]... [TAG]... 3465Usage: $0 [OPTION]... [TAG]...
3333 3466
3334 -h, --help print this help, then exit 3467 -h, --help print this help, then exit
3335 -V, --version print version number and configuration settings, then exit 3468 -V, --version print version number and configuration settings, then exit
3469 --config print configuration, then exit
3336 -q, --quiet, --silent 3470 -q, --quiet, --silent
3337 do not print progress messages 3471 do not print progress messages
3338 -d, --debug don't remove temporary files 3472 -d, --debug don't remove temporary files
3339 --recheck update $as_me by reconfiguring in the same conditions 3473 --recheck update $as_me by reconfiguring in the same conditions
3340 --header=FILE[:TEMPLATE] 3474 --header=FILE[:TEMPLATE]
3345 3479
3346Report bugs to the package provider." 3480Report bugs to the package provider."
3347 3481
3348_ACEOF 3482_ACEOF
3349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3484ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3350ac_cs_version="\\ 3485ac_cs_version="\\
3351config.status 3486config.status
3352configured by $0, generated by GNU Autoconf 2.64, 3487configured by $0, generated by GNU Autoconf 2.67,
3353 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3488 with options \\"\$ac_cs_config\\"
3354 3489
3355Copyright (C) 2009 Free Software Foundation, Inc. 3490Copyright (C) 2010 Free Software Foundation, Inc.
3356This config.status script is free software; the Free Software Foundation 3491This config.status script is free software; the Free Software Foundation
3357gives unlimited permission to copy, distribute and modify it." 3492gives unlimited permission to copy, distribute and modify it."
3358 3493
3359ac_pwd='$ac_pwd' 3494ac_pwd='$ac_pwd'
3360srcdir='$srcdir' 3495srcdir='$srcdir'
3365# The default lists apply if the user does not specify any file. 3500# The default lists apply if the user does not specify any file.
3366ac_need_defaults=: 3501ac_need_defaults=:
3367while test $# != 0 3502while test $# != 0
3368do 3503do
3369 case $1 in 3504 case $1 in
3370 --*=*) 3505 --*=?*)
3371 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3506 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3372 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3507 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3508 ac_shift=:
3509 ;;
3510 --*=)
3511 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3512 ac_optarg=
3373 ac_shift=: 3513 ac_shift=:
3374 ;; 3514 ;;
3375 *) 3515 *)
3376 ac_option=$1 3516 ac_option=$1
3377 ac_optarg=$2 3517 ac_optarg=$2
3383 # Handling of the options. 3523 # Handling of the options.
3384 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3524 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3385 ac_cs_recheck=: ;; 3525 ac_cs_recheck=: ;;
3386 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3526 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3387 $as_echo "$ac_cs_version"; exit ;; 3527 $as_echo "$ac_cs_version"; exit ;;
3528 --config | --confi | --conf | --con | --co | --c )
3529 $as_echo "$ac_cs_config"; exit ;;
3388 --debug | --debu | --deb | --de | --d | -d ) 3530 --debug | --debu | --deb | --de | --d | -d )
3389 debug=: ;; 3531 debug=: ;;
3390 --header | --heade | --head | --hea ) 3532 --header | --heade | --head | --hea )
3391 $ac_shift 3533 $ac_shift
3392 case $ac_optarg in 3534 case $ac_optarg in
3394 esac 3536 esac
3395 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3537 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3396 ac_need_defaults=false;; 3538 ac_need_defaults=false;;
3397 --he | --h) 3539 --he | --h)
3398 # Conflict between --help and --header 3540 # Conflict between --help and --header
3399 as_fn_error "ambiguous option: \`$1' 3541 as_fn_error $? "ambiguous option: \`$1'
3400Try \`$0 --help' for more information.";; 3542Try \`$0 --help' for more information.";;
3401 --help | --hel | -h ) 3543 --help | --hel | -h )
3402 $as_echo "$ac_cs_usage"; exit ;; 3544 $as_echo "$ac_cs_usage"; exit ;;
3403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3404 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3546 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3405 ac_cs_silent=: ;; 3547 ac_cs_silent=: ;;
3406 3548
3407 # This is an error. 3549 # This is an error.
3408 -*) as_fn_error "unrecognized option: \`$1' 3550 -*) as_fn_error $? "unrecognized option: \`$1'
3409Try \`$0 --help' for more information." ;; 3551Try \`$0 --help' for more information." ;;
3410 3552
3411 *) as_fn_append ac_config_targets " $1" 3553 *) as_fn_append ac_config_targets " $1"
3412 ac_need_defaults=false ;; 3554 ac_need_defaults=false ;;
3413 3555
3454for ac_config_target in $ac_config_targets 3596for ac_config_target in $ac_config_targets
3455do 3597do
3456 case $ac_config_target in 3598 case $ac_config_target in
3457 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; 3599 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;;
3458 3600
3459 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3601 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3460 esac 3602 esac
3461done 3603done
3462 3604
3463 3605
3464# If the user did not use the arguments to specify the items to instantiate, 3606# If the user did not use the arguments to specify the items to instantiate,
3490 test -n "$tmp" && test -d "$tmp" 3632 test -n "$tmp" && test -d "$tmp"
3491} || 3633} ||
3492{ 3634{
3493 tmp=./conf$$-$RANDOM 3635 tmp=./conf$$-$RANDOM
3494 (umask 077 && mkdir "$tmp") 3636 (umask 077 && mkdir "$tmp")
3495} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 3637} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3496 3638
3497# Set up the scripts for CONFIG_HEADERS section. 3639# Set up the scripts for CONFIG_HEADERS section.
3498# No need to generate them if there are no CONFIG_HEADERS. 3640# No need to generate them if there are no CONFIG_HEADERS.
3499# This happens for instance with `./config.status Makefile'. 3641# This happens for instance with `./config.status Makefile'.
3500if test -n "$CONFIG_HEADERS"; then 3642if test -n "$CONFIG_HEADERS"; then
3512for ac_last_try in false false :; do 3654for ac_last_try in false false :; do
3513 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 3655 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
3514 if test -z "$ac_t"; then 3656 if test -z "$ac_t"; then
3515 break 3657 break
3516 elif $ac_last_try; then 3658 elif $ac_last_try; then
3517 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 3659 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3518 else 3660 else
3519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3661 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3520 fi 3662 fi
3521done 3663done
3522 3664
3597} 3739}
3598{ print } 3740{ print }
3599_ACAWK 3741_ACAWK
3600_ACEOF 3742_ACEOF
3601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3743cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3602 as_fn_error "could not setup config headers machinery" "$LINENO" 5 3744 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3603fi # test -n "$CONFIG_HEADERS" 3745fi # test -n "$CONFIG_HEADERS"
3604 3746
3605 3747
3606eval set X " :H $CONFIG_HEADERS " 3748eval set X " :H $CONFIG_HEADERS "
3607shift 3749shift
3610 case $ac_tag in 3752 case $ac_tag in
3611 :[FHLC]) ac_mode=$ac_tag; continue;; 3753 :[FHLC]) ac_mode=$ac_tag; continue;;
3612 esac 3754 esac
3613 case $ac_mode$ac_tag in 3755 case $ac_mode$ac_tag in
3614 :[FHL]*:*);; 3756 :[FHL]*:*);;
3615 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 3757 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3616 :[FH]-) ac_tag=-:-;; 3758 :[FH]-) ac_tag=-:-;;
3617 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3759 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3618 esac 3760 esac
3619 ac_save_IFS=$IFS 3761 ac_save_IFS=$IFS
3620 IFS=: 3762 IFS=:
3638 test -f "$ac_f" || 3780 test -f "$ac_f" ||
3639 case $ac_f in 3781 case $ac_f in
3640 [\\/$]*) false;; 3782 [\\/$]*) false;;
3641 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3783 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3642 esac || 3784 esac ||
3643 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3785 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3644 esac 3786 esac
3645 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3787 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3646 as_fn_append ac_file_inputs " '$ac_f'" 3788 as_fn_append ac_file_inputs " '$ac_f'"
3647 done 3789 done
3648 3790
3665 *) ac_sed_conf_input=$configure_input;; 3807 *) ac_sed_conf_input=$configure_input;;
3666 esac 3808 esac
3667 3809
3668 case $ac_tag in 3810 case $ac_tag in
3669 *:-:* | *:-) cat >"$tmp/stdin" \ 3811 *:-:* | *:-) cat >"$tmp/stdin" \
3670 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 3812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3671 esac 3813 esac
3672 ;; 3814 ;;
3673 esac 3815 esac
3674 3816
3675 ac_dir=`$as_dirname -- "$ac_file" || 3817 ac_dir=`$as_dirname -- "$ac_file" ||
3740 if test x"$ac_file" != x-; then 3882 if test x"$ac_file" != x-; then
3741 { 3883 {
3742 $as_echo "/* $configure_input */" \ 3884 $as_echo "/* $configure_input */" \
3743 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 3885 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
3744 } >"$tmp/config.h" \ 3886 } >"$tmp/config.h" \
3745 || as_fn_error "could not create $ac_file" "$LINENO" 5 3887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3746 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 3888 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 3889 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3748$as_echo "$as_me: $ac_file is unchanged" >&6;} 3890$as_echo "$as_me: $ac_file is unchanged" >&6;}
3749 else 3891 else
3750 rm -f "$ac_file" 3892 rm -f "$ac_file"
3751 mv "$tmp/config.h" "$ac_file" \ 3893 mv "$tmp/config.h" "$ac_file" \
3752 || as_fn_error "could not create $ac_file" "$LINENO" 5 3894 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3753 fi 3895 fi
3754 else 3896 else
3755 $as_echo "/* $configure_input */" \ 3897 $as_echo "/* $configure_input */" \
3756 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 3898 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
3757 || as_fn_error "could not create -" "$LINENO" 5 3899 || as_fn_error $? "could not create -" "$LINENO" 5
3758 fi 3900 fi
3759 ;; 3901 ;;
3760 3902
3761 3903
3762 esac 3904 esac
3767as_fn_exit 0 3909as_fn_exit 0
3768_ACEOF 3910_ACEOF
3769ac_clean_files=$ac_clean_files_save 3911ac_clean_files=$ac_clean_files_save
3770 3912
3771test $ac_write_fail = 0 || 3913test $ac_write_fail = 0 ||
3772 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 3914 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3773 3915
3774 3916
3775# configure is writing to config.log, and then calls config.status. 3917# configure is writing to config.log, and then calls config.status.
3776# config.status does its own redirection, appending to config.log. 3918# config.status does its own redirection, appending to config.log.
3777# Unfortunately, on DOS this fails, as config.log is still kept open 3919# Unfortunately, on DOS this fails, as config.log is still kept open
3788 exec 5>/dev/null 3930 exec 5>/dev/null
3789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3931 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3790 exec 5>>config.log 3932 exec 5>>config.log
3791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3933 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3792 # would make configure fail if this is the last instruction. 3934 # would make configure fail if this is the last instruction.
3793 $ac_cs_success || as_fn_exit $? 3935 $ac_cs_success || as_fn_exit 1
3794fi 3936fi
3795if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 3937if 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 3938 { $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;} 3939$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3798fi 3940fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines