Ignore:
Timestamp:
2010-11-29T16:49:14+13:00 (13 years ago)
Author:
sjm84
Message:

Updated several configure scripts and Makefiles to make use of the JAVA, JAVAC and JAVACFLAGS environment variables, also added a --disable-java option to several of the configure scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/configure

    r22379 r23356  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.65.
     3# Generated by GNU Autoconf 2.67.
    44#
    55#
    66# 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.
    99#
    1010#
     
    316316    done
    317317    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"
    319319
    320320
     
    356356
    357357
    358 # as_fn_error ERROR [LINENO LOG_FD]
    359 # ---------------------------------
     358# as_fn_error STATUS ERROR [LINENO LOG_FD]
     359# ----------------------------------------
    360360# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    361361# 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.
    363363as_fn_error ()
    364364{
    365   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
     365  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
    369369  fi
    370   $as_echo "$as_me: error: $1" >&2
     370  $as_echo "$as_me: error: $2" >&2
    371371  as_fn_exit $as_status
    372372} # as_fn_error
     
    530530
    531531# 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,
    533533# so uname gets run too.
    534534ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    560560uudecode
    561561JAVA
     562JAVACFLAGS
    562563JAVAC
    563564COMPAT32BITFLAGS
     
    567568ENABLE_JNI
    568569ENABLE_ACCENTFOLD
     570ENABLE_JAVA
    569571target_alias
    570572host_alias
     
    608610ac_user_opts='
    609611enable_option_checking
     612enable_java
    610613enable_accentfold
    611614enable_jni
     
    683686
    684687  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 ;;
    687691  esac
    688692
     
    729733    # Reject names that are not valid shell variable names.
    730734    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"
    732736    ac_useropt_orig=$ac_useropt
    733737    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    755759    # Reject names that are not valid shell variable names.
    756760    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"
    758762    ac_useropt_orig=$ac_useropt
    759763    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    959963    # Reject names that are not valid shell variable names.
    960964    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"
    962966    ac_useropt_orig=$ac_useropt
    963967    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    975979    # Reject names that are not valid shell variable names.
    976980    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"
    978982    ac_useropt_orig=$ac_useropt
    979983    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10051009    x_libraries=$ac_optarg ;;
    10061010
    1007   -*) as_fn_error "unrecognized option: \`$ac_option'
    1008 Try \`$0 --help' for more information."
     1011  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1012Try \`$0 --help' for more information"
    10091013    ;;
    10101014
     
    10141018    case $ac_envvar in #(
    10151019      '' | [0-9]* | *[!_$as_cr_alnum]* )
    1016       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1020      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    10171021    esac
    10181022    eval $ac_envvar=\$ac_optarg
     
    10321036if test -n "$ac_prev"; then
    10331037  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"
    10351039fi
    10361040
     
    10381042  case $enable_option_checking in
    10391043    no) ;;
    1040     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
     1044    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    10411045    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    10421046  esac
     
    10611065    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    10621066  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"
    10641068done
    10651069
     
    10751079  if test "x$build_alias" = x; then
    10761080    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." >&2
     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" >&2
    10791083  elif test "x$build_alias" != "x$host_alias"; then
    10801084    cross_compiling=yes
     
    10911095ac_ls_di=`ls -di .` &&
    10921096ac_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"
    10941098test "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"
    10961100
    10971101
     
    11321136if test ! -r "$srcdir/$ac_unique_file"; then
    11331137  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"
    11351139fi
    11361140ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    11371141ac_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"
    11391143    pwd)`
    11401144# When building in place, set srcdir=.
     
    11761180      --help=recursive    display the short help of all the included packages
    11771181  -V, --version           display version information and exit
    1178   -q, --quiet, --silent   do not print \`checking...' messages
     1182  -q, --quiet, --silent   do not print \`checking ...' messages
    11791183      --cache-file=FILE   cache test results in FILE [disabled]
    11801184  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    12291233  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    12301234  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     1235  --disable-java          Disable Java compilation
    12311236  --disable-accentfold    Disable Accent Folding for MGPP
    12321237  --enable-jni    Enable JNI compilation
     
    13051310  cat <<\_ACEOF
    13061311configure
    1307 generated by GNU Autoconf 2.65
    1308 
    1309 Copyright (C) 2009 Free Software Foundation, Inc.
     1312generated by GNU Autoconf 2.67
     1313
     1314Copyright (C) 2010 Free Software Foundation, Inc.
    13101315This configure script is free software; the Free Software Foundation
    13111316gives unlimited permission to copy, distribute and modify it.
     
    13221327
    13231328It was created by $as_me, which was
    1324 generated by GNU Autoconf 2.65.  Invocation command line was
     1329generated by GNU Autoconf 2.67.  Invocation command line was
    13251330
    13261331  $ $0 $@
     
    14321437    echo
    14331438
    1434     cat <<\_ASBOX
    1435 ## ---------------- ##
     1439    $as_echo "## ---------------- ##
    14361440## Cache variables. ##
    1437 ## ---------------- ##
    1438 _ASBOX
     1441## ---------------- ##"
    14391442    echo
    14401443    # The following way of writing the cache mishandles newlines in values,
     
    14701473    echo
    14711474
    1472     cat <<\_ASBOX
    1473 ## ----------------- ##
     1475    $as_echo "## ----------------- ##
    14741476## Output variables. ##
    1475 ## ----------------- ##
    1476 _ASBOX
     1477## ----------------- ##"
    14771478    echo
    14781479    for ac_var in $ac_subst_vars
     
    14871488
    14881489    if test -n "$ac_subst_files"; then
    1489       cat <<\_ASBOX
    1490 ## ------------------- ##
     1490      $as_echo "## ------------------- ##
    14911491## File substitutions. ##
    1492 ## ------------------- ##
    1493 _ASBOX
     1492## ------------------- ##"
    14941493      echo
    14951494      for ac_var in $ac_subst_files
     
    15051504
    15061505    if test -s confdefs.h; then
    1507       cat <<\_ASBOX
    1508 ## ----------- ##
     1506      $as_echo "## ----------- ##
    15091507## confdefs.h. ##
    1510 ## ----------- ##
    1511 _ASBOX
     1508## ----------- ##"
    15121509      echo
    15131510      cat confdefs.h
     
    15641561ac_site_file2=NONE
    15651562if 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
    15671569elif test "x$prefix" != xNONE; then
    15681570  ac_site_file1=$prefix/share/config.site
     
    15791581$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    15801582    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;}
     1586as_fn_error $? "failed to load site script $ac_site_file
     1587See \`config.log' for more details" "$LINENO" 5 ; }
    15821588  fi
    15831589done
     
    16551661  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    16561662$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" 5
     1663  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    16581664fi
    16591665## -------------------- ##
     
    16691675
    16701676
     1677# Check whether --enable-java was given.
     1678if test "${enable_java+set}" = set; then :
     1679  enableval=$enable_java; ENABLE_JAVA=$enableval
     1680else
     1681  ENABLE_JAVA=yes
     1682fi
     1683
     1684if 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
     1692else
     1693  ENABLE_JAVA=0
     1694fi
     1695
    16711696
    16721697# Check whether --enable-accentfold was given.
     
    16941719fi
    16951720
    1696 if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
     1721if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
    16971722  ENABLE_JNI=1
    16981723  $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
     
    17441769fi
    17451770
    1746 if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
     1771if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
    17471772  ENABLE_LUCENE=1
    17481773  $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
     
    17601785
    17611786
    1762 
    17631787if test "$ENABLE_LUCENE" = "1" ; then
    17641788
    17651789
    1766 if test "x$JAVAPREFIX" = x; then
    1767         test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
     1790if test "x$JAVAC" = x ; then
     1791    if test "x$JAVAPREFIX" = x; then
     1792    test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
    17681793do
    17691794  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    18071832done
    18081833
    1809 else
    1810         test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
     1834  else
     1835    test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
    18111836do
    18121837  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    18511876test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
    18521877
    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
     1880else
     1881  echo "Checking for javac... $JAVAC"
     1882fi
     1883
    18551884
    18561885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
     
    18631892CLASS_TEST=Test.class
    18641893cat << \EOF > $JAVA_TEST
    1865 /* #line 1865 "configure" */
     1894/* #line 1894 "configure" */
    18661895public class Test {
    18671896}
     
    18751904  ac_cv_prog_javac_works=yes
    18761905else
    1877   as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     1906  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    18781907  echo "configure: failed program was:" >&5
    18791908  cat $JAVA_TEST >&5
     
    18841913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    18851914$as_echo "$ac_cv_prog_javac_works" >&6; }
    1886 
    1887 
    1888 
    1889 if test x$JAVAPREFIX = x; then
     1915if test "x$JAVACFLAGS" = x ; then
     1916  JAVACFLAGS="-source 1.4 -target 1.4"
     1917fi
     1918
     1919
     1920
     1921
     1922if test "x$JAVA" = x ; then
     1923        if test x$JAVAPREFIX = x; then
    18901924        test x$JAVA = x && for ac_prog in java$EXEEXT
    18911925do
     
    19301964done
    19311965
    1932 else
     1966    else
    19331967        test x$JAVA = x && for ac_prog in java$EXEEXT
    19341968do
     
    19742008test -n "$JAVA" || JAVA="$JAVAPREFIX"
    19752009
    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
     2012fi
     2013
    19782014
    19792015# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
     
    20352071        ac_cv_prog_uudecode_base64=yes
    20362072else
    2037         echo "configure: 2037: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     2073        echo "configure: 2073: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    20382074        echo "configure: failed file was:" >&5
    20392075        cat Test.uue >&5
     
    20502086$as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    20512087        if test x$ac_cv_prog_javac_works = xno; then
    2052                 as_fn_error "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
     2088                as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
    20532089        fi
    20542090        if test x$ac_cv_prog_javac_works = x; then
    20552091
    2056 if test "x$JAVAPREFIX" = x; then
    2057         test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
     2092if test "x$JAVAC" = x ; then
     2093    if test "x$JAVAPREFIX" = x; then
     2094    test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
    20582095do
    20592096  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    20972134done
    20982135
    2099 else
    2100         test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
     2136  else
     2137    test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
    21012138do
    21022139  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    21412178test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
    21422179
    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
     2182else
     2183  echo "Checking for javac... $JAVAC"
     2184fi
     2185
    21452186
    21462187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
     
    21532194CLASS_TEST=Test.class
    21542195cat << \EOF > $JAVA_TEST
    2155 /* #line 2155 "configure" */
     2196/* #line 2196 "configure" */
    21562197public class Test {
    21572198}
     
    21652206  ac_cv_prog_javac_works=yes
    21662207else
    2167   as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     2208  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    21682209  echo "configure: failed program was:" >&5
    21692210  cat $JAVA_TEST >&5
     
    21742215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    21752216$as_echo "$ac_cv_prog_javac_works" >&6; }
     2217if test "x$JAVACFLAGS" = x ; then
     2218  JAVACFLAGS="-source 1.4 -target 1.4"
     2219fi
     2220
    21762221
    21772222
     
    21882233TEST=Test
    21892234cat << \EOF > $JAVA_TEST
    2190 /* [#]line 2190 "configure" */
     2235/* [#]line 2235 "configure" */
    21912236public class Test {
    21922237public static void main (String args[]) {
     
    22052250          echo "configure: failed program was:" >&5
    22062251          cat $JAVA_TEST >&5
    2207           as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     2252          as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    22082253        fi
    22092254fi
     
    22182263  echo "configure: failed program was:" >&5
    22192264  cat $JAVA_TEST >&5
    2220   as_fn_error "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     2265  as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    22212266fi
    22222267rm -fr $JAVA_TEST $CLASS_TEST Test.uue
     
    22472292ac_aux_dir=
    22482293for 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
    22562307done
    22572308if test -z "$ac_aux_dir"; then
    2258   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     2309  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    22592310fi
    22602311
     
    23002351fi
    23012352
    2302 ac_config_files="$ac_config_files Makefile"
     2353srclist="lucene-gs/Makefile"
     2354
     2355ac_config_files="$ac_config_files Makefile $srclist"
    23032356
    23042357cat >confcache <<\_ACEOF
     
    24212474ac_libobjs=
    24222475ac_ltlibobjs=
     2476U=
    24232477for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    24242478  # 1. Remove the extension, and $U if already installed.
     
    25822636
    25832637
    2584 # as_fn_error ERROR [LINENO LOG_FD]
    2585 # ---------------------------------
     2638# as_fn_error STATUS ERROR [LINENO LOG_FD]
     2639# ----------------------------------------
    25862640# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    25872641# 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.
    25892643as_fn_error ()
    25902644{
    2591   as_status=$?; test $as_status -eq 0 && as_status=1
    2592   if test "$3"; then
    2593     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2594     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     2645  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
    25952649  fi
    2596   $as_echo "$as_me: error: $1" >&2
     2650  $as_echo "$as_me: error: $2" >&2
    25972651  as_fn_exit $as_status
    25982652} # as_fn_error
     
    27902844    done
    27912845    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"
    27932847
    27942848
     
    28442898ac_log="
    28452899This file was extended by $as_me, which was
    2846 generated by GNU Autoconf 2.65.  Invocation command line was
     2900generated by GNU Autoconf 2.67.  Invocation command line was
    28472901
    28482902  CONFIG_FILES    = $CONFIG_FILES
     
    28972951ac_cs_version="\\
    28982952config.status
    2899 configured by $0, generated by GNU Autoconf 2.65,
     2953configured by $0, generated by GNU Autoconf 2.67,
    29002954  with options \\"\$ac_cs_config\\"
    29012955
    2902 Copyright (C) 2009 Free Software Foundation, Inc.
     2956Copyright (C) 2010 Free Software Foundation, Inc.
    29032957This config.status script is free software; the Free Software Foundation
    29042958gives unlimited permission to copy, distribute and modify it."
     
    29152969do
    29162970  case $1 in
    2917   --*=*)
     2971  --*=?*)
    29182972    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    29192973    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     2974    ac_shift=:
     2975    ;;
     2976  --*=)
     2977    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     2978    ac_optarg=
    29202979    ac_shift=:
    29212980    ;;
     
    29413000    case $ac_optarg in
    29423001    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     3002    '') as_fn_error $? "missing file argument" ;;
    29433003    esac
    29443004    as_fn_append CONFIG_FILES " '$ac_optarg'"
     
    29513011
    29523012  # This is an error.
    2953   -*) as_fn_error "unrecognized option: \`$1'
     3013  -*) as_fn_error $? "unrecognized option: \`$1'
    29543014Try \`$0 --help' for more information." ;;
    29553015
     
    30013061  case $ac_config_target in
    30023062    "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 ;;
    30053066  esac
    30063067done
     
    30383099  tmp=./conf$$-$RANDOM
    30393100  (umask 077 && mkdir "$tmp")
    3040 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
     3101} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    30413102
    30423103# Set up the scripts for CONFIG_FILES section.
     
    30553116ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    30563117if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    3057   ac_cs_awk_cr='\r'
     3118  ac_cs_awk_cr='\\r'
    30583119else
    30593120  ac_cs_awk_cr=$ac_cr
     
    30693130  echo "_ACEOF"
    30703131} >conf$$subs.sh ||
    3071   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
    3072 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     3132  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     3133ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    30733134ac_delim='%!_!# '
    30743135for ac_last_try in false false false false false :; do
    30753136  . ./conf$$subs.sh ||
    3076     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     3137    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    30773138
    30783139  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    30803141    break
    30813142  elif $ac_last_try; then
    3082     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     3143    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    30833144  else
    30843145    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    31693230  cat
    31703231fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    3171   || as_fn_error "could not setup config files machinery" "$LINENO" 5
     3232  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    31723233_ACEOF
    31733234
    3174 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    3175 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     3235# 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
    31763237# trailing colons and then remove the whole line if VPATH becomes empty
    31773238# (actually we leave an empty line to preserve line numbers).
    31783239if 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[    ]*=[    ]*/{
     3241h
     3242s///
     3243s/^/:/
     3244s/[  ]*$/:/
     3245s/:\$(srcdir):/:/g
     3246s/:\${srcdir}:/:/g
     3247s/:@srcdir@:/:/g
     3248s/^:*//
    31843249s/:*$//
     3250x
     3251s/\(=[   ]*\).*/\1/
     3252G
     3253s/\n//
    31853254s/^[^=]*=[   ]*$//
    31863255}'
     
    32003269  case $ac_mode$ac_tag in
    32013270  :[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 ;;
    32033272  :[FH]-) ac_tag=-:-;;
    32043273  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    32283297       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    32293298       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 ;;
    32313300      esac
    32323301      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     
    32553324    case $ac_tag in
    32563325    *:-:* | *:-) 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 ;;
    32583327    esac
    32593328    ;;
     
    33813450"
    33823451eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    3383   || as_fn_error "could not create $ac_file" "$LINENO" 5
     3452  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    33843453
    33853454test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     
    33873456  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    33883457  { $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." >&5
     3458which seems to be undefined.  Please make sure it is defined" >&5
    33903459$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;}
     3460which seems to be undefined.  Please make sure it is defined" >&2;}
    33923461
    33933462  rm -f "$tmp/stdin"
     
    33963465  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    33973466  esac \
    3398   || as_fn_error "could not create $ac_file" "$LINENO" 5
     3467  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    33993468 ;;
    34003469
     
    34113480
    34123481test $ac_write_fail = 0 ||
    3413   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
     3482  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    34143483
    34153484
     
    34323501  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    34333502  # 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
    34353504fi
    34363505
     
    35733642      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    35743643       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    3575     as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
     3644    as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    35763645    fi
    35773646
Note: See TracChangeset for help on using the changeset viewer.