test/configure
changeset 5876 982dd84fcd83
parent 5670 bdaa6299e107
child 6017 c66fa1438beb
     1.1 --- a/test/configure	Wed Sep 07 21:47:10 2011 -0700
     1.2 +++ b/test/configure	Fri Sep 09 00:34:48 2011 -0400
     1.3 @@ -1,11 +1,11 @@
     1.4  #! /bin/sh
     1.5  # Guess values for system-dependent variables and create Makefiles.
     1.6 -# Generated by GNU Autoconf 2.65.
     1.7 +# Generated by GNU Autoconf 2.67.
     1.8  #
     1.9  #
    1.10  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1.11 -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
    1.12 -# Inc.
    1.13 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    1.14 +# Foundation, Inc.
    1.15  #
    1.16  #
    1.17  # This configure script is free software; the Free Software Foundation
    1.18 @@ -315,7 +315,7 @@
    1.19        test -d "$as_dir" && break
    1.20      done
    1.21      test -z "$as_dirs" || eval "mkdir $as_dirs"
    1.22 -  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    1.23 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    1.24  
    1.25  
    1.26  } # as_fn_mkdir_p
    1.27 @@ -355,19 +355,19 @@
    1.28  fi # as_fn_arith
    1.29  
    1.30  
    1.31 -# as_fn_error ERROR [LINENO LOG_FD]
    1.32 -# ---------------------------------
    1.33 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
    1.34 +# ----------------------------------------
    1.35  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    1.36  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    1.37 -# script with status $?, using 1 if that was 0.
    1.38 +# script with STATUS, using 1 if that was 0.
    1.39  as_fn_error ()
    1.40  {
    1.41 -  as_status=$?; test $as_status -eq 0 && as_status=1
    1.42 -  if test "$3"; then
    1.43 -    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1.44 -    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    1.45 +  as_status=$1; test $as_status -eq 0 && as_status=1
    1.46 +  if test "$4"; then
    1.47 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1.48 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    1.49    fi
    1.50 -  $as_echo "$as_me: error: $1" >&2
    1.51 +  $as_echo "$as_me: error: $2" >&2
    1.52    as_fn_exit $as_status
    1.53  } # as_fn_error
    1.54  
    1.55 @@ -529,7 +529,7 @@
    1.56  exec 6>&1
    1.57  
    1.58  # Name of the host.
    1.59 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    1.60 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    1.61  # so uname gets run too.
    1.62  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    1.63  
    1.64 @@ -699,8 +699,9 @@
    1.65    fi
    1.66  
    1.67    case $ac_option in
    1.68 -  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    1.69 -  *)	ac_optarg=yes ;;
    1.70 +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    1.71 +  *=)   ac_optarg= ;;
    1.72 +  *)    ac_optarg=yes ;;
    1.73    esac
    1.74  
    1.75    # Accept the important Cygnus configure options, so we can diagnose typos.
    1.76 @@ -745,7 +746,7 @@
    1.77      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    1.78      # Reject names that are not valid shell variable names.
    1.79      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1.80 -      as_fn_error "invalid feature name: $ac_useropt"
    1.81 +      as_fn_error $? "invalid feature name: $ac_useropt"
    1.82      ac_useropt_orig=$ac_useropt
    1.83      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1.84      case $ac_user_opts in
    1.85 @@ -771,7 +772,7 @@
    1.86      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    1.87      # Reject names that are not valid shell variable names.
    1.88      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1.89 -      as_fn_error "invalid feature name: $ac_useropt"
    1.90 +      as_fn_error $? "invalid feature name: $ac_useropt"
    1.91      ac_useropt_orig=$ac_useropt
    1.92      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1.93      case $ac_user_opts in
    1.94 @@ -975,7 +976,7 @@
    1.95      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1.96      # Reject names that are not valid shell variable names.
    1.97      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1.98 -      as_fn_error "invalid package name: $ac_useropt"
    1.99 +      as_fn_error $? "invalid package name: $ac_useropt"
   1.100      ac_useropt_orig=$ac_useropt
   1.101      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1.102      case $ac_user_opts in
   1.103 @@ -991,7 +992,7 @@
   1.104      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1.105      # Reject names that are not valid shell variable names.
   1.106      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1.107 -      as_fn_error "invalid package name: $ac_useropt"
   1.108 +      as_fn_error $? "invalid package name: $ac_useropt"
   1.109      ac_useropt_orig=$ac_useropt
   1.110      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1.111      case $ac_user_opts in
   1.112 @@ -1021,8 +1022,8 @@
   1.113    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1.114      x_libraries=$ac_optarg ;;
   1.115  
   1.116 -  -*) as_fn_error "unrecognized option: \`$ac_option'
   1.117 -Try \`$0 --help' for more information."
   1.118 +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1.119 +Try \`$0 --help' for more information"
   1.120      ;;
   1.121  
   1.122    *=*)
   1.123 @@ -1030,7 +1031,7 @@
   1.124      # Reject names that are not valid shell variable names.
   1.125      case $ac_envvar in #(
   1.126        '' | [0-9]* | *[!_$as_cr_alnum]* )
   1.127 -      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1.128 +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1.129      esac
   1.130      eval $ac_envvar=\$ac_optarg
   1.131      export $ac_envvar ;;
   1.132 @@ -1048,13 +1049,13 @@
   1.133  
   1.134  if test -n "$ac_prev"; then
   1.135    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1.136 -  as_fn_error "missing argument to $ac_option"
   1.137 +  as_fn_error $? "missing argument to $ac_option"
   1.138  fi
   1.139  
   1.140  if test -n "$ac_unrecognized_opts"; then
   1.141    case $enable_option_checking in
   1.142      no) ;;
   1.143 -    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1.144 +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1.145      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1.146    esac
   1.147  fi
   1.148 @@ -1077,7 +1078,7 @@
   1.149      [\\/$]* | ?:[\\/]* )  continue;;
   1.150      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1.151    esac
   1.152 -  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1.153 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1.154  done
   1.155  
   1.156  # There might be people who depend on the old broken behavior: `$host'
   1.157 @@ -1091,8 +1092,8 @@
   1.158  if test "x$host_alias" != x; then
   1.159    if test "x$build_alias" = x; then
   1.160      cross_compiling=maybe
   1.161 -    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1.162 -    If a cross compiler is detected then cross compile mode will be used." >&2
   1.163 +    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1.164 +    If a cross compiler is detected then cross compile mode will be used" >&2
   1.165    elif test "x$build_alias" != "x$host_alias"; then
   1.166      cross_compiling=yes
   1.167    fi
   1.168 @@ -1107,9 +1108,9 @@
   1.169  ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1.170  ac_ls_di=`ls -di .` &&
   1.171  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1.172 -  as_fn_error "working directory cannot be determined"
   1.173 +  as_fn_error $? "working directory cannot be determined"
   1.174  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1.175 -  as_fn_error "pwd does not report name of working directory"
   1.176 +  as_fn_error $? "pwd does not report name of working directory"
   1.177  
   1.178  
   1.179  # Find the source files, if location was not specified.
   1.180 @@ -1148,11 +1149,11 @@
   1.181  fi
   1.182  if test ! -r "$srcdir/$ac_unique_file"; then
   1.183    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1.184 -  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1.185 +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1.186  fi
   1.187  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1.188  ac_abs_confdir=`(
   1.189 -	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1.190 +	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1.191  	pwd)`
   1.192  # When building in place, set srcdir=.
   1.193  if test "$ac_abs_confdir" = "$ac_pwd"; then
   1.194 @@ -1192,7 +1193,7 @@
   1.195        --help=short        display options specific to this package
   1.196        --help=recursive    display the short help of all the included packages
   1.197    -V, --version           display version information and exit
   1.198 -  -q, --quiet, --silent   do not print \`checking...' messages
   1.199 +  -q, --quiet, --silent   do not print \`checking ...' messages
   1.200        --cache-file=FILE   cache test results in FILE [disabled]
   1.201    -C, --config-cache      alias for \`--cache-file=config.cache'
   1.202    -n, --no-create         do not create output files
   1.203 @@ -1340,9 +1341,9 @@
   1.204  if $ac_init_version; then
   1.205    cat <<\_ACEOF
   1.206  configure
   1.207 -generated by GNU Autoconf 2.65
   1.208 -
   1.209 -Copyright (C) 2009 Free Software Foundation, Inc.
   1.210 +generated by GNU Autoconf 2.67
   1.211 +
   1.212 +Copyright (C) 2010 Free Software Foundation, Inc.
   1.213  This configure script is free software; the Free Software Foundation
   1.214  gives unlimited permission to copy, distribute and modify it.
   1.215  _ACEOF
   1.216 @@ -1500,7 +1501,7 @@
   1.217      mv -f conftest.er1 conftest.err
   1.218    fi
   1.219    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1.220 -  test $ac_status = 0; } >/dev/null && {
   1.221 +  test $ac_status = 0; } > conftest.i && {
   1.222  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1.223  	 test ! -s conftest.err
   1.224         }; then :
   1.225 @@ -1520,7 +1521,7 @@
   1.226  running configure, to aid debugging if configure makes a mistake.
   1.227  
   1.228  It was created by $as_me, which was
   1.229 -generated by GNU Autoconf 2.65.  Invocation command line was
   1.230 +generated by GNU Autoconf 2.67.  Invocation command line was
   1.231  
   1.232    $ $0 $@
   1.233  
   1.234 @@ -1630,11 +1631,9 @@
   1.235    {
   1.236      echo
   1.237  
   1.238 -    cat <<\_ASBOX
   1.239 -## ---------------- ##
   1.240 +    $as_echo "## ---------------- ##
   1.241  ## Cache variables. ##
   1.242 -## ---------------- ##
   1.243 -_ASBOX
   1.244 +## ---------------- ##"
   1.245      echo
   1.246      # The following way of writing the cache mishandles newlines in values,
   1.247  (
   1.248 @@ -1668,11 +1667,9 @@
   1.249  )
   1.250      echo
   1.251  
   1.252 -    cat <<\_ASBOX
   1.253 -## ----------------- ##
   1.254 +    $as_echo "## ----------------- ##
   1.255  ## Output variables. ##
   1.256 -## ----------------- ##
   1.257 -_ASBOX
   1.258 +## ----------------- ##"
   1.259      echo
   1.260      for ac_var in $ac_subst_vars
   1.261      do
   1.262 @@ -1685,11 +1682,9 @@
   1.263      echo
   1.264  
   1.265      if test -n "$ac_subst_files"; then
   1.266 -      cat <<\_ASBOX
   1.267 -## ------------------- ##
   1.268 +      $as_echo "## ------------------- ##
   1.269  ## File substitutions. ##
   1.270 -## ------------------- ##
   1.271 -_ASBOX
   1.272 +## ------------------- ##"
   1.273        echo
   1.274        for ac_var in $ac_subst_files
   1.275        do
   1.276 @@ -1703,11 +1698,9 @@
   1.277      fi
   1.278  
   1.279      if test -s confdefs.h; then
   1.280 -      cat <<\_ASBOX
   1.281 -## ----------- ##
   1.282 +      $as_echo "## ----------- ##
   1.283  ## confdefs.h. ##
   1.284 -## ----------- ##
   1.285 -_ASBOX
   1.286 +## ----------- ##"
   1.287        echo
   1.288        cat confdefs.h
   1.289        echo
   1.290 @@ -1762,7 +1755,12 @@
   1.291  ac_site_file1=NONE
   1.292  ac_site_file2=NONE
   1.293  if test -n "$CONFIG_SITE"; then
   1.294 -  ac_site_file1=$CONFIG_SITE
   1.295 +  # We do not want a PATH search for config.site.
   1.296 +  case $CONFIG_SITE in #((
   1.297 +    -*)  ac_site_file1=./$CONFIG_SITE;;
   1.298 +    */*) ac_site_file1=$CONFIG_SITE;;
   1.299 +    *)   ac_site_file1=./$CONFIG_SITE;;
   1.300 +  esac
   1.301  elif test "x$prefix" != xNONE; then
   1.302    ac_site_file1=$prefix/share/config.site
   1.303    ac_site_file2=$prefix/etc/config.site
   1.304 @@ -1777,7 +1775,11 @@
   1.305      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1.306  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1.307      sed 's/^/| /' "$ac_site_file" >&5
   1.308 -    . "$ac_site_file"
   1.309 +    . "$ac_site_file" \
   1.310 +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1.311 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.312 +as_fn_error $? "failed to load site script $ac_site_file
   1.313 +See \`config.log' for more details" "$LINENO" 5 ; }
   1.314    fi
   1.315  done
   1.316  
   1.317 @@ -1853,7 +1855,7 @@
   1.318  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.319    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   1.320  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1.321 -  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   1.322 +  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   1.323  fi
   1.324  ## -------------------- ##
   1.325  ## Main body of script. ##
   1.326 @@ -1869,16 +1871,22 @@
   1.327  
   1.328  ac_aux_dir=
   1.329  for ac_dir in $srcdir/../build-scripts; do
   1.330 -  for ac_t in install-sh install.sh shtool; do
   1.331 -    if test -f "$ac_dir/$ac_t"; then
   1.332 -      ac_aux_dir=$ac_dir
   1.333 -      ac_install_sh="$ac_aux_dir/$ac_t -c"
   1.334 -      break 2
   1.335 -    fi
   1.336 -  done
   1.337 +  if test -f "$ac_dir/install-sh"; then
   1.338 +    ac_aux_dir=$ac_dir
   1.339 +    ac_install_sh="$ac_aux_dir/install-sh -c"
   1.340 +    break
   1.341 +  elif test -f "$ac_dir/install.sh"; then
   1.342 +    ac_aux_dir=$ac_dir
   1.343 +    ac_install_sh="$ac_aux_dir/install.sh -c"
   1.344 +    break
   1.345 +  elif test -f "$ac_dir/shtool"; then
   1.346 +    ac_aux_dir=$ac_dir
   1.347 +    ac_install_sh="$ac_aux_dir/shtool install -c"
   1.348 +    break
   1.349 +  fi
   1.350  done
   1.351  if test -z "$ac_aux_dir"; then
   1.352 -  as_fn_error "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
   1.353 +  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
   1.354  fi
   1.355  
   1.356  # These three variables are undocumented and unsupported,
   1.357 @@ -1892,7 +1900,7 @@
   1.358  
   1.359  # Make sure we can run config.sub.
   1.360  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   1.361 -  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   1.362 +  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   1.363  
   1.364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   1.365  $as_echo_n "checking build system type... " >&6; }
   1.366 @@ -1903,16 +1911,16 @@
   1.367  test "x$ac_build_alias" = x &&
   1.368    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   1.369  test "x$ac_build_alias" = x &&
   1.370 -  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   1.371 +  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   1.372  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   1.373 -  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   1.374 +  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   1.375  
   1.376  fi
   1.377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   1.378  $as_echo "$ac_cv_build" >&6; }
   1.379  case $ac_cv_build in
   1.380  *-*-*) ;;
   1.381 -*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   1.382 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
   1.383  esac
   1.384  build=$ac_cv_build
   1.385  ac_save_IFS=$IFS; IFS='-'
   1.386 @@ -1937,7 +1945,7 @@
   1.387    ac_cv_host=$ac_cv_build
   1.388  else
   1.389    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   1.390 -    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   1.391 +    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   1.392  fi
   1.393  
   1.394  fi
   1.395 @@ -1945,7 +1953,7 @@
   1.396  $as_echo "$ac_cv_host" >&6; }
   1.397  case $ac_cv_host in
   1.398  *-*-*) ;;
   1.399 -*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   1.400 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
   1.401  esac
   1.402  host=$ac_cv_host
   1.403  ac_save_IFS=$IFS; IFS='-'
   1.404 @@ -2263,8 +2271,8 @@
   1.405  
   1.406  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1.407  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.408 -as_fn_error "no acceptable C compiler found in \$PATH
   1.409 -See \`config.log' for more details." "$LINENO" 5; }
   1.410 +as_fn_error $? "no acceptable C compiler found in \$PATH
   1.411 +See \`config.log' for more details" "$LINENO" 5 ; }
   1.412  
   1.413  # Provide some information about the compiler.
   1.414  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   1.415 @@ -2378,9 +2386,8 @@
   1.416  
   1.417  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1.418  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.419 -{ as_fn_set_status 77
   1.420 -as_fn_error "C compiler cannot create executables
   1.421 -See \`config.log' for more details." "$LINENO" 5; }; }
   1.422 +as_fn_error 77 "C compiler cannot create executables
   1.423 +See \`config.log' for more details" "$LINENO" 5 ; }
   1.424  else
   1.425    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   1.426  $as_echo "yes" >&6; }
   1.427 @@ -2422,8 +2429,8 @@
   1.428  else
   1.429    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1.430  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.431 -as_fn_error "cannot compute suffix of executables: cannot compile and link
   1.432 -See \`config.log' for more details." "$LINENO" 5; }
   1.433 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   1.434 +See \`config.log' for more details" "$LINENO" 5 ; }
   1.435  fi
   1.436  rm -f conftest conftest$ac_cv_exeext
   1.437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   1.438 @@ -2480,9 +2487,9 @@
   1.439      else
   1.440  	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1.441  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.442 -as_fn_error "cannot run C compiled programs.
   1.443 +as_fn_error $? "cannot run C compiled programs.
   1.444  If you meant to cross compile, use \`--host'.
   1.445 -See \`config.log' for more details." "$LINENO" 5; }
   1.446 +See \`config.log' for more details" "$LINENO" 5 ; }
   1.447      fi
   1.448    fi
   1.449  fi
   1.450 @@ -2533,8 +2540,8 @@
   1.451  
   1.452  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1.453  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.454 -as_fn_error "cannot compute suffix of object files: cannot compile
   1.455 -See \`config.log' for more details." "$LINENO" 5; }
   1.456 +as_fn_error $? "cannot compute suffix of object files: cannot compile
   1.457 +See \`config.log' for more details" "$LINENO" 5 ; }
   1.458  fi
   1.459  rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1.460  fi
   1.461 @@ -3176,7 +3183,7 @@
   1.462       fi
   1.463       SDL_CFLAGS=""
   1.464       SDL_LIBS=""
   1.465 -     as_fn_error "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
   1.466 +     as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
   1.467  
   1.468    fi
   1.469  
   1.470 @@ -3228,7 +3235,7 @@
   1.471    # Broken: fails on valid input.
   1.472  continue
   1.473  fi
   1.474 -rm -f conftest.err conftest.$ac_ext
   1.475 +rm -f conftest.err conftest.i conftest.$ac_ext
   1.476  
   1.477    # OK, works on sane cases.  Now check whether nonexistent headers
   1.478    # can be detected and how.
   1.479 @@ -3244,11 +3251,11 @@
   1.480  ac_preproc_ok=:
   1.481  break
   1.482  fi
   1.483 -rm -f conftest.err conftest.$ac_ext
   1.484 +rm -f conftest.err conftest.i conftest.$ac_ext
   1.485  
   1.486  done
   1.487  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1.488 -rm -f conftest.err conftest.$ac_ext
   1.489 +rm -f conftest.i conftest.err conftest.$ac_ext
   1.490  if $ac_preproc_ok; then :
   1.491    break
   1.492  fi
   1.493 @@ -3287,7 +3294,7 @@
   1.494    # Broken: fails on valid input.
   1.495  continue
   1.496  fi
   1.497 -rm -f conftest.err conftest.$ac_ext
   1.498 +rm -f conftest.err conftest.i conftest.$ac_ext
   1.499  
   1.500    # OK, works on sane cases.  Now check whether nonexistent headers
   1.501    # can be detected and how.
   1.502 @@ -3303,18 +3310,18 @@
   1.503  ac_preproc_ok=:
   1.504  break
   1.505  fi
   1.506 -rm -f conftest.err conftest.$ac_ext
   1.507 +rm -f conftest.err conftest.i conftest.$ac_ext
   1.508  
   1.509  done
   1.510  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   1.511 -rm -f conftest.err conftest.$ac_ext
   1.512 +rm -f conftest.i conftest.err conftest.$ac_ext
   1.513  if $ac_preproc_ok; then :
   1.514  
   1.515  else
   1.516    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1.517  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1.518 -as_fn_error "C preprocessor \"$CPP\" fails sanity check
   1.519 -See \`config.log' for more details." "$LINENO" 5; }
   1.520 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   1.521 +See \`config.log' for more details" "$LINENO" 5 ; }
   1.522  fi
   1.523  
   1.524  ac_ext=c
   1.525 @@ -3339,7 +3346,7 @@
   1.526    have_x=disabled
   1.527  else
   1.528    case $x_includes,$x_libraries in #(
   1.529 -    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
   1.530 +    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
   1.531      *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
   1.532    $as_echo_n "(cached) " >&6
   1.533  else
   1.534 @@ -3357,7 +3364,7 @@
   1.535  	@echo libdir='${LIBDIR}'
   1.536  _ACEOF
   1.537    if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
   1.538 -    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1.539 +    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   1.540      for ac_var in incroot usrlibdir libdir; do
   1.541        eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
   1.542      done
   1.543 @@ -3443,7 +3450,7 @@
   1.544    fi
   1.545  done
   1.546  fi
   1.547 -rm -f conftest.err conftest.$ac_ext
   1.548 +rm -f conftest.err conftest.i conftest.$ac_ext
   1.549  fi # $ac_x_includes = no
   1.550  
   1.551  if test "$ac_x_libraries" = no; then
   1.552 @@ -3754,6 +3761,7 @@
   1.553  
   1.554  ac_libobjs=
   1.555  ac_ltlibobjs=
   1.556 +U=
   1.557  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   1.558    # 1. Remove the extension, and $U if already installed.
   1.559    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   1.560 @@ -3915,19 +3923,19 @@
   1.561  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.562  
   1.563  
   1.564 -# as_fn_error ERROR [LINENO LOG_FD]
   1.565 -# ---------------------------------
   1.566 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
   1.567 +# ----------------------------------------
   1.568  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   1.569  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   1.570 -# script with status $?, using 1 if that was 0.
   1.571 +# script with STATUS, using 1 if that was 0.
   1.572  as_fn_error ()
   1.573  {
   1.574 -  as_status=$?; test $as_status -eq 0 && as_status=1
   1.575 -  if test "$3"; then
   1.576 -    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1.577 -    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   1.578 +  as_status=$1; test $as_status -eq 0 && as_status=1
   1.579 +  if test "$4"; then
   1.580 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1.581 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   1.582    fi
   1.583 -  $as_echo "$as_me: error: $1" >&2
   1.584 +  $as_echo "$as_me: error: $2" >&2
   1.585    as_fn_exit $as_status
   1.586  } # as_fn_error
   1.587  
   1.588 @@ -4123,7 +4131,7 @@
   1.589        test -d "$as_dir" && break
   1.590      done
   1.591      test -z "$as_dirs" || eval "mkdir $as_dirs"
   1.592 -  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   1.593 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   1.594  
   1.595  
   1.596  } # as_fn_mkdir_p
   1.597 @@ -4177,7 +4185,7 @@
   1.598  # values after options handling.
   1.599  ac_log="
   1.600  This file was extended by $as_me, which was
   1.601 -generated by GNU Autoconf 2.65.  Invocation command line was
   1.602 +generated by GNU Autoconf 2.67.  Invocation command line was
   1.603  
   1.604    CONFIG_FILES    = $CONFIG_FILES
   1.605    CONFIG_HEADERS  = $CONFIG_HEADERS
   1.606 @@ -4230,10 +4238,10 @@
   1.607  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   1.608  ac_cs_version="\\
   1.609  config.status
   1.610 -configured by $0, generated by GNU Autoconf 2.65,
   1.611 +configured by $0, generated by GNU Autoconf 2.67,
   1.612    with options \\"\$ac_cs_config\\"
   1.613  
   1.614 -Copyright (C) 2009 Free Software Foundation, Inc.
   1.615 +Copyright (C) 2010 Free Software Foundation, Inc.
   1.616  This config.status script is free software; the Free Software Foundation
   1.617  gives unlimited permission to copy, distribute and modify it."
   1.618  
   1.619 @@ -4248,11 +4256,16 @@
   1.620  while test $# != 0
   1.621  do
   1.622    case $1 in
   1.623 -  --*=*)
   1.624 +  --*=?*)
   1.625      ac_option=`expr "X$1" : 'X\([^=]*\)='`
   1.626      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   1.627      ac_shift=:
   1.628      ;;
   1.629 +  --*=)
   1.630 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
   1.631 +    ac_optarg=
   1.632 +    ac_shift=:
   1.633 +    ;;
   1.634    *)
   1.635      ac_option=$1
   1.636      ac_optarg=$2
   1.637 @@ -4274,6 +4287,7 @@
   1.638      $ac_shift
   1.639      case $ac_optarg in
   1.640      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1.641 +    '') as_fn_error $? "missing file argument" ;;
   1.642      esac
   1.643      as_fn_append CONFIG_FILES " '$ac_optarg'"
   1.644      ac_need_defaults=false;;
   1.645 @@ -4284,7 +4298,7 @@
   1.646      ac_cs_silent=: ;;
   1.647  
   1.648    # This is an error.
   1.649 -  -*) as_fn_error "unrecognized option: \`$1'
   1.650 +  -*) as_fn_error $? "unrecognized option: \`$1'
   1.651  Try \`$0 --help' for more information." ;;
   1.652  
   1.653    *) as_fn_append ac_config_targets " $1"
   1.654 @@ -4335,7 +4349,7 @@
   1.655    case $ac_config_target in
   1.656      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   1.657  
   1.658 -  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   1.659 +  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
   1.660    esac
   1.661  done
   1.662  
   1.663 @@ -4371,7 +4385,7 @@
   1.664  {
   1.665    tmp=./conf$$-$RANDOM
   1.666    (umask 077 && mkdir "$tmp")
   1.667 -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   1.668 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   1.669  
   1.670  # Set up the scripts for CONFIG_FILES section.
   1.671  # No need to generate them if there are no CONFIG_FILES.
   1.672 @@ -4388,7 +4402,7 @@
   1.673  fi
   1.674  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   1.675  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   1.676 -  ac_cs_awk_cr='\r'
   1.677 +  ac_cs_awk_cr='\\r'
   1.678  else
   1.679    ac_cs_awk_cr=$ac_cr
   1.680  fi
   1.681 @@ -4402,18 +4416,18 @@
   1.682    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   1.683    echo "_ACEOF"
   1.684  } >conf$$subs.sh ||
   1.685 -  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   1.686 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   1.687 +  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   1.688 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   1.689  ac_delim='%!_!# '
   1.690  for ac_last_try in false false false false false :; do
   1.691    . ./conf$$subs.sh ||
   1.692 -    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   1.693 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   1.694  
   1.695    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   1.696    if test $ac_delim_n = $ac_delim_num; then
   1.697      break
   1.698    elif $ac_last_try; then
   1.699 -    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   1.700 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   1.701    else
   1.702      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   1.703    fi
   1.704 @@ -4502,20 +4516,28 @@
   1.705  else
   1.706    cat
   1.707  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   1.708 -  || as_fn_error "could not setup config files machinery" "$LINENO" 5
   1.709 +  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   1.710  _ACEOF
   1.711  
   1.712 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
   1.713 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   1.714 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   1.715 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   1.716  # trailing colons and then remove the whole line if VPATH becomes empty
   1.717  # (actually we leave an empty line to preserve line numbers).
   1.718  if test "x$srcdir" = x.; then
   1.719 -  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   1.720 -s/:*\$(srcdir):*/:/
   1.721 -s/:*\${srcdir}:*/:/
   1.722 -s/:*@srcdir@:*/:/
   1.723 -s/^\([^=]*=[	 ]*\):*/\1/
   1.724 +  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   1.725 +h
   1.726 +s///
   1.727 +s/^/:/
   1.728 +s/[	 ]*$/:/
   1.729 +s/:\$(srcdir):/:/g
   1.730 +s/:\${srcdir}:/:/g
   1.731 +s/:@srcdir@:/:/g
   1.732 +s/^:*//
   1.733  s/:*$//
   1.734 +x
   1.735 +s/\(=[	 ]*\).*/\1/
   1.736 +G
   1.737 +s/\n//
   1.738  s/^[^=]*=[	 ]*$//
   1.739  }'
   1.740  fi
   1.741 @@ -4533,7 +4555,7 @@
   1.742    esac
   1.743    case $ac_mode$ac_tag in
   1.744    :[FHL]*:*);;
   1.745 -  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   1.746 +  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
   1.747    :[FH]-) ac_tag=-:-;;
   1.748    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   1.749    esac
   1.750 @@ -4561,7 +4583,7 @@
   1.751  	   [\\/$]*) false;;
   1.752  	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   1.753  	   esac ||
   1.754 -	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   1.755 +	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
   1.756        esac
   1.757        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   1.758        as_fn_append ac_file_inputs " '$ac_f'"
   1.759 @@ -4588,7 +4610,7 @@
   1.760  
   1.761      case $ac_tag in
   1.762      *:-:* | *:-) cat >"$tmp/stdin" \
   1.763 -      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   1.764 +      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
   1.765      esac
   1.766      ;;
   1.767    esac
   1.768 @@ -4714,22 +4736,22 @@
   1.769  $ac_datarootdir_hack
   1.770  "
   1.771  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   1.772 -  || as_fn_error "could not create $ac_file" "$LINENO" 5
   1.773 +  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   1.774  
   1.775  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   1.776    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   1.777    { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   1.778    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   1.779 -which seems to be undefined.  Please make sure it is defined." >&5
   1.780 +which seems to be undefined.  Please make sure it is defined" >&5
   1.781  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   1.782 -which seems to be undefined.  Please make sure it is defined." >&2;}
   1.783 +which seems to be undefined.  Please make sure it is defined" >&2;}
   1.784  
   1.785    rm -f "$tmp/stdin"
   1.786    case $ac_file in
   1.787    -) cat "$tmp/out" && rm -f "$tmp/out";;
   1.788    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   1.789    esac \
   1.790 -  || as_fn_error "could not create $ac_file" "$LINENO" 5
   1.791 +  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   1.792   ;;
   1.793  
   1.794  
   1.795 @@ -4744,7 +4766,7 @@
   1.796  ac_clean_files=$ac_clean_files_save
   1.797  
   1.798  test $ac_write_fail = 0 ||
   1.799 -  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   1.800 +  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   1.801  
   1.802  
   1.803  # configure is writing to config.log, and then calls config.status.
   1.804 @@ -4765,7 +4787,7 @@
   1.805    exec 5>>config.log
   1.806    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   1.807    # would make configure fail if this is the last instruction.
   1.808 -  $ac_cs_success || as_fn_exit $?
   1.809 +  $ac_cs_success || as_fn_exit 1
   1.810  fi
   1.811  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   1.812    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5