Show
Ignore:
Timestamp:
29.11.2010 16:49:14 (9 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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/configure

    r22378 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# 
     
    317317    done 
    318318    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     319  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 
    320320 
    321321 
     
    357357 
    358358 
    359 # as_fn_error ERROR [LINENO LOG_FD] 
    360 # --------------------------------- 
     359# as_fn_error STATUS ERROR [LINENO LOG_FD] 
     360# ---------------------------------------- 
    361361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    362362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    363 # script with status $?, using 1 if that was 0. 
     363# script with STATUS, using 1 if that was 0. 
    364364as_fn_error () 
    365365{ 
    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 
     366  as_status=$1; test $as_status -eq 0 && as_status=1 
     367  if test "$4"; then 
     368    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 
    370370  fi 
    371   $as_echo "$as_me: error: $1" >&2 
     371  $as_echo "$as_me: error: $2" >&2 
    372372  as_fn_exit $as_status 
    373373} # as_fn_error 
     
    531531 
    532532# Name of the host. 
    533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
     533# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 
    534534# so uname gets run too. 
    535535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 
     
    648648USE_YAZ 
    649649USE_Z3950 
     650ENABLE_JAVA 
    650651MICO_DIR 
    651652USE_CORBA 
     
    697698enable_corba 
    698699with_micodir 
     700enable_java 
    699701enable_z3950 
    700702enable_yaz 
     
    789791 
    790792  case $ac_option in 
    791   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
    792   *)    ac_optarg=yes ;; 
     793  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
     794  *=)   ac_optarg= ;; 
     795  *)    ac_optarg=yes ;; 
    793796  esac 
    794797 
     
    835838    # Reject names that are not valid shell variable names. 
    836839    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    837       as_fn_error "invalid feature name: $ac_useropt" 
     840      as_fn_error $? "invalid feature name: $ac_useropt" 
    838841    ac_useropt_orig=$ac_useropt 
    839842    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    861864    # Reject names that are not valid shell variable names. 
    862865    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    863       as_fn_error "invalid feature name: $ac_useropt" 
     866      as_fn_error $? "invalid feature name: $ac_useropt" 
    864867    ac_useropt_orig=$ac_useropt 
    865868    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    10651068    # Reject names that are not valid shell variable names. 
    10661069    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1067       as_fn_error "invalid package name: $ac_useropt" 
     1070      as_fn_error $? "invalid package name: $ac_useropt" 
    10681071    ac_useropt_orig=$ac_useropt 
    10691072    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    10811084    # Reject names that are not valid shell variable names. 
    10821085    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1083       as_fn_error "invalid package name: $ac_useropt" 
     1086      as_fn_error $? "invalid package name: $ac_useropt" 
    10841087    ac_useropt_orig=$ac_useropt 
    10851088    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11111114    x_libraries=$ac_optarg ;; 
    11121115 
    1113   -*) as_fn_error "unrecognized option: \`$ac_option' 
    1114 Try \`$0 --help' for more information." 
     1116  -*) as_fn_error $? "unrecognized option: \`$ac_option' 
     1117Try \`$0 --help' for more information" 
    11151118    ;; 
    11161119 
     
    11201123    case $ac_envvar in #( 
    11211124      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
    1122       as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1125      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 
    11231126    esac 
    11241127    eval $ac_envvar=\$ac_optarg 
     
    11381141if test -n "$ac_prev"; then 
    11391142  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1140   as_fn_error "missing argument to $ac_option" 
     1143  as_fn_error $? "missing argument to $ac_option" 
    11411144fi 
    11421145 
     
    11441147  case $enable_option_checking in 
    11451148    no) ;; 
    1146     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1149    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 
    11471150    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    11481151  esac 
     
    11671170    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11681171  esac 
    1169   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
     1172  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 
    11701173done 
    11711174 
     
    11811184  if test "x$build_alias" = x; then 
    11821185    cross_compiling=maybe 
    1183     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    1184     If a cross compiler is detected then cross compile mode will be used." >&2 
     1186    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 
     1187    If a cross compiler is detected then cross compile mode will be used" >&2 
    11851188  elif test "x$build_alias" != "x$host_alias"; then 
    11861189    cross_compiling=yes 
     
    11971200ac_ls_di=`ls -di .` && 
    11981201ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1199   as_fn_error "working directory cannot be determined" 
     1202  as_fn_error $? "working directory cannot be determined" 
    12001203test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1201   as_fn_error "pwd does not report name of working directory" 
     1204  as_fn_error $? "pwd does not report name of working directory" 
    12021205 
    12031206 
     
    12381241if test ! -r "$srcdir/$ac_unique_file"; then 
    12391242  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1240   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
     1243  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 
    12411244fi 
    12421245ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12431246ac_abs_confdir=`( 
    1244     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
     1247    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 
    12451248    pwd)` 
    12461249# When building in place, set srcdir=. 
     
    12821285      --help=recursive    display the short help of all the included packages 
    12831286  -V, --version           display version information and exit 
    1284   -q, --quiet, --silent   do not print \`checking...' messages 
     1287  -q, --quiet, --silent   do not print \`checking ...' messages 
    12851288      --cache-file=FILE   cache test results in FILE [disabled] 
    12861289  -C, --config-cache      alias for \`--cache-file=config.cache' 
     
    13411344  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
    13421345  --enable-corba          Enable CORBA support 
     1346  --disable-java          Disable Java compilation 
    13431347  --enable-z3950          Enable Z39.50 client support 
    13441348  --disable-yaz           Disable YAZ compilation 
    1345   --disable-jdbm        Disable JDBM compilation 
    1346   --disable-gdbm        Disable GDBM compilation 
     1349  --disable-jdbm          Disable JDBM compilation 
     1350  --disable-gdbm          Disable GDBM compilation 
    13471351  --disable-accentfold    Disable Accent Folding for MGPP 
    13481352  --disable-sqlite        Disable SQLite support 
    1349   --enable-apache-httpd  Enable Apache httpd support 
    1350   --enable-jni    Enable JNI compilation 
    1351   --disable-mg    Disable MG compilation 
    1352   --disable-mgpp        Disable MGPP compilation 
     1353  --enable-apache-httpd   Enable Apache httpd support 
     1354  --enable-jni            Enable JNI compilation 
     1355  --disable-mg            Disable MG compilation 
     1356  --disable-mgpp          Disable MGPP compilation 
    13531357  --disable-lucene        Disable Lucene compilation 
    13541358 
     
    14451449  cat <<\_ACEOF 
    14461450configure 
    1447 generated by GNU Autoconf 2.65 
    1448  
    1449 Copyright (C) 2009 Free Software Foundation, Inc. 
     1451generated by GNU Autoconf 2.67 
     1452 
     1453Copyright (C) 2010 Free Software Foundation, Inc. 
    14501454This configure script is free software; the Free Software Foundation 
    14511455gives unlimited permission to copy, distribute and modify it. 
     
    15551559  fi 
    15561560  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1557   test $ac_status = 0; } >/dev/null && { 
     1561  test $ac_status = 0; } > conftest.i && { 
    15581562     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    15591563     test ! -s conftest.err 
     
    15791583{ 
    15801584  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1581   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1585  if eval "test \"\${$3+set}\"" = set; then : 
    15821586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    15831587$as_echo_n "checking for $2... " >&6; } 
    1584 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1588if eval "test \"\${$3+set}\"" = set; then : 
    15851589  $as_echo_n "(cached) " >&6 
    15861590fi 
     
    16181622  ac_header_preproc=no 
    16191623fi 
    1620 rm -f conftest.err conftest.$ac_ext 
     1624rm -f conftest.err conftest.i conftest.$ac_ext 
    16211625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
    16221626$as_echo "$ac_header_preproc" >&6; } 
     
    16451649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    16461650$as_echo_n "checking for $2... " >&6; } 
    1647 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1651if eval "test \"\${$3+set}\"" = set; then : 
    16481652  $as_echo_n "(cached) " >&6 
    16491653else 
     
    17091713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17101714$as_echo_n "checking for $2... " >&6; } 
    1711 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1715if eval "test \"\${$3+set}\"" = set; then : 
    17121716  $as_echo_n "(cached) " >&6 
    17131717else 
     
    17861790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17871791$as_echo_n "checking for $2... " >&6; } 
    1788 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1792if eval "test \"\${$3+set}\"" = set; then : 
    17891793  $as_echo_n "(cached) " >&6 
    17901794else 
     
    18391843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    18401844$as_echo_n "checking for $2... " >&6; } 
    1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1845if eval "test \"\${$3+set}\"" = set; then : 
    18421846  $as_echo_n "(cached) " >&6 
    18431847else 
     
    19441948 
    19451949It was created by $as_me, which was 
    1946 generated by GNU Autoconf 2.65.  Invocation command line was 
     1950generated by GNU Autoconf 2.67.  Invocation command line was 
    19471951 
    19481952  $ $0 $@ 
     
    20542058    echo 
    20552059 
    2056     cat <<\_ASBOX 
    2057 ## ---------------- ## 
     2060    $as_echo "## ---------------- ## 
    20582061## Cache variables. ## 
    2059 ## ---------------- ## 
    2060 _ASBOX 
     2062## ---------------- ##" 
    20612063    echo 
    20622064    # The following way of writing the cache mishandles newlines in values, 
     
    20922094    echo 
    20932095 
    2094     cat <<\_ASBOX 
    2095 ## ----------------- ## 
     2096    $as_echo "## ----------------- ## 
    20962097## Output variables. ## 
    2097 ## ----------------- ## 
    2098 _ASBOX 
     2098## ----------------- ##" 
    20992099    echo 
    21002100    for ac_var in $ac_subst_vars 
     
    21092109 
    21102110    if test -n "$ac_subst_files"; then 
    2111       cat <<\_ASBOX 
    2112 ## ------------------- ## 
     2111      $as_echo "## ------------------- ## 
    21132112## File substitutions. ## 
    2114 ## ------------------- ## 
    2115 _ASBOX 
     2113## ------------------- ##" 
    21162114      echo 
    21172115      for ac_var in $ac_subst_files 
     
    21272125 
    21282126    if test -s confdefs.h; then 
    2129       cat <<\_ASBOX 
    2130 ## ----------- ## 
     2127      $as_echo "## ----------- ## 
    21312128## confdefs.h. ## 
    2132 ## ----------- ## 
    2133 _ASBOX 
     2129## ----------- ##" 
    21342130      echo 
    21352131      cat confdefs.h 
     
    21862182ac_site_file2=NONE 
    21872183if test -n "$CONFIG_SITE"; then 
    2188   ac_site_file1=$CONFIG_SITE 
     2184  # We do not want a PATH search for config.site. 
     2185  case $CONFIG_SITE in #(( 
     2186    -*)  ac_site_file1=./$CONFIG_SITE;; 
     2187    */*) ac_site_file1=$CONFIG_SITE;; 
     2188    *)   ac_site_file1=./$CONFIG_SITE;; 
     2189  esac 
    21892190elif test "x$prefix" != xNONE; then 
    21902191  ac_site_file1=$prefix/share/config.site 
     
    22012202$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    22022203    sed 's/^/| /' "$ac_site_file" >&5 
    2203     . "$ac_site_file" 
     2204    . "$ac_site_file" \ 
     2205      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2207as_fn_error $? "failed to load site script $ac_site_file 
     2208See \`config.log' for more details" "$LINENO" 5 ; } 
    22042209  fi 
    22052210done 
     
    22772282  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    22782283$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    2279   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2284  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
    22802285fi 
    22812286## -------------------- ## 
     
    22942299 
    22952300PACKAGE=gsdl 
    2296 VERSION=2.82-svn 
     2301VERSION=2.x-svn 
    22972302cat >>confdefs.h <<_ACEOF 
    22982303#define PACKAGE "$PACKAGE" 
     
    23502355 
    23512356 
     2357# Check whether --enable-java was given. 
     2358if test "${enable_java+set}" = set; then : 
     2359  enableval=$enable_java; ENABLE_JAVA=$enableval 
     2360else 
     2361  ENABLE_JAVA=yes 
     2362fi 
     2363 
     2364if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then 
     2365  ENABLE_JAVA=1 
     2366  if test "x$JAVA_HOME" != "x" ; then 
     2367    echo "Detected JAVA_HOME is set, however this will not be used during compilation" 
     2368    echo "To control the version of 'javac' and 'java' set environment variables JAVAC" 
     2369    echo "and JAVA respectively" 
     2370    export JAVA_HOME= 
     2371  fi 
     2372else 
     2373  ENABLE_JAVA=0 
     2374fi 
     2375 
     2376 
    23522377# Check whether --enable-z3950 was given. 
    23532378if test "${enable_z3950+set}" = set; then : 
     
    23892414fi 
    23902415 
    2391 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 
     2416if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then 
    23922417  USE_JDBM=1 
    23932418  $as_echo "#define USE_JDBM /**/" >>confdefs.h 
     
    24712496fi 
    24722497 
    2473 if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then 
     2498if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then 
    24742499  ENABLE_JNI=1 
    24752500  $as_echo "#define ENABLE_JNI /**/" >>confdefs.h 
     
    25202545fi 
    25212546 
    2522 if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then 
     2547if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then 
    25232548  ENABLE_LUCENE=1 
    25242549  $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h 
     
    28382863test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    28392864$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2840 as_fn_error "no acceptable C compiler found in \$PATH 
    2841 See \`config.log' for more details." "$LINENO" 5; } 
     2865as_fn_error $? "no acceptable C compiler found in \$PATH 
     2866See \`config.log' for more details" "$LINENO" 5 ; } 
    28422867 
    28432868# Provide some information about the compiler. 
     
    29532978{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    29542979$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2955 { as_fn_set_status 77 
    2956 as_fn_error "C compiler cannot create executables 
    2957 See \`config.log' for more details." "$LINENO" 5; }; } 
     2980as_fn_error 77 "C compiler cannot create executables 
     2981See \`config.log' for more details" "$LINENO" 5 ; } 
    29582982else 
    29592983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     
    29973021  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    29983022$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2999 as_fn_error "cannot compute suffix of executables: cannot compile and link 
    3000 See \`config.log' for more details." "$LINENO" 5; } 
     3023as_fn_error $? "cannot compute suffix of executables: cannot compile and link 
     3024See \`config.log' for more details" "$LINENO" 5 ; } 
    30013025fi 
    30023026rm -f conftest conftest$ac_cv_exeext 
     
    30553079    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    30563080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    3057 as_fn_error "cannot run C compiled programs. 
     3081as_fn_error $? "cannot run C compiled programs. 
    30583082If you meant to cross compile, use \`--host'. 
    3059 See \`config.log' for more details." "$LINENO" 5; } 
     3083See \`config.log' for more details" "$LINENO" 5 ; } 
    30603084    fi 
    30613085  fi 
     
    31083132{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    31093133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    3110 as_fn_error "cannot compute suffix of object files: cannot compile 
    3111 See \`config.log' for more details." "$LINENO" 5; } 
     3134as_fn_error $? "cannot compute suffix of object files: cannot compile 
     3135See \`config.log' for more details" "$LINENO" 5 ; } 
    31123136fi 
    31133137rm -f conftest.$ac_cv_objext conftest.$ac_ext 
     
    36733697ac_aux_dir= 
    36743698for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    3675   for ac_t in install-sh install.sh shtool; do 
    3676     if test -f "$ac_dir/$ac_t"; then 
    3677       ac_aux_dir=$ac_dir 
    3678       ac_install_sh="$ac_aux_dir/$ac_t -c" 
    3679       break 2 
    3680     fi 
    3681   done 
     3699  if test -f "$ac_dir/install-sh"; then 
     3700    ac_aux_dir=$ac_dir 
     3701    ac_install_sh="$ac_aux_dir/install-sh -c" 
     3702    break 
     3703  elif test -f "$ac_dir/install.sh"; then 
     3704    ac_aux_dir=$ac_dir 
     3705    ac_install_sh="$ac_aux_dir/install.sh -c" 
     3706    break 
     3707  elif test -f "$ac_dir/shtool"; then 
     3708    ac_aux_dir=$ac_dir 
     3709    ac_install_sh="$ac_aux_dir/shtool install -c" 
     3710    break 
     3711  fi 
    36823712done 
    36833713if test -z "$ac_aux_dir"; then 
    3684   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
     3714  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    36853715fi 
    36863716 
     
    36963726# Make sure we can run config.sub. 
    36973727$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    3698   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     3728  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
    36993729 
    37003730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     
    37073737  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    37083738test "x$ac_build_alias" = x && 
    3709   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
     3739  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 
    37103740ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    3711   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     3741  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
    37123742 
    37133743fi 
     
    37163746case $ac_cv_build in 
    37173747*-*-*) ;; 
    3718 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
     3748*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 
    37193749esac 
    37203750build=$ac_cv_build 
     
    37413771else 
    37423772  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    3743     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     3773    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
    37443774fi 
    37453775 
     
    37493779case $ac_cv_host in 
    37503780*-*-*) ;; 
    3751 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
     3781*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 
    37523782esac 
    37533783host=$ac_cv_host 
     
    37743804else 
    37753805  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    3776     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     3806    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
    37773807fi 
    37783808 
     
    37823812case $ac_cv_target in 
    37833813*-*-*) ;; 
    3784 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
     3814*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 
    37853815esac 
    37863816target=$ac_cv_target 
     
    39133943set x ${MAKE-make} 
    39143944ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 
    3915 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 
     3945if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 
    39163946  $as_echo_n "(cached) " >&6 
    39173947else 
     
    39213951    @echo '@@@%%%=$(MAKE)=@@@%%%' 
    39223952_ACEOF 
    3923 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 
     3953# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 
    39243954case `${MAKE-make} -f conftest.make 2>/dev/null` in 
    39253955  *@@@%%%=?*=@@@%%%*) 
     
    41334163continue 
    41344164fi 
    4135 rm -f conftest.err conftest.$ac_ext 
     4165rm -f conftest.err conftest.i conftest.$ac_ext 
    41364166 
    41374167  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    41494179break 
    41504180fi 
    4151 rm -f conftest.err conftest.$ac_ext 
     4181rm -f conftest.err conftest.i conftest.$ac_ext 
    41524182 
    41534183done 
    41544184# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    4155 rm -f conftest.err conftest.$ac_ext 
     4185rm -f conftest.i conftest.err conftest.$ac_ext 
    41564186if $ac_preproc_ok; then : 
    41574187  break 
     
    41924222continue 
    41934223fi 
    4194 rm -f conftest.err conftest.$ac_ext 
     4224rm -f conftest.err conftest.i conftest.$ac_ext 
    41954225 
    41964226  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    42084238break 
    42094239fi 
    4210 rm -f conftest.err conftest.$ac_ext 
     4240rm -f conftest.err conftest.i conftest.$ac_ext 
    42114241 
    42124242done 
    42134243# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    4214 rm -f conftest.err conftest.$ac_ext 
     4244rm -f conftest.i conftest.err conftest.$ac_ext 
    42154245if $ac_preproc_ok; then : 
    42164246 
     
    42184248  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    42194249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    4220 as_fn_error "C preprocessor \"$CPP\" fails sanity check 
    4221 See \`config.log' for more details." "$LINENO" 5; } 
     4250as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 
     4251See \`config.log' for more details" "$LINENO" 5 ; } 
    42224252fi 
    42234253 
     
    42804310IFS=$as_save_IFS 
    42814311  if test -z "$ac_cv_path_GREP"; then 
    4282     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4312    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    42834313  fi 
    42844314else 
     
    43464376IFS=$as_save_IFS 
    43474377  if test -z "$ac_cv_path_EGREP"; then 
    4348     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4378    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    43494379  fi 
    43504380else 
     
    44784508ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
    44794509" 
    4480 eval as_val=\$$as_ac_Header 
    4481    if test "x$as_val" = x""yes; then : 
     4510if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 
    44824511  cat >>confdefs.h <<_ACEOF 
    44834512#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     
    49955024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 
    49965025$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 
    4997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : 
     5026if eval "test \"\${$as_ac_Header+set}\"" = set; then : 
    49985027  $as_echo_n "(cached) " >&6 
    49995028else 
     
    50225051           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    50235052$as_echo "$ac_res" >&6; } 
    5024 eval as_val=\$$as_ac_Header 
    5025    if test "x$as_val" = x""yes; then : 
     5053if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 
    50265054  cat >>confdefs.h <<_ACEOF 
    50275055#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 
     
    52655293  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    52665294ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 
    5267 eval as_val=\$$as_ac_Header 
    5268    if test "x$as_val" = x""yes; then : 
     5295if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 
    52695296  cat >>confdefs.h <<_ACEOF 
    52705297#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     
    54395466    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 
    54405467ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 
    5441 eval as_val=\$$as_ac_var 
    5442    if test "x$as_val" = x""yes; then : 
     5468if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 
    54435469 
    54445470cat >>confdefs.h <<_ACEOF 
     
    56005626  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 
    56015627ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 
    5602 eval as_val=\$$as_ac_var 
    5603    if test "x$as_val" = x""yes; then : 
     5628if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 
    56045629  cat >>confdefs.h <<_ACEOF 
    56055630#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 
     
    56095634done 
    56105635 
    5611 for ac_func in ftruncate strstr strcasecmp 
    5612 do : 
    5613   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 
    5614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 
    5615 eval as_val=\$$as_ac_var 
    5616    if test "x$as_val" = x""yes; then : 
    5617   cat >>confdefs.h <<_ACEOF 
    5618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 
    5619 _ACEOF 
     5636ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 
     5637if test "x$ac_cv_func_ftruncate" = x""yes; then : 
     5638  $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h 
    56205639 
    56215640else 
    56225641  case " $LIBOBJS " in 
    5623   *" $ac_func.$ac_objext "* ) ;; 
    5624   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 
     5642  *" ftruncate.$ac_objext "* ) ;; 
     5643  *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext" 
    56255644 ;; 
    56265645esac 
    56275646 
    56285647fi 
    5629 done 
     5648 
     5649ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 
     5650if test "x$ac_cv_func_strstr" = x""yes; then : 
     5651  $as_echo "#define HAVE_STRSTR 1" >>confdefs.h 
     5652 
     5653else 
     5654  case " $LIBOBJS " in 
     5655  *" strstr.$ac_objext "* ) ;; 
     5656  *) LIBOBJS="$LIBOBJS strstr.$ac_objext" 
     5657 ;; 
     5658esac 
     5659 
     5660fi 
     5661 
     5662ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" 
     5663if test "x$ac_cv_func_strcasecmp" = x""yes; then : 
     5664  $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h 
     5665 
     5666else 
     5667  case " $LIBOBJS " in 
     5668  *" strcasecmp.$ac_objext "* ) ;; 
     5669  *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" 
     5670 ;; 
     5671esac 
     5672 
     5673fi 
    56305674 
    56315675 
     
    57975841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 
    57985842$as_echo "\"no\"" >&6; } 
    5799 as_fn_error "\"Perl 5 not available - cannot install\"" "$LINENO" 5 
     5843as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5 
    58005844fi 
    58015845 
     
    58665910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 
    58675911$as_echo "\"yes\"" >&6; } 
    5868 as_fn_error "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 
     5912as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 
    58695913fi 
    58705914 
     
    60986142     ;; #( 
    60996143   *) 
    6100      as_fn_error "unknown endianness 
    6101  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     6144     as_fn_error $? "unknown endianness 
     6145 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;; 
    61026146 esac 
    61036147 
     
    62456289ac_libobjs= 
    62466290ac_ltlibobjs= 
     6291U= 
    62476292for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 
    62486293  # 1. Remove the extension, and $U if already installed. 
     
    64076452 
    64086453 
    6409 # as_fn_error ERROR [LINENO LOG_FD] 
    6410 # --------------------------------- 
     6454# as_fn_error STATUS ERROR [LINENO LOG_FD] 
     6455# ---------------------------------------- 
    64116456# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    64126457# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    6413 # script with status $?, using 1 if that was 0. 
     6458# script with STATUS, using 1 if that was 0. 
    64146459as_fn_error () 
    64156460{ 
    6416   as_status=$?; test $as_status -eq 0 && as_status=1 
    6417   if test "$3"; then 
    6418     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    6419     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     6461  as_status=$1; test $as_status -eq 0 && as_status=1 
     6462  if test "$4"; then 
     6463    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     6464    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 
    64206465  fi 
    6421   $as_echo "$as_me: error: $1" >&2 
     6466  $as_echo "$as_me: error: $2" >&2 
    64226467  as_fn_exit $as_status 
    64236468} # as_fn_error 
     
    66156660    done 
    66166661    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    6617   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     6662  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 
    66186663 
    66196664 
     
    66696714ac_log=" 
    66706715This file was extended by $as_me, which was 
    6671 generated by GNU Autoconf 2.65.  Invocation command line was 
     6716generated by GNU Autoconf 2.67.  Invocation command line was 
    66726717 
    66736718  CONFIG_FILES    = $CONFIG_FILES 
     
    67316776ac_cs_version="\\ 
    67326777config.status 
    6733 configured by $0, generated by GNU Autoconf 2.65, 
     6778configured by $0, generated by GNU Autoconf 2.67, 
    67346779  with options \\"\$ac_cs_config\\" 
    67356780 
    6736 Copyright (C) 2009 Free Software Foundation, Inc. 
     6781Copyright (C) 2010 Free Software Foundation, Inc. 
    67376782This config.status script is free software; the Free Software Foundation 
    67386783gives unlimited permission to copy, distribute and modify it." 
     
    67516796do 
    67526797  case $1 in 
    6753   --*=*) 
     6798  --*=?*) 
    67546799    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    67556800    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     6801    ac_shift=: 
     6802    ;; 
     6803  --*=) 
     6804    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     6805    ac_optarg= 
    67566806    ac_shift=: 
    67576807    ;; 
     
    67776827    case $ac_optarg in 
    67786828    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     6829    '') as_fn_error $? "missing file argument" ;; 
    67796830    esac 
    67806831    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     
    67896840  --he | --h) 
    67906841    # Conflict between --help and --header 
    6791     as_fn_error "ambiguous option: \`$1' 
     6842    as_fn_error $? "ambiguous option: \`$1' 
    67926843Try \`$0 --help' for more information.";; 
    67936844  --help | --hel | -h ) 
     
    67986849 
    67996850  # This is an error. 
    6800   -*) as_fn_error "unrecognized option: \`$1' 
     6851  -*) as_fn_error $? "unrecognized option: \`$1' 
    68016852Try \`$0 --help' for more information." ;; 
    68026853 
     
    68526903    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 
    68536904 
    6854   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     6905  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 
    68556906  esac 
    68566907done 
     
    68896940  tmp=./conf$$-$RANDOM 
    68906941  (umask 077 && mkdir "$tmp") 
    6891 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     6942} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
    68926943 
    68936944# Set up the scripts for CONFIG_FILES section. 
     
    69066957ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
    69076958if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
    6908   ac_cs_awk_cr='\r' 
     6959  ac_cs_awk_cr='\\r' 
    69096960else 
    69106961  ac_cs_awk_cr=$ac_cr 
     
    69206971  echo "_ACEOF" 
    69216972} >conf$$subs.sh || 
    6922   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    6923 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     6973  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
     6974ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 
    69246975ac_delim='%!_!# ' 
    69256976for ac_last_try in false false false false false :; do 
    69266977  . ./conf$$subs.sh || 
    6927     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     6978    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
    69286979 
    69296980  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     
    69316982    break 
    69326983  elif $ac_last_try; then 
    6933     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     6984    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
    69346985  else 
    69356986    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    70207071  cat 
    70217072fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
    7022   || as_fn_error "could not setup config files machinery" "$LINENO" 5 
    7023 _ACEOF 
    7024  
    7025 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    7026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     7073  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
     7074_ACEOF 
     7075 
     7076# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 
     7077# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 
    70277078# trailing colons and then remove the whole line if VPATH becomes empty 
    70287079# (actually we leave an empty line to preserve line numbers). 
    70297080if test "x$srcdir" = x.; then 
    7030   ac_vpsub='/^[  ]*VPATH[    ]*=/{ 
    7031 s/:*\$(srcdir):*/:/ 
    7032 s/:*\${srcdir}:*/:/ 
    7033 s/:*@srcdir@:*/:/ 
    7034 s/^\([^=]*=[     ]*\):*/\1/ 
     7081  ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{ 
     7082h 
     7083s/// 
     7084s/^/:/ 
     7085s/[  ]*$/:/ 
     7086s/:\$(srcdir):/:/g 
     7087s/:\${srcdir}:/:/g 
     7088s/:@srcdir@:/:/g 
     7089s/^:*// 
    70357090s/:*$// 
     7091x 
     7092s/\(=[   ]*\).*/\1/ 
     7093G 
     7094s/\n// 
    70367095s/^[^=]*=[   ]*$// 
    70377096}' 
     
    70617120    break 
    70627121  elif $ac_last_try; then 
    7063     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     7122    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 
    70647123  else 
    70657124    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    71467205_ACEOF 
    71477206cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7148   as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     7207  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 
    71497208fi # test -n "$CONFIG_HEADERS" 
    71507209 
     
    71597218  case $ac_mode$ac_tag in 
    71607219  :[FHL]*:*);; 
    7161   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     7220  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 
    71627221  :[FH]-) ac_tag=-:-;; 
    71637222  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     
    71877246       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    71887247       esac || 
    7189        as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     7248       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 
    71907249      esac 
    71917250      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     
    72147273    case $ac_tag in 
    72157274    *:-:* | *:-) cat >"$tmp/stdin" \ 
    7216       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     7275      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 
    72177276    esac 
    72187277    ;; 
     
    73457404" 
    73467405eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    7347   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     7406  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    73487407 
    73497408test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
     
    73517410  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    73527411  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    7353 which seems to be undefined.  Please make sure it is defined." >&5 
     7412which seems to be undefined.  Please make sure it is defined" >&5 
    73547413$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    7355 which seems to be undefined.  Please make sure it is defined." >&2;} 
     7414which seems to be undefined.  Please make sure it is defined" >&2;} 
    73567415 
    73577416  rm -f "$tmp/stdin" 
     
    73607419  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
    73617420  esac \ 
    7362   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     7421  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    73637422 ;; 
    73647423  :H) 
     
    73717430      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    73727431    } >"$tmp/config.h" \ 
    7373       || as_fn_error "could not create $ac_file" "$LINENO" 5 
     7432      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    73747433    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
    73757434      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
     
    73787437      rm -f "$ac_file" 
    73797438      mv "$tmp/config.h" "$ac_file" \ 
    7380     || as_fn_error "could not create $ac_file" "$LINENO" 5 
     7439    || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    73817440    fi 
    73827441  else 
    73837442    $as_echo "/* $configure_input  */" \ 
    73847443      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
    7385       || as_fn_error "could not create -" "$LINENO" 5 
     7444      || as_fn_error $? "could not create -" "$LINENO" 5 
    73867445  fi 
    73877446 ;; 
     
    73987457 
    73997458test $ac_write_fail = 0 || 
    7400   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
     7459  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    74017460 
    74027461 
     
    74197478  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    74207479  # would make configure fail if this is the last instruction. 
    7421   $ac_cs_success || as_fn_exit $? 
     7480  $ac_cs_success || as_fn_exit 1 
    74227481fi 
    74237482 
     
    75607619      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 
    75617620       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 
    7562     as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 
     7621    as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 
    75637622    fi 
    75647623