- Timestamp:
- 2010-12-17T15:00:27+13:00 (13 years ago)
- Location:
- main/branches/64_bit_Greenstone/greenstone2/common-src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/configure
r23356 r23509 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 7.3 # Generated by GNU Autoconf 2.65. 4 4 # 5 5 # 6 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 , 2010 Free Software8 # Foundation,Inc.7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 9 # 10 10 # … … 316 316 done 317 317 test -z "$as_dirs" || eval "mkdir $as_dirs" 318 } || test -d "$as_dir" || as_fn_error $?"cannot create directory $as_dir"318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 319 319 320 320 … … 356 356 357 357 358 # as_fn_error STATUSERROR [LINENO LOG_FD]359 # --------------------------------- -------358 # as_fn_error ERROR [LINENO LOG_FD] 359 # --------------------------------- 360 360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 361 361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 362 # script with STATUS, using 1 if that was 0.362 # script with status $?, using 1 if that was 0. 363 363 as_fn_error () 364 364 { 365 as_status=$ 1; test $as_status -eq 0 && as_status=1366 if test "$ 4"; then367 as_lineno=${as_lineno-"$ 3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 2" >&$4365 as_status=$?; test $as_status -eq 0 && as_status=1 366 if test "$3"; then 367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 369 369 fi 370 $as_echo "$as_me: error: $ 2" >&2370 $as_echo "$as_me: error: $1" >&2 371 371 as_fn_exit $as_status 372 372 } # as_fn_error … … 530 530 531 531 # Name of the host. 532 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 533 533 # so uname gets run too. 534 534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 562 562 JAVACFLAGS 563 563 JAVAC 564 COMPAT32BITFLAGS565 564 ENABLE_LUCENE 566 565 ENABLE_MGPP … … 686 685 687 686 case $ac_option in 688 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 689 *=) ac_optarg= ;; 690 *) ac_optarg=yes ;; 687 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 688 *) ac_optarg=yes ;; 691 689 esac 692 690 … … 733 731 # Reject names that are not valid shell variable names. 734 732 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 735 as_fn_error $?"invalid feature name: $ac_useropt"733 as_fn_error "invalid feature name: $ac_useropt" 736 734 ac_useropt_orig=$ac_useropt 737 735 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 759 757 # Reject names that are not valid shell variable names. 760 758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 761 as_fn_error $?"invalid feature name: $ac_useropt"759 as_fn_error "invalid feature name: $ac_useropt" 762 760 ac_useropt_orig=$ac_useropt 763 761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 963 961 # Reject names that are not valid shell variable names. 964 962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 965 as_fn_error $?"invalid package name: $ac_useropt"963 as_fn_error "invalid package name: $ac_useropt" 966 964 ac_useropt_orig=$ac_useropt 967 965 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 979 977 # Reject names that are not valid shell variable names. 980 978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 981 as_fn_error $?"invalid package name: $ac_useropt"979 as_fn_error "invalid package name: $ac_useropt" 982 980 ac_useropt_orig=$ac_useropt 983 981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1009 1007 x_libraries=$ac_optarg ;; 1010 1008 1011 -*) as_fn_error $?"unrecognized option: \`$ac_option'1012 Try \`$0 --help' for more information "1009 -*) as_fn_error "unrecognized option: \`$ac_option' 1010 Try \`$0 --help' for more information." 1013 1011 ;; 1014 1012 … … 1018 1016 case $ac_envvar in #( 1019 1017 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1020 as_fn_error $?"invalid variable name: \`$ac_envvar'" ;;1018 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1021 1019 esac 1022 1020 eval $ac_envvar=\$ac_optarg … … 1036 1034 if test -n "$ac_prev"; then 1037 1035 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1038 as_fn_error $?"missing argument to $ac_option"1036 as_fn_error "missing argument to $ac_option" 1039 1037 fi 1040 1038 … … 1042 1040 case $enable_option_checking in 1043 1041 no) ;; 1044 fatal) as_fn_error $?"unrecognized options: $ac_unrecognized_opts" ;;1042 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1045 1043 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1046 1044 esac … … 1065 1063 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1066 1064 esac 1067 as_fn_error $?"expected an absolute directory name for --$ac_var: $ac_val"1065 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1068 1066 done 1069 1067 … … 1079 1077 if test "x$build_alias" = x; then 1080 1078 cross_compiling=maybe 1081 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1082 If a cross compiler is detected then cross compile mode will be used " >&21079 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1080 If a cross compiler is detected then cross compile mode will be used." >&2 1083 1081 elif test "x$build_alias" != "x$host_alias"; then 1084 1082 cross_compiling=yes … … 1095 1093 ac_ls_di=`ls -di .` && 1096 1094 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1097 as_fn_error $?"working directory cannot be determined"1095 as_fn_error "working directory cannot be determined" 1098 1096 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1099 as_fn_error $?"pwd does not report name of working directory"1097 as_fn_error "pwd does not report name of working directory" 1100 1098 1101 1099 … … 1136 1134 if test ! -r "$srcdir/$ac_unique_file"; then 1137 1135 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1138 as_fn_error $?"cannot find sources ($ac_unique_file) in $srcdir"1136 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1139 1137 fi 1140 1138 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1141 1139 ac_abs_confdir=`( 1142 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $?"$ac_msg"1140 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1143 1141 pwd)` 1144 1142 # When building in place, set srcdir=. … … 1180 1178 --help=recursive display the short help of all the included packages 1181 1179 -V, --version display version information and exit 1182 -q, --quiet, --silent do not print \`checking 1180 -q, --quiet, --silent do not print \`checking...' messages 1183 1181 --cache-file=FILE cache test results in FILE [disabled] 1184 1182 -C, --config-cache alias for \`--cache-file=config.cache' … … 1310 1308 cat <<\_ACEOF 1311 1309 configure 1312 generated by GNU Autoconf 2.6 71313 1314 Copyright (C) 20 10Free Software Foundation, Inc.1310 generated by GNU Autoconf 2.65 1311 1312 Copyright (C) 2009 Free Software Foundation, Inc. 1315 1313 This configure script is free software; the Free Software Foundation 1316 1314 gives unlimited permission to copy, distribute and modify it. … … 1327 1325 1328 1326 It was created by $as_me, which was 1329 generated by GNU Autoconf 2.6 7. Invocation command line was1327 generated by GNU Autoconf 2.65. Invocation command line was 1330 1328 1331 1329 $ $0 $@ … … 1437 1435 echo 1438 1436 1439 $as_echo "## ---------------- ## 1437 cat <<\_ASBOX 1438 ## ---------------- ## 1440 1439 ## Cache variables. ## 1441 ## ---------------- ##" 1440 ## ---------------- ## 1441 _ASBOX 1442 1442 echo 1443 1443 # The following way of writing the cache mishandles newlines in values, … … 1473 1473 echo 1474 1474 1475 $as_echo "## ----------------- ## 1475 cat <<\_ASBOX 1476 ## ----------------- ## 1476 1477 ## Output variables. ## 1477 ## ----------------- ##" 1478 ## ----------------- ## 1479 _ASBOX 1478 1480 echo 1479 1481 for ac_var in $ac_subst_vars … … 1488 1490 1489 1491 if test -n "$ac_subst_files"; then 1490 $as_echo "## ------------------- ## 1492 cat <<\_ASBOX 1493 ## ------------------- ## 1491 1494 ## File substitutions. ## 1492 ## ------------------- ##" 1495 ## ------------------- ## 1496 _ASBOX 1493 1497 echo 1494 1498 for ac_var in $ac_subst_files … … 1504 1508 1505 1509 if test -s confdefs.h; then 1506 $as_echo "## ----------- ## 1510 cat <<\_ASBOX 1511 ## ----------- ## 1507 1512 ## confdefs.h. ## 1508 ## ----------- ##" 1513 ## ----------- ## 1514 _ASBOX 1509 1515 echo 1510 1516 cat confdefs.h … … 1561 1567 ac_site_file2=NONE 1562 1568 if test -n "$CONFIG_SITE"; then 1563 # We do not want a PATH search for config.site. 1564 case $CONFIG_SITE in #(( 1565 -*) ac_site_file1=./$CONFIG_SITE;; 1566 */*) ac_site_file1=$CONFIG_SITE;; 1567 *) ac_site_file1=./$CONFIG_SITE;; 1568 esac 1569 ac_site_file1=$CONFIG_SITE 1569 1570 elif test "x$prefix" != xNONE; then 1570 1571 ac_site_file1=$prefix/share/config.site … … 1581 1582 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1582 1583 sed 's/^/| /' "$ac_site_file" >&5 1583 . "$ac_site_file" \ 1584 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1586 as_fn_error $? "failed to load site script $ac_site_file 1587 See \`config.log' for more details" "$LINENO" 5 ; } 1584 . "$ac_site_file" 1588 1585 fi 1589 1586 done … … 1661 1658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1662 1659 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1663 as_fn_error $?"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 51660 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1664 1661 fi 1665 1662 ## -------------------- ## … … 1776 1773 ENABLE_LUCENE=0 1777 1774 fi 1778 1779 1780 1781 cat >>confdefs.h <<_ACEOF1782 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS1783 _ACEOF1784 1785 1775 1786 1776 … … 1877 1867 1878 1868 fi 1879 test "x$JAVAC" = x && as_fn_error $?"no acceptable Java compiler found in \$PATH" "$LINENO" 51869 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 1880 1870 else 1881 1871 echo "Checking for javac... $JAVAC" … … 1892 1882 CLASS_TEST=Test.class 1893 1883 cat << \EOF > $JAVA_TEST 1894 /* #line 18 94 "configure" */1884 /* #line 1884 "configure" */ 1895 1885 public class Test { 1896 1886 } … … 1904 1894 ac_cv_prog_javac_works=yes 1905 1895 else 1906 as_fn_error $?"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 51896 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 1907 1897 echo "configure: failed program was:" >&5 1908 1898 cat $JAVA_TEST >&5 … … 2009 1999 2010 2000 fi 2011 test x$JAVA = x && as_fn_error $?"no acceptable Java virtual machine found in \$PATH" "$LINENO" 52001 test x$JAVA = x && as_fn_error "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 2012 2002 fi 2013 2003 … … 2071 2061 ac_cv_prog_uudecode_base64=yes 2072 2062 else 2073 echo "configure: 20 73: uudecode had trouble decoding base 64 file 'Test.uue'" >&52063 echo "configure: 2063: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 2074 2064 echo "configure: failed file was:" >&5 2075 2065 cat Test.uue >&5 … … 2086 2076 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 2087 2077 if test x$ac_cv_prog_javac_works = xno; then 2088 as_fn_error $?"Cannot compile java source. $JAVAC does not work properly" "$LINENO" 52078 as_fn_error "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 2089 2079 fi 2090 2080 if test x$ac_cv_prog_javac_works = x; then … … 2179 2169 2180 2170 fi 2181 test "x$JAVAC" = x && as_fn_error $?"no acceptable Java compiler found in \$PATH" "$LINENO" 52171 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 2182 2172 else 2183 2173 echo "Checking for javac... $JAVAC" … … 2194 2184 CLASS_TEST=Test.class 2195 2185 cat << \EOF > $JAVA_TEST 2196 /* #line 21 96 "configure" */2186 /* #line 2186 "configure" */ 2197 2187 public class Test { 2198 2188 } … … 2206 2196 ac_cv_prog_javac_works=yes 2207 2197 else 2208 as_fn_error $?"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 52198 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2209 2199 echo "configure: failed program was:" >&5 2210 2200 cat $JAVA_TEST >&5 … … 2233 2223 TEST=Test 2234 2224 cat << \EOF > $JAVA_TEST 2235 /* [#]line 22 35 "configure" */2225 /* [#]line 2225 "configure" */ 2236 2226 public class Test { 2237 2227 public static void main (String args[]) { … … 2250 2240 echo "configure: failed program was:" >&5 2251 2241 cat $JAVA_TEST >&5 2252 as_fn_error $?"The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 52242 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2253 2243 fi 2254 2244 fi … … 2263 2253 echo "configure: failed program was:" >&5 2264 2254 cat $JAVA_TEST >&5 2265 as_fn_error $?"The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 52255 as_fn_error "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2266 2256 fi 2267 2257 rm -fr $JAVA_TEST $CLASS_TEST Test.uue … … 2292 2282 ac_aux_dir= 2293 2283 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2294 if test -f "$ac_dir/install-sh"; then 2295 ac_aux_dir=$ac_dir 2296 ac_install_sh="$ac_aux_dir/install-sh -c" 2297 break 2298 elif test -f "$ac_dir/install.sh"; then 2299 ac_aux_dir=$ac_dir 2300 ac_install_sh="$ac_aux_dir/install.sh -c" 2301 break 2302 elif test -f "$ac_dir/shtool"; then 2303 ac_aux_dir=$ac_dir 2304 ac_install_sh="$ac_aux_dir/shtool install -c" 2305 break 2306 fi 2284 for ac_t in install-sh install.sh shtool; do 2285 if test -f "$ac_dir/$ac_t"; then 2286 ac_aux_dir=$ac_dir 2287 ac_install_sh="$ac_aux_dir/$ac_t -c" 2288 break 2 2289 fi 2290 done 2307 2291 done 2308 2292 if test -z "$ac_aux_dir"; then 2309 as_fn_error $?"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 52293 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2310 2294 fi 2311 2295 … … 2474 2458 ac_libobjs= 2475 2459 ac_ltlibobjs= 2476 U=2477 2460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2478 2461 # 1. Remove the extension, and $U if already installed. … … 2636 2619 2637 2620 2638 # as_fn_error STATUSERROR [LINENO LOG_FD]2639 # --------------------------------- -------2621 # as_fn_error ERROR [LINENO LOG_FD] 2622 # --------------------------------- 2640 2623 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2641 2624 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2642 # script with STATUS, using 1 if that was 0.2625 # script with status $?, using 1 if that was 0. 2643 2626 as_fn_error () 2644 2627 { 2645 as_status=$ 1; test $as_status -eq 0 && as_status=12646 if test "$ 4"; then2647 as_lineno=${as_lineno-"$ 3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 2" >&$42628 as_status=$?; test $as_status -eq 0 && as_status=1 2629 if test "$3"; then 2630 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2631 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 2649 2632 fi 2650 $as_echo "$as_me: error: $ 2" >&22633 $as_echo "$as_me: error: $1" >&2 2651 2634 as_fn_exit $as_status 2652 2635 } # as_fn_error … … 2844 2827 done 2845 2828 test -z "$as_dirs" || eval "mkdir $as_dirs" 2846 } || test -d "$as_dir" || as_fn_error $?"cannot create directory $as_dir"2829 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 2847 2830 2848 2831 … … 2898 2881 ac_log=" 2899 2882 This file was extended by $as_me, which was 2900 generated by GNU Autoconf 2.6 7. Invocation command line was2883 generated by GNU Autoconf 2.65. Invocation command line was 2901 2884 2902 2885 CONFIG_FILES = $CONFIG_FILES … … 2951 2934 ac_cs_version="\\ 2952 2935 config.status 2953 configured by $0, generated by GNU Autoconf 2.6 7,2936 configured by $0, generated by GNU Autoconf 2.65, 2954 2937 with options \\"\$ac_cs_config\\" 2955 2938 2956 Copyright (C) 20 10Free Software Foundation, Inc.2939 Copyright (C) 2009 Free Software Foundation, Inc. 2957 2940 This config.status script is free software; the Free Software Foundation 2958 2941 gives unlimited permission to copy, distribute and modify it." … … 2969 2952 do 2970 2953 case $1 in 2971 --*= ?*)2954 --*=*) 2972 2955 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2973 2956 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2974 ac_shift=:2975 ;;2976 --*=)2977 ac_option=`expr "X$1" : 'X\([^=]*\)='`2978 ac_optarg=2979 2957 ac_shift=: 2980 2958 ;; … … 3000 2978 case $ac_optarg in 3001 2979 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3002 '') as_fn_error $? "missing file argument" ;;3003 2980 esac 3004 2981 as_fn_append CONFIG_FILES " '$ac_optarg'" … … 3011 2988 3012 2989 # This is an error. 3013 -*) as_fn_error $?"unrecognized option: \`$1'2990 -*) as_fn_error "unrecognized option: \`$1' 3014 2991 Try \`$0 --help' for more information." ;; 3015 2992 … … 3063 3040 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 3064 3041 3065 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;3042 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3066 3043 esac 3067 3044 done … … 3099 3076 tmp=./conf$$-$RANDOM 3100 3077 (umask 077 && mkdir "$tmp") 3101 } || as_fn_error $?"cannot create a temporary directory in ." "$LINENO" 53078 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 3102 3079 3103 3080 # Set up the scripts for CONFIG_FILES section. … … 3116 3093 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3117 3094 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3118 ac_cs_awk_cr='\ \r'3095 ac_cs_awk_cr='\r' 3119 3096 else 3120 3097 ac_cs_awk_cr=$ac_cr … … 3130 3107 echo "_ACEOF" 3131 3108 } >conf$$subs.sh || 3132 as_fn_error $?"could not make $CONFIG_STATUS" "$LINENO" 53133 ac_delim_num=`echo "$ac_subst_vars" | grep -c ' ^'`3109 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 3110 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 3134 3111 ac_delim='%!_!# ' 3135 3112 for ac_last_try in false false false false false :; do 3136 3113 . ./conf$$subs.sh || 3137 as_fn_error $?"could not make $CONFIG_STATUS" "$LINENO" 53114 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 3138 3115 3139 3116 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 3141 3118 break 3142 3119 elif $ac_last_try; then 3143 as_fn_error $?"could not make $CONFIG_STATUS" "$LINENO" 53120 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 3144 3121 else 3145 3122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 3230 3207 cat 3231 3208 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 3232 || as_fn_error $?"could not setup config files machinery" "$LINENO" 53209 || as_fn_error "could not setup config files machinery" "$LINENO" 5 3233 3210 _ACEOF 3234 3211 3235 # VPATH may cause trouble with some makes, so we remove sole$(srcdir),3236 # ${srcdir} and @srcdir@ entriesfrom VPATH if srcdir is ".", strip leading and3212 # VPATH may cause trouble with some makes, so we remove $(srcdir), 3213 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3237 3214 # trailing colons and then remove the whole line if VPATH becomes empty 3238 3215 # (actually we leave an empty line to preserve line numbers). 3239 3216 if test "x$srcdir" = x.; then 3240 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3241 h 3242 s/// 3243 s/^/:/ 3244 s/[ ]*$/:/ 3245 s/:\$(srcdir):/:/g 3246 s/:\${srcdir}:/:/g 3247 s/:@srcdir@:/:/g 3248 s/^:*// 3217 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3218 s/:*\$(srcdir):*/:/ 3219 s/:*\${srcdir}:*/:/ 3220 s/:*@srcdir@:*/:/ 3221 s/^\([^=]*=[ ]*\):*/\1/ 3249 3222 s/:*$// 3250 x3251 s/\(=[ ]*\).*/\1/3252 G3253 s/\n//3254 3223 s/^[^=]*=[ ]*$// 3255 3224 }' … … 3269 3238 case $ac_mode$ac_tag in 3270 3239 :[FHL]*:*);; 3271 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;3240 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 3272 3241 :[FH]-) ac_tag=-:-;; 3273 3242 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 3297 3266 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3298 3267 esac || 3299 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;3268 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3300 3269 esac 3301 3270 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac … … 3324 3293 case $ac_tag in 3325 3294 *:-:* | *:-) cat >"$tmp/stdin" \ 3326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5;;3295 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 3327 3296 esac 3328 3297 ;; … … 3450 3419 " 3451 3420 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 3452 || as_fn_error $?"could not create $ac_file" "$LINENO" 53421 || as_fn_error "could not create $ac_file" "$LINENO" 5 3453 3422 3454 3423 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && … … 3456 3425 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3457 3426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3458 which seems to be undefined. Please make sure it is defined " >&53427 which seems to be undefined. Please make sure it is defined." >&5 3459 3428 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3460 which seems to be undefined. Please make sure it is defined " >&2;}3429 which seems to be undefined. Please make sure it is defined." >&2;} 3461 3430 3462 3431 rm -f "$tmp/stdin" … … 3465 3434 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 3466 3435 esac \ 3467 || as_fn_error $?"could not create $ac_file" "$LINENO" 53436 || as_fn_error "could not create $ac_file" "$LINENO" 5 3468 3437 ;; 3469 3438 … … 3480 3449 3481 3450 test $ac_write_fail = 0 || 3482 as_fn_error $?"write failure creating $CONFIG_STATUS" "$LINENO" 53451 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 3483 3452 3484 3453 … … 3501 3470 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3502 3471 # would make configure fail if this is the last instruction. 3503 $ac_cs_success || as_fn_exit 13472 $ac_cs_success || as_fn_exit $? 3504 3473 fi 3505 3474 … … 3642 3611 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 3643 3612 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 3644 as_fn_error $?"$ac_sub_configure failed for $ac_dir" "$LINENO" 53613 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 3645 3614 fi 3646 3615 -
main/branches/64_bit_Greenstone/greenstone2/common-src/packages/configure
r23508 r23509 194 194 cd "$PACKAGES/gdbm" 195 195 196 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS"./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT196 echo ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 197 197 198 198 cd "$PACKAGES/gdbm/gdbm-1.8.3" && \ 199 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS"./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT199 ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/gdbm $HOSTTARGETFLAGS $ENVIRONMENT 200 200 else 201 201 echo " GDBM support disabled." -
main/branches/64_bit_Greenstone/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure
r21432 r23509 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for gdbm 1.8.3.3 # Generated by GNU Autoconf 2.65 for gdbm 1.8.3. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 6 11 # This configure script is free software; the Free Software Foundation 7 12 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14 20 emulate sh 15 21 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 23 # is contrary to our usage. Disable this feature. 18 24 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 for as_dir in $PATH 96 do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101 IFS=$as_save_IFS 102 103 ;; 104 esac 105 # We did not find ourselves, most probably we were run as `sh COMMAND' 106 # in which case we are not to be found in the path. 107 if test "x$as_myself" = x; then 108 as_myself=$0 109 fi 110 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122 done 34 123 PS1='$ ' 35 124 PS2='> ' … … 37 126 38 127 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 43 186 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 46 230 else 47 $as_unset $as_var 231 $as_echo "$0: Please tell [email protected] about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 48 235 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 375 if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 53 377 as_expr=expr 54 378 else … … 56 380 fi 57 381 58 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 59 383 as_basename=basename 60 384 else … … 62 386 fi 63 387 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 394 as_me=`$as_basename -- "$0" || 67 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 396 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 79 413 # Avoid depending upon Character Ranges. 80 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 419 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 165 430 sed ' 431 s/[$]LINENO.*/&-/ 432 t lineno 433 b 434 :lineno 166 435 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 438 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 439 s/-\n.*// 173 440 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 177 443 178 444 # Don't try to exec as it changes $[0], causing all sort of problems 179 445 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno446 # original and so on. Autoconf is especially sensitive to this). 447 . "./$as_me.lineno" 182 448 # Exit status is that of the last command. 183 449 exit 184 450 } 185 451 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 452 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #((((( 454 -n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461 *) 462 ECHO_N='-n';; 192 463 esac 193 464 194 if expr a : '\(a\)' >/dev/null 2>&1; then195 as_expr=expr196 else197 as_expr=false198 fi199 200 465 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468 else 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 207 484 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 485 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 486 else 214 487 as_ln_s='cp -p' 215 488 fi 216 rm -f conf$$ conf$$.exe conf$$.file 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null 217 491 218 492 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 220 494 else 221 495 test -d ./-p && rmdir ./-p … … 223 497 fi 224 498 225 as_executable_p="test -f" 499 if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501 else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519 fi 520 as_executable_p=$as_test_x 226 521 227 522 # Sed expression to map a string onto a valid CPP name. … … 230 525 # Sed expression to map a string onto a valid variable name. 231 526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234 # IFS235 # We need space, tab and new line, in precisely that order.236 as_nl='237 '238 IFS=" $as_nl"239 240 # CDPATH.241 $as_unset CDPATH242 527 243 528 … … 401 686 402 687 688 test -n "$DJDIR" || exec 7<&0 </dev/null 689 exec 6>&1 690 403 691 # Name of the host. 404 692 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, … … 406 694 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 407 695 408 exec 6>&1409 410 696 # 411 697 # Initializations. 412 698 # 413 699 ac_default_prefix=/usr/local 700 ac_clean_files= 414 701 ac_config_libobj_dir=. 702 LIBOBJS= 415 703 cross_compiling=no 416 704 subdirs= 417 705 MFLAGS= 418 706 MAKEFLAGS= 419 SHELL=${CONFIG_SHELL-/bin/sh}420 421 # Maximum number of lines to put in a shell here document.422 # This variable seems obsolete. It should probably be removed, and423 # only ac_max_sed_lines should be used.424 : ${ac_max_here_lines=38}425 707 426 708 # Identity of this package. … … 430 712 PACKAGE_STRING='gdbm 1.8.3' 431 713 PACKAGE_BUGREPORT='' 714 PACKAGE_URL='' 432 715 433 716 ac_unique_file="gdbmdefs.h" … … 435 718 ac_includes_default="\ 436 719 #include <stdio.h> 437 #if HAVE_SYS_TYPES_H720 #ifdef HAVE_SYS_TYPES_H 438 721 # include <sys/types.h> 439 722 #endif 440 #if HAVE_SYS_STAT_H723 #ifdef HAVE_SYS_STAT_H 441 724 # include <sys/stat.h> 442 725 #endif 443 #if STDC_HEADERS726 #ifdef STDC_HEADERS 444 727 # include <stdlib.h> 445 728 # include <stddef.h> 446 729 #else 447 # if HAVE_STDLIB_H730 # ifdef HAVE_STDLIB_H 448 731 # include <stdlib.h> 449 732 # endif 450 733 #endif 451 #if HAVE_STRING_H452 # if ! STDC_HEADERS &&HAVE_MEMORY_H734 #ifdef HAVE_STRING_H 735 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 453 736 # include <memory.h> 454 737 # endif 455 738 # include <string.h> 456 739 #endif 457 #if HAVE_STRINGS_H740 #ifdef HAVE_STRINGS_H 458 741 # include <strings.h> 459 742 #endif 460 #if HAVE_INTTYPES_H743 #ifdef HAVE_INTTYPES_H 461 744 # include <inttypes.h> 462 #else463 # if HAVE_STDINT_H464 # include <stdint.h>465 # endif466 745 #endif 467 #if HAVE_UNISTD_H 746 #ifdef HAVE_STDINT_H 747 # include <stdint.h> 748 #endif 749 #ifdef HAVE_UNISTD_H 468 750 # include <unistd.h> 469 751 #endif" 470 752 471 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP EGREP LIBTOOL COMPAT32BITFLAGS LIBOBJS LTLIBOBJS' 753 ac_subst_vars='LTLIBOBJS 754 LIBOBJS 755 LIBTOOL 756 EGREP 757 GREP 758 STRIP 759 RANLIB 760 ECHO 761 LN_S 762 INSTALL_DATA 763 INSTALL_SCRIPT 764 INSTALL_PROGRAM 765 CPP 766 OBJEXT 767 EXEEXT 768 ac_ct_CC 769 CPPFLAGS 770 LDFLAGS 771 CFLAGS 772 CC 773 target_os 774 target_vendor 775 target_cpu 776 target 777 host_os 778 host_vendor 779 host_cpu 780 host 781 build_os 782 build_vendor 783 build_cpu 784 build 785 target_alias 786 host_alias 787 build_alias 788 LIBS 789 ECHO_T 790 ECHO_N 791 ECHO_C 792 DEFS 793 mandir 794 localedir 795 libdir 796 psdir 797 pdfdir 798 dvidir 799 htmldir 800 infodir 801 docdir 802 oldincludedir 803 includedir 804 localstatedir 805 sharedstatedir 806 sysconfdir 807 datadir 808 datarootdir 809 libexecdir 810 sbindir 811 bindir 812 program_transform_name 813 prefix 814 exec_prefix 815 PACKAGE_URL 816 PACKAGE_BUGREPORT 817 PACKAGE_STRING 818 PACKAGE_VERSION 819 PACKAGE_TARNAME 820 PACKAGE_NAME 821 PATH_SEPARATOR 822 SHELL' 472 823 ac_subst_files='' 824 ac_user_opts=' 825 enable_option_checking 826 enable_shared 827 enable_static 828 enable_fast_install 829 with_gnu_ld 830 enable_libtool_lock 831 with_pic 832 ' 833 ac_precious_vars='build_alias 834 host_alias 835 target_alias 836 CC 837 CFLAGS 838 LDFLAGS 839 LIBS 840 CPPFLAGS 841 CPP' 842 473 843 474 844 # Initialize some variables set by options. 475 845 ac_init_help= 476 846 ac_init_version=false 847 ac_unrecognized_opts= 848 ac_unrecognized_sep= 477 849 # The variables have the same names as the options, with 478 850 # dashes changed to underlines. … … 497 869 # by default will actually change. 498 870 # Use braces instead of parens because sh, perl, etc. also accept them. 871 # (The list follows the same order as the GNU Coding Standards.) 499 872 bindir='${exec_prefix}/bin' 500 873 sbindir='${exec_prefix}/sbin' 501 874 libexecdir='${exec_prefix}/libexec' 502 datadir='${prefix}/share' 875 datarootdir='${prefix}/share' 876 datadir='${datarootdir}' 503 877 sysconfdir='${prefix}/etc' 504 878 sharedstatedir='${prefix}/com' 505 879 localstatedir='${prefix}/var' 506 libdir='${exec_prefix}/lib'507 880 includedir='${prefix}/include' 508 881 oldincludedir='/usr/include' 509 infodir='${prefix}/info' 510 mandir='${prefix}/man' 882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 883 infodir='${datarootdir}/info' 884 htmldir='${docdir}' 885 dvidir='${docdir}' 886 pdfdir='${docdir}' 887 psdir='${docdir}' 888 libdir='${exec_prefix}/lib' 889 localedir='${datarootdir}/locale' 890 mandir='${datarootdir}/man' 511 891 512 892 ac_prev= 893 ac_dashdash= 513 894 for ac_option 514 895 do 515 896 # If the previous option needs an argument, assign it. 516 897 if test -n "$ac_prev"; then 517 eval "$ac_prev=\$ac_option"898 eval $ac_prev=\$ac_option 518 899 ac_prev= 519 900 continue 520 901 fi 521 902 522 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 903 case $ac_option in 904 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 905 *) ac_optarg=yes ;; 906 esac 523 907 524 908 # Accept the important Cygnus configure options, so we can diagnose typos. 525 909 526 case $ac_option in 910 case $ac_dashdash$ac_option in 911 --) 912 ac_dashdash=yes ;; 527 913 528 914 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 546 932 cache_file=config.cache ;; 547 933 548 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)934 -datadir | --datadir | --datadi | --datad) 549 935 ac_prev=datadir ;; 550 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 551 | --da=*) 936 -datadir=* | --datadir=* | --datadi=* | --datad=*) 552 937 datadir=$ac_optarg ;; 553 938 939 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 940 | --dataroo | --dataro | --datar) 941 ac_prev=datarootdir ;; 942 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 943 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 944 datarootdir=$ac_optarg ;; 945 554 946 -disable-* | --disable-*) 555 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`947 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 556 948 # Reject names that are not valid shell variable names. 557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 559 { (exit 1); exit 1; }; } 560 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 561 eval "enable_$ac_feature=no" ;; 949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 950 as_fn_error "invalid feature name: $ac_useropt" 951 ac_useropt_orig=$ac_useropt 952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 953 case $ac_user_opts in 954 *" 955 "enable_$ac_useropt" 956 "*) ;; 957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 958 ac_unrecognized_sep=', ';; 959 esac 960 eval enable_$ac_useropt=no ;; 961 962 -docdir | --docdir | --docdi | --doc | --do) 963 ac_prev=docdir ;; 964 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 965 docdir=$ac_optarg ;; 966 967 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 968 ac_prev=dvidir ;; 969 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 970 dvidir=$ac_optarg ;; 562 971 563 972 -enable-* | --enable-*) 564 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`973 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 565 974 # Reject names that are not valid shell variable names. 566 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 567 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 568 { (exit 1); exit 1; }; } 569 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 570 case $ac_option in 571 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 572 *) ac_optarg=yes ;; 975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 976 as_fn_error "invalid feature name: $ac_useropt" 977 ac_useropt_orig=$ac_useropt 978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 979 case $ac_user_opts in 980 *" 981 "enable_$ac_useropt" 982 "*) ;; 983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 984 ac_unrecognized_sep=', ';; 573 985 esac 574 eval "enable_$ac_feature='$ac_optarg'";;986 eval enable_$ac_useropt=\$ac_optarg ;; 575 987 576 988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 599 1011 host_alias=$ac_optarg ;; 600 1012 1013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1014 ac_prev=htmldir ;; 1015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1016 | --ht=*) 1017 htmldir=$ac_optarg ;; 1018 601 1019 -includedir | --includedir | --includedi | --included | --include \ 602 1020 | --includ | --inclu | --incl | --inc) … … 623 1041 libexecdir=$ac_optarg ;; 624 1042 1043 -localedir | --localedir | --localedi | --localed | --locale) 1044 ac_prev=localedir ;; 1045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1046 localedir=$ac_optarg ;; 1047 625 1048 -localstatedir | --localstatedir | --localstatedi | --localstated \ 626 | --localstate | --localstat | --localsta | --localst \ 627 | --locals | --local | --loca | --loc | --lo) 1049 | --localstate | --localstat | --localsta | --localst | --locals) 628 1050 ac_prev=localstatedir ;; 629 1051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 630 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 631 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 1052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 632 1053 localstatedir=$ac_optarg ;; 633 1054 … … 694 1115 program_transform_name=$ac_optarg ;; 695 1116 1117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1118 ac_prev=pdfdir ;; 1119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1120 pdfdir=$ac_optarg ;; 1121 1122 -psdir | --psdir | --psdi | --psd | --ps) 1123 ac_prev=psdir ;; 1124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1125 psdir=$ac_optarg ;; 1126 696 1127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 697 1128 | -silent | --silent | --silen | --sile | --sil) … … 744 1175 745 1176 -with-* | --with-*) 746 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 747 1178 # Reject names that are not valid shell variable names. 748 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 749 { echo "$as_me: error: invalid package name: $ac_package" >&2 750 { (exit 1); exit 1; }; } 751 ac_package=`echo $ac_package| sed 's/-/_/g'` 752 case $ac_option in 753 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 754 *) ac_optarg=yes ;; 1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1180 as_fn_error "invalid package name: $ac_useropt" 1181 ac_useropt_orig=$ac_useropt 1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1183 case $ac_user_opts in 1184 *" 1185 "with_$ac_useropt" 1186 "*) ;; 1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1188 ac_unrecognized_sep=', ';; 755 1189 esac 756 eval "with_$ac_package='$ac_optarg'";;1190 eval with_$ac_useropt=\$ac_optarg ;; 757 1191 758 1192 -without-* | --without-*) 759 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 760 1194 # Reject names that are not valid shell variable names. 761 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 762 { echo "$as_me: error: invalid package name: $ac_package" >&2 763 { (exit 1); exit 1; }; } 764 ac_package=`echo $ac_package | sed 's/-/_/g'` 765 eval "with_$ac_package=no" ;; 1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1196 as_fn_error "invalid package name: $ac_useropt" 1197 ac_useropt_orig=$ac_useropt 1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1199 case $ac_user_opts in 1200 *" 1201 "with_$ac_useropt" 1202 "*) ;; 1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1204 ac_unrecognized_sep=', ';; 1205 esac 1206 eval with_$ac_useropt=no ;; 766 1207 767 1208 --x) … … 783 1224 x_libraries=$ac_optarg ;; 784 1225 785 -*) { echo "$as_me: error: unrecognized option: $ac_option 786 Try \`$0 --help' for more information." >&2 787 { (exit 1); exit 1; }; } 1226 -*) as_fn_error "unrecognized option: \`$ac_option' 1227 Try \`$0 --help' for more information." 788 1228 ;; 789 1229 … … 791 1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 792 1232 # Reject names that are not valid shell variable names. 793 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&794 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2795 { (exit 1); exit 1; }; }796 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`797 eval "$ac_envvar='$ac_optarg'"1233 case $ac_envvar in #( 1234 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1235 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1236 esac 1237 eval $ac_envvar=\$ac_optarg 798 1238 export $ac_envvar ;; 799 1239 800 1240 *) 801 1241 # FIXME: should be removed in autoconf 3.0. 802 echo "$as_me: WARNING: you should use --build, --host, --target" >&21242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 803 1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 804 echo "$as_me: WARNING: invalid host type: $ac_option" >&21244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 805 1245 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 806 1246 ;; … … 811 1251 if test -n "$ac_prev"; then 812 1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 813 { echo "$as_me: error: missing argument to $ac_option" >&2 814 { (exit 1); exit 1; }; } 815 fi 816 817 # Be sure to have absolute paths. 818 for ac_var in exec_prefix prefix 1253 as_fn_error "missing argument to $ac_option" 1254 fi 1255 1256 if test -n "$ac_unrecognized_opts"; then 1257 case $enable_option_checking in 1258 no) ;; 1259 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1261 esac 1262 fi 1263 1264 # Check all directory arguments for consistency. 1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1266 datadir sysconfdir sharedstatedir localstatedir includedir \ 1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1268 libdir localedir mandir 819 1269 do 820 eval ac_val=$`echo $ac_var` 1270 eval ac_val=\$$ac_var 1271 # Remove trailing slashes. 821 1272 case $ac_val in 822 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;823 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2824 { (exit 1); exit 1; }; };;1273 */ ) 1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1275 eval $ac_var=\$ac_val;; 825 1276 esac 826 done 827 828 # Be sure to have absolute paths. 829 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 830 localstatedir libdir includedir oldincludedir infodir mandir 831 do 832 eval ac_val=$`echo $ac_var` 1277 # Be sure to have absolute directory names. 833 1278 case $ac_val in 834 [\\/$]* | ?:[\\/]* ) ;; 835 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 836 { (exit 1); exit 1; }; };; 1279 [\\/$]* | ?:[\\/]* ) continue;; 1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 837 1281 esac 1282 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 838 1283 done 839 1284 … … 849 1294 if test "x$build_alias" = x; then 850 1295 cross_compiling=maybe 851 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1296 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 852 1297 If a cross compiler is detected then cross compile mode will be used." >&2 853 1298 elif test "x$build_alias" != "x$host_alias"; then … … 862 1307 863 1308 1309 ac_pwd=`pwd` && test -n "$ac_pwd" && 1310 ac_ls_di=`ls -di .` && 1311 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1312 as_fn_error "working directory cannot be determined" 1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1314 as_fn_error "pwd does not report name of working directory" 1315 1316 864 1317 # Find the source files, if location was not specified. 865 1318 if test -z "$srcdir"; then 866 1319 ac_srcdir_defaulted=yes 867 # Try the directory containing this script, then its parent. 868 ac_confdir=`(dirname "$0") 2>/dev/null || 869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 870 X"$0" : 'X\(//\)[^/]' \| \ 871 X"$0" : 'X\(//\)$' \| \ 872 X"$0" : 'X\(/\)' \| \ 873 . : '\(.\)' 2>/dev/null || 874 echo X"$0" | 875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 876 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 877 /^X\(\/\/\)$/{ s//\1/; q; } 878 /^X\(\/\).*/{ s//\1/; q; } 879 s/.*/./; q'` 1320 # Try the directory containing this script, then the parent directory. 1321 ac_confdir=`$as_dirname -- "$as_myself" || 1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1323 X"$as_myself" : 'X\(//\)[^/]' \| \ 1324 X"$as_myself" : 'X\(//\)$' \| \ 1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1326 $as_echo X"$as_myself" | 1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1328 s//\1/ 1329 q 1330 } 1331 /^X\(\/\/\)[^/].*/{ 1332 s//\1/ 1333 q 1334 } 1335 /^X\(\/\/\)$/{ 1336 s//\1/ 1337 q 1338 } 1339 /^X\(\/\).*/{ 1340 s//\1/ 1341 q 1342 } 1343 s/.*/./; q'` 880 1344 srcdir=$ac_confdir 881 if test ! -r $srcdir/$ac_unique_file; then1345 if test ! -r "$srcdir/$ac_unique_file"; then 882 1346 srcdir=.. 883 1347 fi … … 885 1349 ac_srcdir_defaulted=no 886 1350 fi 887 if test ! -r $srcdir/$ac_unique_file; then 888 if test "$ac_srcdir_defaulted" = yes; then 889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 890 { (exit 1); exit 1; }; } 891 else 892 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 893 { (exit 1); exit 1; }; } 894 fi 895 fi 896 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 897 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 898 { (exit 1); exit 1; }; } 899 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 900 ac_env_build_alias_set=${build_alias+set} 901 ac_env_build_alias_value=$build_alias 902 ac_cv_env_build_alias_set=${build_alias+set} 903 ac_cv_env_build_alias_value=$build_alias 904 ac_env_host_alias_set=${host_alias+set} 905 ac_env_host_alias_value=$host_alias 906 ac_cv_env_host_alias_set=${host_alias+set} 907 ac_cv_env_host_alias_value=$host_alias 908 ac_env_target_alias_set=${target_alias+set} 909 ac_env_target_alias_value=$target_alias 910 ac_cv_env_target_alias_set=${target_alias+set} 911 ac_cv_env_target_alias_value=$target_alias 912 ac_env_CC_set=${CC+set} 913 ac_env_CC_value=$CC 914 ac_cv_env_CC_set=${CC+set} 915 ac_cv_env_CC_value=$CC 916 ac_env_CFLAGS_set=${CFLAGS+set} 917 ac_env_CFLAGS_value=$CFLAGS 918 ac_cv_env_CFLAGS_set=${CFLAGS+set} 919 ac_cv_env_CFLAGS_value=$CFLAGS 920 ac_env_LDFLAGS_set=${LDFLAGS+set} 921 ac_env_LDFLAGS_value=$LDFLAGS 922 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 923 ac_cv_env_LDFLAGS_value=$LDFLAGS 924 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 925 ac_env_CPPFLAGS_value=$CPPFLAGS 926 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 927 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 928 ac_env_CPP_set=${CPP+set} 929 ac_env_CPP_value=$CPP 930 ac_cv_env_CPP_set=${CPP+set} 931 ac_cv_env_CPP_value=$CPP 1351 if test ! -r "$srcdir/$ac_unique_file"; then 1352 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1353 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1354 fi 1355 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1356 ac_abs_confdir=`( 1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1358 pwd)` 1359 # When building in place, set srcdir=. 1360 if test "$ac_abs_confdir" = "$ac_pwd"; then 1361 srcdir=. 1362 fi 1363 # Remove unnecessary trailing slashes from srcdir. 1364 # Double slashes in file names in object file debugging info 1365 # mess up M-x gdb in Emacs. 1366 case $srcdir in 1367 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1368 esac 1369 for ac_var in $ac_precious_vars; do 1370 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1371 eval ac_env_${ac_var}_value=\$${ac_var} 1372 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1373 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1374 done 932 1375 933 1376 # … … 958 1401 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 959 1402 960 _ACEOF961 962 cat <<_ACEOF963 1403 Installation directories: 964 1404 --prefix=PREFIX install architecture-independent files in PREFIX 965 1405 [$ac_default_prefix] 966 1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 967 1407 [PREFIX] 968 1408 969 1409 By default, \`make install' will install all the files in … … 975 1415 976 1416 Fine tuning of the installation directories: 977 --bindir=DIR user executables [EPREFIX/bin] 978 --sbindir=DIR system admin executables [EPREFIX/sbin] 979 --libexecdir=DIR program executables [EPREFIX/libexec] 980 --datadir=DIR read-only architecture-independent data [PREFIX/share] 981 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 982 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 983 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 984 --libdir=DIR object code libraries [EPREFIX/lib] 985 --includedir=DIR C header files [PREFIX/include] 986 --oldincludedir=DIR C header files for non-gcc [/usr/include] 987 --infodir=DIR info documentation [PREFIX/info] 988 --mandir=DIR man documentation [PREFIX/man] 1417 --bindir=DIR user executables [EPREFIX/bin] 1418 --sbindir=DIR system admin executables [EPREFIX/sbin] 1419 --libexecdir=DIR program executables [EPREFIX/libexec] 1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1423 --libdir=DIR object code libraries [EPREFIX/lib] 1424 --includedir=DIR C header files [PREFIX/include] 1425 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1428 --infodir=DIR info documentation [DATAROOTDIR/info] 1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1430 --mandir=DIR man documentation [DATAROOTDIR/man] 1431 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbm] 1432 --htmldir=DIR html documentation [DOCDIR] 1433 --dvidir=DIR dvi documentation [DOCDIR] 1434 --pdfdir=DIR pdf documentation [DOCDIR] 1435 --psdir=DIR ps documentation [DOCDIR] 989 1436 _ACEOF 990 1437 … … 1005 1452 1006 1453 Optional Features: 1454 --disable-option-checking ignore unrecognized --enable/--with options 1007 1455 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1008 1456 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1023 1471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1024 1472 nonstandard directory <lib dir> 1025 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1026 headers in a nonstandard directory <include dir> 1473 LIBS libraries to pass to the linker, e.g. -l<library> 1474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1475 you have headers in a nonstandard directory <include dir> 1027 1476 CPP C preprocessor 1028 1477 … … 1030 1479 it to find libraries and programs with nonstandard names/locations. 1031 1480 1481 Report bugs to the package provider. 1032 1482 _ACEOF 1483 ac_status=$? 1033 1484 fi 1034 1485 1035 1486 if test "$ac_init_help" = "recursive"; then 1036 1487 # If there are subdirs, report their specific --help. 1037 ac_popdir=`pwd`1038 1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1039 test -d $ac_dir || continue 1489 test -d "$ac_dir" || 1490 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1491 continue 1040 1492 ac_builddir=. 1041 1493 1042 if test "$ac_dir" != .; then 1043 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1044 # A "../" for each directory in $ac_dir_suffix. 1045 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1046 else 1047 ac_dir_suffix= ac_top_builddir= 1048 fi 1494 case "$ac_dir" in 1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1496 *) 1497 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1498 # A ".." for each directory in $ac_dir_suffix. 1499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1500 case $ac_top_builddir_sub in 1501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1503 esac ;; 1504 esac 1505 ac_abs_top_builddir=$ac_pwd 1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1507 # for backward compatibility: 1508 ac_top_builddir=$ac_top_build_prefix 1049 1509 1050 1510 case $srcdir in 1051 .) # No --srcdir option.We are building in place.1511 .) # We are building in place. 1052 1512 ac_srcdir=. 1053 if test -z "$ac_top_builddir"; then 1054 ac_top_srcdir=. 1513 ac_top_srcdir=$ac_top_builddir_sub 1514 ac_abs_top_srcdir=$ac_pwd ;; 1515 [\\/]* | ?:[\\/]* ) # Absolute name. 1516 ac_srcdir=$srcdir$ac_dir_suffix; 1517 ac_top_srcdir=$srcdir 1518 ac_abs_top_srcdir=$srcdir ;; 1519 *) # Relative name. 1520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1521 ac_top_srcdir=$ac_top_build_prefix$srcdir 1522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1523 esac 1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1525 1526 cd "$ac_dir" || { ac_status=$?; continue; } 1527 # Check for guested configure. 1528 if test -f "$ac_srcdir/configure.gnu"; then 1529 echo && 1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1531 elif test -f "$ac_srcdir/configure"; then 1532 echo && 1533 $SHELL "$ac_srcdir/configure" --help=recursive 1055 1534 else 1056 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1057 fi ;; 1058 [\\/]* | ?:[\\/]* ) # Absolute path. 1059 ac_srcdir=$srcdir$ac_dir_suffix; 1060 ac_top_srcdir=$srcdir ;; 1061 *) # Relative path. 1062 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1063 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1064 esac 1065 1066 # Do not use `cd foo && pwd` to compute absolute paths, because 1067 # the directories may not exist. 1068 case `pwd` in 1069 .) ac_abs_builddir="$ac_dir";; 1070 *) 1071 case "$ac_dir" in 1072 .) ac_abs_builddir=`pwd`;; 1073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1074 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1075 esac;; 1076 esac 1077 case $ac_abs_builddir in 1078 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1079 *) 1080 case ${ac_top_builddir}. in 1081 .) ac_abs_top_builddir=$ac_abs_builddir;; 1082 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1083 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1084 esac;; 1085 esac 1086 case $ac_abs_builddir in 1087 .) ac_abs_srcdir=$ac_srcdir;; 1088 *) 1089 case $ac_srcdir in 1090 .) ac_abs_srcdir=$ac_abs_builddir;; 1091 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1092 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1093 esac;; 1094 esac 1095 case $ac_abs_builddir in 1096 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1097 *) 1098 case $ac_top_srcdir in 1099 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1100 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1101 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1102 esac;; 1103 esac 1104 1105 cd $ac_dir 1106 # Check for guested configure; otherwise get Cygnus style configure. 1107 if test -f $ac_srcdir/configure.gnu; then 1108 echo 1109 $SHELL $ac_srcdir/configure.gnu --help=recursive 1110 elif test -f $ac_srcdir/configure; then 1111 echo 1112 $SHELL $ac_srcdir/configure --help=recursive 1113 elif test -f $ac_srcdir/configure.ac || 1114 test -f $ac_srcdir/configure.in; then 1115 echo 1116 $ac_configure --help 1117 else 1118 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1119 fi 1120 cd $ac_popdir 1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1536 fi || ac_status=$? 1537 cd "$ac_pwd" || { ac_status=$?; break; } 1121 1538 done 1122 1539 fi 1123 1540 1124 test -n "$ac_init_help" && exit 01541 test -n "$ac_init_help" && exit $ac_status 1125 1542 if $ac_init_version; then 1126 1543 cat <<\_ACEOF 1127 1544 gdbm configure 1.8.3 1128 generated by GNU Autoconf 2. 591129 1130 Copyright (C) 200 3Free Software Foundation, Inc.1545 generated by GNU Autoconf 2.65 1546 1547 Copyright (C) 2009 Free Software Foundation, Inc. 1131 1548 This configure script is free software; the Free Software Foundation 1132 1549 gives unlimited permission to copy, distribute and modify it. 1133 1550 _ACEOF 1134 exit 0 1135 fi 1136 exec 5>config.log 1137 cat >&5 <<_ACEOF 1551 exit 1552 fi 1553 1554 ## ------------------------ ## 1555 ## Autoconf initialization. ## 1556 ## ------------------------ ## 1557 1558 # ac_fn_c_try_compile LINENO 1559 # -------------------------- 1560 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1561 ac_fn_c_try_compile () 1562 { 1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1564 rm -f conftest.$ac_objext 1565 if { { ac_try="$ac_compile" 1566 case "(($ac_try" in 1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1568 *) ac_try_echo=$ac_try;; 1569 esac 1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1571 $as_echo "$ac_try_echo"; } >&5 1572 (eval "$ac_compile") 2>conftest.err 1573 ac_status=$? 1574 if test -s conftest.err; then 1575 grep -v '^ *+' conftest.err >conftest.er1 1576 cat conftest.er1 >&5 1577 mv -f conftest.er1 conftest.err 1578 fi 1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1580 test $ac_status = 0; } && { 1581 test -z "$ac_c_werror_flag" || 1582 test ! -s conftest.err 1583 } && test -s conftest.$ac_objext; then : 1584 ac_retval=0 1585 else 1586 $as_echo "$as_me: failed program was:" >&5 1587 sed 's/^/| /' conftest.$ac_ext >&5 1588 1589 ac_retval=1 1590 fi 1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1592 as_fn_set_status $ac_retval 1593 1594 } # ac_fn_c_try_compile 1595 1596 # ac_fn_c_try_cpp LINENO 1597 # ---------------------- 1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1599 ac_fn_c_try_cpp () 1600 { 1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1602 if { { ac_try="$ac_cpp conftest.$ac_ext" 1603 case "(($ac_try" in 1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1605 *) ac_try_echo=$ac_try;; 1606 esac 1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1608 $as_echo "$ac_try_echo"; } >&5 1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1610 ac_status=$? 1611 if test -s conftest.err; then 1612 grep -v '^ *+' conftest.err >conftest.er1 1613 cat conftest.er1 >&5 1614 mv -f conftest.er1 conftest.err 1615 fi 1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1617 test $ac_status = 0; } >/dev/null && { 1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1619 test ! -s conftest.err 1620 }; then : 1621 ac_retval=0 1622 else 1623 $as_echo "$as_me: failed program was:" >&5 1624 sed 's/^/| /' conftest.$ac_ext >&5 1625 1626 ac_retval=1 1627 fi 1628 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1629 as_fn_set_status $ac_retval 1630 1631 } # ac_fn_c_try_cpp 1632 1633 # ac_fn_c_try_link LINENO 1634 # ----------------------- 1635 # Try to link conftest.$ac_ext, and return whether this succeeded. 1636 ac_fn_c_try_link () 1637 { 1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1639 rm -f conftest.$ac_objext conftest$ac_exeext 1640 if { { ac_try="$ac_link" 1641 case "(($ac_try" in 1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1643 *) ac_try_echo=$ac_try;; 1644 esac 1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1646 $as_echo "$ac_try_echo"; } >&5 1647 (eval "$ac_link") 2>conftest.err 1648 ac_status=$? 1649 if test -s conftest.err; then 1650 grep -v '^ *+' conftest.err >conftest.er1 1651 cat conftest.er1 >&5 1652 mv -f conftest.er1 conftest.err 1653 fi 1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1655 test $ac_status = 0; } && { 1656 test -z "$ac_c_werror_flag" || 1657 test ! -s conftest.err 1658 } && test -s conftest$ac_exeext && { 1659 test "$cross_compiling" = yes || 1660 $as_test_x conftest$ac_exeext 1661 }; then : 1662 ac_retval=0 1663 else 1664 $as_echo "$as_me: failed program was:" >&5 1665 sed 's/^/| /' conftest.$ac_ext >&5 1666 1667 ac_retval=1 1668 fi 1669 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1670 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1671 # interfere with the next link command; also delete a directory that is 1672 # left behind by Apple's compiler. We do this before executing the actions. 1673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1675 as_fn_set_status $ac_retval 1676 1677 } # ac_fn_c_try_link 1678 1679 # ac_fn_c_check_func LINENO FUNC VAR 1680 # ---------------------------------- 1681 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1682 ac_fn_c_check_func () 1683 { 1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1686 $as_echo_n "checking for $2... " >&6; } 1687 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1688 $as_echo_n "(cached) " >&6 1689 else 1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1691 /* end confdefs.h. */ 1692 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1693 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1694 #define $2 innocuous_$2 1695 1696 /* System header to define __stub macros and hopefully few prototypes, 1697 which can conflict with char $2 (); below. 1698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1699 <limits.h> exists even on freestanding compilers. */ 1700 1701 #ifdef __STDC__ 1702 # include <limits.h> 1703 #else 1704 # include <assert.h> 1705 #endif 1706 1707 #undef $2 1708 1709 /* Override any GCC internal prototype to avoid an error. 1710 Use char because int might match the return type of a GCC 1711 builtin and then its argument prototype would still apply. */ 1712 #ifdef __cplusplus 1713 extern "C" 1714 #endif 1715 char $2 (); 1716 /* The GNU C library defines this for functions which it implements 1717 to always fail with ENOSYS. Some functions are actually named 1718 something starting with __ and the normal name is an alias. */ 1719 #if defined __stub_$2 || defined __stub___$2 1720 choke me 1721 #endif 1722 1723 int 1724 main () 1725 { 1726 return $2 (); 1727 ; 1728 return 0; 1729 } 1730 _ACEOF 1731 if ac_fn_c_try_link "$LINENO"; then : 1732 eval "$3=yes" 1733 else 1734 eval "$3=no" 1735 fi 1736 rm -f core conftest.err conftest.$ac_objext \ 1737 conftest$ac_exeext conftest.$ac_ext 1738 fi 1739 eval ac_res=\$$3 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1741 $as_echo "$ac_res" >&6; } 1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1743 1744 } # ac_fn_c_check_func 1745 1746 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1747 # ------------------------------------------------------- 1748 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1749 # the include files in INCLUDES and setting the cache variable VAR 1750 # accordingly. 1751 ac_fn_c_check_header_mongrel () 1752 { 1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1756 $as_echo_n "checking for $2... " >&6; } 1757 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1758 $as_echo_n "(cached) " >&6 1759 fi 1760 eval ac_res=\$$3 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1762 $as_echo "$ac_res" >&6; } 1763 else 1764 # Is the header compilable? 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1766 $as_echo_n "checking $2 usability... " >&6; } 1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1768 /* end confdefs.h. */ 1769 $4 1770 #include <$2> 1771 _ACEOF 1772 if ac_fn_c_try_compile "$LINENO"; then : 1773 ac_header_compiler=yes 1774 else 1775 ac_header_compiler=no 1776 fi 1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1779 $as_echo "$ac_header_compiler" >&6; } 1780 1781 # Is the header present? 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1783 $as_echo_n "checking $2 presence... " >&6; } 1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1785 /* end confdefs.h. */ 1786 #include <$2> 1787 _ACEOF 1788 if ac_fn_c_try_cpp "$LINENO"; then : 1789 ac_header_preproc=yes 1790 else 1791 ac_header_preproc=no 1792 fi 1793 rm -f conftest.err conftest.$ac_ext 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1795 $as_echo "$ac_header_preproc" >&6; } 1796 1797 # So? What about this header? 1798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1799 yes:no: ) 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1801 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1803 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1804 ;; 1805 no:yes:* ) 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1807 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1809 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1811 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1813 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1815 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1816 ;; 1817 esac 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1819 $as_echo_n "checking for $2... " >&6; } 1820 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1821 $as_echo_n "(cached) " >&6 1822 else 1823 eval "$3=\$ac_header_compiler" 1824 fi 1825 eval ac_res=\$$3 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1827 $as_echo "$ac_res" >&6; } 1828 fi 1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1830 1831 } # ac_fn_c_check_header_mongrel 1832 1833 # ac_fn_c_try_run LINENO 1834 # ---------------------- 1835 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1836 # that executables *can* be run. 1837 ac_fn_c_try_run () 1838 { 1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1840 if { { ac_try="$ac_link" 1841 case "(($ac_try" in 1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1843 *) ac_try_echo=$ac_try;; 1844 esac 1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1846 $as_echo "$ac_try_echo"; } >&5 1847 (eval "$ac_link") 2>&5 1848 ac_status=$? 1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1850 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1851 { { case "(($ac_try" in 1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1853 *) ac_try_echo=$ac_try;; 1854 esac 1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1856 $as_echo "$ac_try_echo"; } >&5 1857 (eval "$ac_try") 2>&5 1858 ac_status=$? 1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1860 test $ac_status = 0; }; }; then : 1861 ac_retval=0 1862 else 1863 $as_echo "$as_me: program exited with status $ac_status" >&5 1864 $as_echo "$as_me: failed program was:" >&5 1865 sed 's/^/| /' conftest.$ac_ext >&5 1866 1867 ac_retval=$ac_status 1868 fi 1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1871 as_fn_set_status $ac_retval 1872 1873 } # ac_fn_c_try_run 1874 1875 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1876 # ------------------------------------------------------- 1877 # Tests whether HEADER exists and can be compiled using the include files in 1878 # INCLUDES, setting the cache variable VAR accordingly. 1879 ac_fn_c_check_header_compile () 1880 { 1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1883 $as_echo_n "checking for $2... " >&6; } 1884 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1885 $as_echo_n "(cached) " >&6 1886 else 1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1888 /* end confdefs.h. */ 1889 $4 1890 #include <$2> 1891 _ACEOF 1892 if ac_fn_c_try_compile "$LINENO"; then : 1893 eval "$3=yes" 1894 else 1895 eval "$3=no" 1896 fi 1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1898 fi 1899 eval ac_res=\$$3 1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1901 $as_echo "$ac_res" >&6; } 1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1903 1904 } # ac_fn_c_check_header_compile 1905 1906 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1907 # ------------------------------------------- 1908 # Tests whether TYPE exists after having included INCLUDES, setting cache 1909 # variable VAR accordingly. 1910 ac_fn_c_check_type () 1911 { 1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1914 $as_echo_n "checking for $2... " >&6; } 1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1916 $as_echo_n "(cached) " >&6 1917 else 1918 eval "$3=no" 1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1920 /* end confdefs.h. */ 1921 $4 1922 int 1923 main () 1924 { 1925 if (sizeof ($2)) 1926 return 0; 1927 ; 1928 return 0; 1929 } 1930 _ACEOF 1931 if ac_fn_c_try_compile "$LINENO"; then : 1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1933 /* end confdefs.h. */ 1934 $4 1935 int 1936 main () 1937 { 1938 if (sizeof (($2))) 1939 return 0; 1940 ; 1941 return 0; 1942 } 1943 _ACEOF 1944 if ac_fn_c_try_compile "$LINENO"; then : 1945 1946 else 1947 eval "$3=yes" 1948 fi 1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1950 fi 1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1952 fi 1953 eval ac_res=\$$3 1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1955 $as_echo "$ac_res" >&6; } 1956 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1957 1958 } # ac_fn_c_check_type 1959 1960 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 1961 # ---------------------------------------------------- 1962 # Tries to find if the field MEMBER exists in type AGGR, after including 1963 # INCLUDES, setting cache variable VAR accordingly. 1964 ac_fn_c_check_member () 1965 { 1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1968 $as_echo_n "checking for $2.$3... " >&6; } 1969 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 1970 $as_echo_n "(cached) " >&6 1971 else 1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1973 /* end confdefs.h. */ 1974 $5 1975 int 1976 main () 1977 { 1978 static $2 ac_aggr; 1979 if (ac_aggr.$3) 1980 return 0; 1981 ; 1982 return 0; 1983 } 1984 _ACEOF 1985 if ac_fn_c_try_compile "$LINENO"; then : 1986 eval "$4=yes" 1987 else 1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1989 /* end confdefs.h. */ 1990 $5 1991 int 1992 main () 1993 { 1994 static $2 ac_aggr; 1995 if (sizeof ac_aggr.$3) 1996 return 0; 1997 ; 1998 return 0; 1999 } 2000 _ACEOF 2001 if ac_fn_c_try_compile "$LINENO"; then : 2002 eval "$4=yes" 2003 else 2004 eval "$4=no" 2005 fi 2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2007 fi 2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2009 fi 2010 eval ac_res=\$$4 2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2012 $as_echo "$ac_res" >&6; } 2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2014 2015 } # ac_fn_c_check_member 2016 cat >config.log <<_ACEOF 1138 2017 This file contains any messages produced by compilers while 1139 2018 running configure, to aid debugging if configure makes a mistake. 1140 2019 1141 2020 It was created by gdbm $as_me 1.8.3, which was 1142 generated by GNU Autoconf 2. 59. Invocation command line was2021 generated by GNU Autoconf 2.65. Invocation command line was 1143 2022 1144 2023 $ $0 $@ 1145 2024 1146 2025 _ACEOF 2026 exec 5>>config.log 1147 2027 { 1148 2028 cat <<_ASUNAME … … 1163 2043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1164 2044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1165 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`2045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1166 2046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1167 2047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1175 2055 IFS=$as_save_IFS 1176 2056 test -z "$as_dir" && as_dir=. 1177 echo "PATH: $as_dir" 1178 done 2057 $as_echo "PATH: $as_dir" 2058 done 2059 IFS=$as_save_IFS 1179 2060 1180 2061 } >&5 … … 1198 2079 ac_configure_args0= 1199 2080 ac_configure_args1= 1200 ac_sep=1201 2081 ac_must_keep_next=false 1202 2082 for ac_pass in 1 2 … … 1209 2089 | -silent | --silent | --silen | --sile | --sil) 1210 2090 continue ;; 1211 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1212 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2091 *\'*) 2092 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1213 2093 esac 1214 2094 case $ac_pass in 1215 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2095 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1216 2096 2) 1217 a c_configure_args1="$ac_configure_args1'$ac_arg'"2097 as_fn_append ac_configure_args1 " '$ac_arg'" 1218 2098 if test $ac_must_keep_next = true; then 1219 2099 ac_must_keep_next=false # Got value, back to normal. … … 1231 2111 esac 1232 2112 fi 1233 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1234 # Get rid of the leading space. 1235 ac_sep=" " 2113 as_fn_append ac_configure_args " '$ac_arg'" 1236 2114 ;; 1237 2115 esac 1238 2116 done 1239 2117 done 1240 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1241 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2118 { ac_configure_args0=; unset ac_configure_args0;} 2119 { ac_configure_args1=; unset ac_configure_args1;} 1242 2120 1243 2121 # When interrupted or exit'd, cleanup temporary files, and complete 1244 2122 # config.log. We remove comments because anyway the quotes in there 1245 2123 # would cause problems or look ugly. 1246 # WARNING: Be sure not to use single quotes in there, as some shells,1247 # such as our DU 5.0 friend, will then `close' the trap.2124 # WARNING: Use '\'' to represent an apostrophe within the trap. 2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1248 2126 trap 'exit_status=$? 1249 2127 # Save into config.log some information that might help in debugging. … … 1258 2136 echo 1259 2137 # The following way of writing the cache mishandles newlines in values, 1260 { 2138 ( 2139 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2140 eval ac_val=\$$ac_var 2141 case $ac_val in #( 2142 *${as_nl}*) 2143 case $ac_var in #( 2144 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2145 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2146 esac 2147 case $ac_var in #( 2148 _ | IFS | as_nl) ;; #( 2149 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2150 *) { eval $ac_var=; unset $ac_var;} ;; 2151 esac ;; 2152 esac 2153 done 1261 2154 (set) 2>&1 | 1262 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1263 * ac_space=\ *)2155 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2156 *${as_nl}ac_space=\ *) 1264 2157 sed -n \ 1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 2158 "s/'\''/'\''\\\\'\'''\''/g; 2159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2160 ;; #( 2161 *) 2162 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1267 2163 ;; 1268 *) 1269 sed -n \ 1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1271 ;; 1272 esac; 1273 } 2164 esac | 2165 sort 2166 ) 1274 2167 echo 1275 2168 … … 1282 2175 for ac_var in $ac_subst_vars 1283 2176 do 1284 eval ac_val=$`echo $ac_var` 1285 echo "$ac_var='"'"'$ac_val'"'"'" 2177 eval ac_val=\$$ac_var 2178 case $ac_val in 2179 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2180 esac 2181 $as_echo "$ac_var='\''$ac_val'\''" 1286 2182 done | sort 1287 2183 echo … … 1289 2185 if test -n "$ac_subst_files"; then 1290 2186 cat <<\_ASBOX 1291 ## ------------- ##1292 ## Output files. ##1293 ## ------------- ##2187 ## ------------------- ## 2188 ## File substitutions. ## 2189 ## ------------------- ## 1294 2190 _ASBOX 1295 2191 echo 1296 2192 for ac_var in $ac_subst_files 1297 2193 do 1298 eval ac_val=$`echo $ac_var` 1299 echo "$ac_var='"'"'$ac_val'"'"'" 2194 eval ac_val=\$$ac_var 2195 case $ac_val in 2196 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2197 esac 2198 $as_echo "$ac_var='\''$ac_val'\''" 1300 2199 done | sort 1301 2200 echo … … 1309 2208 _ASBOX 1310 2209 echo 1311 sed "/^$/d" confdefs.h | sort2210 cat confdefs.h 1312 2211 echo 1313 2212 fi 1314 2213 test "$ac_signal" != 0 && 1315 echo "$as_me: caught signal $ac_signal"1316 echo "$as_me: exit $exit_status"2214 $as_echo "$as_me: caught signal $ac_signal" 2215 $as_echo "$as_me: exit $exit_status" 1317 2216 } >&5 1318 rm -f core *.core &&1319 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&2217 rm -f core *.core core.conftest.* && 2218 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1320 2219 exit $exit_status 1321 2220 ' 0 1322 2221 for ac_signal in 1 2 13 15; do 1323 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2222 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1324 2223 done 1325 2224 ac_signal=0 1326 2225 1327 2226 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1328 rm - rfconftest* confdefs.h1329 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1330 echo >confdefs.h2227 rm -f -r conftest* confdefs.h 2228 2229 $as_echo "/* confdefs.h */" > confdefs.h 1331 2230 1332 2231 # Predefined preprocessor variables. … … 1336 2235 _ACEOF 1337 2236 1338 1339 2237 cat >>confdefs.h <<_ACEOF 1340 2238 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1341 2239 _ACEOF 1342 2240 1343 1344 2241 cat >>confdefs.h <<_ACEOF 1345 2242 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1346 2243 _ACEOF 1347 2244 1348 1349 2245 cat >>confdefs.h <<_ACEOF 1350 2246 #define PACKAGE_STRING "$PACKAGE_STRING" 1351 2247 _ACEOF 1352 2248 1353 1354 2249 cat >>confdefs.h <<_ACEOF 1355 2250 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1356 2251 _ACEOF 1357 2252 2253 cat >>confdefs.h <<_ACEOF 2254 #define PACKAGE_URL "$PACKAGE_URL" 2255 _ACEOF 2256 1358 2257 1359 2258 # Let the site file select an alternate cache file if it wants to. 1360 # Prefer explicitly selected file to automatically selected ones. 1361 if test -z "$CONFIG_SITE"; then 1362 if test "x$prefix" != xNONE; then 1363 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1364 else 1365 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1366 fi 1367 fi 1368 for ac_site_file in $CONFIG_SITE; do 1369 if test -r "$ac_site_file"; then 1370 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1371 echo "$as_me: loading site script $ac_site_file" >&6;} 2259 # Prefer an explicitly selected file to automatically selected ones. 2260 ac_site_file1=NONE 2261 ac_site_file2=NONE 2262 if test -n "$CONFIG_SITE"; then 2263 ac_site_file1=$CONFIG_SITE 2264 elif test "x$prefix" != xNONE; then 2265 ac_site_file1=$prefix/share/config.site 2266 ac_site_file2=$prefix/etc/config.site 2267 else 2268 ac_site_file1=$ac_default_prefix/share/config.site 2269 ac_site_file2=$ac_default_prefix/etc/config.site 2270 fi 2271 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2272 do 2273 test "x$ac_site_file" = xNONE && continue 2274 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2276 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1372 2277 sed 's/^/| /' "$ac_site_file" >&5 1373 2278 . "$ac_site_file" … … 1376 2281 1377 2282 if test -r "$cache_file"; then 1378 # Some versions of bash will fail to source /dev/null (special 1379 # files actually), so we avoid doing that.1380 if test -f "$cache_file"; then1381 { echo "$as_me:$LINENO: loading cache $cache_file" >&51382 echo "$as_me: loading cache $cache_file" >&6;}2283 # Some versions of bash will fail to source /dev/null (special files 2284 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2285 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2287 $as_echo "$as_me: loading cache $cache_file" >&6;} 1383 2288 case $cache_file in 1384 [\\/]* | ?:[\\/]* ) . $cache_file;;1385 *) . ./$cache_file;;2289 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2290 *) . "./$cache_file";; 1386 2291 esac 1387 2292 fi 1388 2293 else 1389 { echo "$as_me:$LINENO: creating cache $cache_file" >&51390 echo "$as_me: creating cache $cache_file" >&6;}2294 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2295 $as_echo "$as_me: creating cache $cache_file" >&6;} 1391 2296 >$cache_file 1392 2297 fi … … 1395 2300 # value. 1396 2301 ac_cache_corrupted=false 1397 for ac_var in `(set) 2>&1 | 1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2302 for ac_var in $ac_precious_vars; do 1399 2303 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1400 2304 eval ac_new_set=\$ac_env_${ac_var}_set 1401 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1402 eval ac_new_val= "\$ac_env_${ac_var}_value"2305 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2306 eval ac_new_val=\$ac_env_${ac_var}_value 1403 2307 case $ac_old_set,$ac_new_set in 1404 2308 set,) 1405 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51406 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2310 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1407 2311 ac_cache_corrupted=: ;; 1408 2312 ,set) 1409 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51410 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2314 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1411 2315 ac_cache_corrupted=: ;; 1412 2316 ,);; 1413 2317 *) 1414 2318 if test "x$ac_old_val" != "x$ac_new_val"; then 1415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1416 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1418 echo "$as_me: former value: $ac_old_val" >&2;} 1419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1420 echo "$as_me: current value: $ac_new_val" >&2;} 1421 ac_cache_corrupted=: 2319 # differences in whitespace do not lead to failure. 2320 ac_old_val_w=`echo x $ac_old_val` 2321 ac_new_val_w=`echo x $ac_new_val` 2322 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2324 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2325 ac_cache_corrupted=: 2326 else 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2328 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2329 eval $ac_var=\$ac_old_val 2330 fi 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2332 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2333 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2334 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1422 2335 fi;; 1423 2336 esac … … 1425 2338 if test "$ac_new_set" = set; then 1426 2339 case $ac_new_val in 1427 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1428 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2340 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1429 2341 *) ac_arg=$ac_var=$ac_new_val ;; 1430 2342 esac 1431 2343 case " $ac_configure_args " in 1432 2344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1433 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2345 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1434 2346 esac 1435 2347 fi 1436 2348 done 1437 2349 if $ac_cache_corrupted; then 1438 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1439 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1440 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1441 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1442 { (exit 1); exit 1; }; } 1443 fi 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2352 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2353 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2354 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2355 fi 2356 ## -------------------- ## 2357 ## Main body of script. ## 2358 ## -------------------- ## 1444 2359 1445 2360 ac_ext=c … … 1452 2367 1453 2368 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 ac_config_headers="$ac_config_headers autoconf.h" 2369 ac_config_headers="$ac_config_headers autoconf.h" 1480 2370 1481 2371 1482 2372 ac_aux_dir= 1483 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1484 if test -f $ac_dir/install-sh; then 1485 ac_aux_dir=$ac_dir 1486 ac_install_sh="$ac_aux_dir/install-sh -c" 1487 break 1488 elif test -f $ac_dir/install.sh; then 1489 ac_aux_dir=$ac_dir 1490 ac_install_sh="$ac_aux_dir/install.sh -c" 1491 break 1492 elif test -f $ac_dir/shtool; then 1493 ac_aux_dir=$ac_dir 1494 ac_install_sh="$ac_aux_dir/shtool install -c" 1495 break 1496 fi 2373 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2374 for ac_t in install-sh install.sh shtool; do 2375 if test -f "$ac_dir/$ac_t"; then 2376 ac_aux_dir=$ac_dir 2377 ac_install_sh="$ac_aux_dir/$ac_t -c" 2378 break 2 2379 fi 2380 done 1497 2381 done 1498 2382 if test -z "$ac_aux_dir"; then 1499 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1500 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1501 { (exit 1); exit 1; }; } 1502 fi 1503 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1504 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1505 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2383 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2384 fi 2385 2386 # These three variables are undocumented and unsupported, 2387 # and are intended to be withdrawn in a future Autoconf release. 2388 # They can cause serious problems if a builder's source tree is in a directory 2389 # whose full name contains unusual characters. 2390 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2391 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2392 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2393 1506 2394 1507 2395 # Make sure we can run config.sub. 1508 $ac_config_sub sun4 >/dev/null 2>&1 || 1509 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1510 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1511 { (exit 1); exit 1; }; } 1512 1513 echo "$as_me:$LINENO: checking build system type" >&5 1514 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1515 if test "${ac_cv_build+set}" = set; then 1516 echo $ECHO_N "(cached) $ECHO_C" >&6 1517 else 1518 ac_cv_build_alias=$build_alias 1519 test -z "$ac_cv_build_alias" && 1520 ac_cv_build_alias=`$ac_config_guess` 1521 test -z "$ac_cv_build_alias" && 1522 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1523 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1524 { (exit 1); exit 1; }; } 1525 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1526 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1527 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1528 { (exit 1); exit 1; }; } 1529 1530 fi 1531 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1532 echo "${ECHO_T}$ac_cv_build" >&6 2396 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2397 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2398 2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2400 $as_echo_n "checking build system type... " >&6; } 2401 if test "${ac_cv_build+set}" = set; then : 2402 $as_echo_n "(cached) " >&6 2403 else 2404 ac_build_alias=$build_alias 2405 test "x$ac_build_alias" = x && 2406 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2407 test "x$ac_build_alias" = x && 2408 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2409 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2410 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2411 2412 fi 2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2414 $as_echo "$ac_cv_build" >&6; } 2415 case $ac_cv_build in 2416 *-*-*) ;; 2417 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2418 esac 1533 2419 build=$ac_cv_build 1534 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1535 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1536 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1537 1538 1539 echo "$as_me:$LINENO: checking host system type" >&5 1540 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1541 if test "${ac_cv_host+set}" = set; then 1542 echo $ECHO_N "(cached) $ECHO_C" >&6 1543 else 1544 ac_cv_host_alias=$host_alias 1545 test -z "$ac_cv_host_alias" && 1546 ac_cv_host_alias=$ac_cv_build_alias 1547 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1548 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1549 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1550 { (exit 1); exit 1; }; } 1551 1552 fi 1553 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1554 echo "${ECHO_T}$ac_cv_host" >&6 2420 ac_save_IFS=$IFS; IFS='-' 2421 set x $ac_cv_build 2422 shift 2423 build_cpu=$1 2424 build_vendor=$2 2425 shift; shift 2426 # Remember, the first character of IFS is used to create $*, 2427 # except with old shells: 2428 build_os=$* 2429 IFS=$ac_save_IFS 2430 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2431 2432 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2434 $as_echo_n "checking host system type... " >&6; } 2435 if test "${ac_cv_host+set}" = set; then : 2436 $as_echo_n "(cached) " >&6 2437 else 2438 if test "x$host_alias" = x; then 2439 ac_cv_host=$ac_cv_build 2440 else 2441 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2442 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2443 fi 2444 2445 fi 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2447 $as_echo "$ac_cv_host" >&6; } 2448 case $ac_cv_host in 2449 *-*-*) ;; 2450 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2451 esac 1555 2452 host=$ac_cv_host 1556 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1557 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1558 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1559 1560 1561 echo "$as_me:$LINENO: checking target system type" >&5 1562 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1563 if test "${ac_cv_target+set}" = set; then 1564 echo $ECHO_N "(cached) $ECHO_C" >&6 1565 else 1566 ac_cv_target_alias=$target_alias 1567 test "x$ac_cv_target_alias" = "x" && 1568 ac_cv_target_alias=$ac_cv_host_alias 1569 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1570 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1571 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1572 { (exit 1); exit 1; }; } 1573 1574 fi 1575 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1576 echo "${ECHO_T}$ac_cv_target" >&6 2453 ac_save_IFS=$IFS; IFS='-' 2454 set x $ac_cv_host 2455 shift 2456 host_cpu=$1 2457 host_vendor=$2 2458 shift; shift 2459 # Remember, the first character of IFS is used to create $*, 2460 # except with old shells: 2461 host_os=$* 2462 IFS=$ac_save_IFS 2463 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2464 2465 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2467 $as_echo_n "checking target system type... " >&6; } 2468 if test "${ac_cv_target+set}" = set; then : 2469 $as_echo_n "(cached) " >&6 2470 else 2471 if test "x$target_alias" = x; then 2472 ac_cv_target=$ac_cv_host 2473 else 2474 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2475 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2476 fi 2477 2478 fi 2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2480 $as_echo "$ac_cv_target" >&6; } 2481 case $ac_cv_target in 2482 *-*-*) ;; 2483 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2484 esac 1577 2485 target=$ac_cv_target 1578 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1579 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1580 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2486 ac_save_IFS=$IFS; IFS='-' 2487 set x $ac_cv_target 2488 shift 2489 target_cpu=$1 2490 target_vendor=$2 2491 shift; shift 2492 # Remember, the first character of IFS is used to create $*, 2493 # except with old shells: 2494 target_os=$* 2495 IFS=$ac_save_IFS 2496 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1581 2497 1582 2498 … … 1587 2503 NONENONEs,x,x, && 1588 2504 program_prefix=${target_alias}- 2505 1589 2506 1590 2507 ac_ext=c … … 1596 2513 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1597 2514 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1598 echo "$as_me:$LINENO: checking for $ac_word" >&51599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1600 if test "${ac_cv_prog_CC+set}" = set; then 1601 echo $ECHO_N "(cached) $ECHO_C" >&62515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2516 $as_echo_n "checking for $ac_word... " >&6; } 2517 if test "${ac_cv_prog_CC+set}" = set; then : 2518 $as_echo_n "(cached) " >&6 1602 2519 else 1603 2520 if test -n "$CC"; then … … 1609 2526 IFS=$as_save_IFS 1610 2527 test -z "$as_dir" && as_dir=. 1611 for ac_exec_ext in '' $ac_executable_extensions; do1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2528 for ac_exec_ext in '' $ac_executable_extensions; do 2529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1613 2530 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1615 2532 break 2 1616 2533 fi 1617 2534 done 1618 done 2535 done 2536 IFS=$as_save_IFS 1619 2537 1620 2538 fi … … 1622 2540 CC=$ac_cv_prog_CC 1623 2541 if test -n "$CC"; then 1624 echo "$as_me:$LINENO: result: $CC" >&5 1625 echo "${ECHO_T}$CC" >&6 1626 else 1627 echo "$as_me:$LINENO: result: no" >&5 1628 echo "${ECHO_T}no" >&6 1629 fi 2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2543 $as_echo "$CC" >&6; } 2544 else 2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2546 $as_echo "no" >&6; } 2547 fi 2548 1630 2549 1631 2550 fi … … 1634 2553 # Extract the first word of "gcc", so it can be a program name with args. 1635 2554 set dummy gcc; ac_word=$2 1636 echo "$as_me:$LINENO: checking for $ac_word" >&51637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1639 echo $ECHO_N "(cached) $ECHO_C" >&62555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2556 $as_echo_n "checking for $ac_word... " >&6; } 2557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2558 $as_echo_n "(cached) " >&6 1640 2559 else 1641 2560 if test -n "$ac_ct_CC"; then … … 1647 2566 IFS=$as_save_IFS 1648 2567 test -z "$as_dir" && as_dir=. 1649 for ac_exec_ext in '' $ac_executable_extensions; do1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2568 for ac_exec_ext in '' $ac_executable_extensions; do 2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1651 2570 ac_cv_prog_ac_ct_CC="gcc" 1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1653 2572 break 2 1654 2573 fi 1655 2574 done 1656 done 2575 done 2576 IFS=$as_save_IFS 1657 2577 1658 2578 fi … … 1660 2580 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1661 2581 if test -n "$ac_ct_CC"; then 1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1663 echo "${ECHO_T}$ac_ct_CC" >&6 1664 else 1665 echo "$as_me:$LINENO: result: no" >&5 1666 echo "${ECHO_T}no" >&6 1667 fi 1668 1669 CC=$ac_ct_CC 2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2583 $as_echo "$ac_ct_CC" >&6; } 2584 else 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2586 $as_echo "no" >&6; } 2587 fi 2588 2589 if test "x$ac_ct_CC" = x; then 2590 CC="" 2591 else 2592 case $cross_compiling:$ac_tool_warned in 2593 yes:) 2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2596 ac_tool_warned=yes ;; 2597 esac 2598 CC=$ac_ct_CC 2599 fi 1670 2600 else 1671 2601 CC="$ac_cv_prog_CC" … … 1673 2603 1674 2604 if test -z "$CC"; then 1675 if test -n "$ac_tool_prefix"; then1676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2605 if test -n "$ac_tool_prefix"; then 2606 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1677 2607 set dummy ${ac_tool_prefix}cc; ac_word=$2 1678 echo "$as_me:$LINENO: checking for $ac_word" >&51679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1680 if test "${ac_cv_prog_CC+set}" = set; then 1681 echo $ECHO_N "(cached) $ECHO_C" >&62608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2609 $as_echo_n "checking for $ac_word... " >&6; } 2610 if test "${ac_cv_prog_CC+set}" = set; then : 2611 $as_echo_n "(cached) " >&6 1682 2612 else 1683 2613 if test -n "$CC"; then … … 1689 2619 IFS=$as_save_IFS 1690 2620 test -z "$as_dir" && as_dir=. 1691 for ac_exec_ext in '' $ac_executable_extensions; do1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2621 for ac_exec_ext in '' $ac_executable_extensions; do 2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1693 2623 ac_cv_prog_CC="${ac_tool_prefix}cc" 1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1695 2625 break 2 1696 2626 fi 1697 2627 done 1698 done 2628 done 2629 IFS=$as_save_IFS 1699 2630 1700 2631 fi … … 1702 2633 CC=$ac_cv_prog_CC 1703 2634 if test -n "$CC"; then 1704 echo "$as_me:$LINENO: result: $CC" >&5 1705 echo "${ECHO_T}$CC" >&6 1706 else 1707 echo "$as_me:$LINENO: result: no" >&5 1708 echo "${ECHO_T}no" >&6 1709 fi 1710 1711 fi 1712 if test -z "$ac_cv_prog_CC"; then 1713 ac_ct_CC=$CC 1714 # Extract the first word of "cc", so it can be a program name with args. 1715 set dummy cc; ac_word=$2 1716 echo "$as_me:$LINENO: checking for $ac_word" >&5 1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1718 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1719 echo $ECHO_N "(cached) $ECHO_C" >&6 1720 else 1721 if test -n "$ac_ct_CC"; then 1722 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1723 else 1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1725 for as_dir in $PATH 1726 do 1727 IFS=$as_save_IFS 1728 test -z "$as_dir" && as_dir=. 1729 for ac_exec_ext in '' $ac_executable_extensions; do 1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1731 ac_cv_prog_ac_ct_CC="cc" 1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1733 break 2 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2636 $as_echo "$CC" >&6; } 2637 else 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2639 $as_echo "no" >&6; } 2640 fi 2641 2642 1734 2643 fi 1735 done1736 done1737 1738 fi1739 fi1740 ac_ct_CC=$ac_cv_prog_ac_ct_CC1741 if test -n "$ac_ct_CC"; then1742 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51743 echo "${ECHO_T}$ac_ct_CC" >&61744 else1745 echo "$as_me:$LINENO: result: no" >&51746 echo "${ECHO_T}no" >&61747 fi1748 1749 CC=$ac_ct_CC1750 else1751 CC="$ac_cv_prog_CC"1752 fi1753 1754 2644 fi 1755 2645 if test -z "$CC"; then 1756 2646 # Extract the first word of "cc", so it can be a program name with args. 1757 2647 set dummy cc; ac_word=$2 1758 echo "$as_me:$LINENO: checking for $ac_word" >&51759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1760 if test "${ac_cv_prog_CC+set}" = set; then 1761 echo $ECHO_N "(cached) $ECHO_C" >&62648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2649 $as_echo_n "checking for $ac_word... " >&6; } 2650 if test "${ac_cv_prog_CC+set}" = set; then : 2651 $as_echo_n "(cached) " >&6 1762 2652 else 1763 2653 if test -n "$CC"; then … … 1770 2660 IFS=$as_save_IFS 1771 2661 test -z "$as_dir" && as_dir=. 1772 for ac_exec_ext in '' $ac_executable_extensions; do1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2662 for ac_exec_ext in '' $ac_executable_extensions; do 2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1774 2664 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1775 2665 ac_prog_rejected=yes … … 1777 2667 fi 1778 2668 ac_cv_prog_CC="cc" 1779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1780 2670 break 2 1781 2671 fi 1782 2672 done 1783 done 2673 done 2674 IFS=$as_save_IFS 1784 2675 1785 2676 if test $ac_prog_rejected = yes; then … … 1799 2690 CC=$ac_cv_prog_CC 1800 2691 if test -n "$CC"; then 1801 echo "$as_me:$LINENO: result: $CC" >&5 1802 echo "${ECHO_T}$CC" >&6 1803 else 1804 echo "$as_me:$LINENO: result: no" >&5 1805 echo "${ECHO_T}no" >&6 1806 fi 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2693 $as_echo "$CC" >&6; } 2694 else 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2696 $as_echo "no" >&6; } 2697 fi 2698 1807 2699 1808 2700 fi 1809 2701 if test -z "$CC"; then 1810 2702 if test -n "$ac_tool_prefix"; then 1811 for ac_prog in cl 2703 for ac_prog in cl.exe 1812 2704 do 1813 2705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1814 2706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1815 echo "$as_me:$LINENO: checking for $ac_word" >&51816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1817 if test "${ac_cv_prog_CC+set}" = set; then 1818 echo $ECHO_N "(cached) $ECHO_C" >&62707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2708 $as_echo_n "checking for $ac_word... " >&6; } 2709 if test "${ac_cv_prog_CC+set}" = set; then : 2710 $as_echo_n "(cached) " >&6 1819 2711 else 1820 2712 if test -n "$CC"; then … … 1826 2718 IFS=$as_save_IFS 1827 2719 test -z "$as_dir" && as_dir=. 1828 for ac_exec_ext in '' $ac_executable_extensions; do1829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2720 for ac_exec_ext in '' $ac_executable_extensions; do 2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1830 2722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1832 2724 break 2 1833 2725 fi 1834 2726 done 1835 done 2727 done 2728 IFS=$as_save_IFS 1836 2729 1837 2730 fi … … 1839 2732 CC=$ac_cv_prog_CC 1840 2733 if test -n "$CC"; then 1841 echo "$as_me:$LINENO: result: $CC" >&5 1842 echo "${ECHO_T}$CC" >&6 1843 else 1844 echo "$as_me:$LINENO: result: no" >&5 1845 echo "${ECHO_T}no" >&6 1846 fi 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2735 $as_echo "$CC" >&6; } 2736 else 2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2738 $as_echo "no" >&6; } 2739 fi 2740 1847 2741 1848 2742 test -n "$CC" && break … … 1851 2745 if test -z "$CC"; then 1852 2746 ac_ct_CC=$CC 1853 for ac_prog in cl 2747 for ac_prog in cl.exe 1854 2748 do 1855 2749 # Extract the first word of "$ac_prog", so it can be a program name with args. 1856 2750 set dummy $ac_prog; ac_word=$2 1857 echo "$as_me:$LINENO: checking for $ac_word" >&51858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1859 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1860 echo $ECHO_N "(cached) $ECHO_C" >&62751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2752 $as_echo_n "checking for $ac_word... " >&6; } 2753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2754 $as_echo_n "(cached) " >&6 1861 2755 else 1862 2756 if test -n "$ac_ct_CC"; then … … 1868 2762 IFS=$as_save_IFS 1869 2763 test -z "$as_dir" && as_dir=. 1870 for ac_exec_ext in '' $ac_executable_extensions; do1871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2764 for ac_exec_ext in '' $ac_executable_extensions; do 2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1872 2766 ac_cv_prog_ac_ct_CC="$ac_prog" 1873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1874 2768 break 2 1875 2769 fi 1876 2770 done 1877 done 2771 done 2772 IFS=$as_save_IFS 1878 2773 1879 2774 fi … … 1881 2776 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1882 2777 if test -n "$ac_ct_CC"; then 1883 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1884 echo "${ECHO_T}$ac_ct_CC" >&6 1885 else 1886 echo "$as_me:$LINENO: result: no" >&5 1887 echo "${ECHO_T}no" >&6 1888 fi 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2779 $as_echo "$ac_ct_CC" >&6; } 2780 else 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2782 $as_echo "no" >&6; } 2783 fi 2784 1889 2785 1890 2786 test -n "$ac_ct_CC" && break 1891 2787 done 1892 2788 1893 CC=$ac_ct_CC 1894 fi 1895 1896 fi 1897 1898 1899 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1900 See \`config.log' for more details." >&5 1901 echo "$as_me: error: no acceptable C compiler found in \$PATH 1902 See \`config.log' for more details." >&2;} 1903 { (exit 1); exit 1; }; } 2789 if test "x$ac_ct_CC" = x; then 2790 CC="" 2791 else 2792 case $cross_compiling:$ac_tool_warned in 2793 yes:) 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2796 ac_tool_warned=yes ;; 2797 esac 2798 CC=$ac_ct_CC 2799 fi 2800 fi 2801 2802 fi 2803 2804 2805 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2807 as_fn_error "no acceptable C compiler found in \$PATH 2808 See \`config.log' for more details." "$LINENO" 5; } 1904 2809 1905 2810 # Provide some information about the compiler. 1906 echo "$as_me:$LINENO:" \ 1907 "checking for C compiler version" >&5 1908 ac_compiler=`set X $ac_compile; echo $2` 1909 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1910 (eval $ac_compiler --version </dev/null >&5) 2>&5 2811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2812 set X $ac_compile 2813 ac_compiler=$2 2814 for ac_option in --version -v -V -qversion; do 2815 { { ac_try="$ac_compiler $ac_option >&5" 2816 case "(($ac_try" in 2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2818 *) ac_try_echo=$ac_try;; 2819 esac 2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2821 $as_echo "$ac_try_echo"; } >&5 2822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1911 2823 ac_status=$? 1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1913 (exit $ac_status); } 1914 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1915 (eval $ac_compiler -v </dev/null >&5) 2>&5 1916 ac_status=$? 1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1918 (exit $ac_status); } 1919 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1920 (eval $ac_compiler -V </dev/null >&5) 2>&5 1921 ac_status=$? 1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1923 (exit $ac_status); } 1924 1925 cat >conftest.$ac_ext <<_ACEOF 1926 /* confdefs.h. */ 1927 _ACEOF 1928 cat confdefs.h >>conftest.$ac_ext 1929 cat >>conftest.$ac_ext <<_ACEOF 2824 if test -s conftest.err; then 2825 sed '10a\ 2826 ... rest of stderr output deleted ... 2827 10q' conftest.err >conftest.er1 2828 cat conftest.er1 >&5 2829 fi 2830 rm -f conftest.er1 conftest.err 2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2832 test $ac_status = 0; } 2833 done 2834 2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1930 2836 /* end confdefs.h. */ 1931 2837 … … 1939 2845 _ACEOF 1940 2846 ac_clean_files_save=$ac_clean_files 1941 ac_clean_files="$ac_clean_files a.out a. exe b.out"2847 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1942 2848 # Try to create an executable without -o first, disregard a.out. 1943 2849 # It will help us diagnose broken compilers, and finding out an intuition 1944 2850 # of exeext. 1945 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1946 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1947 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1948 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1949 (eval $ac_link_default) 2>&5 2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2852 $as_echo_n "checking whether the C compiler works... " >&6; } 2853 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2854 2855 # The possible output files: 2856 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2857 2858 ac_rmfiles= 2859 for ac_file in $ac_files 2860 do 2861 case $ac_file in 2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2863 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2864 esac 2865 done 2866 rm -f $ac_rmfiles 2867 2868 if { { ac_try="$ac_link_default" 2869 case "(($ac_try" in 2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2871 *) ac_try_echo=$ac_try;; 2872 esac 2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2874 $as_echo "$ac_try_echo"; } >&5 2875 (eval "$ac_link_default") 2>&5 1950 2876 ac_status=$? 1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1952 (exit $ac_status); }; then 1953 # Find the output, starting from the most likely. This scheme is 1954 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1955 # resort. 1956 1957 # Be careful to initialize this variable, since it used to be cached. 1958 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1959 ac_cv_exeext= 1960 # b.out is created by i960 compilers. 1961 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2878 test $ac_status = 0; }; then : 2879 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2880 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2881 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2882 # so that the user can short-circuit this test for compilers unknown to 2883 # Autoconf. 2884 for ac_file in $ac_files '' 1962 2885 do 1963 2886 test -f "$ac_file" || continue 1964 2887 case $ac_file in 1965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1966 ;; 1967 conftest.$ac_ext ) 1968 # This is the source file. 2888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1969 2889 ;; 1970 2890 [ab].out ) … … 1973 2893 break;; 1974 2894 *.* ) 1975 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1976 # FIXME: I believe we export ac_cv_exeext for Libtool, 1977 # but it would be cool to find out if it's true. Does anybody 1978 # maintain Libtool? --akim. 1979 export ac_cv_exeext 2895 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2896 then :; else 2897 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2898 fi 2899 # We set ac_cv_exeext here because the later test for it is not 2900 # safe: cross compilers may not add the suffix if given an `-o' 2901 # argument, so we may need to know it at that point already. 2902 # Even if this section looks crufty: it has the advantage of 2903 # actually working. 1980 2904 break;; 1981 2905 * ) … … 1983 2907 esac 1984 2908 done 1985 else 1986 echo "$as_me: failed program was:" >&5 2909 test "$ac_cv_exeext" = no && ac_cv_exeext= 2910 2911 else 2912 ac_file='' 2913 fi 2914 if test -z "$ac_file"; then : 2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2916 $as_echo "no" >&6; } 2917 $as_echo "$as_me: failed program was:" >&5 1987 2918 sed 's/^/| /' conftest.$ac_ext >&5 1988 2919 1989 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1990 See \`config.log' for more details." >&5 1991 echo "$as_me: error: C compiler cannot create executables 1992 See \`config.log' for more details." >&2;} 1993 { (exit 77); exit 77; }; } 1994 fi 1995 2920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2922 { as_fn_set_status 77 2923 as_fn_error "C compiler cannot create executables 2924 See \`config.log' for more details." "$LINENO" 5; }; } 2925 else 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2927 $as_echo "yes" >&6; } 2928 fi 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2930 $as_echo_n "checking for C compiler default output file name... " >&6; } 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2932 $as_echo "$ac_file" >&6; } 1996 2933 ac_exeext=$ac_cv_exeext 1997 echo "$as_me:$LINENO: result: $ac_file" >&5 1998 echo "${ECHO_T}$ac_file" >&6 1999 2000 # Check the compiler produces executables we can run. If not, either 2001 # the compiler is broken, or we cross compile. 2002 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2003 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2004 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2005 # If not cross compiling, check that we can run a simple program. 2006 if test "$cross_compiling" != yes; then 2007 if { ac_try='./$ac_file' 2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52009 (eval $ac_try) 2>&52934 2935 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2936 ac_clean_files=$ac_clean_files_save 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2938 $as_echo_n "checking for suffix of executables... " >&6; } 2939 if { { ac_try="$ac_link" 2940 case "(($ac_try" in 2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2942 *) ac_try_echo=$ac_try;; 2943 esac 2944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2945 $as_echo "$ac_try_echo"; } >&5 2946 (eval "$ac_link") 2>&5 2010 2947 ac_status=$? 2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2012 (exit $ac_status); }; }; then 2013 cross_compiling=no 2014 else 2015 if test "$cross_compiling" = maybe; then 2016 cross_compiling=yes 2017 else 2018 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2019 If you meant to cross compile, use \`--host'. 2020 See \`config.log' for more details." >&5 2021 echo "$as_me: error: cannot run C compiled programs. 2022 If you meant to cross compile, use \`--host'. 2023 See \`config.log' for more details." >&2;} 2024 { (exit 1); exit 1; }; } 2025 fi 2026 fi 2027 fi 2028 echo "$as_me:$LINENO: result: yes" >&5 2029 echo "${ECHO_T}yes" >&6 2030 2031 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2032 ac_clean_files=$ac_clean_files_save 2033 # Check the compiler produces executables we can run. If not, either 2034 # the compiler is broken, or we cross compile. 2035 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2036 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2037 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2038 echo "${ECHO_T}$cross_compiling" >&6 2039 2040 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2041 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2043 (eval $ac_link) 2>&5 2044 ac_status=$? 2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2046 (exit $ac_status); }; then 2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2949 test $ac_status = 0; }; then : 2047 2950 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2048 2951 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2052 2955 test -f "$ac_file" || continue 2053 2956 case $ac_file in 2054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2055 2958 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2056 export ac_cv_exeext2057 2959 break;; 2058 2960 * ) break;; … … 2060 2962 done 2061 2963 else 2062 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2063 See \`config.log' for more details." >&5 2064 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2065 See \`config.log' for more details." >&2;} 2066 { (exit 1); exit 1; }; } 2067 fi 2068 2069 rm -f conftest$ac_cv_exeext 2070 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2071 echo "${ECHO_T}$ac_cv_exeext" >&6 2964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2966 as_fn_error "cannot compute suffix of executables: cannot compile and link 2967 See \`config.log' for more details." "$LINENO" 5; } 2968 fi 2969 rm -f conftest conftest$ac_cv_exeext 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2971 $as_echo "$ac_cv_exeext" >&6; } 2072 2972 2073 2973 rm -f conftest.$ac_ext 2074 2974 EXEEXT=$ac_cv_exeext 2075 2975 ac_exeext=$EXEEXT 2076 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2077 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2078 if test "${ac_cv_objext+set}" = set; then 2079 echo $ECHO_N "(cached) $ECHO_C" >&6 2080 else 2081 cat >conftest.$ac_ext <<_ACEOF 2082 /* confdefs.h. */ 2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2977 /* end confdefs.h. */ 2978 #include <stdio.h> 2979 int 2980 main () 2981 { 2982 FILE *f = fopen ("conftest.out", "w"); 2983 return ferror (f) || fclose (f) != 0; 2984 2985 ; 2986 return 0; 2987 } 2083 2988 _ACEOF 2084 cat confdefs.h >>conftest.$ac_ext 2085 cat >>conftest.$ac_ext <<_ACEOF 2989 ac_clean_files="$ac_clean_files conftest.out" 2990 # Check that the compiler produces executables we can run. If not, either 2991 # the compiler is broken, or we cross compile. 2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2993 $as_echo_n "checking whether we are cross compiling... " >&6; } 2994 if test "$cross_compiling" != yes; then 2995 { { ac_try="$ac_link" 2996 case "(($ac_try" in 2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2998 *) ac_try_echo=$ac_try;; 2999 esac 3000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3001 $as_echo "$ac_try_echo"; } >&5 3002 (eval "$ac_link") 2>&5 3003 ac_status=$? 3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3005 test $ac_status = 0; } 3006 if { ac_try='./conftest$ac_cv_exeext' 3007 { { case "(($ac_try" in 3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3009 *) ac_try_echo=$ac_try;; 3010 esac 3011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3012 $as_echo "$ac_try_echo"; } >&5 3013 (eval "$ac_try") 2>&5 3014 ac_status=$? 3015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3016 test $ac_status = 0; }; }; then 3017 cross_compiling=no 3018 else 3019 if test "$cross_compiling" = maybe; then 3020 cross_compiling=yes 3021 else 3022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3024 as_fn_error "cannot run C compiled programs. 3025 If you meant to cross compile, use \`--host'. 3026 See \`config.log' for more details." "$LINENO" 5; } 3027 fi 3028 fi 3029 fi 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3031 $as_echo "$cross_compiling" >&6; } 3032 3033 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3034 ac_clean_files=$ac_clean_files_save 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3036 $as_echo_n "checking for suffix of object files... " >&6; } 3037 if test "${ac_cv_objext+set}" = set; then : 3038 $as_echo_n "(cached) " >&6 3039 else 3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2086 3041 /* end confdefs.h. */ 2087 3042 … … 2095 3050 _ACEOF 2096 3051 rm -f conftest.o conftest.obj 2097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2098 (eval $ac_compile) 2>&5 3052 if { { ac_try="$ac_compile" 3053 case "(($ac_try" in 3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3055 *) ac_try_echo=$ac_try;; 3056 esac 3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3058 $as_echo "$ac_try_echo"; } >&5 3059 (eval "$ac_compile") 2>&5 2099 3060 ac_status=$? 2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2101 (exit $ac_status); }; then 2102 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3062 test $ac_status = 0; }; then : 3063 for ac_file in conftest.o conftest.obj conftest.*; do 3064 test -f "$ac_file" || continue; 2103 3065 case $ac_file in 2104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;3066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2105 3067 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2106 3068 break;; … … 2108 3070 done 2109 3071 else 2110 echo "$as_me: failed program was:" >&53072 $as_echo "$as_me: failed program was:" >&5 2111 3073 sed 's/^/| /' conftest.$ac_ext >&5 2112 3074 2113 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2114 See \`config.log' for more details." >&5 2115 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2116 See \`config.log' for more details." >&2;} 2117 { (exit 1); exit 1; }; } 2118 fi 2119 3075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3077 as_fn_error "cannot compute suffix of object files: cannot compile 3078 See \`config.log' for more details." "$LINENO" 5; } 3079 fi 2120 3080 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2121 3081 fi 2122 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52123 echo "${ECHO_T}$ac_cv_objext" >&6 3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3083 $as_echo "$ac_cv_objext" >&6; } 2124 3084 OBJEXT=$ac_cv_objext 2125 3085 ac_objext=$OBJEXT 2126 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2127 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2128 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2129 echo $ECHO_N "(cached) $ECHO_C" >&6 2130 else 2131 cat >conftest.$ac_ext <<_ACEOF 2132 /* confdefs.h. */ 2133 _ACEOF 2134 cat confdefs.h >>conftest.$ac_ext 2135 cat >>conftest.$ac_ext <<_ACEOF 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3087 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3088 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3089 $as_echo_n "(cached) " >&6 3090 else 3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2136 3092 /* end confdefs.h. */ 2137 3093 … … 2147 3103 } 2148 3104 _ACEOF 2149 rm -f conftest.$ac_objext 2150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2151 (eval $ac_compile) 2>conftest.er1 2152 ac_status=$? 2153 grep -v '^ *+' conftest.er1 >conftest.err 2154 rm -f conftest.er1 2155 cat conftest.err >&5 2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2157 (exit $ac_status); } && 2158 { ac_try='test -z "$ac_c_werror_flag" 2159 || test ! -s conftest.err' 2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2161 (eval $ac_try) 2>&5 2162 ac_status=$? 2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2164 (exit $ac_status); }; } && 2165 { ac_try='test -s conftest.$ac_objext' 2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2167 (eval $ac_try) 2>&5 2168 ac_status=$? 2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); }; }; then 3105 if ac_fn_c_try_compile "$LINENO"; then : 2171 3106 ac_compiler_gnu=yes 2172 3107 else 2173 echo "$as_me: failed program was:" >&5 2174 sed 's/^/| /' conftest.$ac_ext >&5 2175 2176 ac_compiler_gnu=no 2177 fi 2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3108 ac_compiler_gnu=no 3109 fi 3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2179 3111 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2180 3112 2181 3113 fi 2182 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2183 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2184 GCC=`test $ac_compiler_gnu = yes && echo yes` 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3115 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3116 if test $ac_compiler_gnu = yes; then 3117 GCC=yes 3118 else 3119 GCC= 3120 fi 2185 3121 ac_test_CFLAGS=${CFLAGS+set} 2186 3122 ac_save_CFLAGS=$CFLAGS 2187 CFLAGS="-g" 2188 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2189 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2190 if test "${ac_cv_prog_cc_g+set}" = set; then 2191 echo $ECHO_N "(cached) $ECHO_C" >&6 2192 else 2193 cat >conftest.$ac_ext <<_ACEOF 2194 /* confdefs.h. */ 2195 _ACEOF 2196 cat confdefs.h >>conftest.$ac_ext 2197 cat >>conftest.$ac_ext <<_ACEOF 3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3124 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3125 if test "${ac_cv_prog_cc_g+set}" = set; then : 3126 $as_echo_n "(cached) " >&6 3127 else 3128 ac_save_c_werror_flag=$ac_c_werror_flag 3129 ac_c_werror_flag=yes 3130 ac_cv_prog_cc_g=no 3131 CFLAGS="-g" 3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2198 3133 /* end confdefs.h. */ 2199 3134 … … 2206 3141 } 2207 3142 _ACEOF 2208 rm -f conftest.$ac_objext 2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2210 (eval $ac_compile) 2>conftest.er1 2211 ac_status=$? 2212 grep -v '^ *+' conftest.er1 >conftest.err 2213 rm -f conftest.er1 2214 cat conftest.err >&5 2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2216 (exit $ac_status); } && 2217 { ac_try='test -z "$ac_c_werror_flag" 2218 || test ! -s conftest.err' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2221 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; } && 2224 { ac_try='test -s conftest.$ac_objext' 2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2226 (eval $ac_try) 2>&5 2227 ac_status=$? 2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2229 (exit $ac_status); }; }; then 3143 if ac_fn_c_try_compile "$LINENO"; then : 2230 3144 ac_cv_prog_cc_g=yes 2231 3145 else 2232 echo "$as_me: failed program was:" >&5 2233 sed 's/^/| /' conftest.$ac_ext >&5 2234 2235 ac_cv_prog_cc_g=no 2236 fi 2237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2238 fi 2239 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2240 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3146 CFLAGS="" 3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3148 /* end confdefs.h. */ 3149 3150 int 3151 main () 3152 { 3153 3154 ; 3155 return 0; 3156 } 3157 _ACEOF 3158 if ac_fn_c_try_compile "$LINENO"; then : 3159 3160 else 3161 ac_c_werror_flag=$ac_save_c_werror_flag 3162 CFLAGS="-g" 3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3164 /* end confdefs.h. */ 3165 3166 int 3167 main () 3168 { 3169 3170 ; 3171 return 0; 3172 } 3173 _ACEOF 3174 if ac_fn_c_try_compile "$LINENO"; then : 3175 ac_cv_prog_cc_g=yes 3176 fi 3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3178 fi 3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3180 fi 3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3182 ac_c_werror_flag=$ac_save_c_werror_flag 3183 fi 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3185 $as_echo "$ac_cv_prog_cc_g" >&6; } 2241 3186 if test "$ac_test_CFLAGS" = set; then 2242 3187 CFLAGS=$ac_save_CFLAGS … … 2254 3199 fi 2255 3200 fi 2256 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52257 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2258 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2259 echo $ECHO_N "(cached) $ECHO_C" >&62260 else 2261 ac_cv_prog_cc_ stdc=no3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3202 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3203 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3204 $as_echo_n "(cached) " >&6 3205 else 3206 ac_cv_prog_cc_c89=no 2262 3207 ac_save_CC=$CC 2263 cat >conftest.$ac_ext <<_ACEOF 2264 /* confdefs.h. */ 2265 _ACEOF 2266 cat confdefs.h >>conftest.$ac_ext 2267 cat >>conftest.$ac_ext <<_ACEOF 3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2268 3209 /* end confdefs.h. */ 2269 3210 #include <stdarg.h> … … 2293 3234 function prototypes and stuff, but not '\xHH' hex character constants. 2294 3235 These don't provoke an error unfortunately, instead are silently treated 2295 as 'x'. The following induces an error, until -std 1is added to get3236 as 'x'. The following induces an error, until -std is added to get 2296 3237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2297 3238 array size at least. It's necessary to write '\x00'==0 to get something 2298 that's true only with -std 1. */3239 that's true only with -std. */ 2299 3240 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3241 3242 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3243 inside strings and character constants. */ 3244 #define FOO(x) 'x' 3245 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2300 3246 2301 3247 int test (int i, double x); … … 2313 3259 } 2314 3260 _ACEOF 2315 # Don't try gcc -ansi; that turns off useful extensions and 2316 # breaks some systems' header files. 2317 # AIX -qlanglvl=ansi 2318 # Ultrix and OSF/1 -std1 2319 # HP-UX 10.20 and later -Ae 2320 # HP-UX older versions -Aa -D_HPUX_SOURCE 2321 # SVR4 -Xc -D__EXTENSIONS__ 2322 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3261 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3262 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2323 3263 do 2324 3264 CC="$ac_save_CC $ac_arg" 2325 rm -f conftest.$ac_objext 2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2327 (eval $ac_compile) 2>conftest.er1 2328 ac_status=$? 2329 grep -v '^ *+' conftest.er1 >conftest.err 2330 rm -f conftest.er1 2331 cat conftest.err >&5 2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2333 (exit $ac_status); } && 2334 { ac_try='test -z "$ac_c_werror_flag" 2335 || test ! -s conftest.err' 2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2337 (eval $ac_try) 2>&5 2338 ac_status=$? 2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2340 (exit $ac_status); }; } && 2341 { ac_try='test -s conftest.$ac_objext' 2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2343 (eval $ac_try) 2>&5 2344 ac_status=$? 2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2346 (exit $ac_status); }; }; then 2347 ac_cv_prog_cc_stdc=$ac_arg 2348 break 2349 else 2350 echo "$as_me: failed program was:" >&5 2351 sed 's/^/| /' conftest.$ac_ext >&5 2352 2353 fi 2354 rm -f conftest.err conftest.$ac_objext 3265 if ac_fn_c_try_compile "$LINENO"; then : 3266 ac_cv_prog_cc_c89=$ac_arg 3267 fi 3268 rm -f core conftest.err conftest.$ac_objext 3269 test "x$ac_cv_prog_cc_c89" != "xno" && break 2355 3270 done 2356 rm -f conftest.$ac_ext conftest.$ac_objext3271 rm -f conftest.$ac_ext 2357 3272 CC=$ac_save_CC 2358 3273 2359 3274 fi 2360 2361 case "x$ac_cv_prog_cc_stdc" in 2362 x|xno) 2363 echo "$as_me:$LINENO: result: none needed" >&5 2364 echo "${ECHO_T}none needed" >&6 ;; 3275 # AC_CACHE_VAL 3276 case "x$ac_cv_prog_cc_c89" in 3277 x) 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3279 $as_echo "none needed" >&6; } ;; 3280 xno) 3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3282 $as_echo "unsupported" >&6; } ;; 2365 3283 *) 2366 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52367 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2368 CC="$CC $ac_cv_prog_cc_stdc";;3284 CC="$CC $ac_cv_prog_cc_c89" 3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3286 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2369 3287 esac 2370 2371 # Some people use a C++ compiler to compile C. Since we use `exit', 2372 # in C++ we need to declare it. In case someone uses the same compiler 2373 # for both compiling C and C++ we need to have the C++ compiler decide 2374 # the declaration of exit, since it's the most demanding environment. 2375 cat >conftest.$ac_ext <<_ACEOF 2376 #ifndef __cplusplus 2377 choke me 2378 #endif 2379 _ACEOF 2380 rm -f conftest.$ac_objext 2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2382 (eval $ac_compile) 2>conftest.er1 2383 ac_status=$? 2384 grep -v '^ *+' conftest.er1 >conftest.err 2385 rm -f conftest.er1 2386 cat conftest.err >&5 2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2388 (exit $ac_status); } && 2389 { ac_try='test -z "$ac_c_werror_flag" 2390 || test ! -s conftest.err' 2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2392 (eval $ac_try) 2>&5 2393 ac_status=$? 2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2395 (exit $ac_status); }; } && 2396 { ac_try='test -s conftest.$ac_objext' 2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2398 (eval $ac_try) 2>&5 2399 ac_status=$? 2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2401 (exit $ac_status); }; }; then 2402 for ac_declaration in \ 2403 '' \ 2404 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2405 'extern "C" void std::exit (int); using std::exit;' \ 2406 'extern "C" void exit (int) throw ();' \ 2407 'extern "C" void exit (int);' \ 2408 'void exit (int);' 2409 do 2410 cat >conftest.$ac_ext <<_ACEOF 2411 /* confdefs.h. */ 2412 _ACEOF 2413 cat confdefs.h >>conftest.$ac_ext 2414 cat >>conftest.$ac_ext <<_ACEOF 2415 /* end confdefs.h. */ 2416 $ac_declaration 2417 #include <stdlib.h> 2418 int 2419 main () 2420 { 2421 exit (42); 2422 ; 2423 return 0; 2424 } 2425 _ACEOF 2426 rm -f conftest.$ac_objext 2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2428 (eval $ac_compile) 2>conftest.er1 2429 ac_status=$? 2430 grep -v '^ *+' conftest.er1 >conftest.err 2431 rm -f conftest.er1 2432 cat conftest.err >&5 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2434 (exit $ac_status); } && 2435 { ac_try='test -z "$ac_c_werror_flag" 2436 || test ! -s conftest.err' 2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2438 (eval $ac_try) 2>&5 2439 ac_status=$? 2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2441 (exit $ac_status); }; } && 2442 { ac_try='test -s conftest.$ac_objext' 2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2444 (eval $ac_try) 2>&5 2445 ac_status=$? 2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2447 (exit $ac_status); }; }; then 2448 : 2449 else 2450 echo "$as_me: failed program was:" >&5 2451 sed 's/^/| /' conftest.$ac_ext >&5 2452 2453 continue 2454 fi 2455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2456 cat >conftest.$ac_ext <<_ACEOF 2457 /* confdefs.h. */ 2458 _ACEOF 2459 cat confdefs.h >>conftest.$ac_ext 2460 cat >>conftest.$ac_ext <<_ACEOF 2461 /* end confdefs.h. */ 2462 $ac_declaration 2463 int 2464 main () 2465 { 2466 exit (42); 2467 ; 2468 return 0; 2469 } 2470 _ACEOF 2471 rm -f conftest.$ac_objext 2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2473 (eval $ac_compile) 2>conftest.er1 2474 ac_status=$? 2475 grep -v '^ *+' conftest.er1 >conftest.err 2476 rm -f conftest.er1 2477 cat conftest.err >&5 2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2479 (exit $ac_status); } && 2480 { ac_try='test -z "$ac_c_werror_flag" 2481 || test ! -s conftest.err' 2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2483 (eval $ac_try) 2>&5 2484 ac_status=$? 2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2486 (exit $ac_status); }; } && 2487 { ac_try='test -s conftest.$ac_objext' 2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2489 (eval $ac_try) 2>&5 2490 ac_status=$? 2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 (exit $ac_status); }; }; then 2493 break 2494 else 2495 echo "$as_me: failed program was:" >&5 2496 sed 's/^/| /' conftest.$ac_ext >&5 2497 2498 fi 2499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2500 done 2501 rm -f conftest* 2502 if test -n "$ac_declaration"; then 2503 echo '#ifdef __cplusplus' >>confdefs.h 2504 echo $ac_declaration >>confdefs.h 2505 echo '#endif' >>confdefs.h 2506 fi 2507 2508 else 2509 echo "$as_me: failed program was:" >&5 2510 sed 's/^/| /' conftest.$ac_ext >&5 2511 2512 fi 2513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3288 if test "x$ac_cv_prog_cc_c89" != xno; then : 3289 3290 fi 3291 2514 3292 ac_ext=c 2515 3293 ac_cpp='$CPP $CPPFLAGS' … … 2523 3301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2524 3302 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2525 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52526 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3304 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2527 3305 # On Suns, sometimes $CPP names a directory. 2528 3306 if test -n "$CPP" && test -d "$CPP"; then … … 2530 3308 fi 2531 3309 if test -z "$CPP"; then 2532 if test "${ac_cv_prog_CPP+set}" = set; then 2533 echo $ECHO_N "(cached) $ECHO_C" >&63310 if test "${ac_cv_prog_CPP+set}" = set; then : 3311 $as_echo_n "(cached) " >&6 2534 3312 else 2535 3313 # Double quotes because CPP needs to be expanded … … 2545 3323 # On the NeXT, cc -E runs the code through the compiler's parser, 2546 3324 # not just through cpp. "Syntax error" is here to catch this case. 2547 cat >conftest.$ac_ext <<_ACEOF 2548 /* confdefs.h. */ 2549 _ACEOF 2550 cat confdefs.h >>conftest.$ac_ext 2551 cat >>conftest.$ac_ext <<_ACEOF 3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2552 3326 /* end confdefs.h. */ 2553 3327 #ifdef __STDC__ … … 2558 3332 Syntax error 2559 3333 _ACEOF 2560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2562 ac_status=$? 2563 grep -v '^ *+' conftest.er1 >conftest.err 2564 rm -f conftest.er1 2565 cat conftest.err >&5 2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2567 (exit $ac_status); } >/dev/null; then 2568 if test -s conftest.err; then 2569 ac_cpp_err=$ac_c_preproc_warn_flag 2570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2571 else 2572 ac_cpp_err= 2573 fi 2574 else 2575 ac_cpp_err=yes 2576 fi 2577 if test -z "$ac_cpp_err"; then 2578 : 2579 else 2580 echo "$as_me: failed program was:" >&5 2581 sed 's/^/| /' conftest.$ac_ext >&5 2582 3334 if ac_fn_c_try_cpp "$LINENO"; then : 3335 3336 else 2583 3337 # Broken: fails on valid input. 2584 3338 continue … … 2586 3340 rm -f conftest.err conftest.$ac_ext 2587 3341 2588 # OK, works on sane cases. Now check whether non -existent headers3342 # OK, works on sane cases. Now check whether nonexistent headers 2589 3343 # can be detected and how. 2590 cat >conftest.$ac_ext <<_ACEOF 2591 /* confdefs.h. */ 2592 _ACEOF 2593 cat confdefs.h >>conftest.$ac_ext 2594 cat >>conftest.$ac_ext <<_ACEOF 3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2595 3345 /* end confdefs.h. */ 2596 3346 #include <ac_nonexistent.h> 2597 3347 _ACEOF 2598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2600 ac_status=$? 2601 grep -v '^ *+' conftest.er1 >conftest.err 2602 rm -f conftest.er1 2603 cat conftest.err >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); } >/dev/null; then 2606 if test -s conftest.err; then 2607 ac_cpp_err=$ac_c_preproc_warn_flag 2608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2609 else 2610 ac_cpp_err= 2611 fi 2612 else 2613 ac_cpp_err=yes 2614 fi 2615 if test -z "$ac_cpp_err"; then 3348 if ac_fn_c_try_cpp "$LINENO"; then : 2616 3349 # Broken: success on invalid input. 2617 3350 continue 2618 3351 else 2619 echo "$as_me: failed program was:" >&52620 sed 's/^/| /' conftest.$ac_ext >&52621 2622 3352 # Passes both tests. 2623 3353 ac_preproc_ok=: … … 2629 3359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2630 3360 rm -f conftest.err conftest.$ac_ext 2631 if $ac_preproc_ok; then 3361 if $ac_preproc_ok; then : 2632 3362 break 2633 3363 fi … … 2641 3371 ac_cv_prog_CPP=$CPP 2642 3372 fi 2643 echo "$as_me:$LINENO: result: $CPP" >&52644 echo "${ECHO_T}$CPP" >&6 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3374 $as_echo "$CPP" >&6; } 2645 3375 ac_preproc_ok=false 2646 3376 for ac_c_preproc_warn_flag in '' yes … … 2652 3382 # On the NeXT, cc -E runs the code through the compiler's parser, 2653 3383 # not just through cpp. "Syntax error" is here to catch this case. 2654 cat >conftest.$ac_ext <<_ACEOF 2655 /* confdefs.h. */ 2656 _ACEOF 2657 cat confdefs.h >>conftest.$ac_ext 2658 cat >>conftest.$ac_ext <<_ACEOF 3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2659 3385 /* end confdefs.h. */ 2660 3386 #ifdef __STDC__ … … 2665 3391 Syntax error 2666 3392 _ACEOF 2667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2669 ac_status=$? 2670 grep -v '^ *+' conftest.er1 >conftest.err 2671 rm -f conftest.er1 2672 cat conftest.err >&5 2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2674 (exit $ac_status); } >/dev/null; then 2675 if test -s conftest.err; then 2676 ac_cpp_err=$ac_c_preproc_warn_flag 2677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2678 else 2679 ac_cpp_err= 2680 fi 2681 else 2682 ac_cpp_err=yes 2683 fi 2684 if test -z "$ac_cpp_err"; then 2685 : 2686 else 2687 echo "$as_me: failed program was:" >&5 2688 sed 's/^/| /' conftest.$ac_ext >&5 2689 3393 if ac_fn_c_try_cpp "$LINENO"; then : 3394 3395 else 2690 3396 # Broken: fails on valid input. 2691 3397 continue … … 2693 3399 rm -f conftest.err conftest.$ac_ext 2694 3400 2695 # OK, works on sane cases. Now check whether non -existent headers3401 # OK, works on sane cases. Now check whether nonexistent headers 2696 3402 # can be detected and how. 2697 cat >conftest.$ac_ext <<_ACEOF 2698 /* confdefs.h. */ 2699 _ACEOF 2700 cat confdefs.h >>conftest.$ac_ext 2701 cat >>conftest.$ac_ext <<_ACEOF 3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2702 3404 /* end confdefs.h. */ 2703 3405 #include <ac_nonexistent.h> 2704 3406 _ACEOF 2705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2707 ac_status=$? 2708 grep -v '^ *+' conftest.er1 >conftest.err 2709 rm -f conftest.er1 2710 cat conftest.err >&5 2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2712 (exit $ac_status); } >/dev/null; then 2713 if test -s conftest.err; then 2714 ac_cpp_err=$ac_c_preproc_warn_flag 2715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2716 else 2717 ac_cpp_err= 2718 fi 2719 else 2720 ac_cpp_err=yes 2721 fi 2722 if test -z "$ac_cpp_err"; then 3407 if ac_fn_c_try_cpp "$LINENO"; then : 2723 3408 # Broken: success on invalid input. 2724 3409 continue 2725 3410 else 2726 echo "$as_me: failed program was:" >&52727 sed 's/^/| /' conftest.$ac_ext >&52728 2729 3411 # Passes both tests. 2730 3412 ac_preproc_ok=: … … 2736 3418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2737 3419 rm -f conftest.err conftest.$ac_ext 2738 if $ac_preproc_ok; then 2739 : 2740 else 2741 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2742 See \`config.log' for more details." >&5 2743 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2744 See \`config.log' for more details." >&2;} 2745 { (exit 1); exit 1; }; } 3420 if $ac_preproc_ok; then : 3421 3422 else 3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3425 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3426 See \`config.log' for more details." "$LINENO" 5; } 2746 3427 fi 2747 3428 … … 2765 3446 # OS/2's system install, which has a completely different semantic 2766 3447 # ./install, which can be erroneously created by make from ./install.sh. 2767 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2768 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3448 # Reject install programs that cannot install multiple files. 3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3450 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2769 3451 if test -z "$INSTALL"; then 2770 if test "${ac_cv_path_install+set}" = set; then 2771 echo $ECHO_N "(cached) $ECHO_C" >&63452 if test "${ac_cv_path_install+set}" = set; then : 3453 $as_echo_n "(cached) " >&6 2772 3454 else 2773 3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2776 3458 IFS=$as_save_IFS 2777 3459 test -z "$as_dir" && as_dir=. 2778 # Account for people who put trailing slashes in PATH elements.2779 case $as_dir/ in 2780 ./ | .// | / cC/* | \3460 # Account for people who put trailing slashes in PATH elements. 3461 case $as_dir/ in #(( 3462 ./ | .// | /[cC]/* | \ 2781 3463 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2782 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3464 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2783 3465 /usr/ucb/* ) ;; 2784 3466 *) … … 2788 3470 for ac_prog in ginstall scoinst install; do 2789 3471 for ac_exec_ext in '' $ac_executable_extensions; do 2790 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3472 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2791 3473 if test $ac_prog = install && 2792 3474 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2798 3480 : 2799 3481 else 2800 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2801 break 3 3482 rm -rf conftest.one conftest.two conftest.dir 3483 echo one > conftest.one 3484 echo two > conftest.two 3485 mkdir conftest.dir 3486 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3487 test -s conftest.one && test -s conftest.two && 3488 test -s conftest.dir/conftest.one && 3489 test -s conftest.dir/conftest.two 3490 then 3491 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3492 break 3 3493 fi 2802 3494 fi 2803 3495 fi … … 2806 3498 ;; 2807 3499 esac 2808 done 2809 3500 3501 done 3502 IFS=$as_save_IFS 3503 3504 rm -rf conftest.one conftest.two conftest.dir 2810 3505 2811 3506 fi … … 2813 3508 INSTALL=$ac_cv_path_install 2814 3509 else 2815 # As a last resort, use the slow shell script. We don't cache a2816 # pathfor INSTALL within a source directory, because that will3510 # As a last resort, use the slow shell script. Don't cache a 3511 # value for INSTALL within a source directory, because that will 2817 3512 # break other packages using the cache if that directory is 2818 # removed, or if the path is relative.3513 # removed, or if the value is a relative name. 2819 3514 INSTALL=$ac_install_sh 2820 3515 fi 2821 3516 fi 2822 echo "$as_me:$LINENO: result: $INSTALL" >&52823 echo "${ECHO_T}$INSTALL" >&6 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3518 $as_echo "$INSTALL" >&6; } 2824 3519 2825 3520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2831 3526 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2832 3527 2833 # Check whether --enable-shared or --disable-shared was given. 2834 if test "${enable_shared+set}" = set; then 2835 enableval="$enable_shared" 2836 p=${PACKAGE-default} 3528 # Check whether --enable-shared was given. 3529 if test "${enable_shared+set}" = set; then : 3530 enableval=$enable_shared; p=${PACKAGE-default} 2837 3531 case $enableval in 2838 3532 yes) enable_shared=yes ;; … … 2852 3546 else 2853 3547 enable_shared=yes 2854 fi ;2855 # Check whether --enable-static or --disable-static was given. 2856 if test "${enable_static+set}" = set; then 2857 enableval="$enable_static" 2858 p=${PACKAGE-default}3548 fi 3549 3550 # Check whether --enable-static was given. 3551 if test "${enable_static+set}" = set; then : 3552 enableval=$enable_static; p=${PACKAGE-default} 2859 3553 case $enableval in 2860 3554 yes) enable_static=yes ;; … … 2874 3568 else 2875 3569 enable_static=yes 2876 fi ;2877 # Check whether --enable-fast-install or --disable-fast-install was given. 2878 if test "${enable_fast_install+set}" = set; then 2879 enableval="$enable_fast_install" 2880 p=${PACKAGE-default}3570 fi 3571 3572 # Check whether --enable-fast-install was given. 3573 if test "${enable_fast_install+set}" = set; then : 3574 enableval=$enable_fast_install; p=${PACKAGE-default} 2881 3575 case $enableval in 2882 3576 yes) enable_fast_install=yes ;; … … 2896 3590 else 2897 3591 enable_fast_install=yes 2898 fi; 3592 fi 3593 2899 3594 # Find the correct PATH separator. Usually this is `:', but 2900 3595 # DJGPP uses `;' like DOS. … … 2909 3604 2910 3605 2911 # Check whether --with-gnu-ld or --without-gnu-ld was given. 2912 if test "${with_gnu_ld+set}" = set; then 2913 withval="$with_gnu_ld" 2914 test "$withval" = no || with_gnu_ld=yes 3606 # Check whether --with-gnu-ld was given. 3607 if test "${with_gnu_ld+set}" = set; then : 3608 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 2915 3609 else 2916 3610 with_gnu_ld=no 2917 fi; 3611 fi 3612 2918 3613 ac_prog=ld 2919 3614 if test "$GCC" = yes; then 2920 3615 # Check if gcc -print-prog-name=ld gives a path. 2921 echo "$as_me:$LINENO: checking for ld used by GCC" >&52922 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 3617 $as_echo_n "checking for ld used by GCC... " >&6; } 2923 3618 case $host in 2924 3619 *-*-mingw*) … … 2949 3644 esac 2950 3645 elif test "$with_gnu_ld" = yes; then 2951 echo "$as_me:$LINENO: checking for GNU ld" >&52952 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 2953 else 2954 echo "$as_me:$LINENO: checking for non-GNU ld" >&52955 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 2956 fi 2957 if test "${lt_cv_path_LD+set}" = set; then 2958 echo $ECHO_N "(cached) $ECHO_C" >&63646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 3647 $as_echo_n "checking for GNU ld... " >&6; } 3648 else 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 3650 $as_echo_n "checking for non-GNU ld... " >&6; } 3651 fi 3652 if test "${lt_cv_path_LD+set}" = set; then : 3653 $as_echo_n "(cached) " >&6 2959 3654 else 2960 3655 if test -z "$LD"; then … … 2982 3677 LD="$lt_cv_path_LD" 2983 3678 if test -n "$LD"; then 2984 echo "$as_me:$LINENO: result: $LD" >&5 2985 echo "${ECHO_T}$LD" >&6 2986 else 2987 echo "$as_me:$LINENO: result: no" >&5 2988 echo "${ECHO_T}no" >&6 2989 fi 2990 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 2991 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 2992 { (exit 1); exit 1; }; } 2993 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 2994 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 2995 if test "${lt_cv_prog_gnu_ld+set}" = set; then 2996 echo $ECHO_N "(cached) $ECHO_C" >&6 3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 3680 $as_echo "$LD" >&6; } 3681 else 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3683 $as_echo "no" >&6; } 3684 fi 3685 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 3687 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 3688 if test "${lt_cv_prog_gnu_ld+set}" = set; then : 3689 $as_echo_n "(cached) " >&6 2997 3690 else 2998 3691 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 3003 3696 fi 3004 3697 fi 3005 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&53006 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 3699 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 3007 3700 with_gnu_ld=$lt_cv_prog_gnu_ld 3008 3701 3009 3702 3010 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&53011 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 3012 if test "${lt_cv_ld_reload_flag+set}" = set; then 3013 echo $ECHO_N "(cached) $ECHO_C" >&63703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 3704 $as_echo_n "checking for $LD option to reload object files... " >&6; } 3705 if test "${lt_cv_ld_reload_flag+set}" = set; then : 3706 $as_echo_n "(cached) " >&6 3014 3707 else 3015 3708 lt_cv_ld_reload_flag='-r' 3016 3709 fi 3017 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&53018 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 3711 $as_echo "$lt_cv_ld_reload_flag" >&6; } 3019 3712 reload_flag=$lt_cv_ld_reload_flag 3020 3713 test -n "$reload_flag" && reload_flag=" $reload_flag" 3021 3714 3022 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&53023 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 3024 if test "${lt_cv_path_NM+set}" = set; then 3025 echo $ECHO_N "(cached) $ECHO_C" >&63715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5 3716 $as_echo_n "checking for BSD-compatible nm... " >&6; } 3717 if test "${lt_cv_path_NM+set}" = set; then : 3718 $as_echo_n "(cached) " >&6 3026 3719 else 3027 3720 if test -n "$NM"; then … … 3056 3749 3057 3750 NM="$lt_cv_path_NM" 3058 echo "$as_me:$LINENO: result: $NM" >&53059 echo "${ECHO_T}$NM" >&6 3060 3061 echo "$as_me:$LINENO: checking whether ln -s works" >&53062 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 3752 $as_echo "$NM" >&6; } 3753 3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3755 $as_echo_n "checking whether ln -s works... " >&6; } 3063 3756 LN_S=$as_ln_s 3064 3757 if test "$LN_S" = "ln -s"; then 3065 echo "$as_me:$LINENO: result: yes" >&53066 echo "${ECHO_T}yes" >&6 3067 else 3068 echo "$as_me:$LINENO: result: no, using $LN_S" >&53069 echo "${ECHO_T}no, using $LN_S" >&6 3070 fi 3071 3072 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&53073 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 3074 if test "${lt_cv_deplibs_check_method+set}" = set; then 3075 echo $ECHO_N "(cached) $ECHO_C" >&63758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3759 $as_echo "yes" >&6; } 3760 else 3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3762 $as_echo "no, using $LN_S" >&6; } 3763 fi 3764 3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependant libraries" >&5 3766 $as_echo_n "checking how to recognise dependant libraries... " >&6; } 3767 if test "${lt_cv_deplibs_check_method+set}" = set; then : 3768 $as_echo_n "(cached) " >&6 3076 3769 else 3077 3770 lt_cv_file_magic_cmd='$MAGIC_CMD' … … 3248 3941 3249 3942 fi 3250 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&53251 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 3944 $as_echo "$lt_cv_deplibs_check_method" >&6; } 3252 3945 file_magic_cmd=$lt_cv_file_magic_cmd 3253 3946 deplibs_check_method=$lt_cv_deplibs_check_method … … 3261 3954 3262 3955 # Check for command to grab the raw symbol name followed by C symbol from nm. 3263 echo "$as_me:$LINENO: checking command to parse $NM output" >&53264 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 3265 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 3266 echo $ECHO_N "(cached) $ECHO_C" >&63956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output" >&5 3957 $as_echo_n "checking command to parse $NM output... " >&6; } 3958 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 3959 $as_echo_n "(cached) " >&6 3267 3960 else 3268 3961 … … 3342 4035 EOF 3343 4036 3344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"")>&54037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 3345 4038 (eval $ac_compile) 2>&5 3346 4039 ac_status=$? 3347 echo "$as_me:$LINENO: \$? = $ac_status" >&53348 (exit $ac_status); }; then4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4041 test $ac_status = 0; }; then 3349 4042 # Now try to grab the symbols. 3350 4043 nlist=conftest.nm 3351 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"")>&54044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 3352 4045 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 3353 4046 ac_status=$? 3354 echo "$as_me:$LINENO: \$? = $ac_status" >&53355 (exit $ac_status); } && test -s "$nlist"; then4047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4048 test $ac_status = 0; } && test -s "$nlist"; then 3356 4049 # Try sorting and uniquifying the output. 3357 4050 if sort "$nlist" | uniq > "$nlist"T; then … … 3404 4097 LIBS="conftstm.$ac_objext" 3405 4098 CFLAGS="$CFLAGS$no_builtin_flag" 3406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&54099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 3407 4100 (eval $ac_link) 2>&5 3408 4101 ac_status=$? 3409 echo "$as_me:$LINENO: \$? = $ac_status" >&53410 (exit $ac_status); } && test -s conftest; then4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4103 test $ac_status = 0; } && test -s conftest; then 3411 4104 pipe_works=yes 3412 4105 fi … … 3448 4141 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; 3449 4142 then 3450 echo "$as_me:$LINENO: result: failed" >&5 3451 echo "${ECHO_T}failed" >&6 3452 else 3453 echo "$as_me:$LINENO: result: ok" >&5 3454 echo "${ECHO_T}ok" >&6 3455 fi 3456 3457 3458 echo "$as_me:$LINENO: checking for egrep" >&5 3459 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3460 if test "${ac_cv_prog_egrep+set}" = set; then 3461 echo $ECHO_N "(cached) $ECHO_C" >&6 3462 else 3463 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3464 then ac_cv_prog_egrep='grep -E' 3465 else ac_cv_prog_egrep='egrep' 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 4144 $as_echo "failed" >&6; } 4145 else 4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4147 $as_echo "ok" >&6; } 4148 fi 4149 4150 4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4152 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4153 if test "${ac_cv_path_GREP+set}" = set; then : 4154 $as_echo_n "(cached) " >&6 4155 else 4156 if test -z "$GREP"; then 4157 ac_path_GREP_found=false 4158 # Loop through the user's path and test for each of PROGNAME-LIST 4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4161 do 4162 IFS=$as_save_IFS 4163 test -z "$as_dir" && as_dir=. 4164 for ac_prog in grep ggrep; do 4165 for ac_exec_ext in '' $ac_executable_extensions; do 4166 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4167 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4168 # Check for GNU ac_path_GREP and select it if it is found. 4169 # Check for GNU $ac_path_GREP 4170 case `"$ac_path_GREP" --version 2>&1` in 4171 *GNU*) 4172 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4173 *) 4174 ac_count=0 4175 $as_echo_n 0123456789 >"conftest.in" 4176 while : 4177 do 4178 cat "conftest.in" "conftest.in" >"conftest.tmp" 4179 mv "conftest.tmp" "conftest.in" 4180 cp "conftest.in" "conftest.nl" 4181 $as_echo 'GREP' >> "conftest.nl" 4182 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4183 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4184 as_fn_arith $ac_count + 1 && ac_count=$as_val 4185 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4186 # Best one so far, save it but keep looking for a better one 4187 ac_cv_path_GREP="$ac_path_GREP" 4188 ac_path_GREP_max=$ac_count 3466 4189 fi 3467 fi 3468 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3469 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3470 EGREP=$ac_cv_prog_egrep 3471 3472 3473 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3475 if test "${ac_cv_header_stdc+set}" = set; then 3476 echo $ECHO_N "(cached) $ECHO_C" >&6 3477 else 3478 cat >conftest.$ac_ext <<_ACEOF 3479 /* confdefs.h. */ 3480 _ACEOF 3481 cat confdefs.h >>conftest.$ac_ext 3482 cat >>conftest.$ac_ext <<_ACEOF 4190 # 10*(2^10) chars as input seems more than enough 4191 test $ac_count -gt 10 && break 4192 done 4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4194 esac 4195 4196 $ac_path_GREP_found && break 3 4197 done 4198 done 4199 done 4200 IFS=$as_save_IFS 4201 if test -z "$ac_cv_path_GREP"; then 4202 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4203 fi 4204 else 4205 ac_cv_path_GREP=$GREP 4206 fi 4207 4208 fi 4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4210 $as_echo "$ac_cv_path_GREP" >&6; } 4211 GREP="$ac_cv_path_GREP" 4212 4213 4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4215 $as_echo_n "checking for egrep... " >&6; } 4216 if test "${ac_cv_path_EGREP+set}" = set; then : 4217 $as_echo_n "(cached) " >&6 4218 else 4219 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4220 then ac_cv_path_EGREP="$GREP -E" 4221 else 4222 if test -z "$EGREP"; then 4223 ac_path_EGREP_found=false 4224 # Loop through the user's path and test for each of PROGNAME-LIST 4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4227 do 4228 IFS=$as_save_IFS 4229 test -z "$as_dir" && as_dir=. 4230 for ac_prog in egrep; do 4231 for ac_exec_ext in '' $ac_executable_extensions; do 4232 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4233 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4234 # Check for GNU ac_path_EGREP and select it if it is found. 4235 # Check for GNU $ac_path_EGREP 4236 case `"$ac_path_EGREP" --version 2>&1` in 4237 *GNU*) 4238 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4239 *) 4240 ac_count=0 4241 $as_echo_n 0123456789 >"conftest.in" 4242 while : 4243 do 4244 cat "conftest.in" "conftest.in" >"conftest.tmp" 4245 mv "conftest.tmp" "conftest.in" 4246 cp "conftest.in" "conftest.nl" 4247 $as_echo 'EGREP' >> "conftest.nl" 4248 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4250 as_fn_arith $ac_count + 1 && ac_count=$as_val 4251 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4252 # Best one so far, save it but keep looking for a better one 4253 ac_cv_path_EGREP="$ac_path_EGREP" 4254 ac_path_EGREP_max=$ac_count 4255 fi 4256 # 10*(2^10) chars as input seems more than enough 4257 test $ac_count -gt 10 && break 4258 done 4259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4260 esac 4261 4262 $ac_path_EGREP_found && break 3 4263 done 4264 done 4265 done 4266 IFS=$as_save_IFS 4267 if test -z "$ac_cv_path_EGREP"; then 4268 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4269 fi 4270 else 4271 ac_cv_path_EGREP=$EGREP 4272 fi 4273 4274 fi 4275 fi 4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4277 $as_echo "$ac_cv_path_EGREP" >&6; } 4278 EGREP="$ac_cv_path_EGREP" 4279 4280 4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4282 $as_echo_n "checking for ANSI C header files... " >&6; } 4283 if test "${ac_cv_header_stdc+set}" = set; then : 4284 $as_echo_n "(cached) " >&6 4285 else 4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3483 4287 /* end confdefs.h. */ 3484 4288 #include <stdlib.h> … … 3495 4299 } 3496 4300 _ACEOF 3497 rm -f conftest.$ac_objext 3498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3499 (eval $ac_compile) 2>conftest.er1 3500 ac_status=$? 3501 grep -v '^ *+' conftest.er1 >conftest.err 3502 rm -f conftest.er1 3503 cat conftest.err >&5 3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3505 (exit $ac_status); } && 3506 { ac_try='test -z "$ac_c_werror_flag" 3507 || test ! -s conftest.err' 3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3509 (eval $ac_try) 2>&5 3510 ac_status=$? 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); }; } && 3513 { ac_try='test -s conftest.$ac_objext' 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3515 (eval $ac_try) 2>&5 3516 ac_status=$? 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); }; }; then 4301 if ac_fn_c_try_compile "$LINENO"; then : 3519 4302 ac_cv_header_stdc=yes 3520 4303 else 3521 echo "$as_me: failed program was:" >&5 3522 sed 's/^/| /' conftest.$ac_ext >&5 3523 3524 ac_cv_header_stdc=no 3525 fi 3526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4304 ac_cv_header_stdc=no 4305 fi 4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3527 4307 3528 4308 if test $ac_cv_header_stdc = yes; then 3529 4309 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3530 cat >conftest.$ac_ext <<_ACEOF 3531 /* confdefs.h. */ 3532 _ACEOF 3533 cat confdefs.h >>conftest.$ac_ext 3534 cat >>conftest.$ac_ext <<_ACEOF 4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3535 4311 /* end confdefs.h. */ 3536 4312 #include <string.h> … … 3538 4314 _ACEOF 3539 4315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3540 $EGREP "memchr" >/dev/null 2>&1; then 3541 : 4316 $EGREP "memchr" >/dev/null 2>&1; then : 4317 3542 4318 else 3543 4319 ac_cv_header_stdc=no … … 3549 4325 if test $ac_cv_header_stdc = yes; then 3550 4326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3551 cat >conftest.$ac_ext <<_ACEOF 3552 /* confdefs.h. */ 3553 _ACEOF 3554 cat confdefs.h >>conftest.$ac_ext 3555 cat >>conftest.$ac_ext <<_ACEOF 4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3556 4328 /* end confdefs.h. */ 3557 4329 #include <stdlib.h> … … 3559 4331 _ACEOF 3560 4332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3561 $EGREP "free" >/dev/null 2>&1; then 3562 : 4333 $EGREP "free" >/dev/null 2>&1; then : 4334 3563 4335 else 3564 4336 ac_cv_header_stdc=no … … 3570 4342 if test $ac_cv_header_stdc = yes; then 3571 4343 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3572 if test "$cross_compiling" = yes; then 4344 if test "$cross_compiling" = yes; then : 3573 4345 : 3574 4346 else 3575 cat >conftest.$ac_ext <<_ACEOF 3576 /* confdefs.h. */ 3577 _ACEOF 3578 cat confdefs.h >>conftest.$ac_ext 3579 cat >>conftest.$ac_ext <<_ACEOF 4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3580 4348 /* end confdefs.h. */ 3581 4349 #include <ctype.h> 4350 #include <stdlib.h> 3582 4351 #if ((' ' & 0x0FF) == 0x020) 3583 4352 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3599 4368 if (XOR (islower (i), ISLOWER (i)) 3600 4369 || toupper (i) != TOUPPER (i)) 3601 exit(2);3602 exit (0);4370 return 2; 4371 return 0; 3603 4372 } 3604 4373 _ACEOF 3605 rm -f conftest$ac_exeext 3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3607 (eval $ac_link) 2>&5 3608 ac_status=$? 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 (eval $ac_try) 2>&5 3613 ac_status=$? 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 (exit $ac_status); }; }; then 3616 : 3617 else 3618 echo "$as_me: program exited with status $ac_status" >&5 3619 echo "$as_me: failed program was:" >&5 3620 sed 's/^/| /' conftest.$ac_ext >&5 3621 3622 ( exit $ac_status ) 3623 ac_cv_header_stdc=no 3624 fi 3625 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3626 fi 3627 fi 3628 fi 3629 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3630 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4374 if ac_fn_c_try_run "$LINENO"; then : 4375 4376 else 4377 ac_cv_header_stdc=no 4378 fi 4379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4380 conftest.$ac_objext conftest.beam conftest.$ac_ext 4381 fi 4382 4383 fi 4384 fi 4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4386 $as_echo "$ac_cv_header_stdc" >&6; } 3631 4387 if test $ac_cv_header_stdc = yes; then 3632 4388 3633 cat >>confdefs.h <<\_ACEOF 3634 #define STDC_HEADERS 1 3635 _ACEOF 4389 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3636 4390 3637 4391 fi 3638 4392 3639 4393 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 4394 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3650 4395 inttypes.h stdint.h unistd.h 3651 do 3652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3653 echo "$as_me:$LINENO: checking for $ac_header" >&5 3654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3655 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3656 echo $ECHO_N "(cached) $ECHO_C" >&6 3657 else 3658 cat >conftest.$ac_ext <<_ACEOF 3659 /* confdefs.h. */ 4396 do : 4397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4398 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4399 " 4400 eval as_val=\$$as_ac_Header 4401 if test "x$as_val" = x""yes; then : 4402 cat >>confdefs.h <<_ACEOF 4403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3660 4404 _ACEOF 3661 cat confdefs.h >>conftest.$ac_ext 3662 cat >>conftest.$ac_ext <<_ACEOF 3663 /* end confdefs.h. */ 3664 $ac_includes_default 3665 3666 #include <$ac_header> 3667 _ACEOF 3668 rm -f conftest.$ac_objext 3669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3670 (eval $ac_compile) 2>conftest.er1 3671 ac_status=$? 3672 grep -v '^ *+' conftest.er1 >conftest.err 3673 rm -f conftest.er1 3674 cat conftest.err >&5 3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3676 (exit $ac_status); } && 3677 { ac_try='test -z "$ac_c_werror_flag" 3678 || test ! -s conftest.err' 3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3680 (eval $ac_try) 2>&5 3681 ac_status=$? 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 (exit $ac_status); }; } && 3684 { ac_try='test -s conftest.$ac_objext' 3685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3686 (eval $ac_try) 2>&5 3687 ac_status=$? 3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3689 (exit $ac_status); }; }; then 3690 eval "$as_ac_Header=yes" 3691 else 3692 echo "$as_me: failed program was:" >&5 3693 sed 's/^/| /' conftest.$ac_ext >&5 3694 3695 eval "$as_ac_Header=no" 3696 fi 3697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3698 fi 3699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3701 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4405 4406 fi 4407 4408 done 4409 4410 4411 for ac_header in dlfcn.h 4412 do : 4413 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 4414 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 3702 4415 cat >>confdefs.h <<_ACEOF 3703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3704 _ACEOF 3705 3706 fi 3707 3708 done 3709 3710 3711 3712 for ac_header in dlfcn.h 3713 do 3714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3715 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3716 echo "$as_me:$LINENO: checking for $ac_header" >&5 3717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3718 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3719 echo $ECHO_N "(cached) $ECHO_C" >&6 3720 fi 3721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3723 else 3724 # Is the header compilable? 3725 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3727 cat >conftest.$ac_ext <<_ACEOF 3728 /* confdefs.h. */ 3729 _ACEOF 3730 cat confdefs.h >>conftest.$ac_ext 3731 cat >>conftest.$ac_ext <<_ACEOF 3732 /* end confdefs.h. */ 3733 $ac_includes_default 3734 #include <$ac_header> 3735 _ACEOF 3736 rm -f conftest.$ac_objext 3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3738 (eval $ac_compile) 2>conftest.er1 3739 ac_status=$? 3740 grep -v '^ *+' conftest.er1 >conftest.err 3741 rm -f conftest.er1 3742 cat conftest.err >&5 3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3744 (exit $ac_status); } && 3745 { ac_try='test -z "$ac_c_werror_flag" 3746 || test ! -s conftest.err' 3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3748 (eval $ac_try) 2>&5 3749 ac_status=$? 3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3751 (exit $ac_status); }; } && 3752 { ac_try='test -s conftest.$ac_objext' 3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3754 (eval $ac_try) 2>&5 3755 ac_status=$? 3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3757 (exit $ac_status); }; }; then 3758 ac_header_compiler=yes 3759 else 3760 echo "$as_me: failed program was:" >&5 3761 sed 's/^/| /' conftest.$ac_ext >&5 3762 3763 ac_header_compiler=no 3764 fi 3765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3767 echo "${ECHO_T}$ac_header_compiler" >&6 3768 3769 # Is the header present? 3770 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3772 cat >conftest.$ac_ext <<_ACEOF 3773 /* confdefs.h. */ 3774 _ACEOF 3775 cat confdefs.h >>conftest.$ac_ext 3776 cat >>conftest.$ac_ext <<_ACEOF 3777 /* end confdefs.h. */ 3778 #include <$ac_header> 3779 _ACEOF 3780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3782 ac_status=$? 3783 grep -v '^ *+' conftest.er1 >conftest.err 3784 rm -f conftest.er1 3785 cat conftest.err >&5 3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3787 (exit $ac_status); } >/dev/null; then 3788 if test -s conftest.err; then 3789 ac_cpp_err=$ac_c_preproc_warn_flag 3790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3791 else 3792 ac_cpp_err= 3793 fi 3794 else 3795 ac_cpp_err=yes 3796 fi 3797 if test -z "$ac_cpp_err"; then 3798 ac_header_preproc=yes 3799 else 3800 echo "$as_me: failed program was:" >&5 3801 sed 's/^/| /' conftest.$ac_ext >&5 3802 3803 ac_header_preproc=no 3804 fi 3805 rm -f conftest.err conftest.$ac_ext 3806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3807 echo "${ECHO_T}$ac_header_preproc" >&6 3808 3809 # So? What about this header? 3810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3811 yes:no: ) 3812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3816 ac_header_preproc=yes 3817 ;; 3818 no:yes:* ) 3819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3831 ( 3832 cat <<\_ASBOX 3833 ## ------------------------------- ## 3834 ## Report this to the gdbm lists. ## 3835 ## ------------------------------- ## 3836 _ASBOX 3837 ) | 3838 sed "s/^/$as_me: WARNING: /" >&2 3839 ;; 3840 esac 3841 echo "$as_me:$LINENO: checking for $ac_header" >&5 3842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3843 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3844 echo $ECHO_N "(cached) $ECHO_C" >&6 3845 else 3846 eval "$as_ac_Header=\$ac_header_preproc" 3847 fi 3848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3850 3851 fi 3852 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3853 cat >>confdefs.h <<_ACEOF 3854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4416 #define HAVE_DLFCN_H 1 3855 4417 _ACEOF 3856 4418 … … 3867 4429 file_magic*) 3868 4430 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 3869 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&53870 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 3871 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3872 echo $ECHO_N "(cached) $ECHO_C" >&64431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 4432 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 4433 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 4434 $as_echo_n "(cached) " >&6 3873 4435 else 3874 4436 case $MAGIC_CMD in … … 3922 4484 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3923 4485 if test -n "$MAGIC_CMD"; then 3924 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&53925 echo "${ECHO_T}$MAGIC_CMD" >&6 3926 else 3927 echo "$as_me:$LINENO: result: no" >&53928 echo "${ECHO_T}no" >&6 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 4487 $as_echo "$MAGIC_CMD" >&6; } 4488 else 4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4490 $as_echo "no" >&6; } 3929 4491 fi 3930 4492 3931 4493 if test -z "$lt_cv_path_MAGIC_CMD"; then 3932 4494 if test -n "$ac_tool_prefix"; then 3933 echo "$as_me:$LINENO: checking for file" >&53934 echo $ECHO_N "checking for file... $ECHO_C" >&6 3935 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3936 echo $ECHO_N "(cached) $ECHO_C" >&64495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 4496 $as_echo_n "checking for file... " >&6; } 4497 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 4498 $as_echo_n "(cached) " >&6 3937 4499 else 3938 4500 case $MAGIC_CMD in … … 3986 4548 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3987 4549 if test -n "$MAGIC_CMD"; then 3988 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&53989 echo "${ECHO_T}$MAGIC_CMD" >&6 3990 else 3991 echo "$as_me:$LINENO: result: no" >&53992 echo "${ECHO_T}no" >&6 4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 4551 $as_echo "$MAGIC_CMD" >&6; } 4552 else 4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4554 $as_echo "no" >&6; } 3993 4555 fi 3994 4556 … … 4005 4567 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4006 4568 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4007 echo "$as_me:$LINENO: checking for $ac_word" >&54008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4009 if test "${ac_cv_prog_RANLIB+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&64569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4570 $as_echo_n "checking for $ac_word... " >&6; } 4571 if test "${ac_cv_prog_RANLIB+set}" = set; then : 4572 $as_echo_n "(cached) " >&6 4011 4573 else 4012 4574 if test -n "$RANLIB"; then … … 4018 4580 IFS=$as_save_IFS 4019 4581 test -z "$as_dir" && as_dir=. 4020 for ac_exec_ext in '' $ac_executable_extensions; do4021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4582 for ac_exec_ext in '' $ac_executable_extensions; do 4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4022 4584 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4024 4586 break 2 4025 4587 fi 4026 4588 done 4027 done 4589 done 4590 IFS=$as_save_IFS 4028 4591 4029 4592 fi … … 4031 4594 RANLIB=$ac_cv_prog_RANLIB 4032 4595 if test -n "$RANLIB"; then 4033 echo "$as_me:$LINENO: result: $RANLIB" >&5 4034 echo "${ECHO_T}$RANLIB" >&6 4035 else 4036 echo "$as_me:$LINENO: result: no" >&5 4037 echo "${ECHO_T}no" >&6 4038 fi 4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4597 $as_echo "$RANLIB" >&6; } 4598 else 4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4600 $as_echo "no" >&6; } 4601 fi 4602 4039 4603 4040 4604 fi … … 4043 4607 # Extract the first word of "ranlib", so it can be a program name with args. 4044 4608 set dummy ranlib; ac_word=$2 4045 echo "$as_me:$LINENO: checking for $ac_word" >&54046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4047 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4048 echo $ECHO_N "(cached) $ECHO_C" >&64609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4610 $as_echo_n "checking for $ac_word... " >&6; } 4611 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 4612 $as_echo_n "(cached) " >&6 4049 4613 else 4050 4614 if test -n "$ac_ct_RANLIB"; then … … 4056 4620 IFS=$as_save_IFS 4057 4621 test -z "$as_dir" && as_dir=. 4058 for ac_exec_ext in '' $ac_executable_extensions; do4059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4622 for ac_exec_ext in '' $ac_executable_extensions; do 4623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4060 4624 ac_cv_prog_ac_ct_RANLIB="ranlib" 4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4062 4626 break 2 4063 4627 fi 4064 4628 done 4065 done4066 4067 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4629 done 4630 IFS=$as_save_IFS 4631 4068 4632 fi 4069 4633 fi 4070 4634 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4071 4635 if test -n "$ac_ct_RANLIB"; then 4072 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4073 echo "${ECHO_T}$ac_ct_RANLIB" >&6 4074 else 4075 echo "$as_me:$LINENO: result: no" >&5 4076 echo "${ECHO_T}no" >&6 4077 fi 4078 4079 RANLIB=$ac_ct_RANLIB 4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4637 $as_echo "$ac_ct_RANLIB" >&6; } 4638 else 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4640 $as_echo "no" >&6; } 4641 fi 4642 4643 if test "x$ac_ct_RANLIB" = x; then 4644 RANLIB=":" 4645 else 4646 case $cross_compiling:$ac_tool_warned in 4647 yes:) 4648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4650 ac_tool_warned=yes ;; 4651 esac 4652 RANLIB=$ac_ct_RANLIB 4653 fi 4080 4654 else 4081 4655 RANLIB="$ac_cv_prog_RANLIB" … … 4085 4659 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4086 4660 set dummy ${ac_tool_prefix}strip; ac_word=$2 4087 echo "$as_me:$LINENO: checking for $ac_word" >&54088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4089 if test "${ac_cv_prog_STRIP+set}" = set; then 4090 echo $ECHO_N "(cached) $ECHO_C" >&64661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4662 $as_echo_n "checking for $ac_word... " >&6; } 4663 if test "${ac_cv_prog_STRIP+set}" = set; then : 4664 $as_echo_n "(cached) " >&6 4091 4665 else 4092 4666 if test -n "$STRIP"; then … … 4098 4672 IFS=$as_save_IFS 4099 4673 test -z "$as_dir" && as_dir=. 4100 for ac_exec_ext in '' $ac_executable_extensions; do4101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4674 for ac_exec_ext in '' $ac_executable_extensions; do 4675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4102 4676 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4104 4678 break 2 4105 4679 fi 4106 4680 done 4107 done 4681 done 4682 IFS=$as_save_IFS 4108 4683 4109 4684 fi … … 4111 4686 STRIP=$ac_cv_prog_STRIP 4112 4687 if test -n "$STRIP"; then 4113 echo "$as_me:$LINENO: result: $STRIP" >&5 4114 echo "${ECHO_T}$STRIP" >&6 4115 else 4116 echo "$as_me:$LINENO: result: no" >&5 4117 echo "${ECHO_T}no" >&6 4118 fi 4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4689 $as_echo "$STRIP" >&6; } 4690 else 4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4692 $as_echo "no" >&6; } 4693 fi 4694 4119 4695 4120 4696 fi … … 4123 4699 # Extract the first word of "strip", so it can be a program name with args. 4124 4700 set dummy strip; ac_word=$2 4125 echo "$as_me:$LINENO: checking for $ac_word" >&54126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4127 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4128 echo $ECHO_N "(cached) $ECHO_C" >&64701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4702 $as_echo_n "checking for $ac_word... " >&6; } 4703 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 4704 $as_echo_n "(cached) " >&6 4129 4705 else 4130 4706 if test -n "$ac_ct_STRIP"; then … … 4136 4712 IFS=$as_save_IFS 4137 4713 test -z "$as_dir" && as_dir=. 4138 for ac_exec_ext in '' $ac_executable_extensions; do4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4714 for ac_exec_ext in '' $ac_executable_extensions; do 4715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4140 4716 ac_cv_prog_ac_ct_STRIP="strip" 4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4142 4718 break 2 4143 4719 fi 4144 4720 done 4145 done4146 4147 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 4721 done 4722 IFS=$as_save_IFS 4723 4148 4724 fi 4149 4725 fi 4150 4726 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4151 4727 if test -n "$ac_ct_STRIP"; then 4152 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4153 echo "${ECHO_T}$ac_ct_STRIP" >&6 4154 else 4155 echo "$as_me:$LINENO: result: no" >&5 4156 echo "${ECHO_T}no" >&6 4157 fi 4158 4159 STRIP=$ac_ct_STRIP 4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 4729 $as_echo "$ac_ct_STRIP" >&6; } 4730 else 4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4732 $as_echo "no" >&6; } 4733 fi 4734 4735 if test "x$ac_ct_STRIP" = x; then 4736 STRIP=":" 4737 else 4738 case $cross_compiling:$ac_tool_warned in 4739 yes:) 4740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4742 ac_tool_warned=yes ;; 4743 esac 4744 STRIP=$ac_ct_STRIP 4745 fi 4160 4746 else 4161 4747 STRIP="$ac_cv_prog_STRIP" … … 4166 4752 enable_win32_dll=no 4167 4753 4168 # Check whether --enable-libtool-lock or --disable-libtool-lockwas given.4169 if test "${enable_libtool_lock+set}" = set; then 4170 enableval= "$enable_libtool_lock"4171 4172 fi; 4754 # Check whether --enable-libtool-lock was given. 4755 if test "${enable_libtool_lock+set}" = set; then : 4756 enableval=$enable_libtool_lock; 4757 fi 4758 4173 4759 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 4174 4760 … … 4178 4764 *-*-irix6*) 4179 4765 # Find out which ABI we are using. 4180 echo '#line 4 180"configure"' > conftest.$ac_ext4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"")>&54766 echo '#line 4766 "configure"' > conftest.$ac_ext 4767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 4182 4768 (eval $ac_compile) 2>&5 4183 4769 ac_status=$? 4184 echo "$as_me:$LINENO: \$? = $ac_status" >&54185 (exit $ac_status); }; then4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4771 test $ac_status = 0; }; then 4186 4772 case `/usr/bin/file conftest.$ac_objext` in 4187 4773 *32-bit*) … … 4203 4789 SAVE_CFLAGS="$CFLAGS" 4204 4790 CFLAGS="$CFLAGS -belf" 4205 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 4206 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 4207 if test "${lt_cv_cc_needs_belf+set}" = set; then 4208 echo $ECHO_N "(cached) $ECHO_C" >&6 4209 else 4210 4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 4792 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } 4793 if test "${lt_cv_cc_needs_belf+set}" = set; then : 4794 $as_echo_n "(cached) " >&6 4795 else 4211 4796 4212 4797 ac_ext=c … … 4216 4801 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4217 4802 4218 cat >conftest.$ac_ext <<_ACEOF 4219 /* confdefs.h. */ 4220 _ACEOF 4221 cat confdefs.h >>conftest.$ac_ext 4222 cat >>conftest.$ac_ext <<_ACEOF 4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4223 4804 /* end confdefs.h. */ 4224 4805 … … 4231 4812 } 4232 4813 _ACEOF 4233 rm -f conftest.$ac_objext conftest$ac_exeext 4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4235 (eval $ac_link) 2>conftest.er1 4236 ac_status=$? 4237 grep -v '^ *+' conftest.er1 >conftest.err 4238 rm -f conftest.er1 4239 cat conftest.err >&5 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4241 (exit $ac_status); } && 4242 { ac_try='test -z "$ac_c_werror_flag" 4243 || test ! -s conftest.err' 4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4245 (eval $ac_try) 2>&5 4246 ac_status=$? 4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4248 (exit $ac_status); }; } && 4249 { ac_try='test -s conftest$ac_exeext' 4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4251 (eval $ac_try) 2>&5 4252 ac_status=$? 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 (exit $ac_status); }; }; then 4814 if ac_fn_c_try_link "$LINENO"; then : 4255 4815 lt_cv_cc_needs_belf=yes 4256 4816 else 4257 echo "$as_me: failed program was:" >&5 4258 sed 's/^/| /' conftest.$ac_ext >&5 4259 4260 lt_cv_cc_needs_belf=no 4261 fi 4262 rm -f conftest.err conftest.$ac_objext \ 4263 conftest$ac_exeext conftest.$ac_ext 4817 lt_cv_cc_needs_belf=no 4818 fi 4819 rm -f core conftest.err conftest.$ac_objext \ 4820 conftest$ac_exeext conftest.$ac_ext 4264 4821 ac_ext=c 4265 4822 ac_cpp='$CPP $CPPFLAGS' … … 4269 4826 4270 4827 fi 4271 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&54272 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 4829 $as_echo "$lt_cv_cc_needs_belf" >&6; } 4273 4830 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 4274 4831 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf … … 4372 4929 ## FIXME: this should be a separate macro 4373 4930 ## 4374 echo "$as_me:$LINENO: checking for objdir" >&54375 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 4932 $as_echo_n "checking for objdir... " >&6; } 4376 4933 rm -f .libs 2>/dev/null 4377 4934 mkdir .libs 2>/dev/null … … 4383 4940 fi 4384 4941 rmdir .libs 2>/dev/null 4385 echo "$as_me:$LINENO: result: $objdir" >&54386 echo "${ECHO_T}$objdir" >&6 4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objdir" >&5 4943 $as_echo "$objdir" >&6; } 4387 4944 ## 4388 4945 ## END FIXME … … 4392 4949 ## 4393 4950 4394 # Check whether --with-pic or --without-pic was given. 4395 if test "${with_pic+set}" = set; then 4396 withval="$with_pic" 4397 pic_mode="$withval" 4951 # Check whether --with-pic was given. 4952 if test "${with_pic+set}" = set; then : 4953 withval=$with_pic; pic_mode="$withval" 4398 4954 else 4399 4955 pic_mode=default 4400 fi; 4956 fi 4957 4401 4958 test -z "$pic_mode" && pic_mode=default 4402 4959 … … 4404 4961 # in isolation, and that seeing it set (from the cache) indicates that 4405 4962 # the associated values are set (in the cache) correctly too. 4406 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&54407 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 4408 if test "${lt_cv_prog_cc_pic+set}" = set; then 4409 echo $ECHO_N "(cached) $ECHO_C" >&64963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 4964 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 4965 if test "${lt_cv_prog_cc_pic+set}" = set; then : 4966 $as_echo_n "(cached) " >&6 4410 4967 else 4411 4968 lt_cv_prog_cc_pic= … … 4551 5108 4552 5109 if test -z "$lt_cv_prog_cc_pic"; then 4553 echo "$as_me:$LINENO: result: none" >&54554 echo "${ECHO_T}none" >&6 4555 else 4556 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&54557 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5111 $as_echo "none" >&6; } 5112 else 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_pic" >&5 5114 $as_echo "$lt_cv_prog_cc_pic" >&6; } 4558 5115 4559 5116 # Check to make sure the pic_flag actually works. 4560 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&54561 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 4562 if test "${lt_cv_prog_cc_pic_works+set}" = set; then 4563 echo $ECHO_N "(cached) $ECHO_C" >&65117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 5118 $as_echo_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... " >&6; } 5119 if test "${lt_cv_prog_cc_pic_works+set}" = set; then : 5120 $as_echo_n "(cached) " >&6 4564 5121 else 4565 5122 save_CFLAGS="$CFLAGS" 4566 5123 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" 4567 cat >conftest.$ac_ext <<_ACEOF 4568 /* confdefs.h. */ 4569 _ACEOF 4570 cat confdefs.h >>conftest.$ac_ext 4571 cat >>conftest.$ac_ext <<_ACEOF 5124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4572 5125 /* end confdefs.h. */ 4573 5126 … … 4580 5133 } 4581 5134 _ACEOF 4582 rm -f conftest.$ac_objext 4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4584 (eval $ac_compile) 2>conftest.er1 4585 ac_status=$? 4586 grep -v '^ *+' conftest.er1 >conftest.err 4587 rm -f conftest.er1 4588 cat conftest.err >&5 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4590 (exit $ac_status); } && 4591 { ac_try='test -z "$ac_c_werror_flag" 4592 || test ! -s conftest.err' 4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4594 (eval $ac_try) 2>&5 4595 ac_status=$? 4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4597 (exit $ac_status); }; } && 4598 { ac_try='test -s conftest.$ac_objext' 4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4600 (eval $ac_try) 2>&5 4601 ac_status=$? 4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4603 (exit $ac_status); }; }; then 5135 if ac_fn_c_try_compile "$LINENO"; then : 4604 5136 case $host_os in 4605 5137 hpux9* | hpux10* | hpux11*) … … 4619 5151 4620 5152 else 4621 echo "$as_me: failed program was:" >&5 4622 sed 's/^/| /' conftest.$ac_ext >&5 4623 4624 lt_cv_prog_cc_pic_works=no 4625 4626 fi 4627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5153 lt_cv_prog_cc_pic_works=no 5154 5155 fi 5156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4628 5157 CFLAGS="$save_CFLAGS" 4629 5158 … … 4638 5167 fi 4639 5168 4640 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&54641 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_pic_works" >&5 5170 $as_echo "$lt_cv_prog_cc_pic_works" >&6; } 4642 5171 fi 4643 5172 ## … … 4646 5175 # Check for any special shared library compilation flags. 4647 5176 if test -n "$lt_cv_prog_cc_shlib"; then 4648 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&54649 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}5177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 5178 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} 4650 5179 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : 4651 5180 else 4652 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&54653 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 5182 $as_echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} 4654 5183 lt_cv_prog_cc_can_build_shared=no 4655 5184 fi … … 4658 5187 ## FIXME: this should be a separate macro 4659 5188 ## 4660 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&54661 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 4662 if test "${lt_cv_prog_cc_static_works+set}" = set; then 4663 echo $ECHO_N "(cached) $ECHO_C" >&65189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 5190 $as_echo_n "checking if $compiler static flag $lt_cv_prog_cc_static works... " >&6; } 5191 if test "${lt_cv_prog_cc_static_works+set}" = set; then : 5192 $as_echo_n "(cached) " >&6 4664 5193 else 4665 5194 lt_cv_prog_cc_static_works=no 4666 5195 save_LDFLAGS="$LDFLAGS" 4667 5196 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" 4668 cat >conftest.$ac_ext <<_ACEOF 4669 /* confdefs.h. */ 4670 _ACEOF 4671 cat confdefs.h >>conftest.$ac_ext 4672 cat >>conftest.$ac_ext <<_ACEOF 5197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4673 5198 /* end confdefs.h. */ 4674 5199 … … 4681 5206 } 4682 5207 _ACEOF 4683 rm -f conftest.$ac_objext conftest$ac_exeext 4684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4685 (eval $ac_link) 2>conftest.er1 4686 ac_status=$? 4687 grep -v '^ *+' conftest.er1 >conftest.err 4688 rm -f conftest.er1 4689 cat conftest.err >&5 4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4691 (exit $ac_status); } && 4692 { ac_try='test -z "$ac_c_werror_flag" 4693 || test ! -s conftest.err' 4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4695 (eval $ac_try) 2>&5 4696 ac_status=$? 4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4698 (exit $ac_status); }; } && 4699 { ac_try='test -s conftest$ac_exeext' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; }; then 5208 if ac_fn_c_try_link "$LINENO"; then : 4705 5209 lt_cv_prog_cc_static_works=yes 4706 else 4707 echo "$as_me: failed program was:" >&5 4708 sed 's/^/| /' conftest.$ac_ext >&5 4709 4710 fi 4711 rm -f conftest.err conftest.$ac_objext \ 4712 conftest$ac_exeext conftest.$ac_ext 5210 fi 5211 rm -f core conftest.err conftest.$ac_objext \ 5212 conftest$ac_exeext conftest.$ac_ext 4713 5213 LDFLAGS="$save_LDFLAGS" 4714 5214 … … 4718 5218 # Belt *and* braces to stop my trousers falling down: 4719 5219 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= 4720 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&54721 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_cc_static_works" >&5 5221 $as_echo "$lt_cv_prog_cc_static_works" >&6; } 4722 5222 4723 5223 pic_flag="$lt_cv_prog_cc_pic" … … 4734 5234 ## 4735 5235 # Check to see if options -o and -c are simultaneously supported by compiler 4736 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&54737 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 4738 if test "${lt_cv_compiler_c_o+set}" = set; then 4739 echo $ECHO_N "(cached) $ECHO_C" >&65236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 5237 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 5238 if test "${lt_cv_compiler_c_o+set}" = set; then : 5239 $as_echo_n "(cached) " >&6 4740 5240 else 4741 5241 … … 4754 5254 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 4755 5255 compiler_c_o=no 4756 if { (eval echo configure: 4756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then5256 if { (eval echo configure:5256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 4757 5257 # The compiler can only warn and ignore the option if not recognized 4758 5258 # So say no if there are warnings … … 4778 5278 4779 5279 compiler_c_o=$lt_cv_compiler_c_o 4780 echo "$as_me:$LINENO: result: $compiler_c_o" >&54781 echo "${ECHO_T}$compiler_c_o" >&6 5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_c_o" >&5 5281 $as_echo "$compiler_c_o" >&6; } 4782 5282 4783 5283 if test x"$compiler_c_o" = x"yes"; then 4784 5284 # Check to see if we can write to a .lo 4785 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&54786 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 4787 if test "${lt_cv_compiler_o_lo+set}" = set; then 4788 echo $ECHO_N "(cached) $ECHO_C" >&65285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.lo" >&5 5286 $as_echo_n "checking if $compiler supports -c -o file.lo... " >&6; } 5287 if test "${lt_cv_compiler_o_lo+set}" = set; then : 5288 $as_echo_n "(cached) " >&6 4789 5289 else 4790 5290 … … 4794 5294 save_objext="$ac_objext" 4795 5295 ac_objext=lo 4796 cat >conftest.$ac_ext <<_ACEOF 4797 /* confdefs.h. */ 4798 _ACEOF 4799 cat confdefs.h >>conftest.$ac_ext 4800 cat >>conftest.$ac_ext <<_ACEOF 5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4801 5297 /* end confdefs.h. */ 4802 5298 … … 4809 5305 } 4810 5306 _ACEOF 4811 rm -f conftest.$ac_objext 4812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4813 (eval $ac_compile) 2>conftest.er1 4814 ac_status=$? 4815 grep -v '^ *+' conftest.er1 >conftest.err 4816 rm -f conftest.er1 4817 cat conftest.err >&5 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); } && 4820 { ac_try='test -z "$ac_c_werror_flag" 4821 || test ! -s conftest.err' 4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4823 (eval $ac_try) 2>&5 4824 ac_status=$? 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); }; } && 4827 { ac_try='test -s conftest.$ac_objext' 4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4829 (eval $ac_try) 2>&5 4830 ac_status=$? 4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4832 (exit $ac_status); }; }; then 5307 if ac_fn_c_try_compile "$LINENO"; then : 4833 5308 # The compiler can only warn and ignore the option if not recognized 4834 5309 # So say no if there are warnings … … 4839 5314 fi 4840 5315 4841 else 4842 echo "$as_me: failed program was:" >&5 4843 sed 's/^/| /' conftest.$ac_ext >&5 4844 4845 fi 4846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5316 fi 5317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4847 5318 ac_objext="$save_objext" 4848 5319 CFLAGS="$save_CFLAGS" … … 4851 5322 4852 5323 compiler_o_lo=$lt_cv_compiler_o_lo 4853 echo "$as_me:$LINENO: result: $compiler_o_lo" >&54854 echo "${ECHO_T}$compiler_o_lo" >&6 5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_o_lo" >&5 5325 $as_echo "$compiler_o_lo" >&6; } 4855 5326 else 4856 5327 compiler_o_lo=no … … 4865 5336 if test "$compiler_c_o" = no && test "$need_locks" != no; then 4866 5337 # do not overwrite the value of need_locks provided by the user 4867 echo "$as_me:$LINENO: checking if we can lock with hard links" >&54868 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 5339 $as_echo_n "checking if we can lock with hard links... " >&6; } 4869 5340 hard_links=yes 4870 5341 $rm conftest* … … 4873 5344 ln conftest.a conftest.b 2>&5 || hard_links=no 4874 5345 ln conftest.a conftest.b 2>/dev/null && hard_links=no 4875 echo "$as_me:$LINENO: result: $hard_links" >&54876 echo "${ECHO_T}$hard_links" >&6 5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 5347 $as_echo "$hard_links" >&6; } 4877 5348 if test "$hard_links" = no; then 4878 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&54879 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 5350 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 4880 5351 need_locks=warn 4881 5352 fi … … 4890 5361 if test "$GCC" = yes; then 4891 5362 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler 4892 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&54893 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 5364 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 4894 5365 echo "int some_variable = 0;" > conftest.$ac_ext 4895 5366 save_CFLAGS="$CFLAGS" 4896 5367 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" 4897 5368 compiler_rtti_exceptions=no 4898 cat >conftest.$ac_ext <<_ACEOF 4899 /* confdefs.h. */ 4900 _ACEOF 4901 cat confdefs.h >>conftest.$ac_ext 4902 cat >>conftest.$ac_ext <<_ACEOF 5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4903 5370 /* end confdefs.h. */ 4904 5371 … … 4911 5378 } 4912 5379 _ACEOF 4913 rm -f conftest.$ac_objext 4914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4915 (eval $ac_compile) 2>conftest.er1 4916 ac_status=$? 4917 grep -v '^ *+' conftest.er1 >conftest.err 4918 rm -f conftest.er1 4919 cat conftest.err >&5 4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4921 (exit $ac_status); } && 4922 { ac_try='test -z "$ac_c_werror_flag" 4923 || test ! -s conftest.err' 4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4925 (eval $ac_try) 2>&5 4926 ac_status=$? 4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4928 (exit $ac_status); }; } && 4929 { ac_try='test -s conftest.$ac_objext' 4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4931 (eval $ac_try) 2>&5 4932 ac_status=$? 4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 (exit $ac_status); }; }; then 5380 if ac_fn_c_try_compile "$LINENO"; then : 4935 5381 # The compiler can only warn and ignore the option if not recognized 4936 5382 # So say no if there are warnings … … 4941 5387 fi 4942 5388 4943 else 4944 echo "$as_me: failed program was:" >&5 4945 sed 's/^/| /' conftest.$ac_ext >&5 4946 4947 fi 4948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5389 fi 5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4949 5391 CFLAGS="$save_CFLAGS" 4950 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&54951 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_rtti_exceptions" >&5 5393 $as_echo "$compiler_rtti_exceptions" >&6; } 4952 5394 4953 5395 if test "$compiler_rtti_exceptions" = "yes"; then … … 4963 5405 ## 4964 5406 # See if the linker supports building shared libraries. 4965 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&54966 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker ($LD) supports shared libraries" >&5 5408 $as_echo_n "checking whether the linker ($LD) supports shared libraries... " >&6; } 4967 5409 4968 5410 allow_undefined_flag= … … 5643 6085 esac 5644 6086 fi 5645 echo "$as_me:$LINENO: result: $ld_shlibs" >&55646 echo "${ECHO_T}$ld_shlibs" >&6 6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 6088 $as_echo "$ld_shlibs" >&6; } 5647 6089 test "$ld_shlibs" = no && can_build_shared=no 5648 6090 ## … … 5652 6094 ## 5653 6095 # Check hardcoding attributes. 5654 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&55655 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 6097 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } 5656 6098 hardcode_action= 5657 6099 if test -n "$hardcode_libdir_flag_spec" || \ … … 5676 6118 hardcode_action=unsupported 5677 6119 fi 5678 echo "$as_me:$LINENO: result: $hardcode_action" >&55679 echo "${ECHO_T}$hardcode_action" >&6 6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 6121 $as_echo "$hardcode_action" >&6; } 5680 6122 ## 5681 6123 ## END FIXME … … 5685 6127 striplib= 5686 6128 old_striplib= 5687 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&55688 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 6130 $as_echo_n "checking whether stripping libraries is possible... " >&6; } 5689 6131 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 5690 6132 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 5691 6133 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 5692 echo "$as_me:$LINENO: result: yes" >&55693 echo "${ECHO_T}yes" >&6 5694 else 5695 echo "$as_me:$LINENO: result: no" >&55696 echo "${ECHO_T}no" >&6 6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6135 $as_echo "yes" >&6; } 6136 else 6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6138 $as_echo "no" >&6; } 5697 6139 fi 5698 6140 ## … … 5705 6147 ## 5706 6148 # PORTME Fill in your ld.so characteristics 5707 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&55708 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 6150 $as_echo_n "checking dynamic linker characteristics... " >&6; } 5709 6151 library_names_spec= 5710 6152 libname_spec='lib$name' … … 6098 6540 ;; 6099 6541 esac 6100 echo "$as_me:$LINENO: result: $dynamic_linker" >&56101 echo "${ECHO_T}$dynamic_linker" >&6 6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 6543 $as_echo "$dynamic_linker" >&6; } 6102 6544 test "$dynamic_linker" = no && can_build_shared=no 6103 6545 ## … … 6107 6549 ## 6108 6550 # Report the final consequences. 6109 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&56110 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 6111 echo "$as_me:$LINENO: result: $can_build_shared" >&56112 echo "${ECHO_T}$can_build_shared" >&6 6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 6552 $as_echo_n "checking if libtool supports shared libraries... " >&6; } 6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 6554 $as_echo "$can_build_shared" >&6; } 6113 6555 ## 6114 6556 ## END FIXME … … 6116 6558 ## FIXME: this should be a separate macro 6117 6559 ## 6118 echo "$as_me:$LINENO: checking whether to build shared libraries" >&56119 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 6561 $as_echo_n "checking whether to build shared libraries... " >&6; } 6120 6562 test "$can_build_shared" = "no" && enable_shared=no 6121 6563 … … 6137 6579 ;; 6138 6580 esac 6139 echo "$as_me:$LINENO: result: $enable_shared" >&56140 echo "${ECHO_T}$enable_shared" >&6 6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 6582 $as_echo "$enable_shared" >&6; } 6141 6583 ## 6142 6584 ## END FIXME … … 6144 6586 ## FIXME: this should be a separate macro 6145 6587 ## 6146 echo "$as_me:$LINENO: checking whether to build static libraries" >&56147 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 6589 $as_echo_n "checking whether to build static libraries... " >&6; } 6148 6590 # Make sure either enable_shared or enable_static is yes. 6149 6591 test "$enable_shared" = yes || enable_static=yes 6150 echo "$as_me:$LINENO: result: $enable_static" >&56151 echo "${ECHO_T}$enable_static" >&6 6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 6593 $as_echo "$enable_static" >&6; } 6152 6594 ## 6153 6595 ## END FIXME … … 6188 6630 6189 6631 *) 6190 echo "$as_me:$LINENO: checking for shl_load" >&5 6191 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 6192 if test "${ac_cv_func_shl_load+set}" = set; then 6193 echo $ECHO_N "(cached) $ECHO_C" >&6 6194 else 6195 cat >conftest.$ac_ext <<_ACEOF 6196 /* confdefs.h. */ 6197 _ACEOF 6198 cat confdefs.h >>conftest.$ac_ext 6199 cat >>conftest.$ac_ext <<_ACEOF 6632 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 6633 if test "x$ac_cv_func_shl_load" = x""yes; then : 6634 lt_cv_dlopen="shl_load" 6635 else 6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 6637 $as_echo_n "checking for shl_load in -ldld... " >&6; } 6638 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 6639 $as_echo_n "(cached) " >&6 6640 else 6641 ac_check_lib_save_LIBS=$LIBS 6642 LIBS="-ldld $LIBS" 6643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6200 6644 /* end confdefs.h. */ 6201 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 6202 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6203 #define shl_load innocuous_shl_load 6204 6205 /* System header to define __stub macros and hopefully few prototypes, 6206 which can conflict with char shl_load (); below. 6207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6208 <limits.h> exists even on freestanding compilers. */ 6209 6210 #ifdef __STDC__ 6211 # include <limits.h> 6212 #else 6213 # include <assert.h> 6214 #endif 6215 6216 #undef shl_load 6217 6218 /* Override any gcc2 internal prototype to avoid an error. */ 6645 6646 /* Override any GCC internal prototype to avoid an error. 6647 Use char because int might match the return type of a GCC 6648 builtin and then its argument prototype would still apply. */ 6219 6649 #ifdef __cplusplus 6220 6650 extern "C" 6221 {6222 6651 #endif 6223 /* We use char because int might match the return type of a gcc26224 builtin and then its argument prototype would still apply. */6225 6652 char shl_load (); 6226 /* The GNU C library defines this for functions which it implements6227 to always fail with ENOSYS. Some functions are actually named6228 something starting with __ and the normal name is an alias. */6229 #if defined (__stub_shl_load) || defined (__stub___shl_load)6230 choke me6231 #else6232 char (*f) () = shl_load;6233 #endif6234 #ifdef __cplusplus6235 }6236 #endif6237 6238 6653 int 6239 6654 main () 6240 6655 { 6241 return f != shl_load;6656 return shl_load (); 6242 6657 ; 6243 6658 return 0; 6244 6659 } 6245 6660 _ACEOF 6246 rm -f conftest.$ac_objext conftest$ac_exeext 6247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6248 (eval $ac_link) 2>conftest.er1 6249 ac_status=$? 6250 grep -v '^ *+' conftest.er1 >conftest.err 6251 rm -f conftest.er1 6252 cat conftest.err >&5 6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6254 (exit $ac_status); } && 6255 { ac_try='test -z "$ac_c_werror_flag" 6256 || test ! -s conftest.err' 6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6258 (eval $ac_try) 2>&5 6259 ac_status=$? 6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6261 (exit $ac_status); }; } && 6262 { ac_try='test -s conftest$ac_exeext' 6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6264 (eval $ac_try) 2>&5 6265 ac_status=$? 6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6267 (exit $ac_status); }; }; then 6268 ac_cv_func_shl_load=yes 6269 else 6270 echo "$as_me: failed program was:" >&5 6271 sed 's/^/| /' conftest.$ac_ext >&5 6272 6273 ac_cv_func_shl_load=no 6274 fi 6275 rm -f conftest.err conftest.$ac_objext \ 6276 conftest$ac_exeext conftest.$ac_ext 6277 fi 6278 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 6279 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 6280 if test $ac_cv_func_shl_load = yes; then 6281 lt_cv_dlopen="shl_load" 6282 else 6283 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 6284 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 6285 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 6286 echo $ECHO_N "(cached) $ECHO_C" >&6 6661 if ac_fn_c_try_link "$LINENO"; then : 6662 ac_cv_lib_dld_shl_load=yes 6663 else 6664 ac_cv_lib_dld_shl_load=no 6665 fi 6666 rm -f core conftest.err conftest.$ac_objext \ 6667 conftest$ac_exeext conftest.$ac_ext 6668 LIBS=$ac_check_lib_save_LIBS 6669 fi 6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 6671 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 6672 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 6673 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 6674 else 6675 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 6676 if test "x$ac_cv_func_dlopen" = x""yes; then : 6677 lt_cv_dlopen="dlopen" 6678 else 6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 6680 $as_echo_n "checking for dlopen in -ldl... " >&6; } 6681 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 6682 $as_echo_n "(cached) " >&6 6287 6683 else 6288 6684 ac_check_lib_save_LIBS=$LIBS 6289 LIBS="-ldld $LIBS" 6290 cat >conftest.$ac_ext <<_ACEOF 6291 /* confdefs.h. */ 6292 _ACEOF 6293 cat confdefs.h >>conftest.$ac_ext 6294 cat >>conftest.$ac_ext <<_ACEOF 6685 LIBS="-ldl $LIBS" 6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6295 6687 /* end confdefs.h. */ 6296 6688 6297 /* Override any gcc2 internal prototype to avoid an error. */ 6689 /* Override any GCC internal prototype to avoid an error. 6690 Use char because int might match the return type of a GCC 6691 builtin and then its argument prototype would still apply. */ 6298 6692 #ifdef __cplusplus 6299 6693 extern "C" 6300 6694 #endif 6301 /* We use char because int might match the return type of a gcc2 6302 builtin and then its argument prototype would still apply. */ 6303 char shl_load (); 6695 char dlopen (); 6304 6696 int 6305 6697 main () 6306 6698 { 6307 shl_load();6699 return dlopen (); 6308 6700 ; 6309 6701 return 0; 6310 6702 } 6311 6703 _ACEOF 6312 rm -f conftest.$ac_objext conftest$ac_exeext 6313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6314 (eval $ac_link) 2>conftest.er1 6315 ac_status=$? 6316 grep -v '^ *+' conftest.er1 >conftest.err 6317 rm -f conftest.er1 6318 cat conftest.err >&5 6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6320 (exit $ac_status); } && 6321 { ac_try='test -z "$ac_c_werror_flag" 6322 || test ! -s conftest.err' 6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6324 (eval $ac_try) 2>&5 6325 ac_status=$? 6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6327 (exit $ac_status); }; } && 6328 { ac_try='test -s conftest$ac_exeext' 6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6330 (eval $ac_try) 2>&5 6331 ac_status=$? 6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6333 (exit $ac_status); }; }; then 6334 ac_cv_lib_dld_shl_load=yes 6335 else 6336 echo "$as_me: failed program was:" >&5 6337 sed 's/^/| /' conftest.$ac_ext >&5 6338 6339 ac_cv_lib_dld_shl_load=no 6340 fi 6341 rm -f conftest.err conftest.$ac_objext \ 6342 conftest$ac_exeext conftest.$ac_ext 6704 if ac_fn_c_try_link "$LINENO"; then : 6705 ac_cv_lib_dl_dlopen=yes 6706 else 6707 ac_cv_lib_dl_dlopen=no 6708 fi 6709 rm -f core conftest.err conftest.$ac_objext \ 6710 conftest$ac_exeext conftest.$ac_ext 6343 6711 LIBS=$ac_check_lib_save_LIBS 6344 6712 fi 6345 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 6346 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 6347 if test $ac_cv_lib_dld_shl_load = yes; then 6348 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" 6349 else 6350 echo "$as_me:$LINENO: checking for dlopen" >&5 6351 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 6352 if test "${ac_cv_func_dlopen+set}" = set; then 6353 echo $ECHO_N "(cached) $ECHO_C" >&6 6354 else 6355 cat >conftest.$ac_ext <<_ACEOF 6356 /* confdefs.h. */ 6357 _ACEOF 6358 cat confdefs.h >>conftest.$ac_ext 6359 cat >>conftest.$ac_ext <<_ACEOF 6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 6714 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 6715 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 6716 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 6717 else 6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 6719 $as_echo_n "checking for dlopen in -lsvld... " >&6; } 6720 if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 6721 $as_echo_n "(cached) " >&6 6722 else 6723 ac_check_lib_save_LIBS=$LIBS 6724 LIBS="-lsvld $LIBS" 6725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6360 6726 /* end confdefs.h. */ 6361 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 6362 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6363 #define dlopen innocuous_dlopen 6364 6365 /* System header to define __stub macros and hopefully few prototypes, 6366 which can conflict with char dlopen (); below. 6367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6368 <limits.h> exists even on freestanding compilers. */ 6369 6370 #ifdef __STDC__ 6371 # include <limits.h> 6372 #else 6373 # include <assert.h> 6374 #endif 6375 6376 #undef dlopen 6377 6378 /* Override any gcc2 internal prototype to avoid an error. */ 6727 6728 /* Override any GCC internal prototype to avoid an error. 6729 Use char because int might match the return type of a GCC 6730 builtin and then its argument prototype would still apply. */ 6379 6731 #ifdef __cplusplus 6380 6732 extern "C" 6381 {6382 6733 #endif 6383 /* We use char because int might match the return type of a gcc26384 builtin and then its argument prototype would still apply. */6385 6734 char dlopen (); 6386 /* The GNU C library defines this for functions which it implements6387 to always fail with ENOSYS. Some functions are actually named6388 something starting with __ and the normal name is an alias. */6389 #if defined (__stub_dlopen) || defined (__stub___dlopen)6390 choke me6391 #else6392 char (*f) () = dlopen;6393 #endif6394 #ifdef __cplusplus6395 }6396 #endif6397 6398 6735 int 6399 6736 main () 6400 6737 { 6401 return f != dlopen;6738 return dlopen (); 6402 6739 ; 6403 6740 return 0; 6404 6741 } 6405 6742 _ACEOF 6406 rm -f conftest.$ac_objext conftest$ac_exeext 6407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6408 (eval $ac_link) 2>conftest.er1 6409 ac_status=$? 6410 grep -v '^ *+' conftest.er1 >conftest.err 6411 rm -f conftest.er1 6412 cat conftest.err >&5 6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6414 (exit $ac_status); } && 6415 { ac_try='test -z "$ac_c_werror_flag" 6416 || test ! -s conftest.err' 6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6418 (eval $ac_try) 2>&5 6419 ac_status=$? 6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); }; } && 6422 { ac_try='test -s conftest$ac_exeext' 6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6424 (eval $ac_try) 2>&5 6425 ac_status=$? 6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6427 (exit $ac_status); }; }; then 6428 ac_cv_func_dlopen=yes 6429 else 6430 echo "$as_me: failed program was:" >&5 6431 sed 's/^/| /' conftest.$ac_ext >&5 6432 6433 ac_cv_func_dlopen=no 6434 fi 6435 rm -f conftest.err conftest.$ac_objext \ 6436 conftest$ac_exeext conftest.$ac_ext 6437 fi 6438 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 6439 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 6440 if test $ac_cv_func_dlopen = yes; then 6441 lt_cv_dlopen="dlopen" 6442 else 6443 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 6444 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 6445 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 6446 echo $ECHO_N "(cached) $ECHO_C" >&6 6743 if ac_fn_c_try_link "$LINENO"; then : 6744 ac_cv_lib_svld_dlopen=yes 6745 else 6746 ac_cv_lib_svld_dlopen=no 6747 fi 6748 rm -f core conftest.err conftest.$ac_objext \ 6749 conftest$ac_exeext conftest.$ac_ext 6750 LIBS=$ac_check_lib_save_LIBS 6751 fi 6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 6753 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 6754 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 6755 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 6756 else 6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 6758 $as_echo_n "checking for dld_link in -ldld... " >&6; } 6759 if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 6760 $as_echo_n "(cached) " >&6 6447 6761 else 6448 6762 ac_check_lib_save_LIBS=$LIBS 6449 LIBS="-ldl $LIBS" 6450 cat >conftest.$ac_ext <<_ACEOF 6451 /* confdefs.h. */ 6452 _ACEOF 6453 cat confdefs.h >>conftest.$ac_ext 6454 cat >>conftest.$ac_ext <<_ACEOF 6763 LIBS="-ldld $LIBS" 6764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6455 6765 /* end confdefs.h. */ 6456 6766 6457 /* Override any gcc2 internal prototype to avoid an error. */ 6767 /* Override any GCC internal prototype to avoid an error. 6768 Use char because int might match the return type of a GCC 6769 builtin and then its argument prototype would still apply. */ 6458 6770 #ifdef __cplusplus 6459 6771 extern "C" 6460 6772 #endif 6461 /* We use char because int might match the return type of a gcc2 6462 builtin and then its argument prototype would still apply. */ 6463 char dlopen (); 6773 char dld_link (); 6464 6774 int 6465 6775 main () 6466 6776 { 6467 dlopen();6777 return dld_link (); 6468 6778 ; 6469 6779 return 0; 6470 6780 } 6471 6781 _ACEOF 6472 rm -f conftest.$ac_objext conftest$ac_exeext 6473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6474 (eval $ac_link) 2>conftest.er1 6475 ac_status=$? 6476 grep -v '^ *+' conftest.er1 >conftest.err 6477 rm -f conftest.er1 6478 cat conftest.err >&5 6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6480 (exit $ac_status); } && 6481 { ac_try='test -z "$ac_c_werror_flag" 6482 || test ! -s conftest.err' 6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6484 (eval $ac_try) 2>&5 6485 ac_status=$? 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); }; } && 6488 { ac_try='test -s conftest$ac_exeext' 6489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6490 (eval $ac_try) 2>&5 6491 ac_status=$? 6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6493 (exit $ac_status); }; }; then 6494 ac_cv_lib_dl_dlopen=yes 6495 else 6496 echo "$as_me: failed program was:" >&5 6497 sed 's/^/| /' conftest.$ac_ext >&5 6498 6499 ac_cv_lib_dl_dlopen=no 6500 fi 6501 rm -f conftest.err conftest.$ac_objext \ 6502 conftest$ac_exeext conftest.$ac_ext 6782 if ac_fn_c_try_link "$LINENO"; then : 6783 ac_cv_lib_dld_dld_link=yes 6784 else 6785 ac_cv_lib_dld_dld_link=no 6786 fi 6787 rm -f core conftest.err conftest.$ac_objext \ 6788 conftest$ac_exeext conftest.$ac_ext 6503 6789 LIBS=$ac_check_lib_save_LIBS 6504 6790 fi 6505 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 6506 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 6507 if test $ac_cv_lib_dl_dlopen = yes; then 6508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 6509 else 6510 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 6511 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 6512 if test "${ac_cv_lib_svld_dlopen+set}" = set; then 6513 echo $ECHO_N "(cached) $ECHO_C" >&6 6514 else 6515 ac_check_lib_save_LIBS=$LIBS 6516 LIBS="-lsvld $LIBS" 6517 cat >conftest.$ac_ext <<_ACEOF 6518 /* confdefs.h. */ 6519 _ACEOF 6520 cat confdefs.h >>conftest.$ac_ext 6521 cat >>conftest.$ac_ext <<_ACEOF 6522 /* end confdefs.h. */ 6523 6524 /* Override any gcc2 internal prototype to avoid an error. */ 6525 #ifdef __cplusplus 6526 extern "C" 6527 #endif 6528 /* We use char because int might match the return type of a gcc2 6529 builtin and then its argument prototype would still apply. */ 6530 char dlopen (); 6531 int 6532 main () 6533 { 6534 dlopen (); 6535 ; 6536 return 0; 6537 } 6538 _ACEOF 6539 rm -f conftest.$ac_objext conftest$ac_exeext 6540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6541 (eval $ac_link) 2>conftest.er1 6542 ac_status=$? 6543 grep -v '^ *+' conftest.er1 >conftest.err 6544 rm -f conftest.er1 6545 cat conftest.err >&5 6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6547 (exit $ac_status); } && 6548 { ac_try='test -z "$ac_c_werror_flag" 6549 || test ! -s conftest.err' 6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6551 (eval $ac_try) 2>&5 6552 ac_status=$? 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6554 (exit $ac_status); }; } && 6555 { ac_try='test -s conftest$ac_exeext' 6556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6557 (eval $ac_try) 2>&5 6558 ac_status=$? 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 (exit $ac_status); }; }; then 6561 ac_cv_lib_svld_dlopen=yes 6562 else 6563 echo "$as_me: failed program was:" >&5 6564 sed 's/^/| /' conftest.$ac_ext >&5 6565 6566 ac_cv_lib_svld_dlopen=no 6567 fi 6568 rm -f conftest.err conftest.$ac_objext \ 6569 conftest$ac_exeext conftest.$ac_ext 6570 LIBS=$ac_check_lib_save_LIBS 6571 fi 6572 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 6573 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 6574 if test $ac_cv_lib_svld_dlopen = yes; then 6575 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 6576 else 6577 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 6578 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 6579 if test "${ac_cv_lib_dld_dld_link+set}" = set; then 6580 echo $ECHO_N "(cached) $ECHO_C" >&6 6581 else 6582 ac_check_lib_save_LIBS=$LIBS 6583 LIBS="-ldld $LIBS" 6584 cat >conftest.$ac_ext <<_ACEOF 6585 /* confdefs.h. */ 6586 _ACEOF 6587 cat confdefs.h >>conftest.$ac_ext 6588 cat >>conftest.$ac_ext <<_ACEOF 6589 /* end confdefs.h. */ 6590 6591 /* Override any gcc2 internal prototype to avoid an error. */ 6592 #ifdef __cplusplus 6593 extern "C" 6594 #endif 6595 /* We use char because int might match the return type of a gcc2 6596 builtin and then its argument prototype would still apply. */ 6597 char dld_link (); 6598 int 6599 main () 6600 { 6601 dld_link (); 6602 ; 6603 return 0; 6604 } 6605 _ACEOF 6606 rm -f conftest.$ac_objext conftest$ac_exeext 6607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6608 (eval $ac_link) 2>conftest.er1 6609 ac_status=$? 6610 grep -v '^ *+' conftest.er1 >conftest.err 6611 rm -f conftest.er1 6612 cat conftest.err >&5 6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6614 (exit $ac_status); } && 6615 { ac_try='test -z "$ac_c_werror_flag" 6616 || test ! -s conftest.err' 6617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6618 (eval $ac_try) 2>&5 6619 ac_status=$? 6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6621 (exit $ac_status); }; } && 6622 { ac_try='test -s conftest$ac_exeext' 6623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6624 (eval $ac_try) 2>&5 6625 ac_status=$? 6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6627 (exit $ac_status); }; }; then 6628 ac_cv_lib_dld_dld_link=yes 6629 else 6630 echo "$as_me: failed program was:" >&5 6631 sed 's/^/| /' conftest.$ac_ext >&5 6632 6633 ac_cv_lib_dld_dld_link=no 6634 fi 6635 rm -f conftest.err conftest.$ac_objext \ 6636 conftest$ac_exeext conftest.$ac_ext 6637 LIBS=$ac_check_lib_save_LIBS 6638 fi 6639 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 6640 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 6641 if test $ac_cv_lib_dld_dld_link = yes; then 6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 6792 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 6793 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 6642 6794 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" 6643 6795 fi … … 6678 6830 LIBS="$lt_cv_dlopen_libs $LIBS" 6679 6831 6680 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&56681 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 6682 if test "${lt_cv_dlopen_self+set}" = set; then 6683 echo $ECHO_N "(cached) $ECHO_C" >&66832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 6833 $as_echo_n "checking whether a program can dlopen itself... " >&6; } 6834 if test "${lt_cv_dlopen_self+set}" = set; then : 6835 $as_echo_n "(cached) " >&6 6684 6836 else 6685 6837 if test "$cross_compiling" = yes; then : … … 6689 6841 lt_status=$lt_dlunknown 6690 6842 cat > conftest.$ac_ext <<EOF 6691 #line 6 691"configure"6843 #line 6843 "configure" 6692 6844 #include "confdefs.h" 6693 6845 … … 6750 6902 } 6751 6903 EOF 6752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&56904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6753 6905 (eval $ac_link) 2>&5 6754 6906 ac_status=$? 6755 echo "$as_me:$LINENO: \$? = $ac_status" >&56756 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then6907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6908 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 6757 6909 (./conftest; exit; ) 2>/dev/null 6758 6910 lt_status=$? … … 6771 6923 6772 6924 fi 6773 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&56774 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 6926 $as_echo "$lt_cv_dlopen_self" >&6; } 6775 6927 6776 6928 if test "x$lt_cv_dlopen_self" = xyes; then 6777 6929 LDFLAGS="$LDFLAGS $link_static_flag" 6778 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&56779 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 6780 if test "${lt_cv_dlopen_self_static+set}" = set; then 6781 echo $ECHO_N "(cached) $ECHO_C" >&66930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 6931 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 6932 if test "${lt_cv_dlopen_self_static+set}" = set; then : 6933 $as_echo_n "(cached) " >&6 6782 6934 else 6783 6935 if test "$cross_compiling" = yes; then : … … 6787 6939 lt_status=$lt_dlunknown 6788 6940 cat > conftest.$ac_ext <<EOF 6789 #line 6 789"configure"6941 #line 6941 "configure" 6790 6942 #include "confdefs.h" 6791 6943 … … 6848 7000 } 6849 7001 EOF 6850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"")>&57002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6851 7003 (eval $ac_link) 2>&5 6852 7004 ac_status=$? 6853 echo "$as_me:$LINENO: \$? = $ac_status" >&56854 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7006 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 6855 7007 (./conftest; exit; ) 2>/dev/null 6856 7008 lt_status=$? … … 6869 7021 6870 7022 fi 6871 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&56872 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 7024 $as_echo "$lt_cv_dlopen_self_static" >&6; } 6873 7025 fi 6874 7026 … … 6902 7054 # systems, -lgcc has to come before -lc. If gcc already passes -lc 6903 7055 # to ld, don't add -lc before -lgcc. 6904 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&56905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 6906 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 6907 echo $ECHO_N "(cached) $ECHO_C" >&67056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 7057 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 7058 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : 7059 $as_echo_n "(cached) " >&6 6908 7060 else 6909 7061 $rm conftest* 6910 7062 echo 'static int dummy;' > conftest.$ac_ext 6911 7063 6912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"")>&57064 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6913 7065 (eval $ac_compile) 2>&5 6914 7066 ac_status=$? 6915 echo "$as_me:$LINENO: \$? = $ac_status" >&56916 (exit $ac_status); }; then7067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7068 test $ac_status = 0; }; then 6917 7069 soname=conftest 6918 7070 lib=conftest … … 6927 7079 save_allow_undefined_flag=$allow_undefined_flag 6928 7080 allow_undefined_flag= 6929 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"")>&57081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5 6930 7082 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 6931 7083 ac_status=$? 6932 echo "$as_me:$LINENO: \$? = $ac_status" >&56933 (exit $ac_status); }7084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7085 test $ac_status = 0; } 6934 7086 then 6935 7087 lt_cv_archive_cmds_need_lc=no … … 6943 7095 fi 6944 7096 6945 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&56946 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 7098 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 6947 7099 ;; 6948 7100 esac … … 7521 7673 7522 7674 7523 7524 cat >>confdefs.h <<_ACEOF 7525 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS 7526 _ACEOF 7527 7528 7529 7530 7531 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7532 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7533 if test "${ac_cv_c_const+set}" = set; then 7534 echo $ECHO_N "(cached) $ECHO_C" >&6 7535 else 7536 cat >conftest.$ac_ext <<_ACEOF 7537 /* confdefs.h. */ 7538 _ACEOF 7539 cat confdefs.h >>conftest.$ac_ext 7540 cat >>conftest.$ac_ext <<_ACEOF 7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 7676 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7677 if test "${ac_cv_c_const+set}" = set; then : 7678 $as_echo_n "(cached) " >&6 7679 else 7680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7541 7681 /* end confdefs.h. */ 7542 7682 … … 7548 7688 /* Ultrix mips cc rejects this. */ 7549 7689 typedef int charset[2]; 7550 const charset x;7690 const charset cs; 7551 7691 /* SunOS 4.1.1 cc rejects this. */ 7552 char const *const * ccp;7553 char **p ;7692 char const *const *pcpcc; 7693 char **ppc; 7554 7694 /* NEC SVR4.0.2 mips cc rejects this. */ 7555 7695 struct point {int x, y;}; … … 7560 7700 expression */ 7561 7701 const char *g = "string"; 7562 ccp= &g + (g ? g-g : 0);7702 pcpcc = &g + (g ? g-g : 0); 7563 7703 /* HPUX 7.0 cc rejects these. */ 7564 ++ ccp;7565 p = (char**) ccp;7566 ccp = (char const *const *) p;7704 ++pcpcc; 7705 ppc = (char**) pcpcc; 7706 pcpcc = (char const *const *) ppc; 7567 7707 { /* SCO 3.2v4 cc rejects this. */ 7568 7708 char *t; … … 7570 7710 7571 7711 *t++ = 0; 7712 if (s) return 0; 7572 7713 } 7573 7714 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 7588 7729 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7589 7730 const int foo = 10; 7731 if (!foo) return 0; 7590 7732 } 7733 return !cs[0] && !zero.x; 7591 7734 #endif 7592 7735 … … 7595 7738 } 7596 7739 _ACEOF 7597 rm -f conftest.$ac_objext 7598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7599 (eval $ac_compile) 2>conftest.er1 7600 ac_status=$? 7601 grep -v '^ *+' conftest.er1 >conftest.err 7602 rm -f conftest.er1 7603 cat conftest.err >&5 7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7605 (exit $ac_status); } && 7606 { ac_try='test -z "$ac_c_werror_flag" 7607 || test ! -s conftest.err' 7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7609 (eval $ac_try) 2>&5 7610 ac_status=$? 7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7612 (exit $ac_status); }; } && 7613 { ac_try='test -s conftest.$ac_objext' 7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7615 (eval $ac_try) 2>&5 7616 ac_status=$? 7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7618 (exit $ac_status); }; }; then 7740 if ac_fn_c_try_compile "$LINENO"; then : 7619 7741 ac_cv_c_const=yes 7620 7742 else 7621 echo "$as_me: failed program was:" >&5 7622 sed 's/^/| /' conftest.$ac_ext >&5 7623 7624 ac_cv_c_const=no 7625 fi 7626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7627 fi 7628 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7629 echo "${ECHO_T}$ac_cv_c_const" >&6 7743 ac_cv_c_const=no 7744 fi 7745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7746 fi 7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 7748 $as_echo "$ac_cv_c_const" >&6; } 7630 7749 if test $ac_cv_c_const = no; then 7631 7750 7632 cat >>confdefs.h <<\_ACEOF 7633 #define const 7751 $as_echo "#define const /**/" >>confdefs.h 7752 7753 fi 7754 7755 for ac_header in stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h memory.y 7756 do : 7757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7758 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7759 eval as_val=\$$as_ac_Header 7760 if test "x$as_val" = x""yes; then : 7761 cat >>confdefs.h <<_ACEOF 7762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7634 7763 _ACEOF 7635 7764 7636 7765 fi 7637 7766 7638 7639 7640 7641 7642 7643 7644 7645 for ac_header in stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h memory.y7646 do7647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7648 if eval "test \"\${$as_ac_Header+set}\" = set"; then7649 echo "$as_me:$LINENO: checking for $ac_header" >&57650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67651 if eval "test \"\${$as_ac_Header+set}\" = set"; then7652 echo $ECHO_N "(cached) $ECHO_C" >&67653 fi7654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67656 else7657 # Is the header compilable?7658 echo "$as_me:$LINENO: checking $ac_header usability" >&57659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67660 cat >conftest.$ac_ext <<_ACEOF7661 /* confdefs.h. */7662 _ACEOF7663 cat confdefs.h >>conftest.$ac_ext7664 cat >>conftest.$ac_ext <<_ACEOF7665 /* end confdefs.h. */7666 $ac_includes_default7667 #include <$ac_header>7668 _ACEOF7669 rm -f conftest.$ac_objext7670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57671 (eval $ac_compile) 2>conftest.er17672 ac_status=$?7673 grep -v '^ *+' conftest.er1 >conftest.err7674 rm -f conftest.er17675 cat conftest.err >&57676 echo "$as_me:$LINENO: \$? = $ac_status" >&57677 (exit $ac_status); } &&7678 { ac_try='test -z "$ac_c_werror_flag"7679 || test ! -s conftest.err'7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57681 (eval $ac_try) 2>&57682 ac_status=$?7683 echo "$as_me:$LINENO: \$? = $ac_status" >&57684 (exit $ac_status); }; } &&7685 { ac_try='test -s conftest.$ac_objext'7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57687 (eval $ac_try) 2>&57688 ac_status=$?7689 echo "$as_me:$LINENO: \$? = $ac_status" >&57690 (exit $ac_status); }; }; then7691 ac_header_compiler=yes7692 else7693 echo "$as_me: failed program was:" >&57694 sed 's/^/| /' conftest.$ac_ext >&57695 7696 ac_header_compiler=no7697 fi7698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57700 echo "${ECHO_T}$ac_header_compiler" >&67701 7702 # Is the header present?7703 echo "$as_me:$LINENO: checking $ac_header presence" >&57704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67705 cat >conftest.$ac_ext <<_ACEOF7706 /* confdefs.h. */7707 _ACEOF7708 cat confdefs.h >>conftest.$ac_ext7709 cat >>conftest.$ac_ext <<_ACEOF7710 /* end confdefs.h. */7711 #include <$ac_header>7712 _ACEOF7713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17715 ac_status=$?7716 grep -v '^ *+' conftest.er1 >conftest.err7717 rm -f conftest.er17718 cat conftest.err >&57719 echo "$as_me:$LINENO: \$? = $ac_status" >&57720 (exit $ac_status); } >/dev/null; then7721 if test -s conftest.err; then7722 ac_cpp_err=$ac_c_preproc_warn_flag7723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7724 else7725 ac_cpp_err=7726 fi7727 else7728 ac_cpp_err=yes7729 fi7730 if test -z "$ac_cpp_err"; then7731 ac_header_preproc=yes7732 else7733 echo "$as_me: failed program was:" >&57734 sed 's/^/| /' conftest.$ac_ext >&57735 7736 ac_header_preproc=no7737 fi7738 rm -f conftest.err conftest.$ac_ext7739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57740 echo "${ECHO_T}$ac_header_preproc" >&67741 7742 # So? What about this header?7743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7744 yes:no: )7745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7749 ac_header_preproc=yes7750 ;;7751 no:yes:* )7752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7764 (7765 cat <<\_ASBOX7766 ## ------------------------------- ##7767 ## Report this to the gdbm lists. ##7768 ## ------------------------------- ##7769 _ASBOX7770 ) |7771 sed "s/^/$as_me: WARNING: /" >&27772 ;;7773 esac7774 echo "$as_me:$LINENO: checking for $ac_header" >&57775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67776 if eval "test \"\${$as_ac_Header+set}\" = set"; then7777 echo $ECHO_N "(cached) $ECHO_C" >&67778 else7779 eval "$as_ac_Header=\$ac_header_preproc"7780 fi7781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67783 7784 fi7785 if test `eval echo '${'$as_ac_Header'}'` = yes; then7786 cat >>confdefs.h <<_ACEOF7787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17788 _ACEOF7789 7790 fi7791 7792 7767 done 7793 7768 7794 7795 echo "$as_me:$LINENO: checking for main in -ldbm" >&5 7796 echo $ECHO_N "checking for main in -ldbm... $ECHO_C" >&6 7797 if test "${ac_cv_lib_dbm_main+set}" = set; then 7798 echo $ECHO_N "(cached) $ECHO_C" >&6 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldbm" >&5 7770 $as_echo_n "checking for main in -ldbm... " >&6; } 7771 if test "${ac_cv_lib_dbm_main+set}" = set; then : 7772 $as_echo_n "(cached) " >&6 7799 7773 else 7800 7774 ac_check_lib_save_LIBS=$LIBS 7801 7775 LIBS="-ldbm $LIBS" 7802 cat >conftest.$ac_ext <<_ACEOF 7803 /* confdefs.h. */ 7804 _ACEOF 7805 cat confdefs.h >>conftest.$ac_ext 7806 cat >>conftest.$ac_ext <<_ACEOF 7776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7807 7777 /* end confdefs.h. */ 7808 7778 … … 7811 7781 main () 7812 7782 { 7813 main ();7783 return main (); 7814 7784 ; 7815 7785 return 0; 7816 7786 } 7817 7787 _ACEOF 7818 rm -f conftest.$ac_objext conftest$ac_exeext 7819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7820 (eval $ac_link) 2>conftest.er1 7821 ac_status=$? 7822 grep -v '^ *+' conftest.er1 >conftest.err 7823 rm -f conftest.er1 7824 cat conftest.err >&5 7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7826 (exit $ac_status); } && 7827 { ac_try='test -z "$ac_c_werror_flag" 7828 || test ! -s conftest.err' 7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7830 (eval $ac_try) 2>&5 7831 ac_status=$? 7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7833 (exit $ac_status); }; } && 7834 { ac_try='test -s conftest$ac_exeext' 7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7836 (eval $ac_try) 2>&5 7837 ac_status=$? 7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7839 (exit $ac_status); }; }; then 7788 if ac_fn_c_try_link "$LINENO"; then : 7840 7789 ac_cv_lib_dbm_main=yes 7841 7790 else 7842 echo "$as_me: failed program was:" >&5 7843 sed 's/^/| /' conftest.$ac_ext >&5 7844 7845 ac_cv_lib_dbm_main=no 7846 fi 7847 rm -f conftest.err conftest.$ac_objext \ 7848 conftest$ac_exeext conftest.$ac_ext 7791 ac_cv_lib_dbm_main=no 7792 fi 7793 rm -f core conftest.err conftest.$ac_objext \ 7794 conftest$ac_exeext conftest.$ac_ext 7849 7795 LIBS=$ac_check_lib_save_LIBS 7850 7796 fi 7851 echo "$as_me:$LINENO: result: $ac_cv_lib_dbm_main" >&57852 echo "${ECHO_T}$ac_cv_lib_dbm_main" >&6 7853 if test $ac_cv_lib_dbm_main = yes; then7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_main" >&5 7798 $as_echo "$ac_cv_lib_dbm_main" >&6; } 7799 if test "x$ac_cv_lib_dbm_main" = x""yes; then : 7854 7800 cat >>confdefs.h <<_ACEOF 7855 7801 #define HAVE_LIBDBM 1 … … 7860 7806 fi 7861 7807 7862 7863 echo "$as_me:$LINENO: checking for main in -lndbm" >&5 7864 echo $ECHO_N "checking for main in -lndbm... $ECHO_C" >&6 7865 if test "${ac_cv_lib_ndbm_main+set}" = set; then 7866 echo $ECHO_N "(cached) $ECHO_C" >&6 7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lndbm" >&5 7809 $as_echo_n "checking for main in -lndbm... " >&6; } 7810 if test "${ac_cv_lib_ndbm_main+set}" = set; then : 7811 $as_echo_n "(cached) " >&6 7867 7812 else 7868 7813 ac_check_lib_save_LIBS=$LIBS 7869 7814 LIBS="-lndbm $LIBS" 7870 cat >conftest.$ac_ext <<_ACEOF 7871 /* confdefs.h. */ 7872 _ACEOF 7873 cat confdefs.h >>conftest.$ac_ext 7874 cat >>conftest.$ac_ext <<_ACEOF 7815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7875 7816 /* end confdefs.h. */ 7876 7817 … … 7879 7820 main () 7880 7821 { 7881 main ();7822 return main (); 7882 7823 ; 7883 7824 return 0; 7884 7825 } 7885 7826 _ACEOF 7886 rm -f conftest.$ac_objext conftest$ac_exeext 7887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7888 (eval $ac_link) 2>conftest.er1 7889 ac_status=$? 7890 grep -v '^ *+' conftest.er1 >conftest.err 7891 rm -f conftest.er1 7892 cat conftest.err >&5 7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7894 (exit $ac_status); } && 7895 { ac_try='test -z "$ac_c_werror_flag" 7896 || test ! -s conftest.err' 7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7898 (eval $ac_try) 2>&5 7899 ac_status=$? 7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7901 (exit $ac_status); }; } && 7902 { ac_try='test -s conftest$ac_exeext' 7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7904 (eval $ac_try) 2>&5 7905 ac_status=$? 7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7907 (exit $ac_status); }; }; then 7827 if ac_fn_c_try_link "$LINENO"; then : 7908 7828 ac_cv_lib_ndbm_main=yes 7909 7829 else 7910 echo "$as_me: failed program was:" >&5 7911 sed 's/^/| /' conftest.$ac_ext >&5 7912 7913 ac_cv_lib_ndbm_main=no 7914 fi 7915 rm -f conftest.err conftest.$ac_objext \ 7916 conftest$ac_exeext conftest.$ac_ext 7830 ac_cv_lib_ndbm_main=no 7831 fi 7832 rm -f core conftest.err conftest.$ac_objext \ 7833 conftest$ac_exeext conftest.$ac_ext 7917 7834 LIBS=$ac_check_lib_save_LIBS 7918 7835 fi 7919 echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_main" >&57920 echo "${ECHO_T}$ac_cv_lib_ndbm_main" >&6 7921 if test $ac_cv_lib_ndbm_main = yes; then7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ndbm_main" >&5 7837 $as_echo "$ac_cv_lib_ndbm_main" >&6; } 7838 if test "x$ac_cv_lib_ndbm_main" = x""yes; then : 7922 7839 cat >>confdefs.h <<_ACEOF 7923 7840 #define HAVE_LIBNDBM 1 … … 7928 7845 fi 7929 7846 7930 7931 7932 7933 7934 7935 7847 for ac_func in rename ftruncate flock bcopy fsync 7936 do 7937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7938 echo "$as_me:$LINENO: checking for $ac_func" >&5 7939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7940 if eval "test \"\${$as_ac_var+set}\" = set"; then 7941 echo $ECHO_N "(cached) $ECHO_C" >&6 7942 else 7943 cat >conftest.$ac_ext <<_ACEOF 7944 /* confdefs.h. */ 7848 do : 7849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 7851 eval as_val=\$$as_ac_var 7852 if test "x$as_val" = x""yes; then : 7853 cat >>confdefs.h <<_ACEOF 7854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7945 7855 _ACEOF 7946 cat confdefs.h >>conftest.$ac_ext 7947 cat >>conftest.$ac_ext <<_ACEOF 7948 /* end confdefs.h. */ 7949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7950 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7951 #define $ac_func innocuous_$ac_func 7952 7953 /* System header to define __stub macros and hopefully few prototypes, 7954 which can conflict with char $ac_func (); below. 7955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7956 <limits.h> exists even on freestanding compilers. */ 7957 7958 #ifdef __STDC__ 7959 # include <limits.h> 7960 #else 7961 # include <assert.h> 7962 #endif 7963 7964 #undef $ac_func 7965 7966 /* Override any gcc2 internal prototype to avoid an error. */ 7967 #ifdef __cplusplus 7968 extern "C" 7969 { 7970 #endif 7971 /* We use char because int might match the return type of a gcc2 7972 builtin and then its argument prototype would still apply. */ 7973 char $ac_func (); 7974 /* The GNU C library defines this for functions which it implements 7975 to always fail with ENOSYS. Some functions are actually named 7976 something starting with __ and the normal name is an alias. */ 7977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7978 choke me 7979 #else 7980 char (*f) () = $ac_func; 7981 #endif 7982 #ifdef __cplusplus 7983 } 7984 #endif 7985 7986 int 7987 main () 7988 { 7989 return f != $ac_func; 7990 ; 7991 return 0; 7992 } 7856 7857 fi 7858 done 7859 7860 for ac_func in getopt 7861 do : 7862 ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt" 7863 if test "x$ac_cv_func_getopt" = x""yes; then : 7864 cat >>confdefs.h <<_ACEOF 7865 #define HAVE_GETOPT 1 7993 7866 _ACEOF 7994 rm -f conftest.$ac_objext conftest$ac_exeext 7995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7996 (eval $ac_link) 2>conftest.er1 7997 ac_status=$? 7998 grep -v '^ *+' conftest.er1 >conftest.err 7999 rm -f conftest.er1 8000 cat conftest.err >&5 8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8002 (exit $ac_status); } && 8003 { ac_try='test -z "$ac_c_werror_flag" 8004 || test ! -s conftest.err' 8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8006 (eval $ac_try) 2>&5 8007 ac_status=$? 8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8009 (exit $ac_status); }; } && 8010 { ac_try='test -s conftest$ac_exeext' 8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8012 (eval $ac_try) 2>&5 8013 ac_status=$? 8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8015 (exit $ac_status); }; }; then 8016 eval "$as_ac_var=yes" 8017 else 8018 echo "$as_me: failed program was:" >&5 8019 sed 's/^/| /' conftest.$ac_ext >&5 8020 8021 eval "$as_ac_var=no" 8022 fi 8023 rm -f conftest.err conftest.$ac_objext \ 8024 conftest$ac_exeext conftest.$ac_ext 8025 fi 8026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8028 if test `eval echo '${'$as_ac_var'}'` = yes; then 8029 cat >>confdefs.h <<_ACEOF 8030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7867 7868 else 7869 case " $LIBOBJS " in 7870 *" $ac_func.$ac_objext "* ) ;; 7871 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 7872 ;; 7873 esac 7874 7875 fi 7876 done 7877 7878 7879 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 7880 if test "x$ac_cv_type_off_t" = x""yes; then : 7881 7882 else 7883 7884 cat >>confdefs.h <<_ACEOF 7885 #define off_t long int 8031 7886 _ACEOF 8032 7887 8033 7888 fi 8034 done 8035 8036 8037 for ac_func in getopt 8038 do 8039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8040 echo "$as_me:$LINENO: checking for $ac_func" >&5 8041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8042 if eval "test \"\${$as_ac_var+set}\" = set"; then 8043 echo $ECHO_N "(cached) $ECHO_C" >&6 8044 else 8045 cat >conftest.$ac_ext <<_ACEOF 8046 /* confdefs.h. */ 8047 _ACEOF 8048 cat confdefs.h >>conftest.$ac_ext 8049 cat >>conftest.$ac_ext <<_ACEOF 8050 /* end confdefs.h. */ 8051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8052 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8053 #define $ac_func innocuous_$ac_func 8054 8055 /* System header to define __stub macros and hopefully few prototypes, 8056 which can conflict with char $ac_func (); below. 8057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8058 <limits.h> exists even on freestanding compilers. */ 8059 8060 #ifdef __STDC__ 8061 # include <limits.h> 8062 #else 8063 # include <assert.h> 8064 #endif 8065 8066 #undef $ac_func 8067 8068 /* Override any gcc2 internal prototype to avoid an error. */ 8069 #ifdef __cplusplus 8070 extern "C" 8071 { 8072 #endif 8073 /* We use char because int might match the return type of a gcc2 8074 builtin and then its argument prototype would still apply. */ 8075 char $ac_func (); 8076 /* The GNU C library defines this for functions which it implements 8077 to always fail with ENOSYS. Some functions are actually named 8078 something starting with __ and the normal name is an alias. */ 8079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8080 choke me 8081 #else 8082 char (*f) () = $ac_func; 8083 #endif 8084 #ifdef __cplusplus 8085 } 8086 #endif 8087 8088 int 8089 main () 8090 { 8091 return f != $ac_func; 8092 ; 8093 return 0; 8094 } 8095 _ACEOF 8096 rm -f conftest.$ac_objext conftest$ac_exeext 8097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8098 (eval $ac_link) 2>conftest.er1 8099 ac_status=$? 8100 grep -v '^ *+' conftest.er1 >conftest.err 8101 rm -f conftest.er1 8102 cat conftest.err >&5 8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8104 (exit $ac_status); } && 8105 { ac_try='test -z "$ac_c_werror_flag" 8106 || test ! -s conftest.err' 8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8108 (eval $ac_try) 2>&5 8109 ac_status=$? 8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8111 (exit $ac_status); }; } && 8112 { ac_try='test -s conftest$ac_exeext' 8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8114 (eval $ac_try) 2>&5 8115 ac_status=$? 8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8117 (exit $ac_status); }; }; then 8118 eval "$as_ac_var=yes" 8119 else 8120 echo "$as_me: failed program was:" >&5 8121 sed 's/^/| /' conftest.$ac_ext >&5 8122 8123 eval "$as_ac_var=no" 8124 fi 8125 rm -f conftest.err conftest.$ac_objext \ 8126 conftest$ac_exeext conftest.$ac_ext 8127 fi 8128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8130 if test `eval echo '${'$as_ac_var'}'` = yes; then 8131 cat >>confdefs.h <<_ACEOF 8132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8133 _ACEOF 8134 8135 else 8136 case $LIBOBJS in 8137 "$ac_func.$ac_objext" | \ 8138 *" $ac_func.$ac_objext" | \ 8139 "$ac_func.$ac_objext "* | \ 8140 *" $ac_func.$ac_objext "* ) ;; 8141 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 8142 esac 8143 8144 fi 8145 done 8146 8147 8148 echo "$as_me:$LINENO: checking for off_t" >&5 8149 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 8150 if test "${ac_cv_type_off_t+set}" = set; then 8151 echo $ECHO_N "(cached) $ECHO_C" >&6 8152 else 8153 cat >conftest.$ac_ext <<_ACEOF 8154 /* confdefs.h. */ 8155 _ACEOF 8156 cat confdefs.h >>conftest.$ac_ext 8157 cat >>conftest.$ac_ext <<_ACEOF 8158 /* end confdefs.h. */ 8159 $ac_includes_default 8160 int 8161 main () 8162 { 8163 if ((off_t *) 0) 8164 return 0; 8165 if (sizeof (off_t)) 8166 return 0; 8167 ; 8168 return 0; 8169 } 8170 _ACEOF 8171 rm -f conftest.$ac_objext 8172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8173 (eval $ac_compile) 2>conftest.er1 8174 ac_status=$? 8175 grep -v '^ *+' conftest.er1 >conftest.err 8176 rm -f conftest.er1 8177 cat conftest.err >&5 8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 (exit $ac_status); } && 8180 { ac_try='test -z "$ac_c_werror_flag" 8181 || test ! -s conftest.err' 8182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8183 (eval $ac_try) 2>&5 8184 ac_status=$? 8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8186 (exit $ac_status); }; } && 8187 { ac_try='test -s conftest.$ac_objext' 8188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8189 (eval $ac_try) 2>&5 8190 ac_status=$? 8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8192 (exit $ac_status); }; }; then 8193 ac_cv_type_off_t=yes 8194 else 8195 echo "$as_me: failed program was:" >&5 8196 sed 's/^/| /' conftest.$ac_ext >&5 8197 8198 ac_cv_type_off_t=no 8199 fi 8200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8201 fi 8202 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 8203 echo "${ECHO_T}$ac_cv_type_off_t" >&6 8204 if test $ac_cv_type_off_t = yes; then 8205 : 8206 else 8207 8208 cat >>confdefs.h <<_ACEOF 8209 #define off_t long 8210 _ACEOF 8211 8212 fi 8213 8214 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 8215 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 8216 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 8217 echo $ECHO_N "(cached) $ECHO_C" >&6 8218 else 8219 cat >conftest.$ac_ext <<_ACEOF 8220 /* confdefs.h. */ 8221 _ACEOF 8222 cat confdefs.h >>conftest.$ac_ext 8223 cat >>conftest.$ac_ext <<_ACEOF 8224 /* end confdefs.h. */ 8225 $ac_includes_default 8226 int 8227 main () 8228 { 8229 static struct stat ac_aggr; 8230 if (ac_aggr.st_blksize) 8231 return 0; 8232 ; 8233 return 0; 8234 } 8235 _ACEOF 8236 rm -f conftest.$ac_objext 8237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8238 (eval $ac_compile) 2>conftest.er1 8239 ac_status=$? 8240 grep -v '^ *+' conftest.er1 >conftest.err 8241 rm -f conftest.er1 8242 cat conftest.err >&5 8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 (exit $ac_status); } && 8245 { ac_try='test -z "$ac_c_werror_flag" 8246 || test ! -s conftest.err' 8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8248 (eval $ac_try) 2>&5 8249 ac_status=$? 8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 (exit $ac_status); }; } && 8252 { ac_try='test -s conftest.$ac_objext' 8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8254 (eval $ac_try) 2>&5 8255 ac_status=$? 8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8257 (exit $ac_status); }; }; then 8258 ac_cv_member_struct_stat_st_blksize=yes 8259 else 8260 echo "$as_me: failed program was:" >&5 8261 sed 's/^/| /' conftest.$ac_ext >&5 8262 8263 cat >conftest.$ac_ext <<_ACEOF 8264 /* confdefs.h. */ 8265 _ACEOF 8266 cat confdefs.h >>conftest.$ac_ext 8267 cat >>conftest.$ac_ext <<_ACEOF 8268 /* end confdefs.h. */ 8269 $ac_includes_default 8270 int 8271 main () 8272 { 8273 static struct stat ac_aggr; 8274 if (sizeof ac_aggr.st_blksize) 8275 return 0; 8276 ; 8277 return 0; 8278 } 8279 _ACEOF 8280 rm -f conftest.$ac_objext 8281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8282 (eval $ac_compile) 2>conftest.er1 8283 ac_status=$? 8284 grep -v '^ *+' conftest.er1 >conftest.err 8285 rm -f conftest.er1 8286 cat conftest.err >&5 8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8288 (exit $ac_status); } && 8289 { ac_try='test -z "$ac_c_werror_flag" 8290 || test ! -s conftest.err' 8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8292 (eval $ac_try) 2>&5 8293 ac_status=$? 8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8295 (exit $ac_status); }; } && 8296 { ac_try='test -s conftest.$ac_objext' 8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8298 (eval $ac_try) 2>&5 8299 ac_status=$? 8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8301 (exit $ac_status); }; }; then 8302 ac_cv_member_struct_stat_st_blksize=yes 8303 else 8304 echo "$as_me: failed program was:" >&5 8305 sed 's/^/| /' conftest.$ac_ext >&5 8306 8307 ac_cv_member_struct_stat_st_blksize=no 8308 fi 8309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8310 fi 8311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8312 fi 8313 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 8314 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 8315 if test $ac_cv_member_struct_stat_st_blksize = yes; then 7889 7890 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" 7891 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then : 8316 7892 8317 7893 cat >>confdefs.h <<_ACEOF … … 8322 7898 fi 8323 7899 8324 7900 ac_config_files="$ac_config_files Makefile" 8325 7901 8326 7902 cat >confcache <<\_ACEOF … … 8342 7918 # The following way of writing the cache mishandles newlines in values, 8343 7919 # but we know of no workaround that is simple, portable, and efficient. 8344 # So, don't put newlines in cache variables' values.7920 # So, we kill variables containing newlines. 8345 7921 # Ultrix sh set writes to stderr and can't be redirected directly, 8346 7922 # and sets the high bit in the cache file unless we assign to the vars. 8347 { 7923 ( 7924 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7925 eval ac_val=\$$ac_var 7926 case $ac_val in #( 7927 *${as_nl}*) 7928 case $ac_var in #( 7929 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7930 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7931 esac 7932 case $ac_var in #( 7933 _ | IFS | as_nl) ;; #( 7934 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7935 *) { eval $ac_var=; unset $ac_var;} ;; 7936 esac ;; 7937 esac 7938 done 7939 8348 7940 (set) 2>&1 | 8349 case `(ac_space=' '; set | grep ac_space) 2>&1` in8350 * ac_space=\ *)8351 # `set' does not quote correctly, so add quotes (double-quote8352 # substitution turns \\\\ into \\, and sed turns \\ into \ ).7941 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7942 *${as_nl}ac_space=\ *) 7943 # `set' does not quote correctly, so add quotes: double-quote 7944 # substitution turns \\\\ into \\, and sed turns \\ into \. 8353 7945 sed -n \ 8354 7946 "s/'/'\\\\''/g; 8355 7947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8356 ;; 7948 ;; #( 8357 7949 *) 8358 7950 # `set' quotes correctly as required by POSIX, so do not add quotes. 8359 sed -n \ 8360 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 7951 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8361 7952 ;; 8362 esac; 8363 } | 7953 esac | 7954 sort 7955 ) | 8364 7956 sed ' 7957 /^ac_cv_env_/b end 8365 7958 t clear 8366 : 7959 :clear 8367 7960 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8368 7961 t end 8369 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8370 : end' >>confcache 8371 if diff $cache_file confcache >/dev/null 2>&1; then :; else 8372 if test -w $cache_file; then 8373 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 7962 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7963 :end' >>confcache 7964 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7965 if test -w "$cache_file"; then 7966 test "x$cache_file" != "x/dev/null" && 7967 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7968 $as_echo "$as_me: updating cache $cache_file" >&6;} 8374 7969 cat confcache >$cache_file 8375 7970 else 8376 echo "not updating unwritable cache $cache_file" 7971 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7972 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8377 7973 fi 8378 7974 fi … … 8382 7978 # Let make expand exec_prefix. 8383 7979 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8384 8385 # VPATH may cause trouble with some makes, so we remove $(srcdir),8386 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and8387 # trailing colons and then remove the whole line if VPATH becomes empty8388 # (actually we leave an empty line to preserve line numbers).8389 if test "x$srcdir" = x.; then8390 ac_vpsub='/^[ ]*VPATH[ ]*=/{8391 s/:*\$(srcdir):*/:/;8392 s/:*\${srcdir}:*/:/;8393 s/:*@srcdir@:*/:/;8394 s/^\([^=]*=[ ]*\):*/\1/;8395 s/:*$//;8396 s/^[^=]*=[ ]*$//;8397 }'8398 fi8399 7980 8400 7981 DEFS=-DHAVE_CONFIG_H … … 8404 7985 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8405 7986 # 1. Remove the extension, and $U if already installed. 8406 ac_i=`echo "$ac_i" | 8407 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 8408 # 2. Add them. 8409 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 8410 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 7987 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7988 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7989 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7990 # will be set to the directory where LIBOBJS objects are built. 7991 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7992 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8411 7993 done 8412 7994 LIBOBJS=$ac_libobjs … … 8417 7999 8418 8000 : ${CONFIG_STATUS=./config.status} 8001 ac_write_fail=0 8419 8002 ac_clean_files_save=$ac_clean_files 8420 8003 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8421 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 8422 echo "$as_me: creating $CONFIG_STATUS" >&6;} 8423 cat >$CONFIG_STATUS <<_ACEOF 8004 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8005 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8006 as_write_fail=0 8007 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8424 8008 #! $SHELL 8425 8009 # Generated by $as_me. … … 8431 8015 ac_cs_recheck=false 8432 8016 ac_cs_silent=false 8017 8433 8018 SHELL=\${CONFIG_SHELL-$SHELL} 8434 _ACEOF 8435 8436 cat >>$CONFIG_STATUS <<\_ACEOF 8437 ## --------------------- ## 8438 ## M4sh Initialization. ## 8439 ## --------------------- ## 8440 8441 # Be Bourne compatible 8442 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8019 export SHELL 8020 _ASEOF 8021 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8022 ## -------------------- ## 8023 ## M4sh Initialization. ## 8024 ## -------------------- ## 8025 8026 # Be more Bourne compatible 8027 DUALCASE=1; export DUALCASE # for MKS sh 8028 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 8443 8029 emulate sh 8444 8030 NULLCMD=: 8445 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which8031 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8446 8032 # is contrary to our usage. Disable this feature. 8447 8033 alias -g '${1+"$@"}'='"$@"' 8448 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8449 set -o posix 8450 fi 8451 DUALCASE=1; export DUALCASE # for MKS sh 8452 8453 # Support unset when possible. 8454 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8455 as_unset=unset 8456 else 8457 as_unset=false 8458 fi 8459 8460 8461 # Work around bugs in pre-3.0 UWIN ksh. 8462 $as_unset ENV MAIL MAILPATH 8034 setopt NO_GLOB_SUBST 8035 else 8036 case `(set -o) 2>/dev/null` in #( 8037 *posix*) : 8038 set -o posix ;; #( 8039 *) : 8040 ;; 8041 esac 8042 fi 8043 8044 8045 as_nl=' 8046 ' 8047 export as_nl 8048 # Printing a long string crashes Solaris 7 /usr/bin/printf. 8049 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8050 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8051 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8052 # Prefer a ksh shell builtin over an external printf program on Solaris, 8053 # but without wasting forks for bash or zsh. 8054 if test -z "$BASH_VERSION$ZSH_VERSION" \ 8055 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8056 as_echo='print -r --' 8057 as_echo_n='print -rn --' 8058 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8059 as_echo='printf %s\n' 8060 as_echo_n='printf %s' 8061 else 8062 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8063 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8064 as_echo_n='/usr/ucb/echo -n' 8065 else 8066 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8067 as_echo_n_body='eval 8068 arg=$1; 8069 case $arg in #( 8070 *"$as_nl"*) 8071 expr "X$arg" : "X\\(.*\\)$as_nl"; 8072 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8073 esac; 8074 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8075 ' 8076 export as_echo_n_body 8077 as_echo_n='sh -c $as_echo_n_body as_echo' 8078 fi 8079 export as_echo_body 8080 as_echo='sh -c $as_echo_body as_echo' 8081 fi 8082 8083 # The user is always right. 8084 if test "${PATH_SEPARATOR+set}" != set; then 8085 PATH_SEPARATOR=: 8086 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8087 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8088 PATH_SEPARATOR=';' 8089 } 8090 fi 8091 8092 8093 # IFS 8094 # We need space, tab and new line, in precisely that order. Quoting is 8095 # there to prevent editors from complaining about space-tab. 8096 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 8097 # splitting by setting IFS to empty value.) 8098 IFS=" "" $as_nl" 8099 8100 # Find who we are. Look in the path if we contain no directory separator. 8101 case $0 in #(( 8102 *[\\/]* ) as_myself=$0 ;; 8103 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8104 for as_dir in $PATH 8105 do 8106 IFS=$as_save_IFS 8107 test -z "$as_dir" && as_dir=. 8108 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8109 done 8110 IFS=$as_save_IFS 8111 8112 ;; 8113 esac 8114 # We did not find ourselves, most probably we were run as `sh COMMAND' 8115 # in which case we are not to be found in the path. 8116 if test "x$as_myself" = x; then 8117 as_myself=$0 8118 fi 8119 if test ! -f "$as_myself"; then 8120 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8121 exit 1 8122 fi 8123 8124 # Unset variables that we do not need and which cause bugs (e.g. in 8125 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8126 # suppresses any "Segmentation fault" message there. '((' could 8127 # trigger a bug in pdksh 5.2.14. 8128 for as_var in BASH_ENV ENV MAIL MAILPATH 8129 do eval test x\${$as_var+set} = xset \ 8130 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8131 done 8463 8132 PS1='$ ' 8464 8133 PS2='> ' … … 8466 8135 8467 8136 # NLS nuisances. 8468 for as_var in \ 8469 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8470 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8471 LC_TELEPHONE LC_TIME 8472 do 8473 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 8474 eval $as_var=C; export $as_var 8475 else 8476 $as_unset $as_var 8137 LC_ALL=C 8138 export LC_ALL 8139 LANGUAGE=C 8140 export LANGUAGE 8141 8142 # CDPATH. 8143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8144 8145 8146 # as_fn_error ERROR [LINENO LOG_FD] 8147 # --------------------------------- 8148 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8149 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8150 # script with status $?, using 1 if that was 0. 8151 as_fn_error () 8152 { 8153 as_status=$?; test $as_status -eq 0 && as_status=1 8154 if test "$3"; then 8155 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8156 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 8477 8157 fi 8478 done 8479 8480 # Required to use basename. 8481 if expr a : '\(a\)' >/dev/null 2>&1; then 8158 $as_echo "$as_me: error: $1" >&2 8159 as_fn_exit $as_status 8160 } # as_fn_error 8161 8162 8163 # as_fn_set_status STATUS 8164 # ----------------------- 8165 # Set $? to STATUS, without forking. 8166 as_fn_set_status () 8167 { 8168 return $1 8169 } # as_fn_set_status 8170 8171 # as_fn_exit STATUS 8172 # ----------------- 8173 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8174 as_fn_exit () 8175 { 8176 set +e 8177 as_fn_set_status $1 8178 exit $1 8179 } # as_fn_exit 8180 8181 # as_fn_unset VAR 8182 # --------------- 8183 # Portably unset VAR. 8184 as_fn_unset () 8185 { 8186 { eval $1=; unset $1;} 8187 } 8188 as_unset=as_fn_unset 8189 # as_fn_append VAR VALUE 8190 # ---------------------- 8191 # Append the text in VALUE to the end of the definition contained in VAR. Take 8192 # advantage of any shell optimizations that allow amortized linear growth over 8193 # repeated appends, instead of the typical quadratic growth present in naive 8194 # implementations. 8195 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8196 eval 'as_fn_append () 8197 { 8198 eval $1+=\$2 8199 }' 8200 else 8201 as_fn_append () 8202 { 8203 eval $1=\$$1\$2 8204 } 8205 fi # as_fn_append 8206 8207 # as_fn_arith ARG... 8208 # ------------------ 8209 # Perform arithmetic evaluation on the ARGs, and store the result in the 8210 # global $as_val. Take advantage of shells that can avoid forks. The arguments 8211 # must be portable across $(()) and expr. 8212 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8213 eval 'as_fn_arith () 8214 { 8215 as_val=$(( $* )) 8216 }' 8217 else 8218 as_fn_arith () 8219 { 8220 as_val=`expr "$@" || test $? -eq 1` 8221 } 8222 fi # as_fn_arith 8223 8224 8225 if expr a : '\(a\)' >/dev/null 2>&1 && 8226 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8482 8227 as_expr=expr 8483 8228 else … … 8485 8230 fi 8486 8231 8487 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then8232 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8488 8233 as_basename=basename 8489 8234 else … … 8491 8236 fi 8492 8237 8493 8494 # Name of the executable. 8495 as_me=`$as_basename "$0" || 8238 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8239 as_dirname=dirname 8240 else 8241 as_dirname=false 8242 fi 8243 8244 as_me=`$as_basename -- "$0" || 8496 8245 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8497 8246 X"$0" : 'X\(//\)$' \| \ 8498 X"$0" : 'X\(/\)$' \| \ 8499 . : '\(.\)' 2>/dev/null || 8500 echo X/"$0" | 8501 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 8502 /^X\/\(\/\/\)$/{ s//\1/; q; } 8503 /^X\/\(\/\).*/{ s//\1/; q; } 8504 s/.*/./; q'` 8505 8506 8507 # PATH needs CR, and LINENO needs CR and PATH. 8247 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8248 $as_echo X/"$0" | 8249 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8250 s//\1/ 8251 q 8252 } 8253 /^X\/\(\/\/\)$/{ 8254 s//\1/ 8255 q 8256 } 8257 /^X\/\(\/\).*/{ 8258 s//\1/ 8259 q 8260 } 8261 s/.*/./; q'` 8262 8508 8263 # Avoid depending upon Character Ranges. 8509 8264 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 8513 8268 as_cr_alnum=$as_cr_Letters$as_cr_digits 8514 8269 8515 # The user is always right. 8516 if test "${PATH_SEPARATOR+set}" != set; then 8517 echo "#! /bin/sh" >conf$$.sh 8518 echo "exit 0" >>conf$$.sh 8519 chmod +x conf$$.sh 8520 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8521 PATH_SEPARATOR=';' 8270 ECHO_C= ECHO_N= ECHO_T= 8271 case `echo -n x` in #((((( 8272 -n*) 8273 case `echo 'xy\c'` in 8274 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8275 xy) ECHO_C='\c';; 8276 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8277 ECHO_T=' ';; 8278 esac;; 8279 *) 8280 ECHO_N='-n';; 8281 esac 8282 8283 rm -f conf$$ conf$$.exe conf$$.file 8284 if test -d conf$$.dir; then 8285 rm -f conf$$.dir/conf$$.file 8286 else 8287 rm -f conf$$.dir 8288 mkdir conf$$.dir 2>/dev/null 8289 fi 8290 if (echo >conf$$.file) 2>/dev/null; then 8291 if ln -s conf$$.file conf$$ 2>/dev/null; then 8292 as_ln_s='ln -s' 8293 # ... but there are two gotchas: 8294 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8295 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8296 # In both cases, we have to default to `cp -p'. 8297 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8298 as_ln_s='cp -p' 8299 elif ln conf$$.file conf$$ 2>/dev/null; then 8300 as_ln_s=ln 8522 8301 else 8523 PATH_SEPARATOR=:8302 as_ln_s='cp -p' 8524 8303 fi 8525 rm -f conf$$.sh 8526 fi 8527 8528 8529 as_lineno_1=$LINENO 8530 as_lineno_2=$LINENO 8531 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8532 test "x$as_lineno_1" != "x$as_lineno_2" && 8533 test "x$as_lineno_3" = "x$as_lineno_2" || { 8534 # Find who we are. Look in the path if we contain no path at all 8535 # relative or not. 8536 case $0 in 8537 *[\\/]* ) as_myself=$0 ;; 8538 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8539 for as_dir in $PATH 8540 do 8541 IFS=$as_save_IFS 8542 test -z "$as_dir" && as_dir=. 8543 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8544 done 8545 8546 ;; 8304 else 8305 as_ln_s='cp -p' 8306 fi 8307 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8308 rmdir conf$$.dir 2>/dev/null 8309 8310 8311 # as_fn_mkdir_p 8312 # ------------- 8313 # Create "$as_dir" as a directory, including parents if necessary. 8314 as_fn_mkdir_p () 8315 { 8316 8317 case $as_dir in #( 8318 -*) as_dir=./$as_dir;; 8547 8319 esac 8548 # We did not find ourselves, most probably we were run as `sh COMMAND' 8549 # in which case we are not to be found in the path. 8550 if test "x$as_myself" = x; then 8551 as_myself=$0 8552 fi 8553 if test ! -f "$as_myself"; then 8554 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 8555 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 8556 { (exit 1); exit 1; }; } 8557 fi 8558 case $CONFIG_SHELL in 8559 '') 8560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8561 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 8562 do 8563 IFS=$as_save_IFS 8564 test -z "$as_dir" && as_dir=. 8565 for as_base in sh bash ksh sh5; do 8566 case $as_dir in 8567 /*) 8568 if ("$as_dir/$as_base" -c ' 8569 as_lineno_1=$LINENO 8570 as_lineno_2=$LINENO 8571 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 8572 test "x$as_lineno_1" != "x$as_lineno_2" && 8573 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 8574 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 8575 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 8576 CONFIG_SHELL=$as_dir/$as_base 8577 export CONFIG_SHELL 8578 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 8579 fi;; 8580 esac 8581 done 8582 done 8583 ;; 8584 esac 8585 8586 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 8587 # uniformly replaced by the line number. The first 'sed' inserts a 8588 # line-number line before each line; the second 'sed' does the real 8589 # work. The second script uses 'N' to pair each line-number line 8590 # with the numbered line, and appends trailing '-' during 8591 # substitution so that $LINENO is not a special case at line end. 8592 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 8593 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 8594 sed '=' <$as_myself | 8595 sed ' 8596 N 8597 s,$,-, 8598 : loop 8599 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 8600 t loop 8601 s,-$,, 8602 s,^['$as_cr_digits']*\n,, 8603 ' >$as_me.lineno && 8604 chmod +x $as_me.lineno || 8605 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 8606 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 8607 { (exit 1); exit 1; }; } 8608 8609 # Don't try to exec as it changes $[0], causing all sort of problems 8610 # (the dirname of $[0] is not the place where we might find the 8611 # original and so on. Autoconf is especially sensible to this). 8612 . ./$as_me.lineno 8613 # Exit status is that of the last command. 8614 exit 8615 } 8616 8617 8618 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 8619 *c*,-n*) ECHO_N= ECHO_C=' 8620 ' ECHO_T=' ' ;; 8621 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 8622 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 8623 esac 8624 8625 if expr a : '\(a\)' >/dev/null 2>&1; then 8626 as_expr=expr 8627 else 8628 as_expr=false 8629 fi 8630 8631 rm -f conf$$ conf$$.exe conf$$.file 8632 echo >conf$$.file 8633 if ln -s conf$$.file conf$$ 2>/dev/null; then 8634 # We could just check for DJGPP; but this test a) works b) is more generic 8635 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 8636 if test -f conf$$.exe; then 8637 # Don't use ln at all; we don't have any links 8638 as_ln_s='cp -p' 8639 else 8640 as_ln_s='ln -s' 8641 fi 8642 elif ln conf$$.file conf$$ 2>/dev/null; then 8643 as_ln_s=ln 8644 else 8645 as_ln_s='cp -p' 8646 fi 8647 rm -f conf$$ conf$$.exe conf$$.file 8648 8320 test -d "$as_dir" || eval $as_mkdir_p || { 8321 as_dirs= 8322 while :; do 8323 case $as_dir in #( 8324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8325 *) as_qdir=$as_dir;; 8326 esac 8327 as_dirs="'$as_qdir' $as_dirs" 8328 as_dir=`$as_dirname -- "$as_dir" || 8329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8330 X"$as_dir" : 'X\(//\)[^/]' \| \ 8331 X"$as_dir" : 'X\(//\)$' \| \ 8332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8333 $as_echo X"$as_dir" | 8334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8335 s//\1/ 8336 q 8337 } 8338 /^X\(\/\/\)[^/].*/{ 8339 s//\1/ 8340 q 8341 } 8342 /^X\(\/\/\)$/{ 8343 s//\1/ 8344 q 8345 } 8346 /^X\(\/\).*/{ 8347 s//\1/ 8348 q 8349 } 8350 s/.*/./; q'` 8351 test -d "$as_dir" && break 8352 done 8353 test -z "$as_dirs" || eval "mkdir $as_dirs" 8354 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 8355 8356 8357 } # as_fn_mkdir_p 8649 8358 if mkdir -p . 2>/dev/null; then 8650 as_mkdir_p= :8359 as_mkdir_p='mkdir -p "$as_dir"' 8651 8360 else 8652 8361 test -d ./-p && rmdir ./-p … … 8654 8363 fi 8655 8364 8656 as_executable_p="test -f" 8365 if test -x / >/dev/null 2>&1; then 8366 as_test_x='test -x' 8367 else 8368 if ls -dL / >/dev/null 2>&1; then 8369 as_ls_L_option=L 8370 else 8371 as_ls_L_option= 8372 fi 8373 as_test_x=' 8374 eval sh -c '\'' 8375 if test -d "$1"; then 8376 test -d "$1/."; 8377 else 8378 case $1 in #( 8379 -*)set "./$1";; 8380 esac; 8381 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8382 ???[sx]*):;;*)false;;esac;fi 8383 '\'' sh 8384 ' 8385 fi 8386 as_executable_p=$as_test_x 8657 8387 8658 8388 # Sed expression to map a string onto a valid CPP name. … … 8663 8393 8664 8394 8665 # IFS8666 # We need space, tab and new line, in precisely that order.8667 as_nl='8668 '8669 IFS=" $as_nl"8670 8671 # CDPATH.8672 $as_unset CDPATH8673 8674 8395 exec 6>&1 8675 8676 # Open the log real soon, to keep \$[0] and so on meaningful, and to 8396 ## ----------------------------------- ## 8397 ## Main body of $CONFIG_STATUS script. ## 8398 ## ----------------------------------- ## 8399 _ASEOF 8400 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8401 8402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8403 # Save the log message, to keep $0 and so on meaningful, and to 8677 8404 # report actual input values of CONFIG_FILES etc. instead of their 8678 # values after options handling. Logging --version etc. is OK. 8405 # values after options handling. 8406 ac_log=" 8407 This file was extended by gdbm $as_me 1.8.3, which was 8408 generated by GNU Autoconf 2.65. Invocation command line was 8409 8410 CONFIG_FILES = $CONFIG_FILES 8411 CONFIG_HEADERS = $CONFIG_HEADERS 8412 CONFIG_LINKS = $CONFIG_LINKS 8413 CONFIG_COMMANDS = $CONFIG_COMMANDS 8414 $ $0 $@ 8415 8416 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8417 " 8418 8419 _ACEOF 8420 8421 case $ac_config_files in *" 8422 "*) set x $ac_config_files; shift; ac_config_files=$*;; 8423 esac 8424 8425 case $ac_config_headers in *" 8426 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8427 esac 8428 8429 8430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8431 # Files that config.status was made for. 8432 config_files="$ac_config_files" 8433 config_headers="$ac_config_headers" 8434 8435 _ACEOF 8436 8437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8438 ac_cs_usage="\ 8439 \`$as_me' instantiates files and other configuration actions 8440 from templates according to the current configuration. Unless the files 8441 and actions are specified as TAGs, all are instantiated by default. 8442 8443 Usage: $0 [OPTION]... [TAG]... 8444 8445 -h, --help print this help, then exit 8446 -V, --version print version number and configuration settings, then exit 8447 --config print configuration, then exit 8448 -q, --quiet, --silent 8449 do not print progress messages 8450 -d, --debug don't remove temporary files 8451 --recheck update $as_me by reconfiguring in the same conditions 8452 --file=FILE[:TEMPLATE] 8453 instantiate the configuration file FILE 8454 --header=FILE[:TEMPLATE] 8455 instantiate the configuration header FILE 8456 8457 Configuration files: 8458 $config_files 8459 8460 Configuration headers: 8461 $config_headers 8462 8463 Report bugs to the package provider." 8464 8465 _ACEOF 8466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8467 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8468 ac_cs_version="\\ 8469 gdbm config.status 1.8.3 8470 configured by $0, generated by GNU Autoconf 2.65, 8471 with options \\"\$ac_cs_config\\" 8472 8473 Copyright (C) 2009 Free Software Foundation, Inc. 8474 This config.status script is free software; the Free Software Foundation 8475 gives unlimited permission to copy, distribute and modify it." 8476 8477 ac_pwd='$ac_pwd' 8478 srcdir='$srcdir' 8479 INSTALL='$INSTALL' 8480 test -n "\$AWK" || AWK=awk 8481 _ACEOF 8482 8483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8484 # The default lists apply if the user does not specify any file. 8485 ac_need_defaults=: 8486 while test $# != 0 8487 do 8488 case $1 in 8489 --*=*) 8490 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8491 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8492 ac_shift=: 8493 ;; 8494 *) 8495 ac_option=$1 8496 ac_optarg=$2 8497 ac_shift=shift 8498 ;; 8499 esac 8500 8501 case $ac_option in 8502 # Handling of the options. 8503 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8504 ac_cs_recheck=: ;; 8505 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8506 $as_echo "$ac_cs_version"; exit ;; 8507 --config | --confi | --conf | --con | --co | --c ) 8508 $as_echo "$ac_cs_config"; exit ;; 8509 --debug | --debu | --deb | --de | --d | -d ) 8510 debug=: ;; 8511 --file | --fil | --fi | --f ) 8512 $ac_shift 8513 case $ac_optarg in 8514 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8515 esac 8516 as_fn_append CONFIG_FILES " '$ac_optarg'" 8517 ac_need_defaults=false;; 8518 --header | --heade | --head | --hea ) 8519 $ac_shift 8520 case $ac_optarg in 8521 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8522 esac 8523 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8524 ac_need_defaults=false;; 8525 --he | --h) 8526 # Conflict between --help and --header 8527 as_fn_error "ambiguous option: \`$1' 8528 Try \`$0 --help' for more information.";; 8529 --help | --hel | -h ) 8530 $as_echo "$ac_cs_usage"; exit ;; 8531 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8532 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8533 ac_cs_silent=: ;; 8534 8535 # This is an error. 8536 -*) as_fn_error "unrecognized option: \`$1' 8537 Try \`$0 --help' for more information." ;; 8538 8539 *) as_fn_append ac_config_targets " $1" 8540 ac_need_defaults=false ;; 8541 8542 esac 8543 shift 8544 done 8545 8546 ac_configure_extra_args= 8547 8548 if $ac_cs_silent; then 8549 exec 6>/dev/null 8550 ac_configure_extra_args="$ac_configure_extra_args --silent" 8551 fi 8552 8553 _ACEOF 8554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8555 if \$ac_cs_recheck; then 8556 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8557 shift 8558 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 8559 CONFIG_SHELL='$SHELL' 8560 export CONFIG_SHELL 8561 exec "\$@" 8562 fi 8563 8564 _ACEOF 8565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8679 8566 exec 5>>config.log 8680 8567 { … … 8683 8570 ## Running $as_me. ## 8684 8571 _ASBOX 8572 $as_echo "$ac_log" 8685 8573 } >&5 8686 cat >&5 <<_CSEOF 8687 8688 This file was extended by gdbm $as_me 1.8.3, which was 8689 generated by GNU Autoconf 2.59. Invocation command line was 8690 8691 CONFIG_FILES = $CONFIG_FILES 8692 CONFIG_HEADERS = $CONFIG_HEADERS 8693 CONFIG_LINKS = $CONFIG_LINKS 8694 CONFIG_COMMANDS = $CONFIG_COMMANDS 8695 $ $0 $@ 8696 8697 _CSEOF 8698 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 8699 echo >&5 8574 8700 8575 _ACEOF 8701 8702 # Files that config.status was made for. 8703 if test -n "$ac_config_files"; then 8704 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 8705 fi 8706 8707 if test -n "$ac_config_headers"; then 8708 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 8709 fi 8710 8711 if test -n "$ac_config_links"; then 8712 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 8713 fi 8714 8715 if test -n "$ac_config_commands"; then 8716 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 8717 fi 8718 8719 cat >>$CONFIG_STATUS <<\_ACEOF 8720 8721 ac_cs_usage="\ 8722 \`$as_me' instantiates files from templates according to the 8723 current configuration. 8724 8725 Usage: $0 [OPTIONS] [FILE]... 8726 8727 -h, --help print this help, then exit 8728 -V, --version print version number, then exit 8729 -q, --quiet do not print progress messages 8730 -d, --debug don't remove temporary files 8731 --recheck update $as_me by reconfiguring in the same conditions 8732 --file=FILE[:TEMPLATE] 8733 instantiate the configuration file FILE 8734 --header=FILE[:TEMPLATE] 8735 instantiate the configuration header FILE 8736 8737 Configuration files: 8738 $config_files 8739 8740 Configuration headers: 8741 $config_headers 8742 8743 Report bugs to <[email protected]>." 8576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8744 8577 _ACEOF 8745 8578 8746 cat >>$CONFIG_STATUS <<_ACEOF 8747 ac_cs_version="\\ 8748 gdbm config.status 1.8.3 8749 configured by $0, generated by GNU Autoconf 2.59, 8750 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8751 8752 Copyright (C) 2003 Free Software Foundation, Inc. 8753 This config.status script is free software; the Free Software Foundation 8754 gives unlimited permission to copy, distribute and modify it." 8755 srcdir=$srcdir 8756 INSTALL="$INSTALL" 8757 _ACEOF 8758 8759 cat >>$CONFIG_STATUS <<\_ACEOF 8760 # If no file are specified by the user, then we need to provide default 8761 # value. By we need to know if files were specified by the user. 8762 ac_need_defaults=: 8763 while test $# != 0 8764 do 8765 case $1 in 8766 --*=*) 8767 ac_option=`expr "x$1" : 'x\([^=]*\)='` 8768 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8769 ac_shift=: 8770 ;; 8771 -*) 8772 ac_option=$1 8773 ac_optarg=$2 8774 ac_shift=shift 8775 ;; 8776 *) # This is not an option, so the user has probably given explicit 8777 # arguments. 8778 ac_option=$1 8779 ac_need_defaults=false;; 8780 esac 8781 8782 case $ac_option in 8783 # Handling of the options. 8784 _ACEOF 8785 cat >>$CONFIG_STATUS <<\_ACEOF 8786 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8787 ac_cs_recheck=: ;; 8788 --version | --vers* | -V ) 8789 echo "$ac_cs_version"; exit 0 ;; 8790 --he | --h) 8791 # Conflict between --help and --header 8792 { { echo "$as_me:$LINENO: error: ambiguous option: $1 8793 Try \`$0 --help' for more information." >&5 8794 echo "$as_me: error: ambiguous option: $1 8795 Try \`$0 --help' for more information." >&2;} 8796 { (exit 1); exit 1; }; };; 8797 --help | --hel | -h ) 8798 echo "$ac_cs_usage"; exit 0 ;; 8799 --debug | --d* | -d ) 8800 debug=: ;; 8801 --file | --fil | --fi | --f ) 8802 $ac_shift 8803 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8804 ac_need_defaults=false;; 8805 --header | --heade | --head | --hea ) 8806 $ac_shift 8807 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8808 ac_need_defaults=false;; 8809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8810 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8811 ac_cs_silent=: ;; 8812 8813 # This is an error. 8814 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 8815 Try \`$0 --help' for more information." >&5 8816 echo "$as_me: error: unrecognized option: $1 8817 Try \`$0 --help' for more information." >&2;} 8818 { (exit 1); exit 1; }; } ;; 8819 8820 *) ac_config_targets="$ac_config_targets $1" ;; 8821 8822 esac 8823 shift 8824 done 8825 8826 ac_configure_extra_args= 8827 8828 if $ac_cs_silent; then 8829 exec 6>/dev/null 8830 ac_configure_extra_args="$ac_configure_extra_args --silent" 8831 fi 8832 8833 _ACEOF 8834 cat >>$CONFIG_STATUS <<_ACEOF 8835 if \$ac_cs_recheck; then 8836 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8837 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8838 fi 8839 8840 _ACEOF 8841 8842 8843 8844 8845 8846 cat >>$CONFIG_STATUS <<\_ACEOF 8579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8580 8581 # Handling of arguments. 8847 8582 for ac_config_target in $ac_config_targets 8848 8583 do 8849 case "$ac_config_target" in 8850 # Handling of arguments. 8851 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8852 "autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; 8853 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8854 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8855 { (exit 1); exit 1; }; };; 8584 case $ac_config_target in 8585 "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; 8586 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8587 8588 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8856 8589 esac 8857 8590 done 8591 8858 8592 8859 8593 # If the user did not use the arguments to specify the items to instantiate, … … 8867 8601 8868 8602 # Have a temporary directory for convenience. Make it in the build tree 8869 # simply because there is no reason to putit here, and in addition,8603 # simply because there is no reason against having it here, and in addition, 8870 8604 # creating and moving files from /tmp can sometimes cause problems. 8871 # Create a temporary directory, and hook for its removal unless debugging. 8605 # Hook for its removal unless debugging. 8606 # Note that there is a small window in which the directory will not be cleaned: 8607 # after its creation but before its name has been assigned to `$tmp'. 8872 8608 $debug || 8873 8609 { 8874 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8875 trap '{ (exit 1); exit 1; }' 1 2 13 15 8610 tmp= 8611 trap 'exit_status=$? 8612 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8613 ' 0 8614 trap 'as_fn_exit 1' 1 2 13 15 8876 8615 } 8877 8878 8616 # Create a (secure) tmp directory for tmp files. 8879 8617 8880 8618 { 8881 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&8619 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8882 8620 test -n "$tmp" && test -d "$tmp" 8883 8621 } || 8884 8622 { 8885 tmp=./confstat$$-$RANDOM 8886 (umask 077 && mkdir $tmp) 8887 } || 8623 tmp=./conf$$-$RANDOM 8624 (umask 077 && mkdir "$tmp") 8625 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 8626 8627 # Set up the scripts for CONFIG_FILES section. 8628 # No need to generate them if there are no CONFIG_FILES. 8629 # This happens for instance with `./config.status config.h'. 8630 if test -n "$CONFIG_FILES"; then 8631 8632 8633 ac_cr=`echo X | tr X '\015'` 8634 # On cygwin, bash can eat \r inside `` if the user requested igncr. 8635 # But we know of no other shell where ac_cr would be empty at this 8636 # point, so we can use a bashism as a fallback. 8637 if test "x$ac_cr" = x; then 8638 eval ac_cr=\$\'\\r\' 8639 fi 8640 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8641 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8642 ac_cs_awk_cr='\r' 8643 else 8644 ac_cs_awk_cr=$ac_cr 8645 fi 8646 8647 echo 'BEGIN {' >"$tmp/subs1.awk" && 8648 _ACEOF 8649 8650 8888 8651 { 8889 echo "$me: cannot create a temporary directory in ." >&2 8890 { (exit 1); exit 1; } 8652 echo "cat >conf$$subs.awk <<_ACEOF" && 8653 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8654 echo "_ACEOF" 8655 } >conf$$subs.sh || 8656 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8657 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 8658 ac_delim='%!_!# ' 8659 for ac_last_try in false false false false false :; do 8660 . ./conf$$subs.sh || 8661 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8662 8663 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8664 if test $ac_delim_n = $ac_delim_num; then 8665 break 8666 elif $ac_last_try; then 8667 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8668 else 8669 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8670 fi 8671 done 8672 rm -f conf$$subs.sh 8673 8674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8675 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 8676 _ACEOF 8677 sed -n ' 8678 h 8679 s/^/S["/; s/!.*/"]=/ 8680 p 8681 g 8682 s/^[^!]*!// 8683 :repl 8684 t repl 8685 s/'"$ac_delim"'$// 8686 t delim 8687 :nl 8688 h 8689 s/\(.\{148\}\)..*/\1/ 8690 t more1 8691 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8692 p 8693 n 8694 b repl 8695 :more1 8696 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8697 p 8698 g 8699 s/.\{148\}// 8700 t nl 8701 :delim 8702 h 8703 s/\(.\{148\}\)..*/\1/ 8704 t more2 8705 s/["\\]/\\&/g; s/^/"/; s/$/"/ 8706 p 8707 b 8708 :more2 8709 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8710 p 8711 g 8712 s/.\{148\}// 8713 t delim 8714 ' <conf$$subs.awk | sed ' 8715 /^[^""]/{ 8716 N 8717 s/\n// 8891 8718 } 8892 8719 ' >>$CONFIG_STATUS || ac_write_fail=1 8720 rm -f conf$$subs.awk 8721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8722 _ACAWK 8723 cat >>"\$tmp/subs1.awk" <<_ACAWK && 8724 for (key in S) S_is_set[key] = 1 8725 FS = "" 8726 8727 } 8728 { 8729 line = $ 0 8730 nfields = split(line, field, "@") 8731 substed = 0 8732 len = length(field[1]) 8733 for (i = 2; i < nfields; i++) { 8734 key = field[i] 8735 keylen = length(key) 8736 if (S_is_set[key]) { 8737 value = S[key] 8738 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8739 len += length(value) + length(field[++i]) 8740 substed = 1 8741 } else 8742 len += 1 + keylen 8743 } 8744 8745 print line 8746 } 8747 8748 _ACAWK 8893 8749 _ACEOF 8894 8895 cat >>$CONFIG_STATUS <<_ACEOF 8896 8897 # 8898 # CONFIG_FILES section. 8899 # 8900 8901 # No need to generate the scripts if there are no CONFIG_FILES. 8902 # This happens for instance when ./config.status config.h 8903 if test -n "\$CONFIG_FILES"; then 8904 # Protect against being on the right side of a sed subst in config.status. 8905 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 8906 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 8907 s,@SHELL@,$SHELL,;t t 8908 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 8909 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 8910 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 8911 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 8912 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 8913 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 8914 s,@exec_prefix@,$exec_prefix,;t t 8915 s,@prefix@,$prefix,;t t 8916 s,@program_transform_name@,$program_transform_name,;t t 8917 s,@bindir@,$bindir,;t t 8918 s,@sbindir@,$sbindir,;t t 8919 s,@libexecdir@,$libexecdir,;t t 8920 s,@datadir@,$datadir,;t t 8921 s,@sysconfdir@,$sysconfdir,;t t 8922 s,@sharedstatedir@,$sharedstatedir,;t t 8923 s,@localstatedir@,$localstatedir,;t t 8924 s,@libdir@,$libdir,;t t 8925 s,@includedir@,$includedir,;t t 8926 s,@oldincludedir@,$oldincludedir,;t t 8927 s,@infodir@,$infodir,;t t 8928 s,@mandir@,$mandir,;t t 8929 s,@build_alias@,$build_alias,;t t 8930 s,@host_alias@,$host_alias,;t t 8931 s,@target_alias@,$target_alias,;t t 8932 s,@DEFS@,$DEFS,;t t 8933 s,@ECHO_C@,$ECHO_C,;t t 8934 s,@ECHO_N@,$ECHO_N,;t t 8935 s,@ECHO_T@,$ECHO_T,;t t 8936 s,@LIBS@,$LIBS,;t t 8937 s,@build@,$build,;t t 8938 s,@build_cpu@,$build_cpu,;t t 8939 s,@build_vendor@,$build_vendor,;t t 8940 s,@build_os@,$build_os,;t t 8941 s,@host@,$host,;t t 8942 s,@host_cpu@,$host_cpu,;t t 8943 s,@host_vendor@,$host_vendor,;t t 8944 s,@host_os@,$host_os,;t t 8945 s,@target@,$target,;t t 8946 s,@target_cpu@,$target_cpu,;t t 8947 s,@target_vendor@,$target_vendor,;t t 8948 s,@target_os@,$target_os,;t t 8949 s,@CC@,$CC,;t t 8950 s,@CFLAGS@,$CFLAGS,;t t 8951 s,@LDFLAGS@,$LDFLAGS,;t t 8952 s,@CPPFLAGS@,$CPPFLAGS,;t t 8953 s,@ac_ct_CC@,$ac_ct_CC,;t t 8954 s,@EXEEXT@,$EXEEXT,;t t 8955 s,@OBJEXT@,$OBJEXT,;t t 8956 s,@CPP@,$CPP,;t t 8957 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8958 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8959 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8960 s,@LN_S@,$LN_S,;t t 8961 s,@ECHO@,$ECHO,;t t 8962 s,@RANLIB@,$RANLIB,;t t 8963 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8964 s,@STRIP@,$STRIP,;t t 8965 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 8966 s,@EGREP@,$EGREP,;t t 8967 s,@LIBTOOL@,$LIBTOOL,;t t 8968 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8969 s,@LIBOBJS@,$LIBOBJS,;t t 8970 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8971 CEOF 8972 8750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8751 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8752 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8753 else 8754 cat 8755 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 8756 || as_fn_error "could not setup config files machinery" "$LINENO" 5 8973 8757 _ACEOF 8974 8758 8975 cat >>$CONFIG_STATUS <<\_ACEOF 8976 # Split the substitutions into bite-sized pieces for seds with 8977 # small command number limits, like on Digital OSF/1 and HP-UX. 8978 ac_max_sed_lines=48 8979 ac_sed_frag=1 # Number of current file. 8980 ac_beg=1 # First line for current file. 8981 ac_end=$ac_max_sed_lines # Line after last line for current file. 8982 ac_more_lines=: 8983 ac_sed_cmds= 8984 while $ac_more_lines; do 8985 if test $ac_beg -gt 1; then 8986 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8987 else 8988 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8759 # VPATH may cause trouble with some makes, so we remove $(srcdir), 8760 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8761 # trailing colons and then remove the whole line if VPATH becomes empty 8762 # (actually we leave an empty line to preserve line numbers). 8763 if test "x$srcdir" = x.; then 8764 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8765 s/:*\$(srcdir):*/:/ 8766 s/:*\${srcdir}:*/:/ 8767 s/:*@srcdir@:*/:/ 8768 s/^\([^=]*=[ ]*\):*/\1/ 8769 s/:*$// 8770 s/^[^=]*=[ ]*$// 8771 }' 8772 fi 8773 8774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8775 fi # test -n "$CONFIG_FILES" 8776 8777 # Set up the scripts for CONFIG_HEADERS section. 8778 # No need to generate them if there are no CONFIG_HEADERS. 8779 # This happens for instance with `./config.status Makefile'. 8780 if test -n "$CONFIG_HEADERS"; then 8781 cat >"$tmp/defines.awk" <<\_ACAWK || 8782 BEGIN { 8783 _ACEOF 8784 8785 # Transform confdefs.h into an awk script `defines.awk', embedded as 8786 # here-document in config.status, that substitutes the proper values into 8787 # config.h.in to produce config.h. 8788 8789 # Create a delimiter string that does not exist in confdefs.h, to ease 8790 # handling of long lines. 8791 ac_delim='%!_!# ' 8792 for ac_last_try in false false :; do 8793 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 8794 if test -z "$ac_t"; then 8795 break 8796 elif $ac_last_try; then 8797 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 8798 else 8799 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8800 fi 8801 done 8802 8803 # For the awk script, D is an array of macro values keyed by name, 8804 # likewise P contains macro parameters if any. Preserve backslash 8805 # newline sequences. 8806 8807 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8808 sed -n ' 8809 s/.\{148\}/&'"$ac_delim"'/g 8810 t rset 8811 :rset 8812 s/^[ ]*#[ ]*define[ ][ ]*/ / 8813 t def 8814 d 8815 :def 8816 s/\\$// 8817 t bsnl 8818 s/["\\]/\\&/g 8819 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8820 D["\1"]=" \3"/p 8821 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 8822 d 8823 :bsnl 8824 s/["\\]/\\&/g 8825 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8826 D["\1"]=" \3\\\\\\n"\\/p 8827 t cont 8828 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 8829 t cont 8830 d 8831 :cont 8832 n 8833 s/.\{148\}/&'"$ac_delim"'/g 8834 t clear 8835 :clear 8836 s/\\$// 8837 t bsnlc 8838 s/["\\]/\\&/g; s/^/"/; s/$/"/p 8839 d 8840 :bsnlc 8841 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 8842 b cont 8843 ' <confdefs.h | sed ' 8844 s/'"$ac_delim"'/"\\\ 8845 "/g' >>$CONFIG_STATUS || ac_write_fail=1 8846 8847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8848 for (key in D) D_is_set[key] = 1 8849 FS = "" 8850 } 8851 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 8852 line = \$ 0 8853 split(line, arg, " ") 8854 if (arg[1] == "#") { 8855 defundef = arg[2] 8856 mac1 = arg[3] 8857 } else { 8858 defundef = substr(arg[1], 2) 8859 mac1 = arg[2] 8860 } 8861 split(mac1, mac2, "(") #) 8862 macro = mac2[1] 8863 prefix = substr(line, 1, index(line, defundef) - 1) 8864 if (D_is_set[macro]) { 8865 # Preserve the white space surrounding the "#". 8866 print prefix "define", macro P[macro] D[macro] 8867 next 8868 } else { 8869 # Replace #undef with comments. This is necessary, for example, 8870 # in the case of _POSIX_SOURCE, which is predefined and required 8871 # on some systems where configure will not decide to define it. 8872 if (defundef == "undef") { 8873 print "/*", prefix defundef, macro, "*/" 8874 next 8875 } 8876 } 8877 } 8878 { print } 8879 _ACAWK 8880 _ACEOF 8881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8882 as_fn_error "could not setup config headers machinery" "$LINENO" 5 8883 fi # test -n "$CONFIG_HEADERS" 8884 8885 8886 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 8887 shift 8888 for ac_tag 8889 do 8890 case $ac_tag in 8891 :[FHLC]) ac_mode=$ac_tag; continue;; 8892 esac 8893 case $ac_mode$ac_tag in 8894 :[FHL]*:*);; 8895 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 8896 :[FH]-) ac_tag=-:-;; 8897 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8898 esac 8899 ac_save_IFS=$IFS 8900 IFS=: 8901 set x $ac_tag 8902 IFS=$ac_save_IFS 8903 shift 8904 ac_file=$1 8905 shift 8906 8907 case $ac_mode in 8908 :L) ac_source=$1;; 8909 :[FH]) 8910 ac_file_inputs= 8911 for ac_f 8912 do 8913 case $ac_f in 8914 -) ac_f="$tmp/stdin";; 8915 *) # Look for the file first in the build tree, then in the source tree 8916 # (if the path is not absolute). The absolute path cannot be DOS-style, 8917 # because $ac_f cannot contain `:'. 8918 test -f "$ac_f" || 8919 case $ac_f in 8920 [\\/$]*) false;; 8921 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8922 esac || 8923 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8924 esac 8925 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8926 as_fn_append ac_file_inputs " '$ac_f'" 8927 done 8928 8929 # Let's still pretend it is `configure' which instantiates (i.e., don't 8930 # use $as_me), people would be surprised to read: 8931 # /* config.h. Generated by config.status. */ 8932 configure_input='Generated from '` 8933 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8934 `' by configure.' 8935 if test x"$ac_file" != x-; then 8936 configure_input="$ac_file. $configure_input" 8937 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8938 $as_echo "$as_me: creating $ac_file" >&6;} 8989 8939 fi 8990 if test ! -s $tmp/subs.frag; then 8991 ac_more_lines=false 8992 else 8993 # The purpose of the label and of the branching condition is to 8994 # speed up the sed processing (if there are no `@' at all, there 8995 # is no need to browse any of the substitutions). 8996 # These are the two extra sed commands mentioned above. 8997 (echo ':t 8998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8999 if test -z "$ac_sed_cmds"; then 9000 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 9001 else 9002 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 9003 fi 9004 ac_sed_frag=`expr $ac_sed_frag + 1` 9005 ac_beg=$ac_end 9006 ac_end=`expr $ac_end + $ac_max_sed_lines` 9007 fi 9008 done 9009 if test -z "$ac_sed_cmds"; then 9010 ac_sed_cmds=cat 9011 fi 9012 fi # test -n "$CONFIG_FILES" 9013 9014 _ACEOF 9015 cat >>$CONFIG_STATUS <<\_ACEOF 9016 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 9017 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9018 case $ac_file in 9019 - | *:- | *:-:* ) # input from stdin 9020 cat >$tmp/stdin 9021 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9022 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9023 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9024 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9025 * ) ac_file_in=$ac_file.in ;; 8940 # Neutralize special characters interpreted by sed in replacement strings. 8941 case $configure_input in #( 8942 *\&* | *\|* | *\\* ) 8943 ac_sed_conf_input=`$as_echo "$configure_input" | 8944 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8945 *) ac_sed_conf_input=$configure_input;; 8946 esac 8947 8948 case $ac_tag in 8949 *:-:* | *:-) cat >"$tmp/stdin" \ 8950 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 8951 esac 8952 ;; 9026 8953 esac 9027 8954 9028 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 9029 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8955 ac_dir=`$as_dirname -- "$ac_file" || 9030 8956 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9031 8957 X"$ac_file" : 'X\(//\)[^/]' \| \ 9032 8958 X"$ac_file" : 'X\(//\)$' \| \ 9033 X"$ac_file" : 'X\(/\)' \| \ 9034 . : '\(.\)' 2>/dev/null || 9035 echo X"$ac_file" | 9036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9037 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9038 /^X\(\/\/\)$/{ s//\1/; q; } 9039 /^X\(\/\).*/{ s//\1/; q; } 9040 s/.*/./; q'` 9041 { if $as_mkdir_p; then 9042 mkdir -p "$ac_dir" 9043 else 9044 as_dir="$ac_dir" 9045 as_dirs= 9046 while test ! -d "$as_dir"; do 9047 as_dirs="$as_dir $as_dirs" 9048 as_dir=`(dirname "$as_dir") 2>/dev/null || 9049 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9050 X"$as_dir" : 'X\(//\)[^/]' \| \ 9051 X"$as_dir" : 'X\(//\)$' \| \ 9052 X"$as_dir" : 'X\(/\)' \| \ 9053 . : '\(.\)' 2>/dev/null || 9054 echo X"$as_dir" | 9055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9056 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9057 /^X\(\/\/\)$/{ s//\1/; q; } 9058 /^X\(\/\).*/{ s//\1/; q; } 9059 s/.*/./; q'` 9060 done 9061 test ! -n "$as_dirs" || mkdir $as_dirs 9062 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9063 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9064 { (exit 1); exit 1; }; }; } 9065 8959 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8960 $as_echo X"$ac_file" | 8961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8962 s//\1/ 8963 q 8964 } 8965 /^X\(\/\/\)[^/].*/{ 8966 s//\1/ 8967 q 8968 } 8969 /^X\(\/\/\)$/{ 8970 s//\1/ 8971 q 8972 } 8973 /^X\(\/\).*/{ 8974 s//\1/ 8975 q 8976 } 8977 s/.*/./; q'` 8978 as_dir="$ac_dir"; as_fn_mkdir_p 9066 8979 ac_builddir=. 9067 8980 9068 if test "$ac_dir" != .; then 9069 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9070 # A "../" for each directory in $ac_dir_suffix. 9071 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9072 else 9073 ac_dir_suffix= ac_top_builddir= 9074 fi 8981 case "$ac_dir" in 8982 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8983 *) 8984 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8985 # A ".." for each directory in $ac_dir_suffix. 8986 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8987 case $ac_top_builddir_sub in 8988 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8989 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8990 esac ;; 8991 esac 8992 ac_abs_top_builddir=$ac_pwd 8993 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8994 # for backward compatibility: 8995 ac_top_builddir=$ac_top_build_prefix 9075 8996 9076 8997 case $srcdir in 9077 .) # No --srcdir option.We are building in place.8998 .) # We are building in place. 9078 8999 ac_srcdir=. 9079 if test -z "$ac_top_builddir"; then 9080 ac_top_srcdir=. 9081 else 9082 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 9083 fi ;; 9084 [\\/]* | ?:[\\/]* ) # Absolute path. 9000 ac_top_srcdir=$ac_top_builddir_sub 9001 ac_abs_top_srcdir=$ac_pwd ;; 9002 [\\/]* | ?:[\\/]* ) # Absolute name. 9085 9003 ac_srcdir=$srcdir$ac_dir_suffix; 9086 ac_top_srcdir=$srcdir ;; 9087 *) # Relative path. 9088 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9089 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9004 ac_top_srcdir=$srcdir 9005 ac_abs_top_srcdir=$srcdir ;; 9006 *) # Relative name. 9007 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9008 ac_top_srcdir=$ac_top_build_prefix$srcdir 9009 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9090 9010 esac 9091 9092 # Do not use `cd foo && pwd` to compute absolute paths, because 9093 # the directories may not exist. 9094 case `pwd` in 9095 .) ac_abs_builddir="$ac_dir";; 9096 *) 9097 case "$ac_dir" in 9098 .) ac_abs_builddir=`pwd`;; 9099 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9100 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9101 esac;; 9102 esac 9103 case $ac_abs_builddir in 9104 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9105 *) 9106 case ${ac_top_builddir}. in 9107 .) ac_abs_top_builddir=$ac_abs_builddir;; 9108 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9109 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9110 esac;; 9111 esac 9112 case $ac_abs_builddir in 9113 .) ac_abs_srcdir=$ac_srcdir;; 9114 *) 9115 case $ac_srcdir in 9116 .) ac_abs_srcdir=$ac_abs_builddir;; 9117 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9118 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9119 esac;; 9120 esac 9121 case $ac_abs_builddir in 9122 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9123 *) 9124 case $ac_top_srcdir in 9125 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9126 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9127 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9128 esac;; 9129 esac 9130 9011 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9012 9013 9014 case $ac_mode in 9015 :F) 9016 # 9017 # CONFIG_FILE 9018 # 9131 9019 9132 9020 case $INSTALL in 9133 9021 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9134 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;9022 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9135 9023 esac 9136 9137 if test x"$ac_file" != x-; then9138 { echo "$as_me:$LINENO: creating $ac_file" >&59139 echo "$as_me: creating $ac_file" >&6;}9140 rm -f "$ac_file"9141 fi9142 # Let's still pretend it is `configure' which instantiates (i.e., don't9143 # use $as_me), people would be surprised to read:9144 # /* config.h. Generated by config.status. */9145 if test x"$ac_file" = x-; then9146 configure_input=9147 else9148 configure_input="$ac_file. "9149 fi9150 configure_input=$configure_input"Generated from `echo $ac_file_in |9151 sed 's,.*/,,'` by configure."9152 9153 # First look for the input files in the build tree, otherwise in the9154 # src tree.9155 ac_file_inputs=`IFS=:9156 for f in $ac_file_in; do9157 case $f in9158 -) echo $tmp/stdin ;;9159 [\\/$]*)9160 # Absolute (can't be DOS-style, as IFS=:)9161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&59162 echo "$as_me: error: cannot find input file: $f" >&2;}9163 { (exit 1); exit 1; }; }9164 echo "$f";;9165 *) # Relative9166 if test -f "$f"; then9167 # Build tree9168 echo "$f"9169 elif test -f "$srcdir/$f"; then9170 # Source tree9171 echo "$srcdir/$f"9172 else9173 # /dev/null tree9174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&59175 echo "$as_me: error: cannot find input file: $f" >&2;}9176 { (exit 1); exit 1; }; }9177 fi;;9178 esac9179 done` || { (exit 1); exit 1; }9180 9024 _ACEOF 9181 cat >>$CONFIG_STATUS <<_ACEOF 9182 sed "$ac_vpsub 9025 9026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9027 # If the template does not know about datarootdir, expand it. 9028 # FIXME: This hack should be removed a few years after 2.60. 9029 ac_datarootdir_hack=; ac_datarootdir_seen= 9030 ac_sed_dataroot=' 9031 /datarootdir/ { 9032 p 9033 q 9034 } 9035 /@datadir@/p 9036 /@docdir@/p 9037 /@infodir@/p 9038 /@localedir@/p 9039 /@mandir@/p' 9040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9041 *datarootdir*) ac_datarootdir_seen=yes;; 9042 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9044 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9045 _ACEOF 9046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9047 ac_datarootdir_hack=' 9048 s&@datadir@&$datadir&g 9049 s&@docdir@&$docdir&g 9050 s&@infodir@&$infodir&g 9051 s&@localedir@&$localedir&g 9052 s&@mandir@&$mandir&g 9053 s&\\\${datarootdir}&$datarootdir&g' ;; 9054 esac 9055 _ACEOF 9056 9057 # Neutralize VPATH when `$srcdir' = `.'. 9058 # Shell code in configure.ac might set extrasub. 9059 # FIXME: do we really want to maintain this feature? 9060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9061 ac_sed_extra="$ac_vpsub 9183 9062 $extrasub 9184 9063 _ACEOF 9185 cat >>$CONFIG_STATUS <<\_ACEOF 9064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9186 9065 :t 9187 9066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9188 s,@configure_input@,$configure_input,;t t 9189 s,@srcdir@,$ac_srcdir,;t t 9190 s,@abs_srcdir@,$ac_abs_srcdir,;t t 9191 s,@top_srcdir@,$ac_top_srcdir,;t t 9192 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 9193 s,@builddir@,$ac_builddir,;t t 9194 s,@abs_builddir@,$ac_abs_builddir,;t t 9195 s,@top_builddir@,$ac_top_builddir,;t t 9196 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 9197 s,@INSTALL@,$ac_INSTALL,;t t 9198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 9199 rm -f $tmp/stdin 9067 s|@configure_input@|$ac_sed_conf_input|;t t 9068 s&@top_builddir@&$ac_top_builddir_sub&;t t 9069 s&@top_build_prefix@&$ac_top_build_prefix&;t t 9070 s&@srcdir@&$ac_srcdir&;t t 9071 s&@abs_srcdir@&$ac_abs_srcdir&;t t 9072 s&@top_srcdir@&$ac_top_srcdir&;t t 9073 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9074 s&@builddir@&$ac_builddir&;t t 9075 s&@abs_builddir@&$ac_abs_builddir&;t t 9076 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9077 s&@INSTALL@&$ac_INSTALL&;t t 9078 $ac_datarootdir_hack 9079 " 9080 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9081 || as_fn_error "could not create $ac_file" "$LINENO" 5 9082 9083 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9084 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9085 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9087 which seems to be undefined. Please make sure it is defined." >&5 9088 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9089 which seems to be undefined. Please make sure it is defined." >&2;} 9090 9091 rm -f "$tmp/stdin" 9092 case $ac_file in 9093 -) cat "$tmp/out" && rm -f "$tmp/out";; 9094 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9095 esac \ 9096 || as_fn_error "could not create $ac_file" "$LINENO" 5 9097 ;; 9098 :H) 9099 # 9100 # CONFIG_HEADER 9101 # 9200 9102 if test x"$ac_file" != x-; then 9201 mv $tmp/out $ac_file 9202 else 9203 cat $tmp/out 9204 rm -f $tmp/out 9205 fi 9206 9207 done 9208 _ACEOF 9209 cat >>$CONFIG_STATUS <<\_ACEOF 9210 9211 # 9212 # CONFIG_HEADER section. 9213 # 9214 9215 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 9216 # NAME is the cpp macro being defined and VALUE is the value it is being given. 9217 # 9218 # ac_d sets the value in "#define NAME VALUE" lines. 9219 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9220 ac_dB='[ ].*$,\1#\2' 9221 ac_dC=' ' 9222 ac_dD=',;t' 9223 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 9224 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 9225 ac_uB='$,\1#\2define\3' 9226 ac_uC=' ' 9227 ac_uD=',;t' 9228 9229 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 9230 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9231 case $ac_file in 9232 - | *:- | *:-:* ) # input from stdin 9233 cat >$tmp/stdin 9234 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9235 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9236 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9237 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 9238 * ) ac_file_in=$ac_file.in ;; 9239 esac 9240 9241 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 9242 echo "$as_me: creating $ac_file" >&6;} 9243 9244 # First look for the input files in the build tree, otherwise in the 9245 # src tree. 9246 ac_file_inputs=`IFS=: 9247 for f in $ac_file_in; do 9248 case $f in 9249 -) echo $tmp/stdin ;; 9250 [\\/$]*) 9251 # Absolute (can't be DOS-style, as IFS=:) 9252 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9253 echo "$as_me: error: cannot find input file: $f" >&2;} 9254 { (exit 1); exit 1; }; } 9255 # Do quote $f, to prevent DOS paths from being IFS'd. 9256 echo "$f";; 9257 *) # Relative 9258 if test -f "$f"; then 9259 # Build tree 9260 echo "$f" 9261 elif test -f "$srcdir/$f"; then 9262 # Source tree 9263 echo "$srcdir/$f" 9264 else 9265 # /dev/null tree 9266 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 9267 echo "$as_me: error: cannot find input file: $f" >&2;} 9268 { (exit 1); exit 1; }; } 9269 fi;; 9270 esac 9271 done` || { (exit 1); exit 1; } 9272 # Remove the trailing spaces. 9273 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 9274 9275 _ACEOF 9276 9277 # Transform confdefs.h into two sed scripts, `conftest.defines' and 9278 # `conftest.undefs', that substitutes the proper values into 9279 # config.h.in to produce config.h. The first handles `#define' 9280 # templates, and the second `#undef' templates. 9281 # And first: Protect against being on the right side of a sed subst in 9282 # config.status. Protect against being in an unquoted here document 9283 # in config.status. 9284 rm -f conftest.defines conftest.undefs 9285 # Using a here document instead of a string reduces the quoting nightmare. 9286 # Putting comments in sed scripts is not portable. 9287 # 9288 # `end' is used to avoid that the second main sed command (meant for 9289 # 0-ary CPP macros) applies to n-ary macro definitions. 9290 # See the Autoconf documentation for `clear'. 9291 cat >confdef2sed.sed <<\_ACEOF 9292 s/[\\&,]/\\&/g 9293 s,[\\$`],\\&,g 9294 t clear 9295 : clear 9296 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 9297 t end 9298 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 9299 : end 9300 _ACEOF 9301 # If some macros were called several times there might be several times 9302 # the same #defines, which is useless. Nevertheless, we may not want to 9303 # sort them, since we want the *last* AC-DEFINE to be honored. 9304 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 9305 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 9306 rm -f confdef2sed.sed 9307 9308 # This sed command replaces #undef with comments. This is necessary, for 9309 # example, in the case of _POSIX_SOURCE, which is predefined and required 9310 # on some systems where configure will not decide to define it. 9311 cat >>conftest.undefs <<\_ACEOF 9312 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 9313 _ACEOF 9314 9315 # Break up conftest.defines because some shells have a limit on the size 9316 # of here documents, and old seds have small limits too (100 cmds). 9317 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 9318 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 9319 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 9320 echo ' :' >>$CONFIG_STATUS 9321 rm -f conftest.tail 9322 while grep . conftest.defines >/dev/null 9323 do 9324 # Write a limited-size here document to $tmp/defines.sed. 9325 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 9326 # Speed up: don't consider the non `#define' lines. 9327 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 9328 # Work around the forget-to-reset-the-flag bug. 9329 echo 't clr' >>$CONFIG_STATUS 9330 echo ': clr' >>$CONFIG_STATUS 9331 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 9332 echo 'CEOF 9333 sed -f $tmp/defines.sed $tmp/in >$tmp/out 9334 rm -f $tmp/in 9335 mv $tmp/out $tmp/in 9336 ' >>$CONFIG_STATUS 9337 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 9338 rm -f conftest.defines 9339 mv conftest.tail conftest.defines 9340 done 9341 rm -f conftest.defines 9342 echo ' fi # grep' >>$CONFIG_STATUS 9343 echo >>$CONFIG_STATUS 9344 9345 # Break up conftest.undefs because some shells have a limit on the size 9346 # of here documents, and old seds have small limits too (100 cmds). 9347 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 9348 rm -f conftest.tail 9349 while grep . conftest.undefs >/dev/null 9350 do 9351 # Write a limited-size here document to $tmp/undefs.sed. 9352 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 9353 # Speed up: don't consider the non `#undef' 9354 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 9355 # Work around the forget-to-reset-the-flag bug. 9356 echo 't clr' >>$CONFIG_STATUS 9357 echo ': clr' >>$CONFIG_STATUS 9358 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 9359 echo 'CEOF 9360 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 9361 rm -f $tmp/in 9362 mv $tmp/out $tmp/in 9363 ' >>$CONFIG_STATUS 9364 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 9365 rm -f conftest.undefs 9366 mv conftest.tail conftest.undefs 9367 done 9368 rm -f conftest.undefs 9369 9370 cat >>$CONFIG_STATUS <<\_ACEOF 9371 # Let's still pretend it is `configure' which instantiates (i.e., don't 9372 # use $as_me), people would be surprised to read: 9373 # /* config.h. Generated by config.status. */ 9374 if test x"$ac_file" = x-; then 9375 echo "/* Generated by configure. */" >$tmp/config.h 9376 else 9377 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 9378 fi 9379 cat $tmp/in >>$tmp/config.h 9380 rm -f $tmp/in 9381 if test x"$ac_file" != x-; then 9382 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 9383 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9384 echo "$as_me: $ac_file is unchanged" >&6;} 9103 { 9104 $as_echo "/* $configure_input */" \ 9105 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9106 } >"$tmp/config.h" \ 9107 || as_fn_error "could not create $ac_file" "$LINENO" 5 9108 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9109 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9110 $as_echo "$as_me: $ac_file is unchanged" >&6;} 9385 9111 else 9386 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9388 X"$ac_file" : 'X\(//\)[^/]' \| \ 9389 X"$ac_file" : 'X\(//\)$' \| \ 9390 X"$ac_file" : 'X\(/\)' \| \ 9391 . : '\(.\)' 2>/dev/null || 9392 echo X"$ac_file" | 9393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9394 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9395 /^X\(\/\/\)$/{ s//\1/; q; } 9396 /^X\(\/\).*/{ s//\1/; q; } 9397 s/.*/./; q'` 9398 { if $as_mkdir_p; then 9399 mkdir -p "$ac_dir" 9400 else 9401 as_dir="$ac_dir" 9402 as_dirs= 9403 while test ! -d "$as_dir"; do 9404 as_dirs="$as_dir $as_dirs" 9405 as_dir=`(dirname "$as_dir") 2>/dev/null || 9406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9407 X"$as_dir" : 'X\(//\)[^/]' \| \ 9408 X"$as_dir" : 'X\(//\)$' \| \ 9409 X"$as_dir" : 'X\(/\)' \| \ 9410 . : '\(.\)' 2>/dev/null || 9411 echo X"$as_dir" | 9412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9413 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9414 /^X\(\/\/\)$/{ s//\1/; q; } 9415 /^X\(\/\).*/{ s//\1/; q; } 9416 s/.*/./; q'` 9417 done 9418 test ! -n "$as_dirs" || mkdir $as_dirs 9419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9421 { (exit 1); exit 1; }; }; } 9422 9423 rm -f $ac_file 9424 mv $tmp/config.h $ac_file 9112 rm -f "$ac_file" 9113 mv "$tmp/config.h" "$ac_file" \ 9114 || as_fn_error "could not create $ac_file" "$LINENO" 5 9425 9115 fi 9426 9116 else 9427 cat $tmp/config.h 9428 rm -f $tmp/config.h 9117 $as_echo "/* $configure_input */" \ 9118 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9119 || as_fn_error "could not create -" "$LINENO" 5 9429 9120 fi 9430 done 9121 ;; 9122 9123 9124 esac 9125 9126 done # for ac_tag 9127 9128 9129 as_fn_exit 0 9431 9130 _ACEOF 9432 9433 cat >>$CONFIG_STATUS <<\_ACEOF9434 9435 { (exit 0); exit 0; }9436 _ACEOF9437 chmod +x $CONFIG_STATUS9438 9131 ac_clean_files=$ac_clean_files_save 9132 9133 test $ac_write_fail = 0 || 9134 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 9439 9135 9440 9136 … … 9457 9153 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9458 9154 # would make configure fail if this is the last instruction. 9459 $ac_cs_success || { (exit 1); exit 1; } 9460 fi 9461 9155 $ac_cs_success || as_fn_exit $? 9156 fi 9157 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9159 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9160 fi 9161 -
main/branches/64_bit_Greenstone/greenstone2/common-src/src/gdbmedit/gdbmget/Makefile.in
r22077 r23509 31 31 32 32 CXX = @CXX@ 33 CXXFLAGS = @CXXFLAGS@ @COMPAT32BITFLAGS@33 CXXFLAGS = @CXXFLAGS@ 34 34 DEFS = @DEFS@ $(GDBM_DEFINES) $(JDBM_DEFINES) $(SQLITE_DEFINES) 35 35 GSDLOS = @gsdlos@ 36 36 INCLUDES = -I$(COMMON_PACKAGES_DIR)/gdbm/include -I$(COMMON_DIR)/src/lib 37 37 INSTALL = @INSTALL@ 38 LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@38 LDFLAGS = @LDFLAGS@ 39 39 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a 40 40
Note:
See TracChangeset
for help on using the changeset viewer.