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. ## |
… | |
… | |
166 | fi |
168 | fi |
167 | test x\$exitcode = x0 || exit 1" |
169 | test x\$exitcode = x0 || exit 1" |
168 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
169 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
170 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
171 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
|
174 | test \$(( 1 + 1 )) = 2 || exit 1" |
172 | if (eval "$as_required") 2>/dev/null; then : |
175 | if (eval "$as_required") 2>/dev/null; then : |
173 | as_have_required=yes |
176 | as_have_required=yes |
174 | else |
177 | else |
175 | as_have_required=no |
178 | as_have_required=no |
176 | fi |
179 | fi |
… | |
… | |
311 | } |
314 | } |
312 | s/.*/./; q'` |
315 | s/.*/./; q'` |
313 | test -d "$as_dir" && break |
316 | test -d "$as_dir" && break |
314 | done |
317 | done |
315 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
318 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
316 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
319 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
317 | |
320 | |
318 | |
321 | |
319 | } # as_fn_mkdir_p |
322 | } # as_fn_mkdir_p |
320 | # as_fn_append VAR VALUE |
323 | # as_fn_append VAR VALUE |
321 | # ---------------------- |
324 | # ---------------------- |
… | |
… | |
351 | as_val=`expr "$@" || test $? -eq 1` |
354 | as_val=`expr "$@" || test $? -eq 1` |
352 | } |
355 | } |
353 | fi # as_fn_arith |
356 | fi # as_fn_arith |
354 | |
357 | |
355 | |
358 | |
356 | # as_fn_error ERROR [LINENO LOG_FD] |
359 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
357 | # --------------------------------- |
360 | # ---------------------------------------- |
358 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
361 | # 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 |
362 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
360 | # script with status $?, using 1 if that was 0. |
363 | # script with STATUS, using 1 if that was 0. |
361 | as_fn_error () |
364 | as_fn_error () |
362 | { |
365 | { |
363 | as_status=$?; test $as_status -eq 0 && as_status=1 |
366 | as_status=$1; test $as_status -eq 0 && as_status=1 |
364 | if test "$3"; then |
367 | if test "$4"; then |
365 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
368 | 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 |
369 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
367 | fi |
370 | fi |
368 | $as_echo "$as_me: error: $1" >&2 |
371 | $as_echo "$as_me: error: $2" >&2 |
369 | as_fn_exit $as_status |
372 | as_fn_exit $as_status |
370 | } # as_fn_error |
373 | } # as_fn_error |
371 | |
374 | |
372 | if expr a : '\(a\)' >/dev/null 2>&1 && |
375 | if expr a : '\(a\)' >/dev/null 2>&1 && |
373 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
376 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
… | |
… | |
521 | |
524 | |
522 | # Sed expression to map a string onto a valid variable name. |
525 | # Sed expression to map a string onto a valid variable name. |
523 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
526 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
524 | |
527 | |
525 | |
528 | |
526 | exec 7<&0 </dev/null 6>&1 |
529 | test -n "$DJDIR" || exec 7<&0 </dev/null |
|
|
530 | exec 6>&1 |
527 | |
531 | |
528 | # Name of the host. |
532 | # Name of the host. |
529 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
533 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
530 | # so uname gets run too. |
534 | # so uname gets run too. |
531 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
535 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
532 | |
536 | |
533 | # |
537 | # |
534 | # Initializations. |
538 | # Initializations. |
… | |
… | |
549 | PACKAGE_STRING= |
553 | PACKAGE_STRING= |
550 | PACKAGE_BUGREPORT= |
554 | PACKAGE_BUGREPORT= |
551 | PACKAGE_URL= |
555 | PACKAGE_URL= |
552 | |
556 | |
553 | ac_unique_file="libeio/eio.h" |
557 | ac_unique_file="libeio/eio.h" |
|
|
558 | # Factoring default headers for most tests. |
|
|
559 | ac_includes_default="\ |
|
|
560 | #include <stdio.h> |
|
|
561 | #ifdef HAVE_SYS_TYPES_H |
|
|
562 | # include <sys/types.h> |
|
|
563 | #endif |
|
|
564 | #ifdef HAVE_SYS_STAT_H |
|
|
565 | # include <sys/stat.h> |
|
|
566 | #endif |
|
|
567 | #ifdef STDC_HEADERS |
|
|
568 | # include <stdlib.h> |
|
|
569 | # include <stddef.h> |
|
|
570 | #else |
|
|
571 | # ifdef HAVE_STDLIB_H |
|
|
572 | # include <stdlib.h> |
|
|
573 | # endif |
|
|
574 | #endif |
|
|
575 | #ifdef HAVE_STRING_H |
|
|
576 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
|
577 | # include <memory.h> |
|
|
578 | # endif |
|
|
579 | # include <string.h> |
|
|
580 | #endif |
|
|
581 | #ifdef HAVE_STRINGS_H |
|
|
582 | # include <strings.h> |
|
|
583 | #endif |
|
|
584 | #ifdef HAVE_INTTYPES_H |
|
|
585 | # include <inttypes.h> |
|
|
586 | #endif |
|
|
587 | #ifdef HAVE_STDINT_H |
|
|
588 | # include <stdint.h> |
|
|
589 | #endif |
|
|
590 | #ifdef HAVE_UNISTD_H |
|
|
591 | # include <unistd.h> |
|
|
592 | #endif" |
|
|
593 | |
554 | ac_subst_vars='LTLIBOBJS |
594 | ac_subst_vars='LTLIBOBJS |
555 | LIBOBJS |
595 | LIBOBJS |
|
|
596 | EGREP |
|
|
597 | GREP |
|
|
598 | CPP |
556 | OBJEXT |
599 | OBJEXT |
557 | EXEEXT |
600 | EXEEXT |
558 | ac_ct_CC |
601 | ac_ct_CC |
559 | CPPFLAGS |
602 | CPPFLAGS |
560 | LDFLAGS |
603 | LDFLAGS |
… | |
… | |
607 | target_alias |
650 | target_alias |
608 | CC |
651 | CC |
609 | CFLAGS |
652 | CFLAGS |
610 | LDFLAGS |
653 | LDFLAGS |
611 | LIBS |
654 | LIBS |
612 | CPPFLAGS' |
655 | CPPFLAGS |
|
|
656 | CPP' |
613 | |
657 | |
614 | |
658 | |
615 | # Initialize some variables set by options. |
659 | # Initialize some variables set by options. |
616 | ac_init_help= |
660 | ac_init_help= |
617 | ac_init_version=false |
661 | ac_init_version=false |
… | |
… | |
670 | ac_prev= |
714 | ac_prev= |
671 | continue |
715 | continue |
672 | fi |
716 | fi |
673 | |
717 | |
674 | case $ac_option in |
718 | case $ac_option in |
675 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
719 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
720 | *=) ac_optarg= ;; |
676 | *) ac_optarg=yes ;; |
721 | *) ac_optarg=yes ;; |
677 | esac |
722 | esac |
678 | |
723 | |
679 | # Accept the important Cygnus configure options, so we can diagnose typos. |
724 | # Accept the important Cygnus configure options, so we can diagnose typos. |
680 | |
725 | |
681 | case $ac_dashdash$ac_option in |
726 | case $ac_dashdash$ac_option in |
… | |
… | |
716 | |
761 | |
717 | -disable-* | --disable-*) |
762 | -disable-* | --disable-*) |
718 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
763 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
719 | # Reject names that are not valid shell variable names. |
764 | # Reject names that are not valid shell variable names. |
720 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
765 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
721 | as_fn_error "invalid feature name: $ac_useropt" |
766 | as_fn_error $? "invalid feature name: $ac_useropt" |
722 | ac_useropt_orig=$ac_useropt |
767 | ac_useropt_orig=$ac_useropt |
723 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
768 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
724 | case $ac_user_opts in |
769 | case $ac_user_opts in |
725 | *" |
770 | *" |
726 | "enable_$ac_useropt" |
771 | "enable_$ac_useropt" |
… | |
… | |
742 | |
787 | |
743 | -enable-* | --enable-*) |
788 | -enable-* | --enable-*) |
744 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
789 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
745 | # Reject names that are not valid shell variable names. |
790 | # Reject names that are not valid shell variable names. |
746 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
791 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
747 | as_fn_error "invalid feature name: $ac_useropt" |
792 | as_fn_error $? "invalid feature name: $ac_useropt" |
748 | ac_useropt_orig=$ac_useropt |
793 | ac_useropt_orig=$ac_useropt |
749 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
794 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
750 | case $ac_user_opts in |
795 | case $ac_user_opts in |
751 | *" |
796 | *" |
752 | "enable_$ac_useropt" |
797 | "enable_$ac_useropt" |
… | |
… | |
946 | |
991 | |
947 | -with-* | --with-*) |
992 | -with-* | --with-*) |
948 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
993 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
949 | # Reject names that are not valid shell variable names. |
994 | # Reject names that are not valid shell variable names. |
950 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
995 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
951 | as_fn_error "invalid package name: $ac_useropt" |
996 | as_fn_error $? "invalid package name: $ac_useropt" |
952 | ac_useropt_orig=$ac_useropt |
997 | ac_useropt_orig=$ac_useropt |
953 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
998 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
954 | case $ac_user_opts in |
999 | case $ac_user_opts in |
955 | *" |
1000 | *" |
956 | "with_$ac_useropt" |
1001 | "with_$ac_useropt" |
… | |
… | |
962 | |
1007 | |
963 | -without-* | --without-*) |
1008 | -without-* | --without-*) |
964 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1009 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
965 | # Reject names that are not valid shell variable names. |
1010 | # Reject names that are not valid shell variable names. |
966 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1011 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
967 | as_fn_error "invalid package name: $ac_useropt" |
1012 | as_fn_error $? "invalid package name: $ac_useropt" |
968 | ac_useropt_orig=$ac_useropt |
1013 | ac_useropt_orig=$ac_useropt |
969 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1014 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
970 | case $ac_user_opts in |
1015 | case $ac_user_opts in |
971 | *" |
1016 | *" |
972 | "with_$ac_useropt" |
1017 | "with_$ac_useropt" |
… | |
… | |
992 | ac_prev=x_libraries ;; |
1037 | ac_prev=x_libraries ;; |
993 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1038 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
994 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1039 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
995 | x_libraries=$ac_optarg ;; |
1040 | x_libraries=$ac_optarg ;; |
996 | |
1041 | |
997 | -*) as_fn_error "unrecognized option: \`$ac_option' |
1042 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
998 | Try \`$0 --help' for more information." |
1043 | Try \`$0 --help' for more information" |
999 | ;; |
1044 | ;; |
1000 | |
1045 | |
1001 | *=*) |
1046 | *=*) |
1002 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1047 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1003 | # Reject names that are not valid shell variable names. |
1048 | # Reject names that are not valid shell variable names. |
1004 | case $ac_envvar in #( |
1049 | case $ac_envvar in #( |
1005 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1050 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1006 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1051 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1007 | esac |
1052 | esac |
1008 | eval $ac_envvar=\$ac_optarg |
1053 | eval $ac_envvar=\$ac_optarg |
1009 | export $ac_envvar ;; |
1054 | export $ac_envvar ;; |
1010 | |
1055 | |
1011 | *) |
1056 | *) |
… | |
… | |
1019 | esac |
1064 | esac |
1020 | done |
1065 | done |
1021 | |
1066 | |
1022 | if test -n "$ac_prev"; then |
1067 | if test -n "$ac_prev"; then |
1023 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1068 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1024 | as_fn_error "missing argument to $ac_option" |
1069 | as_fn_error $? "missing argument to $ac_option" |
1025 | fi |
1070 | fi |
1026 | |
1071 | |
1027 | if test -n "$ac_unrecognized_opts"; then |
1072 | if test -n "$ac_unrecognized_opts"; then |
1028 | case $enable_option_checking in |
1073 | case $enable_option_checking in |
1029 | no) ;; |
1074 | no) ;; |
1030 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1075 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1031 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1076 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1032 | esac |
1077 | esac |
1033 | fi |
1078 | fi |
1034 | |
1079 | |
1035 | # Check all directory arguments for consistency. |
1080 | # Check all directory arguments for consistency. |
… | |
… | |
1048 | # Be sure to have absolute directory names. |
1093 | # Be sure to have absolute directory names. |
1049 | case $ac_val in |
1094 | case $ac_val in |
1050 | [\\/$]* | ?:[\\/]* ) continue;; |
1095 | [\\/$]* | ?:[\\/]* ) continue;; |
1051 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1096 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1052 | esac |
1097 | esac |
1053 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1098 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1054 | done |
1099 | done |
1055 | |
1100 | |
1056 | # There might be people who depend on the old broken behavior: `$host' |
1101 | # There might be people who depend on the old broken behavior: `$host' |
1057 | # used to hold the argument of --host etc. |
1102 | # used to hold the argument of --host etc. |
1058 | # FIXME: To remove some day. |
1103 | # FIXME: To remove some day. |
… | |
… | |
1062 | |
1107 | |
1063 | # FIXME: To remove some day. |
1108 | # FIXME: To remove some day. |
1064 | if test "x$host_alias" != x; then |
1109 | if test "x$host_alias" != x; then |
1065 | if test "x$build_alias" = x; then |
1110 | if test "x$build_alias" = x; then |
1066 | cross_compiling=maybe |
1111 | cross_compiling=maybe |
1067 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1112 | $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 |
1113 | If a cross compiler is detected then cross compile mode will be used" >&2 |
1069 | elif test "x$build_alias" != "x$host_alias"; then |
1114 | elif test "x$build_alias" != "x$host_alias"; then |
1070 | cross_compiling=yes |
1115 | cross_compiling=yes |
1071 | fi |
1116 | fi |
1072 | fi |
1117 | fi |
1073 | |
1118 | |
… | |
… | |
1078 | |
1123 | |
1079 | |
1124 | |
1080 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1125 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1081 | ac_ls_di=`ls -di .` && |
1126 | ac_ls_di=`ls -di .` && |
1082 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1127 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1083 | as_fn_error "working directory cannot be determined" |
1128 | as_fn_error $? "working directory cannot be determined" |
1084 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1129 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1085 | as_fn_error "pwd does not report name of working directory" |
1130 | as_fn_error $? "pwd does not report name of working directory" |
1086 | |
1131 | |
1087 | |
1132 | |
1088 | # Find the source files, if location was not specified. |
1133 | # Find the source files, if location was not specified. |
1089 | if test -z "$srcdir"; then |
1134 | if test -z "$srcdir"; then |
1090 | ac_srcdir_defaulted=yes |
1135 | ac_srcdir_defaulted=yes |
… | |
… | |
1119 | else |
1164 | else |
1120 | ac_srcdir_defaulted=no |
1165 | ac_srcdir_defaulted=no |
1121 | fi |
1166 | fi |
1122 | if test ! -r "$srcdir/$ac_unique_file"; then |
1167 | if test ! -r "$srcdir/$ac_unique_file"; then |
1123 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1168 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1124 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1169 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1125 | fi |
1170 | fi |
1126 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1171 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1127 | ac_abs_confdir=`( |
1172 | ac_abs_confdir=`( |
1128 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1173 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1129 | pwd)` |
1174 | pwd)` |
1130 | # When building in place, set srcdir=. |
1175 | # When building in place, set srcdir=. |
1131 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1176 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1132 | srcdir=. |
1177 | srcdir=. |
1133 | fi |
1178 | fi |
… | |
… | |
1163 | Configuration: |
1208 | Configuration: |
1164 | -h, --help display this help and exit |
1209 | -h, --help display this help and exit |
1165 | --help=short display options specific to this package |
1210 | --help=short display options specific to this package |
1166 | --help=recursive display the short help of all the included packages |
1211 | --help=recursive display the short help of all the included packages |
1167 | -V, --version display version information and exit |
1212 | -V, --version display version information and exit |
1168 | -q, --quiet, --silent do not print \`checking...' messages |
1213 | -q, --quiet, --silent do not print \`checking ...' messages |
1169 | --cache-file=FILE cache test results in FILE [disabled] |
1214 | --cache-file=FILE cache test results in FILE [disabled] |
1170 | -C, --config-cache alias for \`--cache-file=config.cache' |
1215 | -C, --config-cache alias for \`--cache-file=config.cache' |
1171 | -n, --no-create do not create output files |
1216 | -n, --no-create do not create output files |
1172 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1217 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1173 | |
1218 | |
… | |
… | |
1218 | CC C compiler command |
1263 | CC C compiler command |
1219 | CFLAGS C compiler flags |
1264 | CFLAGS C compiler flags |
1220 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1265 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1221 | nonstandard directory <lib dir> |
1266 | nonstandard directory <lib dir> |
1222 | LIBS libraries to pass to the linker, e.g. -l<library> |
1267 | 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 |
1268 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1224 | you have headers in a nonstandard directory <include dir> |
1269 | you have headers in a nonstandard directory <include dir> |
|
|
1270 | CPP C preprocessor |
1225 | |
1271 | |
1226 | Use these variables to override the choices made by `configure' or to help |
1272 | Use these variables to override the choices made by `configure' or to help |
1227 | it to find libraries and programs with nonstandard names/locations. |
1273 | it to find libraries and programs with nonstandard names/locations. |
1228 | |
1274 | |
1229 | Report bugs to the package provider. |
1275 | Report bugs to the package provider. |
… | |
… | |
1288 | |
1334 | |
1289 | test -n "$ac_init_help" && exit $ac_status |
1335 | test -n "$ac_init_help" && exit $ac_status |
1290 | if $ac_init_version; then |
1336 | if $ac_init_version; then |
1291 | cat <<\_ACEOF |
1337 | cat <<\_ACEOF |
1292 | configure |
1338 | configure |
1293 | generated by GNU Autoconf 2.64 |
1339 | generated by GNU Autoconf 2.67 |
1294 | |
1340 | |
1295 | Copyright (C) 2009 Free Software Foundation, Inc. |
1341 | Copyright (C) 2010 Free Software Foundation, Inc. |
1296 | This configure script is free software; the Free Software Foundation |
1342 | This configure script is free software; the Free Software Foundation |
1297 | gives unlimited permission to copy, distribute and modify it. |
1343 | gives unlimited permission to copy, distribute and modify it. |
1298 | _ACEOF |
1344 | _ACEOF |
1299 | exit |
1345 | exit |
1300 | fi |
1346 | fi |
… | |
… | |
1335 | sed 's/^/| /' conftest.$ac_ext >&5 |
1381 | sed 's/^/| /' conftest.$ac_ext >&5 |
1336 | |
1382 | |
1337 | ac_retval=1 |
1383 | ac_retval=1 |
1338 | fi |
1384 | fi |
1339 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1385 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1340 | return $ac_retval |
1386 | as_fn_set_status $ac_retval |
1341 | |
1387 | |
1342 | } # ac_fn_c_try_compile |
1388 | } # ac_fn_c_try_compile |
|
|
1389 | |
|
|
1390 | # ac_fn_c_try_cpp LINENO |
|
|
1391 | # ---------------------- |
|
|
1392 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
|
1393 | ac_fn_c_try_cpp () |
|
|
1394 | { |
|
|
1395 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1396 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
|
1397 | case "(($ac_try" in |
|
|
1398 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1399 | *) ac_try_echo=$ac_try;; |
|
|
1400 | esac |
|
|
1401 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1402 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1403 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
|
1404 | ac_status=$? |
|
|
1405 | if test -s conftest.err; then |
|
|
1406 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1407 | cat conftest.er1 >&5 |
|
|
1408 | mv -f conftest.er1 conftest.err |
|
|
1409 | fi |
|
|
1410 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1411 | test $ac_status = 0; } > conftest.i && { |
|
|
1412 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
1413 | test ! -s conftest.err |
|
|
1414 | }; then : |
|
|
1415 | ac_retval=0 |
|
|
1416 | else |
|
|
1417 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1418 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1419 | |
|
|
1420 | ac_retval=1 |
|
|
1421 | fi |
|
|
1422 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1423 | as_fn_set_status $ac_retval |
|
|
1424 | |
|
|
1425 | } # ac_fn_c_try_cpp |
|
|
1426 | |
|
|
1427 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
|
1428 | # ------------------------------------------------------- |
|
|
1429 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
|
1430 | # the include files in INCLUDES and setting the cache variable VAR |
|
|
1431 | # accordingly. |
|
|
1432 | ac_fn_c_check_header_mongrel () |
|
|
1433 | { |
|
|
1434 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1435 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1437 | $as_echo_n "checking for $2... " >&6; } |
|
|
1438 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1439 | $as_echo_n "(cached) " >&6 |
|
|
1440 | fi |
|
|
1441 | eval ac_res=\$$3 |
|
|
1442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1443 | $as_echo "$ac_res" >&6; } |
|
|
1444 | else |
|
|
1445 | # Is the header compilable? |
|
|
1446 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
|
1447 | $as_echo_n "checking $2 usability... " >&6; } |
|
|
1448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1449 | /* end confdefs.h. */ |
|
|
1450 | $4 |
|
|
1451 | #include <$2> |
|
|
1452 | _ACEOF |
|
|
1453 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1454 | ac_header_compiler=yes |
|
|
1455 | else |
|
|
1456 | ac_header_compiler=no |
|
|
1457 | fi |
|
|
1458 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1459 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
|
1460 | $as_echo "$ac_header_compiler" >&6; } |
|
|
1461 | |
|
|
1462 | # Is the header present? |
|
|
1463 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
|
1464 | $as_echo_n "checking $2 presence... " >&6; } |
|
|
1465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1466 | /* end confdefs.h. */ |
|
|
1467 | #include <$2> |
|
|
1468 | _ACEOF |
|
|
1469 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
1470 | ac_header_preproc=yes |
|
|
1471 | else |
|
|
1472 | ac_header_preproc=no |
|
|
1473 | fi |
|
|
1474 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
1475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
|
1476 | $as_echo "$ac_header_preproc" >&6; } |
|
|
1477 | |
|
|
1478 | # So? What about this header? |
|
|
1479 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
|
1480 | yes:no: ) |
|
|
1481 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
1482 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
1483 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1484 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1485 | ;; |
|
|
1486 | no:yes:* ) |
|
|
1487 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
|
1488 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
|
1489 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
|
1490 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
|
1491 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
|
1492 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
|
1493 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
1494 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
1495 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1496 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1497 | ;; |
|
|
1498 | esac |
|
|
1499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1500 | $as_echo_n "checking for $2... " >&6; } |
|
|
1501 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1502 | $as_echo_n "(cached) " >&6 |
|
|
1503 | else |
|
|
1504 | eval "$3=\$ac_header_compiler" |
|
|
1505 | fi |
|
|
1506 | eval ac_res=\$$3 |
|
|
1507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1508 | $as_echo "$ac_res" >&6; } |
|
|
1509 | fi |
|
|
1510 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1511 | |
|
|
1512 | } # ac_fn_c_check_header_mongrel |
|
|
1513 | |
|
|
1514 | # ac_fn_c_try_run LINENO |
|
|
1515 | # ---------------------- |
|
|
1516 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
|
1517 | # that executables *can* be run. |
|
|
1518 | ac_fn_c_try_run () |
|
|
1519 | { |
|
|
1520 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1521 | if { { ac_try="$ac_link" |
|
|
1522 | case "(($ac_try" in |
|
|
1523 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1524 | *) ac_try_echo=$ac_try;; |
|
|
1525 | esac |
|
|
1526 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1527 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1528 | (eval "$ac_link") 2>&5 |
|
|
1529 | ac_status=$? |
|
|
1530 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1531 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
|
1532 | { { case "(($ac_try" in |
|
|
1533 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1534 | *) ac_try_echo=$ac_try;; |
|
|
1535 | esac |
|
|
1536 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1537 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1538 | (eval "$ac_try") 2>&5 |
|
|
1539 | ac_status=$? |
|
|
1540 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1541 | test $ac_status = 0; }; }; then : |
|
|
1542 | ac_retval=0 |
|
|
1543 | else |
|
|
1544 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
1545 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1546 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1547 | |
|
|
1548 | ac_retval=$ac_status |
|
|
1549 | fi |
|
|
1550 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1551 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1552 | as_fn_set_status $ac_retval |
|
|
1553 | |
|
|
1554 | } # ac_fn_c_try_run |
|
|
1555 | |
|
|
1556 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
|
1557 | # ------------------------------------------------------- |
|
|
1558 | # Tests whether HEADER exists and can be compiled using the include files in |
|
|
1559 | # INCLUDES, setting the cache variable VAR accordingly. |
|
|
1560 | ac_fn_c_check_header_compile () |
|
|
1561 | { |
|
|
1562 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1563 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1564 | $as_echo_n "checking for $2... " >&6; } |
|
|
1565 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1566 | $as_echo_n "(cached) " >&6 |
|
|
1567 | else |
|
|
1568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1569 | /* end confdefs.h. */ |
|
|
1570 | $4 |
|
|
1571 | #include <$2> |
|
|
1572 | _ACEOF |
|
|
1573 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1574 | eval "$3=yes" |
|
|
1575 | else |
|
|
1576 | eval "$3=no" |
|
|
1577 | fi |
|
|
1578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1579 | fi |
|
|
1580 | eval ac_res=\$$3 |
|
|
1581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1582 | $as_echo "$ac_res" >&6; } |
|
|
1583 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1584 | |
|
|
1585 | } # ac_fn_c_check_header_compile |
1343 | |
1586 | |
1344 | # ac_fn_c_try_link LINENO |
1587 | # ac_fn_c_try_link LINENO |
1345 | # ----------------------- |
1588 | # ----------------------- |
1346 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1589 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1347 | ac_fn_c_try_link () |
1590 | ac_fn_c_try_link () |
… | |
… | |
1381 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1624 | # 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 |
1625 | # 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. |
1626 | # left behind by Apple's compiler. We do this before executing the actions. |
1384 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1627 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1385 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1628 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1386 | return $ac_retval |
1629 | as_fn_set_status $ac_retval |
1387 | |
1630 | |
1388 | } # ac_fn_c_try_link |
1631 | } # ac_fn_c_try_link |
1389 | cat >config.log <<_ACEOF |
1632 | cat >config.log <<_ACEOF |
1390 | This file contains any messages produced by compilers while |
1633 | This file contains any messages produced by compilers while |
1391 | running configure, to aid debugging if configure makes a mistake. |
1634 | running configure, to aid debugging if configure makes a mistake. |
1392 | |
1635 | |
1393 | It was created by $as_me, which was |
1636 | It was created by $as_me, which was |
1394 | generated by GNU Autoconf 2.64. Invocation command line was |
1637 | generated by GNU Autoconf 2.67. Invocation command line was |
1395 | |
1638 | |
1396 | $ $0 $@ |
1639 | $ $0 $@ |
1397 | |
1640 | |
1398 | _ACEOF |
1641 | _ACEOF |
1399 | exec 5>>config.log |
1642 | exec 5>>config.log |
… | |
… | |
1499 | trap 'exit_status=$? |
1742 | trap 'exit_status=$? |
1500 | # Save into config.log some information that might help in debugging. |
1743 | # Save into config.log some information that might help in debugging. |
1501 | { |
1744 | { |
1502 | echo |
1745 | echo |
1503 | |
1746 | |
1504 | cat <<\_ASBOX |
|
|
1505 | ## ---------------- ## |
1747 | $as_echo "## ---------------- ## |
1506 | ## Cache variables. ## |
1748 | ## Cache variables. ## |
1507 | ## ---------------- ## |
1749 | ## ---------------- ##" |
1508 | _ASBOX |
|
|
1509 | echo |
1750 | echo |
1510 | # The following way of writing the cache mishandles newlines in values, |
1751 | # The following way of writing the cache mishandles newlines in values, |
1511 | ( |
1752 | ( |
1512 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1753 | 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 |
1754 | eval ac_val=\$$ac_var |
… | |
… | |
1537 | esac | |
1778 | esac | |
1538 | sort |
1779 | sort |
1539 | ) |
1780 | ) |
1540 | echo |
1781 | echo |
1541 | |
1782 | |
1542 | cat <<\_ASBOX |
|
|
1543 | ## ----------------- ## |
1783 | $as_echo "## ----------------- ## |
1544 | ## Output variables. ## |
1784 | ## Output variables. ## |
1545 | ## ----------------- ## |
1785 | ## ----------------- ##" |
1546 | _ASBOX |
|
|
1547 | echo |
1786 | echo |
1548 | for ac_var in $ac_subst_vars |
1787 | for ac_var in $ac_subst_vars |
1549 | do |
1788 | do |
1550 | eval ac_val=\$$ac_var |
1789 | eval ac_val=\$$ac_var |
1551 | case $ac_val in |
1790 | case $ac_val in |
… | |
… | |
1554 | $as_echo "$ac_var='\''$ac_val'\''" |
1793 | $as_echo "$ac_var='\''$ac_val'\''" |
1555 | done | sort |
1794 | done | sort |
1556 | echo |
1795 | echo |
1557 | |
1796 | |
1558 | if test -n "$ac_subst_files"; then |
1797 | if test -n "$ac_subst_files"; then |
1559 | cat <<\_ASBOX |
|
|
1560 | ## ------------------- ## |
1798 | $as_echo "## ------------------- ## |
1561 | ## File substitutions. ## |
1799 | ## File substitutions. ## |
1562 | ## ------------------- ## |
1800 | ## ------------------- ##" |
1563 | _ASBOX |
|
|
1564 | echo |
1801 | echo |
1565 | for ac_var in $ac_subst_files |
1802 | for ac_var in $ac_subst_files |
1566 | do |
1803 | do |
1567 | eval ac_val=\$$ac_var |
1804 | eval ac_val=\$$ac_var |
1568 | case $ac_val in |
1805 | case $ac_val in |
… | |
… | |
1572 | done | sort |
1809 | done | sort |
1573 | echo |
1810 | echo |
1574 | fi |
1811 | fi |
1575 | |
1812 | |
1576 | if test -s confdefs.h; then |
1813 | if test -s confdefs.h; then |
1577 | cat <<\_ASBOX |
1814 | $as_echo "## ----------- ## |
1578 | ## ----------- ## |
|
|
1579 | ## confdefs.h. ## |
1815 | ## confdefs.h. ## |
1580 | ## ----------- ## |
1816 | ## ----------- ##" |
1581 | _ASBOX |
|
|
1582 | echo |
1817 | echo |
1583 | cat confdefs.h |
1818 | cat confdefs.h |
1584 | echo |
1819 | echo |
1585 | fi |
1820 | fi |
1586 | test "$ac_signal" != 0 && |
1821 | test "$ac_signal" != 0 && |
… | |
… | |
1631 | # Let the site file select an alternate cache file if it wants to. |
1866 | # Let the site file select an alternate cache file if it wants to. |
1632 | # Prefer an explicitly selected file to automatically selected ones. |
1867 | # Prefer an explicitly selected file to automatically selected ones. |
1633 | ac_site_file1=NONE |
1868 | ac_site_file1=NONE |
1634 | ac_site_file2=NONE |
1869 | ac_site_file2=NONE |
1635 | if test -n "$CONFIG_SITE"; then |
1870 | if test -n "$CONFIG_SITE"; then |
|
|
1871 | # We do not want a PATH search for config.site. |
|
|
1872 | case $CONFIG_SITE in #(( |
|
|
1873 | -*) ac_site_file1=./$CONFIG_SITE;; |
1636 | ac_site_file1=$CONFIG_SITE |
1874 | */*) ac_site_file1=$CONFIG_SITE;; |
|
|
1875 | *) ac_site_file1=./$CONFIG_SITE;; |
|
|
1876 | esac |
1637 | elif test "x$prefix" != xNONE; then |
1877 | elif test "x$prefix" != xNONE; then |
1638 | ac_site_file1=$prefix/share/config.site |
1878 | ac_site_file1=$prefix/share/config.site |
1639 | ac_site_file2=$prefix/etc/config.site |
1879 | ac_site_file2=$prefix/etc/config.site |
1640 | else |
1880 | else |
1641 | ac_site_file1=$ac_default_prefix/share/config.site |
1881 | ac_site_file1=$ac_default_prefix/share/config.site |
1642 | ac_site_file2=$ac_default_prefix/etc/config.site |
1882 | ac_site_file2=$ac_default_prefix/etc/config.site |
1643 | fi |
1883 | fi |
1644 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1884 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1645 | do |
1885 | do |
1646 | test "x$ac_site_file" = xNONE && continue |
1886 | test "x$ac_site_file" = xNONE && continue |
1647 | if test -r "$ac_site_file"; then |
1887 | 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 |
1888 | { $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;} |
1889 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1650 | sed 's/^/| /' "$ac_site_file" >&5 |
1890 | sed 's/^/| /' "$ac_site_file" >&5 |
1651 | . "$ac_site_file" |
1891 | . "$ac_site_file" \ |
|
|
1892 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
1893 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
1894 | as_fn_error $? "failed to load site script $ac_site_file |
|
|
1895 | See \`config.log' for more details" "$LINENO" 5 ; } |
1652 | fi |
1896 | fi |
1653 | done |
1897 | done |
1654 | |
1898 | |
1655 | if test -r "$cache_file"; then |
1899 | if test -r "$cache_file"; then |
1656 | # Some versions of bash will fail to source /dev/null (special |
1900 | # Some versions of bash will fail to source /dev/null (special files |
1657 | # files actually), so we avoid doing that. |
1901 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1658 | if test -f "$cache_file"; then |
1902 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1659 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1903 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1660 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1904 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1661 | case $cache_file in |
1905 | case $cache_file in |
1662 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1906 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1663 | *) . "./$cache_file";; |
1907 | *) . "./$cache_file";; |
… | |
… | |
1722 | if $ac_cache_corrupted; then |
1966 | if $ac_cache_corrupted; then |
1723 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1967 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1724 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1968 | $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 |
1969 | { $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;} |
1970 | $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 |
1971 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1728 | fi |
1972 | fi |
1729 | ## -------------------- ## |
1973 | ## -------------------- ## |
1730 | ## Main body of script. ## |
1974 | ## Main body of script. ## |
1731 | ## -------------------- ## |
1975 | ## -------------------- ## |
1732 | |
1976 | |
… | |
… | |
1737 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1981 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1738 | |
1982 | |
1739 | |
1983 | |
1740 | |
1984 | |
1741 | ac_config_headers="$ac_config_headers libeio/config.h" |
1985 | ac_config_headers="$ac_config_headers libeio/config.h" |
|
|
1986 | |
1742 | |
1987 | |
1743 | |
1988 | |
1744 | ac_ext=c |
1989 | ac_ext=c |
1745 | ac_cpp='$CPP $CPPFLAGS' |
1990 | ac_cpp='$CPP $CPPFLAGS' |
1746 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1991 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
2039 | fi |
2284 | fi |
2040 | |
2285 | |
2041 | |
2286 | |
2042 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2287 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2043 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2288 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2044 | as_fn_error "no acceptable C compiler found in \$PATH |
2289 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2045 | See \`config.log' for more details." "$LINENO" 5; } |
2290 | See \`config.log' for more details" "$LINENO" 5 ; } |
2046 | |
2291 | |
2047 | # Provide some information about the compiler. |
2292 | # Provide some information about the compiler. |
2048 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2293 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2049 | set X $ac_compile |
2294 | set X $ac_compile |
2050 | ac_compiler=$2 |
2295 | ac_compiler=$2 |
… | |
… | |
2061 | if test -s conftest.err; then |
2306 | if test -s conftest.err; then |
2062 | sed '10a\ |
2307 | sed '10a\ |
2063 | ... rest of stderr output deleted ... |
2308 | ... rest of stderr output deleted ... |
2064 | 10q' conftest.err >conftest.er1 |
2309 | 10q' conftest.err >conftest.er1 |
2065 | cat conftest.er1 >&5 |
2310 | cat conftest.er1 >&5 |
2066 | rm -f conftest.er1 conftest.err |
|
|
2067 | fi |
2311 | fi |
|
|
2312 | rm -f conftest.er1 conftest.err |
2068 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2313 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2069 | test $ac_status = 0; } |
2314 | test $ac_status = 0; } |
2070 | done |
2315 | done |
2071 | |
2316 | |
2072 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2317 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2073 | /* end confdefs.h. */ |
2318 | /* end confdefs.h. */ |
2074 | #include <stdio.h> |
2319 | |
2075 | int |
2320 | int |
2076 | main () |
2321 | main () |
2077 | { |
2322 | { |
2078 | FILE *f = fopen ("conftest.out", "w"); |
|
|
2079 | return ferror (f) || fclose (f) != 0; |
|
|
2080 | |
2323 | |
2081 | ; |
2324 | ; |
2082 | return 0; |
2325 | return 0; |
2083 | } |
2326 | } |
2084 | _ACEOF |
2327 | _ACEOF |
2085 | ac_clean_files_save=$ac_clean_files |
2328 | ac_clean_files_save=$ac_clean_files |
2086 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
2329 | ac_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. |
2330 | # Try to create an executable without -o first, disregard a.out. |
2088 | # It will help us diagnose broken compilers, and finding out an intuition |
2331 | # It will help us diagnose broken compilers, and finding out an intuition |
2089 | # of exeext. |
2332 | # of exeext. |
2090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2333 | { $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; } |
2334 | $as_echo_n "checking whether the C compiler works... " >&6; } |
2092 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2335 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2093 | |
2336 | |
2094 | # The possible output files: |
2337 | # The possible output files: |
2095 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2338 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2096 | |
2339 | |
… | |
… | |
2148 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2391 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2149 | |
2392 | |
2150 | else |
2393 | else |
2151 | ac_file='' |
2394 | ac_file='' |
2152 | fi |
2395 | fi |
|
|
2396 | if test -z "$ac_file"; then : |
|
|
2397 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2398 | $as_echo "no" >&6; } |
|
|
2399 | $as_echo "$as_me: failed program was:" >&5 |
|
|
2400 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2401 | |
|
|
2402 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2403 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2404 | as_fn_error 77 "C compiler cannot create executables |
|
|
2405 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
2406 | else |
|
|
2407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
2408 | $as_echo "yes" >&6; } |
|
|
2409 | fi |
|
|
2410 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
|
2411 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
2153 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2412 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2154 | $as_echo "$ac_file" >&6; } |
2413 | $as_echo "$ac_file" >&6; } |
2155 | if test -z "$ac_file"; then : |
|
|
2156 | $as_echo "$as_me: failed program was:" >&5 |
|
|
2157 | sed '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 |
|
|
2162 | as_fn_error "C compiler cannot create executables |
|
|
2163 | See \`config.log' for more details." "$LINENO" 5; }; } |
|
|
2164 | fi |
|
|
2165 | ac_exeext=$ac_cv_exeext |
2414 | ac_exeext=$ac_cv_exeext |
2166 | |
2415 | |
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. |
|
|
2172 | if 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;; |
|
|
2177 | esac |
|
|
2178 | eval 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;} |
|
|
2191 | as_fn_error "cannot run C compiled programs. |
|
|
2192 | If you meant to cross compile, use \`--host'. |
|
|
2193 | See \`config.log' for more details." "$LINENO" 5; } |
|
|
2194 | fi |
|
|
2195 | fi |
|
|
2196 | fi |
|
|
2197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
2198 | $as_echo "yes" >&6; } |
|
|
2199 | |
|
|
2200 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
2416 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2201 | ac_clean_files=$ac_clean_files_save |
2417 | ac_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 |
2418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2210 | $as_echo_n "checking for suffix of executables... " >&6; } |
2419 | $as_echo_n "checking for suffix of executables... " >&6; } |
2211 | if { { ac_try="$ac_link" |
2420 | if { { ac_try="$ac_link" |
2212 | case "(($ac_try" in |
2421 | case "(($ac_try" in |
2213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2422 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
2233 | esac |
2442 | esac |
2234 | done |
2443 | done |
2235 | else |
2444 | else |
2236 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2445 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2237 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2446 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2238 | as_fn_error "cannot compute suffix of executables: cannot compile and link |
2447 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2239 | See \`config.log' for more details." "$LINENO" 5; } |
2448 | See \`config.log' for more details" "$LINENO" 5 ; } |
2240 | fi |
2449 | fi |
2241 | rm -f conftest$ac_cv_exeext |
2450 | rm -f conftest conftest$ac_cv_exeext |
2242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2243 | $as_echo "$ac_cv_exeext" >&6; } |
2452 | $as_echo "$ac_cv_exeext" >&6; } |
2244 | |
2453 | |
2245 | rm -f conftest.$ac_ext |
2454 | rm -f conftest.$ac_ext |
2246 | EXEEXT=$ac_cv_exeext |
2455 | EXEEXT=$ac_cv_exeext |
2247 | ac_exeext=$EXEEXT |
2456 | ac_exeext=$EXEEXT |
|
|
2457 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2458 | /* end confdefs.h. */ |
|
|
2459 | #include <stdio.h> |
|
|
2460 | int |
|
|
2461 | main () |
|
|
2462 | { |
|
|
2463 | FILE *f = fopen ("conftest.out", "w"); |
|
|
2464 | return ferror (f) || fclose (f) != 0; |
|
|
2465 | |
|
|
2466 | ; |
|
|
2467 | return 0; |
|
|
2468 | } |
|
|
2469 | _ACEOF |
|
|
2470 | ac_clean_files="$ac_clean_files conftest.out" |
|
|
2471 | # Check that the compiler produces executables we can run. If not, either |
|
|
2472 | # the compiler is broken, or we cross compile. |
|
|
2473 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
|
2474 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
|
2475 | if test "$cross_compiling" != yes; then |
|
|
2476 | { { ac_try="$ac_link" |
|
|
2477 | case "(($ac_try" in |
|
|
2478 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2479 | *) ac_try_echo=$ac_try;; |
|
|
2480 | esac |
|
|
2481 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2482 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2483 | (eval "$ac_link") 2>&5 |
|
|
2484 | ac_status=$? |
|
|
2485 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2486 | test $ac_status = 0; } |
|
|
2487 | if { ac_try='./conftest$ac_cv_exeext' |
|
|
2488 | { { case "(($ac_try" in |
|
|
2489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2490 | *) ac_try_echo=$ac_try;; |
|
|
2491 | esac |
|
|
2492 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2493 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2494 | (eval "$ac_try") 2>&5 |
|
|
2495 | ac_status=$? |
|
|
2496 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2497 | test $ac_status = 0; }; }; then |
|
|
2498 | cross_compiling=no |
|
|
2499 | else |
|
|
2500 | if test "$cross_compiling" = maybe; then |
|
|
2501 | cross_compiling=yes |
|
|
2502 | else |
|
|
2503 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2504 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2505 | as_fn_error $? "cannot run C compiled programs. |
|
|
2506 | If you meant to cross compile, use \`--host'. |
|
|
2507 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
2508 | fi |
|
|
2509 | fi |
|
|
2510 | fi |
|
|
2511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
|
2512 | $as_echo "$cross_compiling" >&6; } |
|
|
2513 | |
|
|
2514 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
|
2515 | ac_clean_files=$ac_clean_files_save |
2248 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2516 | { $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; } |
2517 | $as_echo_n "checking for suffix of object files... " >&6; } |
2250 | if test "${ac_cv_objext+set}" = set; then : |
2518 | if test "${ac_cv_objext+set}" = set; then : |
2251 | $as_echo_n "(cached) " >&6 |
2519 | $as_echo_n "(cached) " >&6 |
2252 | else |
2520 | else |
… | |
… | |
2285 | $as_echo "$as_me: failed program was:" >&5 |
2553 | $as_echo "$as_me: failed program was:" >&5 |
2286 | sed 's/^/| /' conftest.$ac_ext >&5 |
2554 | sed 's/^/| /' conftest.$ac_ext >&5 |
2287 | |
2555 | |
2288 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2556 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2289 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2557 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2290 | as_fn_error "cannot compute suffix of object files: cannot compile |
2558 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2291 | See \`config.log' for more details." "$LINENO" 5; } |
2559 | See \`config.log' for more details" "$LINENO" 5 ; } |
2292 | fi |
2560 | fi |
2293 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2561 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2294 | fi |
2562 | fi |
2295 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2563 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2296 | $as_echo "$ac_cv_objext" >&6; } |
2564 | $as_echo "$ac_cv_objext" >&6; } |
… | |
… | |
2507 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2775 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2508 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2776 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2509 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2777 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2510 | |
2778 | |
2511 | |
2779 | |
|
|
2780 | ac_ext=c |
|
|
2781 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2782 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2783 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2784 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
2786 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
2787 | # On Suns, sometimes $CPP names a directory. |
|
|
2788 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
2789 | CPP= |
|
|
2790 | fi |
|
|
2791 | if test -z "$CPP"; then |
|
|
2792 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
2793 | $as_echo_n "(cached) " >&6 |
|
|
2794 | else |
|
|
2795 | # Double quotes because CPP needs to be expanded |
|
|
2796 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
2797 | do |
|
|
2798 | ac_preproc_ok=false |
|
|
2799 | for ac_c_preproc_warn_flag in '' yes |
|
|
2800 | do |
|
|
2801 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2802 | # with a fresh cross-compiler works. |
|
|
2803 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2804 | # <limits.h> exists even on freestanding compilers. |
|
|
2805 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
2806 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
2807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2808 | /* end confdefs.h. */ |
|
|
2809 | #ifdef __STDC__ |
|
|
2810 | # include <limits.h> |
|
|
2811 | #else |
|
|
2812 | # include <assert.h> |
|
|
2813 | #endif |
|
|
2814 | Syntax error |
|
|
2815 | _ACEOF |
|
|
2816 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2817 | |
|
|
2818 | else |
|
|
2819 | # Broken: fails on valid input. |
|
|
2820 | continue |
|
|
2821 | fi |
|
|
2822 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2823 | |
|
|
2824 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
2825 | # can be detected and how. |
|
|
2826 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2827 | /* end confdefs.h. */ |
|
|
2828 | #include <ac_nonexistent.h> |
|
|
2829 | _ACEOF |
|
|
2830 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2831 | # Broken: success on invalid input. |
|
|
2832 | continue |
|
|
2833 | else |
|
|
2834 | # Passes both tests. |
|
|
2835 | ac_preproc_ok=: |
|
|
2836 | break |
|
|
2837 | fi |
|
|
2838 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2839 | |
|
|
2840 | done |
|
|
2841 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
2842 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
2843 | if $ac_preproc_ok; then : |
|
|
2844 | break |
|
|
2845 | fi |
|
|
2846 | |
|
|
2847 | done |
|
|
2848 | ac_cv_prog_CPP=$CPP |
|
|
2849 | |
|
|
2850 | fi |
|
|
2851 | CPP=$ac_cv_prog_CPP |
|
|
2852 | else |
|
|
2853 | ac_cv_prog_CPP=$CPP |
|
|
2854 | fi |
|
|
2855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
2856 | $as_echo "$CPP" >&6; } |
|
|
2857 | ac_preproc_ok=false |
|
|
2858 | for ac_c_preproc_warn_flag in '' yes |
|
|
2859 | do |
|
|
2860 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2861 | # with a fresh cross-compiler works. |
|
|
2862 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2863 | # <limits.h> exists even on freestanding compilers. |
|
|
2864 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
2865 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
2866 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2867 | /* end confdefs.h. */ |
|
|
2868 | #ifdef __STDC__ |
|
|
2869 | # include <limits.h> |
|
|
2870 | #else |
|
|
2871 | # include <assert.h> |
|
|
2872 | #endif |
|
|
2873 | Syntax error |
|
|
2874 | _ACEOF |
|
|
2875 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2876 | |
|
|
2877 | else |
|
|
2878 | # Broken: fails on valid input. |
|
|
2879 | continue |
|
|
2880 | fi |
|
|
2881 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2882 | |
|
|
2883 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
2884 | # can be detected and how. |
|
|
2885 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2886 | /* end confdefs.h. */ |
|
|
2887 | #include <ac_nonexistent.h> |
|
|
2888 | _ACEOF |
|
|
2889 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2890 | # Broken: success on invalid input. |
|
|
2891 | continue |
|
|
2892 | else |
|
|
2893 | # Passes both tests. |
|
|
2894 | ac_preproc_ok=: |
|
|
2895 | break |
|
|
2896 | fi |
|
|
2897 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2898 | |
|
|
2899 | done |
|
|
2900 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
2901 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
2902 | if $ac_preproc_ok; then : |
|
|
2903 | |
|
|
2904 | else |
|
|
2905 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2906 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2907 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
2908 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
2909 | fi |
|
|
2910 | |
|
|
2911 | ac_ext=c |
|
|
2912 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2913 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2914 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2916 | |
|
|
2917 | |
|
|
2918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
|
2919 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
|
2920 | if test "${ac_cv_path_GREP+set}" = set; then : |
|
|
2921 | $as_echo_n "(cached) " >&6 |
|
|
2922 | else |
|
|
2923 | if test -z "$GREP"; then |
|
|
2924 | ac_path_GREP_found=false |
|
|
2925 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
2926 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2927 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
2928 | do |
|
|
2929 | IFS=$as_save_IFS |
|
|
2930 | test -z "$as_dir" && as_dir=. |
|
|
2931 | for ac_prog in grep ggrep; do |
|
|
2932 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2933 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
2934 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
|
2935 | # Check for GNU ac_path_GREP and select it if it is found. |
|
|
2936 | # Check for GNU $ac_path_GREP |
|
|
2937 | case `"$ac_path_GREP" --version 2>&1` in |
|
|
2938 | *GNU*) |
|
|
2939 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
|
2940 | *) |
|
|
2941 | ac_count=0 |
|
|
2942 | $as_echo_n 0123456789 >"conftest.in" |
|
|
2943 | while : |
|
|
2944 | do |
|
|
2945 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
2946 | mv "conftest.tmp" "conftest.in" |
|
|
2947 | cp "conftest.in" "conftest.nl" |
|
|
2948 | $as_echo 'GREP' >> "conftest.nl" |
|
|
2949 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
2950 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
2951 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
|
2952 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
|
2953 | # Best one so far, save it but keep looking for a better one |
|
|
2954 | ac_cv_path_GREP="$ac_path_GREP" |
|
|
2955 | ac_path_GREP_max=$ac_count |
|
|
2956 | fi |
|
|
2957 | # 10*(2^10) chars as input seems more than enough |
|
|
2958 | test $ac_count -gt 10 && break |
|
|
2959 | done |
|
|
2960 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
2961 | esac |
|
|
2962 | |
|
|
2963 | $ac_path_GREP_found && break 3 |
|
|
2964 | done |
|
|
2965 | done |
|
|
2966 | done |
|
|
2967 | IFS=$as_save_IFS |
|
|
2968 | if test -z "$ac_cv_path_GREP"; then |
|
|
2969 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
|
2970 | fi |
|
|
2971 | else |
|
|
2972 | ac_cv_path_GREP=$GREP |
|
|
2973 | fi |
|
|
2974 | |
|
|
2975 | fi |
|
|
2976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
|
2977 | $as_echo "$ac_cv_path_GREP" >&6; } |
|
|
2978 | GREP="$ac_cv_path_GREP" |
|
|
2979 | |
|
|
2980 | |
|
|
2981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
|
2982 | $as_echo_n "checking for egrep... " >&6; } |
|
|
2983 | if test "${ac_cv_path_EGREP+set}" = set; then : |
|
|
2984 | $as_echo_n "(cached) " >&6 |
|
|
2985 | else |
|
|
2986 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
|
2987 | then ac_cv_path_EGREP="$GREP -E" |
|
|
2988 | else |
|
|
2989 | if test -z "$EGREP"; then |
|
|
2990 | ac_path_EGREP_found=false |
|
|
2991 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
2992 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2993 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
2994 | do |
|
|
2995 | IFS=$as_save_IFS |
|
|
2996 | test -z "$as_dir" && as_dir=. |
|
|
2997 | for ac_prog in egrep; do |
|
|
2998 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2999 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
3000 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
|
3001 | # Check for GNU ac_path_EGREP and select it if it is found. |
|
|
3002 | # Check for GNU $ac_path_EGREP |
|
|
3003 | case `"$ac_path_EGREP" --version 2>&1` in |
|
|
3004 | *GNU*) |
|
|
3005 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
|
3006 | *) |
|
|
3007 | ac_count=0 |
|
|
3008 | $as_echo_n 0123456789 >"conftest.in" |
|
|
3009 | while : |
|
|
3010 | do |
|
|
3011 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
3012 | mv "conftest.tmp" "conftest.in" |
|
|
3013 | cp "conftest.in" "conftest.nl" |
|
|
3014 | $as_echo 'EGREP' >> "conftest.nl" |
|
|
3015 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
3016 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
3017 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
|
3018 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
|
3019 | # Best one so far, save it but keep looking for a better one |
|
|
3020 | ac_cv_path_EGREP="$ac_path_EGREP" |
|
|
3021 | ac_path_EGREP_max=$ac_count |
|
|
3022 | fi |
|
|
3023 | # 10*(2^10) chars as input seems more than enough |
|
|
3024 | test $ac_count -gt 10 && break |
|
|
3025 | done |
|
|
3026 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
3027 | esac |
|
|
3028 | |
|
|
3029 | $ac_path_EGREP_found && break 3 |
|
|
3030 | done |
|
|
3031 | done |
|
|
3032 | done |
|
|
3033 | IFS=$as_save_IFS |
|
|
3034 | if test -z "$ac_cv_path_EGREP"; then |
|
|
3035 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
|
3036 | fi |
|
|
3037 | else |
|
|
3038 | ac_cv_path_EGREP=$EGREP |
|
|
3039 | fi |
|
|
3040 | |
|
|
3041 | fi |
|
|
3042 | fi |
|
|
3043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
|
3044 | $as_echo "$ac_cv_path_EGREP" >&6; } |
|
|
3045 | EGREP="$ac_cv_path_EGREP" |
|
|
3046 | |
|
|
3047 | |
|
|
3048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
|
3049 | $as_echo_n "checking for ANSI C header files... " >&6; } |
|
|
3050 | if test "${ac_cv_header_stdc+set}" = set; then : |
|
|
3051 | $as_echo_n "(cached) " >&6 |
|
|
3052 | else |
|
|
3053 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3054 | /* end confdefs.h. */ |
|
|
3055 | #include <stdlib.h> |
|
|
3056 | #include <stdarg.h> |
|
|
3057 | #include <string.h> |
|
|
3058 | #include <float.h> |
|
|
3059 | |
|
|
3060 | int |
|
|
3061 | main () |
|
|
3062 | { |
|
|
3063 | |
|
|
3064 | ; |
|
|
3065 | return 0; |
|
|
3066 | } |
|
|
3067 | _ACEOF |
|
|
3068 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3069 | ac_cv_header_stdc=yes |
|
|
3070 | else |
|
|
3071 | ac_cv_header_stdc=no |
|
|
3072 | fi |
|
|
3073 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3074 | |
|
|
3075 | if test $ac_cv_header_stdc = yes; then |
|
|
3076 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
3077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3078 | /* end confdefs.h. */ |
|
|
3079 | #include <string.h> |
|
|
3080 | |
|
|
3081 | _ACEOF |
|
|
3082 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3083 | $EGREP "memchr" >/dev/null 2>&1; then : |
|
|
3084 | |
|
|
3085 | else |
|
|
3086 | ac_cv_header_stdc=no |
|
|
3087 | fi |
|
|
3088 | rm -f conftest* |
|
|
3089 | |
|
|
3090 | fi |
|
|
3091 | |
|
|
3092 | if test $ac_cv_header_stdc = yes; then |
|
|
3093 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
3094 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3095 | /* end confdefs.h. */ |
|
|
3096 | #include <stdlib.h> |
|
|
3097 | |
|
|
3098 | _ACEOF |
|
|
3099 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3100 | $EGREP "free" >/dev/null 2>&1; then : |
|
|
3101 | |
|
|
3102 | else |
|
|
3103 | ac_cv_header_stdc=no |
|
|
3104 | fi |
|
|
3105 | rm -f conftest* |
|
|
3106 | |
|
|
3107 | fi |
|
|
3108 | |
|
|
3109 | if test $ac_cv_header_stdc = yes; then |
|
|
3110 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
3111 | if test "$cross_compiling" = yes; then : |
|
|
3112 | : |
|
|
3113 | else |
|
|
3114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3115 | /* end confdefs.h. */ |
|
|
3116 | #include <ctype.h> |
|
|
3117 | #include <stdlib.h> |
|
|
3118 | #if ((' ' & 0x0FF) == 0x020) |
|
|
3119 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
3120 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
3121 | #else |
|
|
3122 | # define ISLOWER(c) \ |
|
|
3123 | (('a' <= (c) && (c) <= 'i') \ |
|
|
3124 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
3125 | || ('s' <= (c) && (c) <= 'z')) |
|
|
3126 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
3127 | #endif |
|
|
3128 | |
|
|
3129 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
3130 | int |
|
|
3131 | main () |
|
|
3132 | { |
|
|
3133 | int i; |
|
|
3134 | for (i = 0; i < 256; i++) |
|
|
3135 | if (XOR (islower (i), ISLOWER (i)) |
|
|
3136 | || toupper (i) != TOUPPER (i)) |
|
|
3137 | return 2; |
|
|
3138 | return 0; |
|
|
3139 | } |
|
|
3140 | _ACEOF |
|
|
3141 | if ac_fn_c_try_run "$LINENO"; then : |
|
|
3142 | |
|
|
3143 | else |
|
|
3144 | ac_cv_header_stdc=no |
|
|
3145 | fi |
|
|
3146 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
3147 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
3148 | fi |
|
|
3149 | |
|
|
3150 | fi |
|
|
3151 | fi |
|
|
3152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
|
3153 | $as_echo "$ac_cv_header_stdc" >&6; } |
|
|
3154 | if test $ac_cv_header_stdc = yes; then |
|
|
3155 | |
|
|
3156 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
|
3157 | |
|
|
3158 | fi |
|
|
3159 | |
|
|
3160 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
3161 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
3162 | inttypes.h stdint.h unistd.h |
|
|
3163 | do : |
|
|
3164 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3165 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
|
3166 | " |
|
|
3167 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3168 | cat >>confdefs.h <<_ACEOF |
|
|
3169 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3170 | _ACEOF |
|
|
3171 | |
|
|
3172 | fi |
|
|
3173 | |
|
|
3174 | done |
|
|
3175 | |
|
|
3176 | |
|
|
3177 | |
|
|
3178 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
|
|
3179 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
|
|
3180 | MINIX=yes |
|
|
3181 | else |
|
|
3182 | MINIX= |
|
|
3183 | fi |
|
|
3184 | |
|
|
3185 | |
|
|
3186 | if test "$MINIX" = yes; then |
|
|
3187 | |
|
|
3188 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
|
|
3189 | |
|
|
3190 | |
|
|
3191 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
|
|
3192 | |
|
|
3193 | |
|
|
3194 | $as_echo "#define _MINIX 1" >>confdefs.h |
|
|
3195 | |
|
|
3196 | fi |
|
|
3197 | |
|
|
3198 | |
|
|
3199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
|
|
3200 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
|
|
3201 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
|
|
3202 | $as_echo_n "(cached) " >&6 |
|
|
3203 | else |
|
|
3204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3205 | /* end confdefs.h. */ |
|
|
3206 | |
|
|
3207 | # define __EXTENSIONS__ 1 |
|
|
3208 | $ac_includes_default |
|
|
3209 | int |
|
|
3210 | main () |
|
|
3211 | { |
|
|
3212 | |
|
|
3213 | ; |
|
|
3214 | return 0; |
|
|
3215 | } |
|
|
3216 | _ACEOF |
|
|
3217 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3218 | ac_cv_safe_to_define___extensions__=yes |
|
|
3219 | else |
|
|
3220 | ac_cv_safe_to_define___extensions__=no |
|
|
3221 | fi |
|
|
3222 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3223 | fi |
|
|
3224 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
|
|
3225 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
|
|
3226 | test $ac_cv_safe_to_define___extensions__ = yes && |
|
|
3227 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
3228 | |
|
|
3229 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
|
|
3230 | |
|
|
3231 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
|
|
3232 | |
|
|
3233 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
|
|
3234 | |
|
|
3235 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
|
|
3236 | |
|
|
3237 | |
|
|
3238 | |
|
|
3239 | ac_ext=c |
|
|
3240 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3241 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3242 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3243 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3244 | if test -n "$ac_tool_prefix"; then |
|
|
3245 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
|
3246 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
3247 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3248 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3249 | if test "${ac_cv_prog_CC+set}" = set; then : |
|
|
3250 | $as_echo_n "(cached) " >&6 |
|
|
3251 | else |
|
|
3252 | if test -n "$CC"; then |
|
|
3253 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3254 | else |
|
|
3255 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3256 | for as_dir in $PATH |
|
|
3257 | do |
|
|
3258 | IFS=$as_save_IFS |
|
|
3259 | test -z "$as_dir" && as_dir=. |
|
|
3260 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3261 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
3262 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
|
3263 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3264 | break 2 |
|
|
3265 | fi |
|
|
3266 | done |
|
|
3267 | done |
|
|
3268 | IFS=$as_save_IFS |
|
|
3269 | |
|
|
3270 | fi |
|
|
3271 | fi |
|
|
3272 | CC=$ac_cv_prog_CC |
|
|
3273 | if test -n "$CC"; then |
|
|
3274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3275 | $as_echo "$CC" >&6; } |
|
|
3276 | else |
|
|
3277 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3278 | $as_echo "no" >&6; } |
|
|
3279 | fi |
|
|
3280 | |
|
|
3281 | |
|
|
3282 | fi |
|
|
3283 | if test -z "$ac_cv_prog_CC"; then |
|
|
3284 | ac_ct_CC=$CC |
|
|
3285 | # Extract the first word of "gcc", so it can be a program name with args. |
|
|
3286 | set dummy gcc; ac_word=$2 |
|
|
3287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3288 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3289 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
|
|
3290 | $as_echo_n "(cached) " >&6 |
|
|
3291 | else |
|
|
3292 | if test -n "$ac_ct_CC"; then |
|
|
3293 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3294 | else |
|
|
3295 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3296 | for as_dir in $PATH |
|
|
3297 | do |
|
|
3298 | IFS=$as_save_IFS |
|
|
3299 | test -z "$as_dir" && as_dir=. |
|
|
3300 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3301 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
3302 | ac_cv_prog_ac_ct_CC="gcc" |
|
|
3303 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3304 | break 2 |
|
|
3305 | fi |
|
|
3306 | done |
|
|
3307 | done |
|
|
3308 | IFS=$as_save_IFS |
|
|
3309 | |
|
|
3310 | fi |
|
|
3311 | fi |
|
|
3312 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3313 | if test -n "$ac_ct_CC"; then |
|
|
3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3315 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3316 | else |
|
|
3317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3318 | $as_echo "no" >&6; } |
|
|
3319 | fi |
|
|
3320 | |
|
|
3321 | if test "x$ac_ct_CC" = x; then |
|
|
3322 | CC="" |
|
|
3323 | else |
|
|
3324 | case $cross_compiling:$ac_tool_warned in |
|
|
3325 | yes:) |
|
|
3326 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3327 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3328 | ac_tool_warned=yes ;; |
|
|
3329 | esac |
|
|
3330 | CC=$ac_ct_CC |
|
|
3331 | fi |
|
|
3332 | else |
|
|
3333 | CC="$ac_cv_prog_CC" |
|
|
3334 | fi |
|
|
3335 | |
|
|
3336 | if test -z "$CC"; then |
|
|
3337 | if test -n "$ac_tool_prefix"; then |
|
|
3338 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
|
3339 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
|
3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3341 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3342 | if test "${ac_cv_prog_CC+set}" = set; then : |
|
|
3343 | $as_echo_n "(cached) " >&6 |
|
|
3344 | else |
|
|
3345 | if test -n "$CC"; then |
|
|
3346 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3347 | else |
|
|
3348 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3349 | for as_dir in $PATH |
|
|
3350 | do |
|
|
3351 | IFS=$as_save_IFS |
|
|
3352 | test -z "$as_dir" && as_dir=. |
|
|
3353 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3354 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
3355 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
|
3356 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3357 | break 2 |
|
|
3358 | fi |
|
|
3359 | done |
|
|
3360 | done |
|
|
3361 | IFS=$as_save_IFS |
|
|
3362 | |
|
|
3363 | fi |
|
|
3364 | fi |
|
|
3365 | CC=$ac_cv_prog_CC |
|
|
3366 | if test -n "$CC"; then |
|
|
3367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3368 | $as_echo "$CC" >&6; } |
|
|
3369 | else |
|
|
3370 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3371 | $as_echo "no" >&6; } |
|
|
3372 | fi |
|
|
3373 | |
|
|
3374 | |
|
|
3375 | fi |
|
|
3376 | fi |
|
|
3377 | if test -z "$CC"; then |
|
|
3378 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
3379 | set dummy cc; ac_word=$2 |
|
|
3380 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3381 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3382 | if test "${ac_cv_prog_CC+set}" = set; then : |
|
|
3383 | $as_echo_n "(cached) " >&6 |
|
|
3384 | else |
|
|
3385 | if test -n "$CC"; then |
|
|
3386 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3387 | else |
|
|
3388 | ac_prog_rejected=no |
|
|
3389 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3390 | for as_dir in $PATH |
|
|
3391 | do |
|
|
3392 | IFS=$as_save_IFS |
|
|
3393 | test -z "$as_dir" && as_dir=. |
|
|
3394 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3395 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
3396 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
|
3397 | ac_prog_rejected=yes |
|
|
3398 | continue |
|
|
3399 | fi |
|
|
3400 | ac_cv_prog_CC="cc" |
|
|
3401 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3402 | break 2 |
|
|
3403 | fi |
|
|
3404 | done |
|
|
3405 | done |
|
|
3406 | IFS=$as_save_IFS |
|
|
3407 | |
|
|
3408 | if test $ac_prog_rejected = yes; then |
|
|
3409 | # We found a bogon in the path, so make sure we never use it. |
|
|
3410 | set dummy $ac_cv_prog_CC |
|
|
3411 | shift |
|
|
3412 | if test $# != 0; then |
|
|
3413 | # We chose a different compiler from the bogus one. |
|
|
3414 | # However, it has the same basename, so the bogon will be chosen |
|
|
3415 | # first if we set CC to just the basename; use the full file name. |
|
|
3416 | shift |
|
|
3417 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
|
3418 | fi |
|
|
3419 | fi |
|
|
3420 | fi |
|
|
3421 | fi |
|
|
3422 | CC=$ac_cv_prog_CC |
|
|
3423 | if test -n "$CC"; then |
|
|
3424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3425 | $as_echo "$CC" >&6; } |
|
|
3426 | else |
|
|
3427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3428 | $as_echo "no" >&6; } |
|
|
3429 | fi |
|
|
3430 | |
|
|
3431 | |
|
|
3432 | fi |
|
|
3433 | if test -z "$CC"; then |
|
|
3434 | if test -n "$ac_tool_prefix"; then |
|
|
3435 | for ac_prog in cl.exe |
|
|
3436 | do |
|
|
3437 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
3438 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
3439 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3440 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3441 | if test "${ac_cv_prog_CC+set}" = set; then : |
|
|
3442 | $as_echo_n "(cached) " >&6 |
|
|
3443 | else |
|
|
3444 | if test -n "$CC"; then |
|
|
3445 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
3446 | else |
|
|
3447 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3448 | for as_dir in $PATH |
|
|
3449 | do |
|
|
3450 | IFS=$as_save_IFS |
|
|
3451 | test -z "$as_dir" && as_dir=. |
|
|
3452 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3453 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
3454 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
|
3455 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3456 | break 2 |
|
|
3457 | fi |
|
|
3458 | done |
|
|
3459 | done |
|
|
3460 | IFS=$as_save_IFS |
|
|
3461 | |
|
|
3462 | fi |
|
|
3463 | fi |
|
|
3464 | CC=$ac_cv_prog_CC |
|
|
3465 | if test -n "$CC"; then |
|
|
3466 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
3467 | $as_echo "$CC" >&6; } |
|
|
3468 | else |
|
|
3469 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3470 | $as_echo "no" >&6; } |
|
|
3471 | fi |
|
|
3472 | |
|
|
3473 | |
|
|
3474 | test -n "$CC" && break |
|
|
3475 | done |
|
|
3476 | fi |
|
|
3477 | if test -z "$CC"; then |
|
|
3478 | ac_ct_CC=$CC |
|
|
3479 | for ac_prog in cl.exe |
|
|
3480 | do |
|
|
3481 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3482 | set dummy $ac_prog; ac_word=$2 |
|
|
3483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3484 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3485 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
|
|
3486 | $as_echo_n "(cached) " >&6 |
|
|
3487 | else |
|
|
3488 | if test -n "$ac_ct_CC"; then |
|
|
3489 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
3490 | else |
|
|
3491 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3492 | for as_dir in $PATH |
|
|
3493 | do |
|
|
3494 | IFS=$as_save_IFS |
|
|
3495 | test -z "$as_dir" && as_dir=. |
|
|
3496 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3497 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
3498 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|
|
3499 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3500 | break 2 |
|
|
3501 | fi |
|
|
3502 | done |
|
|
3503 | done |
|
|
3504 | IFS=$as_save_IFS |
|
|
3505 | |
|
|
3506 | fi |
|
|
3507 | fi |
|
|
3508 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
3509 | if test -n "$ac_ct_CC"; then |
|
|
3510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
3511 | $as_echo "$ac_ct_CC" >&6; } |
|
|
3512 | else |
|
|
3513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3514 | $as_echo "no" >&6; } |
|
|
3515 | fi |
|
|
3516 | |
|
|
3517 | |
|
|
3518 | test -n "$ac_ct_CC" && break |
|
|
3519 | done |
|
|
3520 | |
|
|
3521 | if test "x$ac_ct_CC" = x; then |
|
|
3522 | CC="" |
|
|
3523 | else |
|
|
3524 | case $cross_compiling:$ac_tool_warned in |
|
|
3525 | yes:) |
|
|
3526 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3527 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3528 | ac_tool_warned=yes ;; |
|
|
3529 | esac |
|
|
3530 | CC=$ac_ct_CC |
|
|
3531 | fi |
|
|
3532 | fi |
|
|
3533 | |
|
|
3534 | fi |
|
|
3535 | |
|
|
3536 | |
|
|
3537 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3538 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3539 | as_fn_error $? "no acceptable C compiler found in \$PATH |
|
|
3540 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
3541 | |
|
|
3542 | # Provide some information about the compiler. |
|
|
3543 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
|
3544 | set X $ac_compile |
|
|
3545 | ac_compiler=$2 |
|
|
3546 | for ac_option in --version -v -V -qversion; do |
|
|
3547 | { { ac_try="$ac_compiler $ac_option >&5" |
|
|
3548 | case "(($ac_try" in |
|
|
3549 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3550 | *) ac_try_echo=$ac_try;; |
|
|
3551 | esac |
|
|
3552 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3553 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3554 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
|
3555 | ac_status=$? |
|
|
3556 | if test -s conftest.err; then |
|
|
3557 | sed '10a\ |
|
|
3558 | ... rest of stderr output deleted ... |
|
|
3559 | 10q' conftest.err >conftest.er1 |
|
|
3560 | cat conftest.er1 >&5 |
|
|
3561 | fi |
|
|
3562 | rm -f conftest.er1 conftest.err |
|
|
3563 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
3564 | test $ac_status = 0; } |
|
|
3565 | done |
|
|
3566 | |
|
|
3567 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
|
3568 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
|
3569 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
|
|
3570 | $as_echo_n "(cached) " >&6 |
|
|
3571 | else |
|
|
3572 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3573 | /* end confdefs.h. */ |
|
|
3574 | |
|
|
3575 | int |
|
|
3576 | main () |
|
|
3577 | { |
|
|
3578 | #ifndef __GNUC__ |
|
|
3579 | choke me |
|
|
3580 | #endif |
|
|
3581 | |
|
|
3582 | ; |
|
|
3583 | return 0; |
|
|
3584 | } |
|
|
3585 | _ACEOF |
|
|
3586 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3587 | ac_compiler_gnu=yes |
|
|
3588 | else |
|
|
3589 | ac_compiler_gnu=no |
|
|
3590 | fi |
|
|
3591 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3592 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
3593 | |
|
|
3594 | fi |
|
|
3595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
|
3596 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
|
3597 | if test $ac_compiler_gnu = yes; then |
|
|
3598 | GCC=yes |
|
|
3599 | else |
|
|
3600 | GCC= |
|
|
3601 | fi |
|
|
3602 | ac_test_CFLAGS=${CFLAGS+set} |
|
|
3603 | ac_save_CFLAGS=$CFLAGS |
|
|
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
|
3605 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
|
3606 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
|
|
3607 | $as_echo_n "(cached) " >&6 |
|
|
3608 | else |
|
|
3609 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
3610 | ac_c_werror_flag=yes |
|
|
3611 | ac_cv_prog_cc_g=no |
|
|
3612 | CFLAGS="-g" |
|
|
3613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3614 | /* end confdefs.h. */ |
|
|
3615 | |
|
|
3616 | int |
|
|
3617 | main () |
|
|
3618 | { |
|
|
3619 | |
|
|
3620 | ; |
|
|
3621 | return 0; |
|
|
3622 | } |
|
|
3623 | _ACEOF |
|
|
3624 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3625 | ac_cv_prog_cc_g=yes |
|
|
3626 | else |
|
|
3627 | CFLAGS="" |
|
|
3628 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3629 | /* end confdefs.h. */ |
|
|
3630 | |
|
|
3631 | int |
|
|
3632 | main () |
|
|
3633 | { |
|
|
3634 | |
|
|
3635 | ; |
|
|
3636 | return 0; |
|
|
3637 | } |
|
|
3638 | _ACEOF |
|
|
3639 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3640 | |
|
|
3641 | else |
|
|
3642 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3643 | CFLAGS="-g" |
|
|
3644 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3645 | /* end confdefs.h. */ |
|
|
3646 | |
|
|
3647 | int |
|
|
3648 | main () |
|
|
3649 | { |
|
|
3650 | |
|
|
3651 | ; |
|
|
3652 | return 0; |
|
|
3653 | } |
|
|
3654 | _ACEOF |
|
|
3655 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3656 | ac_cv_prog_cc_g=yes |
|
|
3657 | fi |
|
|
3658 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3659 | fi |
|
|
3660 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3661 | fi |
|
|
3662 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3663 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3664 | fi |
|
|
3665 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
|
3666 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
|
|
3667 | if test "$ac_test_CFLAGS" = set; then |
|
|
3668 | CFLAGS=$ac_save_CFLAGS |
|
|
3669 | elif test $ac_cv_prog_cc_g = yes; then |
|
|
3670 | if test "$GCC" = yes; then |
|
|
3671 | CFLAGS="-g -O2" |
|
|
3672 | else |
|
|
3673 | CFLAGS="-g" |
|
|
3674 | fi |
|
|
3675 | else |
|
|
3676 | if test "$GCC" = yes; then |
|
|
3677 | CFLAGS="-O2" |
|
|
3678 | else |
|
|
3679 | CFLAGS= |
|
|
3680 | fi |
|
|
3681 | fi |
|
|
3682 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
|
3683 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
|
3684 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
|
|
3685 | $as_echo_n "(cached) " >&6 |
|
|
3686 | else |
|
|
3687 | ac_cv_prog_cc_c89=no |
|
|
3688 | ac_save_CC=$CC |
|
|
3689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3690 | /* end confdefs.h. */ |
|
|
3691 | #include <stdarg.h> |
|
|
3692 | #include <stdio.h> |
|
|
3693 | #include <sys/types.h> |
|
|
3694 | #include <sys/stat.h> |
|
|
3695 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
3696 | struct buf { int x; }; |
|
|
3697 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
3698 | static char *e (p, i) |
|
|
3699 | char **p; |
|
|
3700 | int i; |
|
|
3701 | { |
|
|
3702 | return p[i]; |
|
|
3703 | } |
|
|
3704 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
3705 | { |
|
|
3706 | char *s; |
|
|
3707 | va_list v; |
|
|
3708 | va_start (v,p); |
|
|
3709 | s = g (p, va_arg (v,int)); |
|
|
3710 | va_end (v); |
|
|
3711 | return s; |
|
|
3712 | } |
|
|
3713 | |
|
|
3714 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
3715 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
3716 | These don't provoke an error unfortunately, instead are silently treated |
|
|
3717 | as 'x'. The following induces an error, until -std is added to get |
|
|
3718 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
3719 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
3720 | that's true only with -std. */ |
|
|
3721 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
3722 | |
|
|
3723 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
3724 | inside strings and character constants. */ |
|
|
3725 | #define FOO(x) 'x' |
|
|
3726 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
3727 | |
|
|
3728 | int test (int i, double x); |
|
|
3729 | struct s1 {int (*f) (int a);}; |
|
|
3730 | struct s2 {int (*f) (double a);}; |
|
|
3731 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
3732 | int argc; |
|
|
3733 | char **argv; |
|
|
3734 | int |
|
|
3735 | main () |
|
|
3736 | { |
|
|
3737 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
3738 | ; |
|
|
3739 | return 0; |
|
|
3740 | } |
|
|
3741 | _ACEOF |
|
|
3742 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
|
3743 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
3744 | do |
|
|
3745 | CC="$ac_save_CC $ac_arg" |
|
|
3746 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3747 | ac_cv_prog_cc_c89=$ac_arg |
|
|
3748 | fi |
|
|
3749 | rm -f core conftest.err conftest.$ac_objext |
|
|
3750 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
|
3751 | done |
|
|
3752 | rm -f conftest.$ac_ext |
|
|
3753 | CC=$ac_save_CC |
|
|
3754 | |
|
|
3755 | fi |
|
|
3756 | # AC_CACHE_VAL |
|
|
3757 | case "x$ac_cv_prog_cc_c89" in |
|
|
3758 | x) |
|
|
3759 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
3760 | $as_echo "none needed" >&6; } ;; |
|
|
3761 | xno) |
|
|
3762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
3763 | $as_echo "unsupported" >&6; } ;; |
|
|
3764 | *) |
|
|
3765 | CC="$CC $ac_cv_prog_cc_c89" |
|
|
3766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
|
3767 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
|
3768 | esac |
|
|
3769 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
|
3770 | |
|
|
3771 | fi |
|
|
3772 | |
|
|
3773 | ac_ext=c |
|
|
3774 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3775 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3776 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3777 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3778 | |
|
|
3779 | |
|
|
3780 | for ac_header in stdint.h sys/syscall.h sys/prctl.h |
|
|
3781 | do : |
|
|
3782 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3783 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
3784 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3785 | cat >>confdefs.h <<_ACEOF |
|
|
3786 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3787 | _ACEOF |
|
|
3788 | |
|
|
3789 | fi |
|
|
3790 | |
|
|
3791 | done |
|
|
3792 | |
2512 | |
3793 | |
2513 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
3794 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
2514 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
3795 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
2515 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
3796 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
2516 | $as_echo_n "(cached) " >&6 |
3797 | $as_echo_n "(cached) " >&6 |
… | |
… | |
2563 | ac_res=$ac_cv_search_pthread_create |
3844 | ac_res=$ac_cv_search_pthread_create |
2564 | if test "$ac_res" != no; then : |
3845 | if test "$ac_res" != no; then : |
2565 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
3846 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
2566 | |
3847 | |
2567 | else |
3848 | else |
2568 | as_fn_error "pthread functions not found" "$LINENO" 5 |
3849 | as_fn_error $? "pthread functions not found" "$LINENO" 5 |
2569 | |
3850 | |
2570 | fi |
3851 | fi |
|
|
3852 | |
|
|
3853 | |
|
|
3854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
|
|
3855 | $as_echo_n "checking for utimes... " >&6; } |
|
|
3856 | if test "${ac_cv_utimes+set}" = set; then : |
|
|
3857 | $as_echo_n "(cached) " >&6 |
|
|
3858 | else |
|
|
3859 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3860 | /* end confdefs.h. */ |
|
|
3861 | |
|
|
3862 | #include <sys/types.h> |
|
|
3863 | #include <sys/time.h> |
|
|
3864 | #include <utime.h> |
|
|
3865 | struct timeval tv[2]; |
|
|
3866 | int res; |
|
|
3867 | int main (void) |
|
|
3868 | { |
|
|
3869 | res = utimes ("/", tv); |
|
|
3870 | return 0; |
|
|
3871 | } |
|
|
3872 | |
|
|
3873 | _ACEOF |
|
|
3874 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3875 | ac_cv_utimes=yes |
|
|
3876 | else |
|
|
3877 | ac_cv_utimes=no |
|
|
3878 | fi |
|
|
3879 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3880 | conftest$ac_exeext conftest.$ac_ext |
|
|
3881 | fi |
|
|
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_utimes" >&5 |
|
|
3883 | $as_echo "$ac_cv_utimes" >&6; } |
|
|
3884 | test $ac_cv_utimes = yes && |
|
|
3885 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
2571 | |
3886 | |
2572 | |
3887 | |
2573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
3888 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
2574 | $as_echo_n "checking for futimes... " >&6; } |
3889 | $as_echo_n "checking for futimes... " >&6; } |
2575 | if test "${ac_cv_futimes+set}" = set; then : |
3890 | if test "${ac_cv_futimes+set}" = set; then : |
… | |
… | |
2582 | #include <sys/time.h> |
3897 | #include <sys/time.h> |
2583 | #include <utime.h> |
3898 | #include <utime.h> |
2584 | struct timeval tv[2]; |
3899 | struct timeval tv[2]; |
2585 | int res; |
3900 | int res; |
2586 | int fd; |
3901 | int fd; |
2587 | int main(void) |
3902 | int main (void) |
2588 | { |
3903 | { |
2589 | res = futimes (fd, tv); |
3904 | res = futimes (fd, tv); |
2590 | return 0; |
3905 | return 0; |
2591 | } |
3906 | } |
2592 | |
3907 | |
… | |
… | |
2612 | else |
3927 | else |
2613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3928 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2614 | /* end confdefs.h. */ |
3929 | /* end confdefs.h. */ |
2615 | |
3930 | |
2616 | #include <fcntl.h> |
3931 | #include <fcntl.h> |
2617 | int main(void) |
3932 | int main (void) |
2618 | { |
3933 | { |
2619 | int fd = 0; |
3934 | int fd = 0; |
2620 | size_t count = 2; |
3935 | size_t count = 2; |
2621 | ssize_t res; |
3936 | ssize_t res; |
2622 | res = readahead (fd, 0, count); |
3937 | res = readahead (fd, 0, count); |
… | |
… | |
2645 | else |
3960 | else |
2646 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2647 | /* end confdefs.h. */ |
3962 | /* end confdefs.h. */ |
2648 | |
3963 | |
2649 | #include <unistd.h> |
3964 | #include <unistd.h> |
2650 | int main(void) |
3965 | int main (void) |
2651 | { |
3966 | { |
2652 | int fd = 0; |
3967 | int fd = 0; |
2653 | fdatasync (fd); |
3968 | fdatasync (fd); |
2654 | return 0; |
3969 | return 0; |
2655 | } |
3970 | } |
… | |
… | |
2667 | $as_echo "$ac_cv_fdatasync" >&6; } |
3982 | $as_echo "$ac_cv_fdatasync" >&6; } |
2668 | test $ac_cv_fdatasync = yes && |
3983 | test $ac_cv_fdatasync = yes && |
2669 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
3984 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
2670 | |
3985 | |
2671 | |
3986 | |
2672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5 |
|
|
2673 | $as_echo_n "checking for pread and pwrite... " >&6; } |
|
|
2674 | if test "${ac_cv_preadwrite+set}" = set; then : |
|
|
2675 | $as_echo_n "(cached) " >&6 |
|
|
2676 | else |
|
|
2677 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2678 | /* end confdefs.h. */ |
|
|
2679 | |
|
|
2680 | #include <unistd.h> |
|
|
2681 | int main(void) |
|
|
2682 | { |
|
|
2683 | int fd = 0; |
|
|
2684 | size_t count = 1; |
|
|
2685 | char buf; |
|
|
2686 | off_t offset = 1; |
|
|
2687 | ssize_t res; |
|
|
2688 | res = pread (fd, &buf, count, offset); |
|
|
2689 | res = pwrite (fd, &buf, count, offset); |
|
|
2690 | return 0; |
|
|
2691 | } |
|
|
2692 | |
|
|
2693 | _ACEOF |
|
|
2694 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
2695 | ac_cv_preadwrite=yes |
|
|
2696 | else |
|
|
2697 | ac_cv_preadwrite=no |
|
|
2698 | fi |
|
|
2699 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2700 | conftest$ac_exeext conftest.$ac_ext |
|
|
2701 | fi |
|
|
2702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5 |
|
|
2703 | $as_echo "$ac_cv_preadwrite" >&6; } |
|
|
2704 | test $ac_cv_preadwrite = yes && |
|
|
2705 | $as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h |
|
|
2706 | |
|
|
2707 | |
|
|
2708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
3987 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
2709 | $as_echo_n "checking for sendfile... " >&6; } |
3988 | $as_echo_n "checking for sendfile... " >&6; } |
2710 | if test "${ac_cv_sendfile+set}" = set; then : |
3989 | if test "${ac_cv_sendfile+set}" = set; then : |
2711 | $as_echo_n "(cached) " >&6 |
3990 | $as_echo_n "(cached) " >&6 |
2712 | else |
3991 | else |
… | |
… | |
2714 | /* end confdefs.h. */ |
3993 | /* end confdefs.h. */ |
2715 | |
3994 | |
2716 | # include <sys/types.h> |
3995 | # include <sys/types.h> |
2717 | #if __linux |
3996 | #if __linux |
2718 | # include <sys/sendfile.h> |
3997 | # include <sys/sendfile.h> |
2719 | #elif __freebsd || defined (__APPLE__) |
3998 | #elif __FreeBSD__ || defined __APPLE__ |
2720 | # include <sys/socket.h> |
3999 | # include <sys/socket.h> |
2721 | # include <sys/uio.h> |
4000 | # include <sys/uio.h> |
2722 | #elif __hpux |
4001 | #elif __hpux |
2723 | # include <sys/socket.h> |
4002 | # include <sys/socket.h> |
2724 | #else |
4003 | #else |
2725 | # error unsupported architecture |
4004 | # error unsupported architecture |
2726 | #endif |
4005 | #endif |
2727 | int main(void) |
4006 | int main (void) |
2728 | { |
4007 | { |
2729 | int fd = 0; |
4008 | int fd = 0; |
2730 | off_t offset = 1; |
4009 | off_t offset = 1; |
2731 | size_t count = 2; |
4010 | size_t count = 2; |
2732 | ssize_t res; |
4011 | ssize_t res; |
2733 | #if __linux |
4012 | #if __linux |
2734 | res = sendfile (fd, fd, offset, count); |
4013 | res = sendfile (fd, fd, offset, count); |
2735 | #elif __freebsd |
4014 | #elif __FreeBSD__ |
2736 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
4015 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
2737 | #elif __hpux |
4016 | #elif __hpux |
2738 | res = sendfile (fd, fd, offset, count, 0, 0); |
4017 | res = sendfile (fd, fd, offset, count, 0, 0); |
2739 | #endif |
4018 | #endif |
2740 | return 0; |
4019 | return 0; |
… | |
… | |
2762 | else |
4041 | else |
2763 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2764 | /* end confdefs.h. */ |
4043 | /* end confdefs.h. */ |
2765 | |
4044 | |
2766 | #include <fcntl.h> |
4045 | #include <fcntl.h> |
2767 | int main(void) |
4046 | int main (void) |
2768 | { |
4047 | { |
2769 | int fd = 0; |
4048 | int fd = 0; |
2770 | off64_t offset = 1; |
4049 | off64_t offset = 1; |
2771 | off64_t nbytes = 1; |
4050 | off64_t nbytes = 1; |
2772 | unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; |
4051 | unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; |
… | |
… | |
2786 | fi |
4065 | fi |
2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5 |
4066 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5 |
2788 | $as_echo "$ac_cv_sync_file_range" >&6; } |
4067 | $as_echo "$ac_cv_sync_file_range" >&6; } |
2789 | test $ac_cv_sync_file_range = yes && |
4068 | test $ac_cv_sync_file_range = yes && |
2790 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
4069 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
|
|
4070 | |
|
|
4071 | |
|
|
4072 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
|
|
4073 | $as_echo_n "checking for fallocate... " >&6; } |
|
|
4074 | if test "${ac_cv_linux_fallocate+set}" = set; then : |
|
|
4075 | $as_echo_n "(cached) " >&6 |
|
|
4076 | else |
|
|
4077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4078 | /* end confdefs.h. */ |
|
|
4079 | |
|
|
4080 | #include <fcntl.h> |
|
|
4081 | int main (void) |
|
|
4082 | { |
|
|
4083 | int fd = 0; |
|
|
4084 | int mode = 0; |
|
|
4085 | off_t offset = 1; |
|
|
4086 | off_t len = 1; |
|
|
4087 | int res; |
|
|
4088 | res = fallocate (fd, mode, offset, len); |
|
|
4089 | return 0; |
|
|
4090 | } |
|
|
4091 | |
|
|
4092 | _ACEOF |
|
|
4093 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4094 | ac_cv_linux_fallocate=yes |
|
|
4095 | else |
|
|
4096 | ac_cv_linux_fallocate=no |
|
|
4097 | fi |
|
|
4098 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4099 | conftest$ac_exeext conftest.$ac_ext |
|
|
4100 | fi |
|
|
4101 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_fallocate" >&5 |
|
|
4102 | $as_echo "$ac_cv_linux_fallocate" >&6; } |
|
|
4103 | test $ac_cv_linux_fallocate = yes && |
|
|
4104 | $as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h |
|
|
4105 | |
|
|
4106 | |
|
|
4107 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
|
|
4108 | $as_echo_n "checking for sys_syncfs... " >&6; } |
|
|
4109 | if test "${ac_cv_sys_syncfs+set}" = set; then : |
|
|
4110 | $as_echo_n "(cached) " >&6 |
|
|
4111 | else |
|
|
4112 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4113 | /* end confdefs.h. */ |
|
|
4114 | |
|
|
4115 | #include <unistd.h> |
|
|
4116 | #include <sys/syscall.h> |
|
|
4117 | int main (void) |
|
|
4118 | { |
|
|
4119 | int res = syscall (__NR_syncfs, (int)0); |
|
|
4120 | } |
|
|
4121 | |
|
|
4122 | _ACEOF |
|
|
4123 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4124 | ac_cv_sys_syncfs=yes |
|
|
4125 | else |
|
|
4126 | ac_cv_sys_syncfs=no |
|
|
4127 | fi |
|
|
4128 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4129 | conftest$ac_exeext conftest.$ac_ext |
|
|
4130 | fi |
|
|
4131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 |
|
|
4132 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
|
|
4133 | test $ac_cv_sys_syncfs = yes && |
|
|
4134 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
|
|
4135 | |
|
|
4136 | |
|
|
4137 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
|
|
4138 | $as_echo_n "checking for prctl_set_name... " >&6; } |
|
|
4139 | if test "${ac_cv_prctl_set_name+set}" = set; then : |
|
|
4140 | $as_echo_n "(cached) " >&6 |
|
|
4141 | else |
|
|
4142 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4143 | /* end confdefs.h. */ |
|
|
4144 | |
|
|
4145 | #include <sys/prctl.h> |
|
|
4146 | int main (void) |
|
|
4147 | { |
|
|
4148 | char name = "test123"; |
|
|
4149 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
|
|
4150 | } |
|
|
4151 | |
|
|
4152 | _ACEOF |
|
|
4153 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4154 | ac_cv_prctl_set_name=yes |
|
|
4155 | else |
|
|
4156 | ac_cv_prctl_set_name=no |
|
|
4157 | fi |
|
|
4158 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4159 | conftest$ac_exeext conftest.$ac_ext |
|
|
4160 | fi |
|
|
4161 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prctl_set_name" >&5 |
|
|
4162 | $as_echo "$ac_cv_prctl_set_name" >&6; } |
|
|
4163 | test $ac_cv_prctl_set_name = yes && |
|
|
4164 | $as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h |
|
|
4165 | |
|
|
4166 | |
|
|
4167 | |
|
|
4168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
|
|
4169 | $as_echo_n "checking for posix_madvise... " >&6; } |
|
|
4170 | if test "${ac_cv_posix_madvise+set}" = set; then : |
|
|
4171 | $as_echo_n "(cached) " >&6 |
|
|
4172 | else |
|
|
4173 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4174 | /* end confdefs.h. */ |
|
|
4175 | |
|
|
4176 | #include <sys/mman.h> |
|
|
4177 | int main (void) |
|
|
4178 | { |
|
|
4179 | int res = posix_madvise ((void *)0, (size_t)0, POSIX_MADV_NORMAL); |
|
|
4180 | int a = POSIX_MADV_SEQUENTIAL; |
|
|
4181 | int b = POSIX_MADV_RANDOM; |
|
|
4182 | int c = POSIX_MADV_WILLNEED; |
|
|
4183 | int d = POSIX_MADV_DONTNEED; |
|
|
4184 | return 0; |
|
|
4185 | } |
|
|
4186 | |
|
|
4187 | _ACEOF |
|
|
4188 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4189 | ac_cv_posix_madvise=yes |
|
|
4190 | else |
|
|
4191 | ac_cv_posix_madvise=no |
|
|
4192 | fi |
|
|
4193 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4194 | conftest$ac_exeext conftest.$ac_ext |
|
|
4195 | fi |
|
|
4196 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_madvise" >&5 |
|
|
4197 | $as_echo "$ac_cv_posix_madvise" >&6; } |
|
|
4198 | test $ac_cv_posix_madvise = yes && |
|
|
4199 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
|
|
4200 | |
|
|
4201 | |
|
|
4202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
|
|
4203 | $as_echo_n "checking for posix_fadvise... " >&6; } |
|
|
4204 | if test "${ac_cv_posix_fadvise+set}" = set; then : |
|
|
4205 | $as_echo_n "(cached) " >&6 |
|
|
4206 | else |
|
|
4207 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4208 | /* end confdefs.h. */ |
|
|
4209 | |
|
|
4210 | #define _XOPEN_SOURCE 600 |
|
|
4211 | #include <fcntl.h> |
|
|
4212 | int main (void) |
|
|
4213 | { |
|
|
4214 | int res = posix_fadvise ((int)0, (off_t)0, (off_t)0, POSIX_FADV_NORMAL); |
|
|
4215 | int a = POSIX_FADV_SEQUENTIAL; |
|
|
4216 | int b = POSIX_FADV_NOREUSE; |
|
|
4217 | int c = POSIX_FADV_RANDOM; |
|
|
4218 | int d = POSIX_FADV_WILLNEED; |
|
|
4219 | int e = POSIX_FADV_DONTNEED; |
|
|
4220 | return 0; |
|
|
4221 | } |
|
|
4222 | |
|
|
4223 | _ACEOF |
|
|
4224 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4225 | ac_cv_posix_fadvise=yes |
|
|
4226 | else |
|
|
4227 | ac_cv_posix_fadvise=no |
|
|
4228 | fi |
|
|
4229 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4230 | conftest$ac_exeext conftest.$ac_ext |
|
|
4231 | fi |
|
|
4232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5 |
|
|
4233 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
|
|
4234 | test $ac_cv_posix_fadvise = yes && |
|
|
4235 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
|
|
4236 | |
|
|
4237 | |
|
|
4238 | for ac_header in linux/fs.h linux/fiemap.h |
|
|
4239 | do : |
|
|
4240 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4241 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
4242 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
4243 | cat >>confdefs.h <<_ACEOF |
|
|
4244 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4245 | _ACEOF |
|
|
4246 | |
|
|
4247 | fi |
|
|
4248 | |
|
|
4249 | done |
|
|
4250 | |
|
|
4251 | |
|
|
4252 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
|
|
4253 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
|
|
4254 | if test "${ac_cv_linux_splice+set}" = set; then : |
|
|
4255 | $as_echo_n "(cached) " >&6 |
|
|
4256 | else |
|
|
4257 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4258 | /* end confdefs.h. */ |
|
|
4259 | |
|
|
4260 | #include <fcntl.h> |
|
|
4261 | int main (void) |
|
|
4262 | { |
|
|
4263 | ssize_t res; |
|
|
4264 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
|
|
4265 | res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK); |
|
|
4266 | res = vmsplice ((int)0, (struct iovec *)0, 0, SPLICE_F_NONBLOCK | SPLICE_F_GIFT); |
|
|
4267 | return 0; |
|
|
4268 | } |
|
|
4269 | |
|
|
4270 | _ACEOF |
|
|
4271 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4272 | ac_cv_linux_splice=yes |
|
|
4273 | else |
|
|
4274 | ac_cv_linux_splice=no |
|
|
4275 | fi |
|
|
4276 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4277 | conftest$ac_exeext conftest.$ac_ext |
|
|
4278 | fi |
|
|
4279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_splice" >&5 |
|
|
4280 | $as_echo "$ac_cv_linux_splice" >&6; } |
|
|
4281 | test $ac_cv_linux_splice = yes && |
|
|
4282 | $as_echo "#define HAVE_LINUX_SPLICE 1" >>confdefs.h |
2791 | |
4283 | |
2792 | |
4284 | |
2793 | |
4285 | |
2794 | |
4286 | |
2795 | cat >confcache <<\_ACEOF |
4287 | cat >confcache <<\_ACEOF |
… | |
… | |
2873 | |
4365 | |
2874 | DEFS=-DHAVE_CONFIG_H |
4366 | DEFS=-DHAVE_CONFIG_H |
2875 | |
4367 | |
2876 | ac_libobjs= |
4368 | ac_libobjs= |
2877 | ac_ltlibobjs= |
4369 | ac_ltlibobjs= |
|
|
4370 | U= |
2878 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
4371 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
2879 | # 1. Remove the extension, and $U if already installed. |
4372 | # 1. Remove the extension, and $U if already installed. |
2880 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
4373 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2881 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
4374 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
2882 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
4375 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
… | |
… | |
3034 | |
4527 | |
3035 | # CDPATH. |
4528 | # CDPATH. |
3036 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
4529 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3037 | |
4530 | |
3038 | |
4531 | |
3039 | # as_fn_error ERROR [LINENO LOG_FD] |
4532 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
3040 | # --------------------------------- |
4533 | # ---------------------------------------- |
3041 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
4534 | # 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 |
4535 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
3043 | # script with status $?, using 1 if that was 0. |
4536 | # script with STATUS, using 1 if that was 0. |
3044 | as_fn_error () |
4537 | as_fn_error () |
3045 | { |
4538 | { |
3046 | as_status=$?; test $as_status -eq 0 && as_status=1 |
4539 | as_status=$1; test $as_status -eq 0 && as_status=1 |
3047 | if test "$3"; then |
4540 | if test "$4"; then |
3048 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4541 | 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 |
4542 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3050 | fi |
4543 | fi |
3051 | $as_echo "$as_me: error: $1" >&2 |
4544 | $as_echo "$as_me: error: $2" >&2 |
3052 | as_fn_exit $as_status |
4545 | as_fn_exit $as_status |
3053 | } # as_fn_error |
4546 | } # as_fn_error |
3054 | |
4547 | |
3055 | |
4548 | |
3056 | # as_fn_set_status STATUS |
4549 | # as_fn_set_status STATUS |
… | |
… | |
3242 | } |
4735 | } |
3243 | s/.*/./; q'` |
4736 | s/.*/./; q'` |
3244 | test -d "$as_dir" && break |
4737 | test -d "$as_dir" && break |
3245 | done |
4738 | done |
3246 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
4739 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
3247 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
4740 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
3248 | |
4741 | |
3249 | |
4742 | |
3250 | } # as_fn_mkdir_p |
4743 | } # as_fn_mkdir_p |
3251 | if mkdir -p . 2>/dev/null; then |
4744 | if mkdir -p . 2>/dev/null; then |
3252 | as_mkdir_p='mkdir -p "$as_dir"' |
4745 | as_mkdir_p='mkdir -p "$as_dir"' |
… | |
… | |
3296 | # Save the log message, to keep $0 and so on meaningful, and to |
4789 | # 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 |
4790 | # report actual input values of CONFIG_FILES etc. instead of their |
3298 | # values after options handling. |
4791 | # values after options handling. |
3299 | ac_log=" |
4792 | ac_log=" |
3300 | This file was extended by $as_me, which was |
4793 | This file was extended by $as_me, which was |
3301 | generated by GNU Autoconf 2.64. Invocation command line was |
4794 | generated by GNU Autoconf 2.67. Invocation command line was |
3302 | |
4795 | |
3303 | CONFIG_FILES = $CONFIG_FILES |
4796 | CONFIG_FILES = $CONFIG_FILES |
3304 | CONFIG_HEADERS = $CONFIG_HEADERS |
4797 | CONFIG_HEADERS = $CONFIG_HEADERS |
3305 | CONFIG_LINKS = $CONFIG_LINKS |
4798 | CONFIG_LINKS = $CONFIG_LINKS |
3306 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
4799 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
3331 | |
4824 | |
3332 | Usage: $0 [OPTION]... [TAG]... |
4825 | Usage: $0 [OPTION]... [TAG]... |
3333 | |
4826 | |
3334 | -h, --help print this help, then exit |
4827 | -h, --help print this help, then exit |
3335 | -V, --version print version number and configuration settings, then exit |
4828 | -V, --version print version number and configuration settings, then exit |
|
|
4829 | --config print configuration, then exit |
3336 | -q, --quiet, --silent |
4830 | -q, --quiet, --silent |
3337 | do not print progress messages |
4831 | do not print progress messages |
3338 | -d, --debug don't remove temporary files |
4832 | -d, --debug don't remove temporary files |
3339 | --recheck update $as_me by reconfiguring in the same conditions |
4833 | --recheck update $as_me by reconfiguring in the same conditions |
3340 | --header=FILE[:TEMPLATE] |
4834 | --header=FILE[:TEMPLATE] |
… | |
… | |
3345 | |
4839 | |
3346 | Report bugs to the package provider." |
4840 | Report bugs to the package provider." |
3347 | |
4841 | |
3348 | _ACEOF |
4842 | _ACEOF |
3349 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4843 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
4844 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3350 | ac_cs_version="\\ |
4845 | ac_cs_version="\\ |
3351 | config.status |
4846 | config.status |
3352 | configured by $0, generated by GNU Autoconf 2.64, |
4847 | configured by $0, generated by GNU Autoconf 2.67, |
3353 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
4848 | with options \\"\$ac_cs_config\\" |
3354 | |
4849 | |
3355 | Copyright (C) 2009 Free Software Foundation, Inc. |
4850 | Copyright (C) 2010 Free Software Foundation, Inc. |
3356 | This config.status script is free software; the Free Software Foundation |
4851 | This config.status script is free software; the Free Software Foundation |
3357 | gives unlimited permission to copy, distribute and modify it." |
4852 | gives unlimited permission to copy, distribute and modify it." |
3358 | |
4853 | |
3359 | ac_pwd='$ac_pwd' |
4854 | ac_pwd='$ac_pwd' |
3360 | srcdir='$srcdir' |
4855 | srcdir='$srcdir' |
… | |
… | |
3365 | # The default lists apply if the user does not specify any file. |
4860 | # The default lists apply if the user does not specify any file. |
3366 | ac_need_defaults=: |
4861 | ac_need_defaults=: |
3367 | while test $# != 0 |
4862 | while test $# != 0 |
3368 | do |
4863 | do |
3369 | case $1 in |
4864 | case $1 in |
3370 | --*=*) |
4865 | --*=?*) |
3371 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
4866 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3372 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
4867 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
4868 | ac_shift=: |
|
|
4869 | ;; |
|
|
4870 | --*=) |
|
|
4871 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
4872 | ac_optarg= |
3373 | ac_shift=: |
4873 | ac_shift=: |
3374 | ;; |
4874 | ;; |
3375 | *) |
4875 | *) |
3376 | ac_option=$1 |
4876 | ac_option=$1 |
3377 | ac_optarg=$2 |
4877 | ac_optarg=$2 |
… | |
… | |
3383 | # Handling of the options. |
4883 | # Handling of the options. |
3384 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
4884 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3385 | ac_cs_recheck=: ;; |
4885 | ac_cs_recheck=: ;; |
3386 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
4886 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
3387 | $as_echo "$ac_cs_version"; exit ;; |
4887 | $as_echo "$ac_cs_version"; exit ;; |
|
|
4888 | --config | --confi | --conf | --con | --co | --c ) |
|
|
4889 | $as_echo "$ac_cs_config"; exit ;; |
3388 | --debug | --debu | --deb | --de | --d | -d ) |
4890 | --debug | --debu | --deb | --de | --d | -d ) |
3389 | debug=: ;; |
4891 | debug=: ;; |
3390 | --header | --heade | --head | --hea ) |
4892 | --header | --heade | --head | --hea ) |
3391 | $ac_shift |
4893 | $ac_shift |
3392 | case $ac_optarg in |
4894 | case $ac_optarg in |
… | |
… | |
3394 | esac |
4896 | esac |
3395 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
4897 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
3396 | ac_need_defaults=false;; |
4898 | ac_need_defaults=false;; |
3397 | --he | --h) |
4899 | --he | --h) |
3398 | # Conflict between --help and --header |
4900 | # Conflict between --help and --header |
3399 | as_fn_error "ambiguous option: \`$1' |
4901 | as_fn_error $? "ambiguous option: \`$1' |
3400 | Try \`$0 --help' for more information.";; |
4902 | Try \`$0 --help' for more information.";; |
3401 | --help | --hel | -h ) |
4903 | --help | --hel | -h ) |
3402 | $as_echo "$ac_cs_usage"; exit ;; |
4904 | $as_echo "$ac_cs_usage"; exit ;; |
3403 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
4905 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3404 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
4906 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
3405 | ac_cs_silent=: ;; |
4907 | ac_cs_silent=: ;; |
3406 | |
4908 | |
3407 | # This is an error. |
4909 | # This is an error. |
3408 | -*) as_fn_error "unrecognized option: \`$1' |
4910 | -*) as_fn_error $? "unrecognized option: \`$1' |
3409 | Try \`$0 --help' for more information." ;; |
4911 | Try \`$0 --help' for more information." ;; |
3410 | |
4912 | |
3411 | *) as_fn_append ac_config_targets " $1" |
4913 | *) as_fn_append ac_config_targets " $1" |
3412 | ac_need_defaults=false ;; |
4914 | ac_need_defaults=false ;; |
3413 | |
4915 | |
… | |
… | |
3454 | for ac_config_target in $ac_config_targets |
4956 | for ac_config_target in $ac_config_targets |
3455 | do |
4957 | do |
3456 | case $ac_config_target in |
4958 | case $ac_config_target in |
3457 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
4959 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
3458 | |
4960 | |
3459 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
4961 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
3460 | esac |
4962 | esac |
3461 | done |
4963 | done |
3462 | |
4964 | |
3463 | |
4965 | |
3464 | # If the user did not use the arguments to specify the items to instantiate, |
4966 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
3490 | test -n "$tmp" && test -d "$tmp" |
4992 | test -n "$tmp" && test -d "$tmp" |
3491 | } || |
4993 | } || |
3492 | { |
4994 | { |
3493 | tmp=./conf$$-$RANDOM |
4995 | tmp=./conf$$-$RANDOM |
3494 | (umask 077 && mkdir "$tmp") |
4996 | (umask 077 && mkdir "$tmp") |
3495 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
4997 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
3496 | |
4998 | |
3497 | # Set up the scripts for CONFIG_HEADERS section. |
4999 | # Set up the scripts for CONFIG_HEADERS section. |
3498 | # No need to generate them if there are no CONFIG_HEADERS. |
5000 | # No need to generate them if there are no CONFIG_HEADERS. |
3499 | # This happens for instance with `./config.status Makefile'. |
5001 | # This happens for instance with `./config.status Makefile'. |
3500 | if test -n "$CONFIG_HEADERS"; then |
5002 | if test -n "$CONFIG_HEADERS"; then |
… | |
… | |
3512 | for ac_last_try in false false :; do |
5014 | for ac_last_try in false false :; do |
3513 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
5015 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
3514 | if test -z "$ac_t"; then |
5016 | if test -z "$ac_t"; then |
3515 | break |
5017 | break |
3516 | elif $ac_last_try; then |
5018 | elif $ac_last_try; then |
3517 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
5019 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
3518 | else |
5020 | else |
3519 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
5021 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3520 | fi |
5022 | fi |
3521 | done |
5023 | done |
3522 | |
5024 | |
… | |
… | |
3597 | } |
5099 | } |
3598 | { print } |
5100 | { print } |
3599 | _ACAWK |
5101 | _ACAWK |
3600 | _ACEOF |
5102 | _ACEOF |
3601 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5103 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3602 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
5104 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
3603 | fi # test -n "$CONFIG_HEADERS" |
5105 | fi # test -n "$CONFIG_HEADERS" |
3604 | |
5106 | |
3605 | |
5107 | |
3606 | eval set X " :H $CONFIG_HEADERS " |
5108 | eval set X " :H $CONFIG_HEADERS " |
3607 | shift |
5109 | shift |
… | |
… | |
3610 | case $ac_tag in |
5112 | case $ac_tag in |
3611 | :[FHLC]) ac_mode=$ac_tag; continue;; |
5113 | :[FHLC]) ac_mode=$ac_tag; continue;; |
3612 | esac |
5114 | esac |
3613 | case $ac_mode$ac_tag in |
5115 | case $ac_mode$ac_tag in |
3614 | :[FHL]*:*);; |
5116 | :[FHL]*:*);; |
3615 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
5117 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
3616 | :[FH]-) ac_tag=-:-;; |
5118 | :[FH]-) ac_tag=-:-;; |
3617 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
5119 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3618 | esac |
5120 | esac |
3619 | ac_save_IFS=$IFS |
5121 | ac_save_IFS=$IFS |
3620 | IFS=: |
5122 | IFS=: |
… | |
… | |
3638 | test -f "$ac_f" || |
5140 | test -f "$ac_f" || |
3639 | case $ac_f in |
5141 | case $ac_f in |
3640 | [\\/$]*) false;; |
5142 | [\\/$]*) false;; |
3641 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5143 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3642 | esac || |
5144 | esac || |
3643 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
5145 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
3644 | esac |
5146 | esac |
3645 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
5147 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
3646 | as_fn_append ac_file_inputs " '$ac_f'" |
5148 | as_fn_append ac_file_inputs " '$ac_f'" |
3647 | done |
5149 | done |
3648 | |
5150 | |
… | |
… | |
3665 | *) ac_sed_conf_input=$configure_input;; |
5167 | *) ac_sed_conf_input=$configure_input;; |
3666 | esac |
5168 | esac |
3667 | |
5169 | |
3668 | case $ac_tag in |
5170 | case $ac_tag in |
3669 | *:-:* | *:-) cat >"$tmp/stdin" \ |
5171 | *:-:* | *:-) cat >"$tmp/stdin" \ |
3670 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
5172 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
3671 | esac |
5173 | esac |
3672 | ;; |
5174 | ;; |
3673 | esac |
5175 | esac |
3674 | |
5176 | |
3675 | ac_dir=`$as_dirname -- "$ac_file" || |
5177 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
3740 | if test x"$ac_file" != x-; then |
5242 | if test x"$ac_file" != x-; then |
3741 | { |
5243 | { |
3742 | $as_echo "/* $configure_input */" \ |
5244 | $as_echo "/* $configure_input */" \ |
3743 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
5245 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
3744 | } >"$tmp/config.h" \ |
5246 | } >"$tmp/config.h" \ |
3745 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
5247 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3746 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
5248 | 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 |
5249 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
3748 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
5250 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
3749 | else |
5251 | else |
3750 | rm -f "$ac_file" |
5252 | rm -f "$ac_file" |
3751 | mv "$tmp/config.h" "$ac_file" \ |
5253 | mv "$tmp/config.h" "$ac_file" \ |
3752 | || as_fn_error "could not create $ac_file" "$LINENO" 5 |
5254 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3753 | fi |
5255 | fi |
3754 | else |
5256 | else |
3755 | $as_echo "/* $configure_input */" \ |
5257 | $as_echo "/* $configure_input */" \ |
3756 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
5258 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
3757 | || as_fn_error "could not create -" "$LINENO" 5 |
5259 | || as_fn_error $? "could not create -" "$LINENO" 5 |
3758 | fi |
5260 | fi |
3759 | ;; |
5261 | ;; |
3760 | |
5262 | |
3761 | |
5263 | |
3762 | esac |
5264 | esac |
… | |
… | |
3767 | as_fn_exit 0 |
5269 | as_fn_exit 0 |
3768 | _ACEOF |
5270 | _ACEOF |
3769 | ac_clean_files=$ac_clean_files_save |
5271 | ac_clean_files=$ac_clean_files_save |
3770 | |
5272 | |
3771 | test $ac_write_fail = 0 || |
5273 | test $ac_write_fail = 0 || |
3772 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
5274 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
3773 | |
5275 | |
3774 | |
5276 | |
3775 | # configure is writing to config.log, and then calls config.status. |
5277 | # configure is writing to config.log, and then calls config.status. |
3776 | # config.status does its own redirection, appending to config.log. |
5278 | # config.status does its own redirection, appending to config.log. |
3777 | # Unfortunately, on DOS this fails, as config.log is still kept open |
5279 | # Unfortunately, on DOS this fails, as config.log is still kept open |
… | |
… | |
3788 | exec 5>/dev/null |
5290 | exec 5>/dev/null |
3789 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
5291 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3790 | exec 5>>config.log |
5292 | exec 5>>config.log |
3791 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
5293 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3792 | # would make configure fail if this is the last instruction. |
5294 | # would make configure fail if this is the last instruction. |
3793 | $ac_cs_success || as_fn_exit $? |
5295 | $ac_cs_success || as_fn_exit 1 |
3794 | fi |
5296 | fi |
3795 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
5297 | if 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 |
5298 | { $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;} |
5299 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
3798 | fi |
5300 | fi |