Changeset 23356 for main/trunk/greenstone2/common-src/indexers/configure
- Timestamp:
- 2010-11-29T16:49:14+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/configure
r22379 r23356 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 5.3 # Generated by GNU Autoconf 2.67. 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 Free Software Foundation,8 # Inc.7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, 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 ERROR [LINENO LOG_FD]359 # --------------------------------- 358 # as_fn_error STATUS 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=$ ?; test $as_status -eq 0 && as_status=1366 if test "$ 3"; then367 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$3365 as_status=$1; test $as_status -eq 0 && as_status=1 366 if test "$4"; then 367 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 369 369 fi 370 $as_echo "$as_me: error: $ 1" >&2370 $as_echo "$as_me: error: $2" >&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, Linux) returns a bogus exit status,532 # hostname on some systems (SVR3.2, old GNU/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` … … 560 560 uudecode 561 561 JAVA 562 JAVACFLAGS 562 563 JAVAC 563 564 COMPAT32BITFLAGS … … 567 568 ENABLE_JNI 568 569 ENABLE_ACCENTFOLD 570 ENABLE_JAVA 569 571 target_alias 570 572 host_alias … … 608 610 ac_user_opts=' 609 611 enable_option_checking 612 enable_java 610 613 enable_accentfold 611 614 enable_jni … … 683 686 684 687 case $ac_option in 685 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 686 *) ac_optarg=yes ;; 688 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 689 *=) ac_optarg= ;; 690 *) ac_optarg=yes ;; 687 691 esac 688 692 … … 729 733 # Reject names that are not valid shell variable names. 730 734 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 731 as_fn_error "invalid feature name: $ac_useropt"735 as_fn_error $? "invalid feature name: $ac_useropt" 732 736 ac_useropt_orig=$ac_useropt 733 737 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 755 759 # Reject names that are not valid shell variable names. 756 760 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 757 as_fn_error "invalid feature name: $ac_useropt"761 as_fn_error $? "invalid feature name: $ac_useropt" 758 762 ac_useropt_orig=$ac_useropt 759 763 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 959 963 # Reject names that are not valid shell variable names. 960 964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 961 as_fn_error "invalid package name: $ac_useropt"965 as_fn_error $? "invalid package name: $ac_useropt" 962 966 ac_useropt_orig=$ac_useropt 963 967 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 975 979 # Reject names that are not valid shell variable names. 976 980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 977 as_fn_error "invalid package name: $ac_useropt"981 as_fn_error $? "invalid package name: $ac_useropt" 978 982 ac_useropt_orig=$ac_useropt 979 983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1005 1009 x_libraries=$ac_optarg ;; 1006 1010 1007 -*) as_fn_error "unrecognized option: \`$ac_option'1008 Try \`$0 --help' for more information ."1011 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1012 Try \`$0 --help' for more information" 1009 1013 ;; 1010 1014 … … 1014 1018 case $ac_envvar in #( 1015 1019 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1016 as_fn_error "invalid variable name: \`$ac_envvar'" ;;1020 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1017 1021 esac 1018 1022 eval $ac_envvar=\$ac_optarg … … 1032 1036 if test -n "$ac_prev"; then 1033 1037 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1034 as_fn_error "missing argument to $ac_option"1038 as_fn_error $? "missing argument to $ac_option" 1035 1039 fi 1036 1040 … … 1038 1042 case $enable_option_checking in 1039 1043 no) ;; 1040 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;1044 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1041 1045 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1042 1046 esac … … 1061 1065 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1062 1066 esac 1063 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"1067 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1064 1068 done 1065 1069 … … 1075 1079 if test "x$build_alias" = x; then 1076 1080 cross_compiling=maybe 1077 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1078 If a cross compiler is detected then cross compile mode will be used ." >&21081 $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" >&2 1079 1083 elif test "x$build_alias" != "x$host_alias"; then 1080 1084 cross_compiling=yes … … 1091 1095 ac_ls_di=`ls -di .` && 1092 1096 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1093 as_fn_error "working directory cannot be determined"1097 as_fn_error $? "working directory cannot be determined" 1094 1098 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1095 as_fn_error "pwd does not report name of working directory"1099 as_fn_error $? "pwd does not report name of working directory" 1096 1100 1097 1101 … … 1132 1136 if test ! -r "$srcdir/$ac_unique_file"; then 1133 1137 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1134 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"1138 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1135 1139 fi 1136 1140 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1137 1141 ac_abs_confdir=`( 1138 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"1142 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1139 1143 pwd)` 1140 1144 # When building in place, set srcdir=. … … 1176 1180 --help=recursive display the short help of all the included packages 1177 1181 -V, --version display version information and exit 1178 -q, --quiet, --silent do not print \`checking ...' messages1182 -q, --quiet, --silent do not print \`checking ...' messages 1179 1183 --cache-file=FILE cache test results in FILE [disabled] 1180 1184 -C, --config-cache alias for \`--cache-file=config.cache' … … 1229 1233 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1230 1234 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1235 --disable-java Disable Java compilation 1231 1236 --disable-accentfold Disable Accent Folding for MGPP 1232 1237 --enable-jni Enable JNI compilation … … 1305 1310 cat <<\_ACEOF 1306 1311 configure 1307 generated by GNU Autoconf 2.6 51308 1309 Copyright (C) 20 09Free Software Foundation, Inc.1312 generated by GNU Autoconf 2.67 1313 1314 Copyright (C) 2010 Free Software Foundation, Inc. 1310 1315 This configure script is free software; the Free Software Foundation 1311 1316 gives unlimited permission to copy, distribute and modify it. … … 1322 1327 1323 1328 It was created by $as_me, which was 1324 generated by GNU Autoconf 2.6 5. Invocation command line was1329 generated by GNU Autoconf 2.67. Invocation command line was 1325 1330 1326 1331 $ $0 $@ … … 1432 1437 echo 1433 1438 1434 cat <<\_ASBOX 1435 ## ---------------- ## 1439 $as_echo "## ---------------- ## 1436 1440 ## Cache variables. ## 1437 ## ---------------- ## 1438 _ASBOX 1441 ## ---------------- ##" 1439 1442 echo 1440 1443 # The following way of writing the cache mishandles newlines in values, … … 1470 1473 echo 1471 1474 1472 cat <<\_ASBOX 1473 ## ----------------- ## 1475 $as_echo "## ----------------- ## 1474 1476 ## Output variables. ## 1475 ## ----------------- ## 1476 _ASBOX 1477 ## ----------------- ##" 1477 1478 echo 1478 1479 for ac_var in $ac_subst_vars … … 1487 1488 1488 1489 if test -n "$ac_subst_files"; then 1489 cat <<\_ASBOX 1490 ## ------------------- ## 1490 $as_echo "## ------------------- ## 1491 1491 ## File substitutions. ## 1492 ## ------------------- ## 1493 _ASBOX 1492 ## ------------------- ##" 1494 1493 echo 1495 1494 for ac_var in $ac_subst_files … … 1505 1504 1506 1505 if test -s confdefs.h; then 1507 cat <<\_ASBOX 1508 ## ----------- ## 1506 $as_echo "## ----------- ## 1509 1507 ## confdefs.h. ## 1510 ## ----------- ## 1511 _ASBOX 1508 ## ----------- ##" 1512 1509 echo 1513 1510 cat confdefs.h … … 1564 1561 ac_site_file2=NONE 1565 1562 if test -n "$CONFIG_SITE"; then 1566 ac_site_file1=$CONFIG_SITE 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 1567 1569 elif test "x$prefix" != xNONE; then 1568 1570 ac_site_file1=$prefix/share/config.site … … 1579 1581 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1580 1582 sed 's/^/| /' "$ac_site_file" >&5 1581 . "$ac_site_file" 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 ; } 1582 1588 fi 1583 1589 done … … 1655 1661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1656 1662 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1657 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 51663 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1658 1664 fi 1659 1665 ## -------------------- ## … … 1669 1675 1670 1676 1677 # Check whether --enable-java was given. 1678 if test "${enable_java+set}" = set; then : 1679 enableval=$enable_java; ENABLE_JAVA=$enableval 1680 else 1681 ENABLE_JAVA=yes 1682 fi 1683 1684 if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 1685 ENABLE_JAVA=1 1686 if test "x$JAVA_HOME" != "x" ; then 1687 echo "Detected JAVA_HOME is set, however this will not be used during compilation" 1688 echo "To control the version of 'javac' and 'java' set environment variables JAVAC" 1689 echo "and JAVA respectively" 1690 export JAVA_HOME= 1691 fi 1692 else 1693 ENABLE_JAVA=0 1694 fi 1695 1671 1696 1672 1697 # Check whether --enable-accentfold was given. … … 1694 1719 fi 1695 1720 1696 if test $ENABLE_J NI = "yes" -o $ENABLE_JNI = "1"; then1721 if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 1697 1722 ENABLE_JNI=1 1698 1723 $as_echo "#define ENABLE_JNI /**/" >>confdefs.h … … 1744 1769 fi 1745 1770 1746 if test $ENABLE_ LUCENE = "yes" -o $ENABLE_LUCENE = "1"; then1771 if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 1747 1772 ENABLE_LUCENE=1 1748 1773 $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h … … 1760 1785 1761 1786 1762 1763 1787 if test "$ENABLE_LUCENE" = "1" ; then 1764 1788 1765 1789 1766 if test "x$JAVAPREFIX" = x; then 1767 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 1790 if test "x$JAVAC" = x ; then 1791 if test "x$JAVAPREFIX" = x; then 1792 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 1768 1793 do 1769 1794 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 1807 1832 done 1808 1833 1809 else1810 1834 else 1835 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 1811 1836 do 1812 1837 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 1851 1876 test -n "$JAVAC" || JAVAC="$JAVAPREFIX" 1852 1877 1853 fi 1854 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 1878 fi 1879 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 1880 else 1881 echo "Checking for javac... $JAVAC" 1882 fi 1883 1855 1884 1856 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 … … 1863 1892 CLASS_TEST=Test.class 1864 1893 cat << \EOF > $JAVA_TEST 1865 /* #line 18 65"configure" */1894 /* #line 1894 "configure" */ 1866 1895 public class Test { 1867 1896 } … … 1875 1904 ac_cv_prog_javac_works=yes 1876 1905 else 1877 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 51906 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 1878 1907 echo "configure: failed program was:" >&5 1879 1908 cat $JAVA_TEST >&5 … … 1884 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 1885 1914 $as_echo "$ac_cv_prog_javac_works" >&6; } 1886 1887 1888 1889 if test x$JAVAPREFIX = x; then 1915 if test "x$JAVACFLAGS" = x ; then 1916 JAVACFLAGS="-source 1.4 -target 1.4" 1917 fi 1918 1919 1920 1921 1922 if test "x$JAVA" = x ; then 1923 if test x$JAVAPREFIX = x; then 1890 1924 test x$JAVA = x && for ac_prog in java$EXEEXT 1891 1925 do … … 1930 1964 done 1931 1965 1932 else1966 else 1933 1967 test x$JAVA = x && for ac_prog in java$EXEEXT 1934 1968 do … … 1974 2008 test -n "$JAVA" || JAVA="$JAVAPREFIX" 1975 2009 1976 fi 1977 test x$JAVA = x && as_fn_error "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 2010 fi 2011 test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5 2012 fi 2013 1978 2014 1979 2015 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args. … … 2035 2071 ac_cv_prog_uudecode_base64=yes 2036 2072 else 2037 echo "configure: 20 37: uudecode had trouble decoding base 64 file 'Test.uue'" >&52073 echo "configure: 2073: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 2038 2074 echo "configure: failed file was:" >&5 2039 2075 cat Test.uue >&5 … … 2050 2086 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;} 2051 2087 if test x$ac_cv_prog_javac_works = xno; then 2052 as_fn_error "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 52088 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5 2053 2089 fi 2054 2090 if test x$ac_cv_prog_javac_works = x; then 2055 2091 2056 if test "x$JAVAPREFIX" = x; then 2057 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 2092 if test "x$JAVAC" = x ; then 2093 if test "x$JAVAPREFIX" = x; then 2094 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 2058 2095 do 2059 2096 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 2097 2134 done 2098 2135 2099 else2100 2136 else 2137 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 2101 2138 do 2102 2139 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 2141 2178 test -n "$JAVAC" || JAVAC="$JAVAPREFIX" 2142 2179 2143 fi 2144 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5 2180 fi 2181 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 2182 else 2183 echo "Checking for javac... $JAVAC" 2184 fi 2185 2145 2186 2146 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 … … 2153 2194 CLASS_TEST=Test.class 2154 2195 cat << \EOF > $JAVA_TEST 2155 /* #line 21 55"configure" */2196 /* #line 2196 "configure" */ 2156 2197 public class Test { 2157 2198 } … … 2165 2206 ac_cv_prog_javac_works=yes 2166 2207 else 2167 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 52208 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2168 2209 echo "configure: failed program was:" >&5 2169 2210 cat $JAVA_TEST >&5 … … 2174 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 2175 2216 $as_echo "$ac_cv_prog_javac_works" >&6; } 2217 if test "x$JAVACFLAGS" = x ; then 2218 JAVACFLAGS="-source 1.4 -target 1.4" 2219 fi 2220 2176 2221 2177 2222 … … 2188 2233 TEST=Test 2189 2234 cat << \EOF > $JAVA_TEST 2190 /* [#]line 2 190"configure" */2235 /* [#]line 2235 "configure" */ 2191 2236 public class Test { 2192 2237 public static void main (String args[]) { … … 2205 2250 echo "configure: failed program was:" >&5 2206 2251 cat $JAVA_TEST >&5 2207 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 52252 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2208 2253 fi 2209 2254 fi … … 2218 2263 echo "configure: failed program was:" >&5 2219 2264 cat $JAVA_TEST >&5 2220 as_fn_error "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 52265 as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 2221 2266 fi 2222 2267 rm -fr $JAVA_TEST $CLASS_TEST Test.uue … … 2247 2292 ac_aux_dir= 2248 2293 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2249 for ac_t in install-sh install.sh shtool; do 2250 if test -f "$ac_dir/$ac_t"; then 2251 ac_aux_dir=$ac_dir 2252 ac_install_sh="$ac_aux_dir/$ac_t -c" 2253 break 2 2254 fi 2255 done 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 2256 2307 done 2257 2308 if test -z "$ac_aux_dir"; then 2258 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 52309 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2259 2310 fi 2260 2311 … … 2300 2351 fi 2301 2352 2302 ac_config_files="$ac_config_files Makefile" 2353 srclist="lucene-gs/Makefile" 2354 2355 ac_config_files="$ac_config_files Makefile $srclist" 2303 2356 2304 2357 cat >confcache <<\_ACEOF … … 2421 2474 ac_libobjs= 2422 2475 ac_ltlibobjs= 2476 U= 2423 2477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2424 2478 # 1. Remove the extension, and $U if already installed. … … 2582 2636 2583 2637 2584 # as_fn_error ERROR [LINENO LOG_FD]2585 # --------------------------------- 2638 # as_fn_error STATUS ERROR [LINENO LOG_FD] 2639 # ---------------------------------------- 2586 2640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2587 2641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2588 # script with status $?, using 1 if that was 0.2642 # script with STATUS, using 1 if that was 0. 2589 2643 as_fn_error () 2590 2644 { 2591 as_status=$ ?; test $as_status -eq 0 && as_status=12592 if test "$ 3"; then2593 as_lineno=${as_lineno-"$ 2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2594 $as_echo "$as_me:${as_lineno-$LINENO}: error: $ 1" >&$32645 as_status=$1; test $as_status -eq 0 && as_status=1 2646 if test "$4"; then 2647 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2595 2649 fi 2596 $as_echo "$as_me: error: $ 1" >&22650 $as_echo "$as_me: error: $2" >&2 2597 2651 as_fn_exit $as_status 2598 2652 } # as_fn_error … … 2790 2844 done 2791 2845 test -z "$as_dirs" || eval "mkdir $as_dirs" 2792 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"2846 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 2793 2847 2794 2848 … … 2844 2898 ac_log=" 2845 2899 This file was extended by $as_me, which was 2846 generated by GNU Autoconf 2.6 5. Invocation command line was2900 generated by GNU Autoconf 2.67. Invocation command line was 2847 2901 2848 2902 CONFIG_FILES = $CONFIG_FILES … … 2897 2951 ac_cs_version="\\ 2898 2952 config.status 2899 configured by $0, generated by GNU Autoconf 2.6 5,2953 configured by $0, generated by GNU Autoconf 2.67, 2900 2954 with options \\"\$ac_cs_config\\" 2901 2955 2902 Copyright (C) 20 09Free Software Foundation, Inc.2956 Copyright (C) 2010 Free Software Foundation, Inc. 2903 2957 This config.status script is free software; the Free Software Foundation 2904 2958 gives unlimited permission to copy, distribute and modify it." … … 2915 2969 do 2916 2970 case $1 in 2917 --*= *)2971 --*=?*) 2918 2972 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2919 2973 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2974 ac_shift=: 2975 ;; 2976 --*=) 2977 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2978 ac_optarg= 2920 2979 ac_shift=: 2921 2980 ;; … … 2941 3000 case $ac_optarg in 2942 3001 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3002 '') as_fn_error $? "missing file argument" ;; 2943 3003 esac 2944 3004 as_fn_append CONFIG_FILES " '$ac_optarg'" … … 2951 3011 2952 3012 # This is an error. 2953 -*) as_fn_error "unrecognized option: \`$1'3013 -*) as_fn_error $? "unrecognized option: \`$1' 2954 3014 Try \`$0 --help' for more information." ;; 2955 3015 … … 3001 3061 case $ac_config_target in 3002 3062 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3003 3004 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3063 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 3064 3065 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 3005 3066 esac 3006 3067 done … … 3038 3099 tmp=./conf$$-$RANDOM 3039 3100 (umask 077 && mkdir "$tmp") 3040 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 53101 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3041 3102 3042 3103 # Set up the scripts for CONFIG_FILES section. … … 3055 3116 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3056 3117 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3057 ac_cs_awk_cr='\ r'3118 ac_cs_awk_cr='\\r' 3058 3119 else 3059 3120 ac_cs_awk_cr=$ac_cr … … 3069 3130 echo "_ACEOF" 3070 3131 } >conf$$subs.sh || 3071 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 53072 ac_delim_num=`echo "$ac_subst_vars" | grep -c ' $'`3132 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3133 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3073 3134 ac_delim='%!_!# ' 3074 3135 for ac_last_try in false false false false false :; do 3075 3136 . ./conf$$subs.sh || 3076 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 53137 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3077 3138 3078 3139 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` … … 3080 3141 break 3081 3142 elif $ac_last_try; then 3082 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 53143 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3083 3144 else 3084 3145 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 3169 3230 cat 3170 3231 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 3171 || as_fn_error "could not setup config files machinery" "$LINENO" 53232 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3172 3233 _ACEOF 3173 3234 3174 # VPATH may cause trouble with some makes, so we remove $(srcdir),3175 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and3235 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3236 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3176 3237 # trailing colons and then remove the whole line if VPATH becomes empty 3177 3238 # (actually we leave an empty line to preserve line numbers). 3178 3239 if test "x$srcdir" = x.; then 3179 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3180 s/:*\$(srcdir):*/:/ 3181 s/:*\${srcdir}:*/:/ 3182 s/:*@srcdir@:*/:/ 3183 s/^\([^=]*=[ ]*\):*/\1/ 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/^:*// 3184 3249 s/:*$// 3250 x 3251 s/\(=[ ]*\).*/\1/ 3252 G 3253 s/\n// 3185 3254 s/^[^=]*=[ ]*$// 3186 3255 }' … … 3200 3269 case $ac_mode$ac_tag in 3201 3270 :[FHL]*:*);; 3202 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;3271 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 3203 3272 :[FH]-) ac_tag=-:-;; 3204 3273 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 3228 3297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3229 3298 esac || 3230 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;3299 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 3231 3300 esac 3232 3301 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac … … 3255 3324 case $ac_tag in 3256 3325 *:-:* | *:-) cat >"$tmp/stdin" \ 3257 || as_fn_error "could not create $ac_file" "$LINENO" 5;;3326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 3258 3327 esac 3259 3328 ;; … … 3381 3450 " 3382 3451 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 3383 || as_fn_error "could not create $ac_file" "$LINENO" 53452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3384 3453 3385 3454 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && … … 3387 3456 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3388 3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3389 which seems to be undefined. Please make sure it is defined ." >&53458 which seems to be undefined. Please make sure it is defined" >&5 3390 3459 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3391 which seems to be undefined. Please make sure it is defined ." >&2;}3460 which seems to be undefined. Please make sure it is defined" >&2;} 3392 3461 3393 3462 rm -f "$tmp/stdin" … … 3396 3465 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 3397 3466 esac \ 3398 || as_fn_error "could not create $ac_file" "$LINENO" 53467 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3399 3468 ;; 3400 3469 … … 3411 3480 3412 3481 test $ac_write_fail = 0 || 3413 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 53482 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 3414 3483 3415 3484 … … 3432 3501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3433 3502 # would make configure fail if this is the last instruction. 3434 $ac_cs_success || as_fn_exit $?3503 $ac_cs_success || as_fn_exit 1 3435 3504 fi 3436 3505 … … 3573 3642 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 3574 3643 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 3575 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 53644 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 3576 3645 fi 3577 3646
Note:
See TracChangeset
for help on using the changeset viewer.