configure
changeset 6577 d38491853506
parent 6454 f67fcade4e1c
child 6580 a7d6106f1715
     1.1 --- a/configure	Thu Oct 11 14:44:27 2012 -0700
     1.2 +++ b/configure	Thu Oct 11 15:05:00 2012 -0700
     1.3 @@ -1,9 +1,11 @@
     1.4  #! /bin/sh
     1.5  # Guess values for system-dependent variables and create Makefiles.
     1.6 -# Generated by GNU Autoconf 2.69.
     1.7 +# Generated by GNU Autoconf 2.68.
     1.8  #
     1.9  #
    1.10 -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    1.11 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1.12 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    1.13 +# Foundation, Inc.
    1.14  #
    1.15  #
    1.16  # This configure script is free software; the Free Software Foundation
    1.17 @@ -132,31 +134,6 @@
    1.18  # CDPATH.
    1.19  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    1.20  
    1.21 -# Use a proper internal environment variable to ensure we don't fall
    1.22 -  # into an infinite loop, continuously re-executing ourselves.
    1.23 -  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    1.24 -    _as_can_reexec=no; export _as_can_reexec;
    1.25 -    # We cannot yet assume a decent shell, so we have to provide a
    1.26 -# neutralization value for shells without unset; and this also
    1.27 -# works around shells that cannot unset nonexistent variables.
    1.28 -# Preserve -v and -x to the replacement shell.
    1.29 -BASH_ENV=/dev/null
    1.30 -ENV=/dev/null
    1.31 -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    1.32 -case $- in # ((((
    1.33 -  *v*x* | *x*v* ) as_opts=-vx ;;
    1.34 -  *v* ) as_opts=-v ;;
    1.35 -  *x* ) as_opts=-x ;;
    1.36 -  * ) as_opts= ;;
    1.37 -esac
    1.38 -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    1.39 -# Admittedly, this is quite paranoid, since all the known shells bail
    1.40 -# out after a failed `exec'.
    1.41 -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    1.42 -as_fn_exit 255
    1.43 -  fi
    1.44 -  # We don't want this to propagate to other subprocesses.
    1.45 -          { _as_can_reexec=; unset _as_can_reexec;}
    1.46  if test "x$CONFIG_SHELL" = x; then
    1.47    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    1.48    emulate sh
    1.49 @@ -190,8 +167,7 @@
    1.50  else
    1.51    exitcode=1; echo positional parameters were not saved.
    1.52  fi
    1.53 -test x\$exitcode = x0 || exit 1
    1.54 -test -x / || exit 1"
    1.55 +test x\$exitcode = x0 || exit 1"
    1.56    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    1.57    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    1.58    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    1.59 @@ -244,25 +220,21 @@
    1.60  
    1.61  
    1.62        if test "x$CONFIG_SHELL" != x; then :
    1.63 -  export CONFIG_SHELL
    1.64 -             # We cannot yet assume a decent shell, so we have to provide a
    1.65 -# neutralization value for shells without unset; and this also
    1.66 -# works around shells that cannot unset nonexistent variables.
    1.67 -# Preserve -v and -x to the replacement shell.
    1.68 -BASH_ENV=/dev/null
    1.69 -ENV=/dev/null
    1.70 -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    1.71 -case $- in # ((((
    1.72 -  *v*x* | *x*v* ) as_opts=-vx ;;
    1.73 -  *v* ) as_opts=-v ;;
    1.74 -  *x* ) as_opts=-x ;;
    1.75 -  * ) as_opts= ;;
    1.76 -esac
    1.77 -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    1.78 -# Admittedly, this is quite paranoid, since all the known shells bail
    1.79 -# out after a failed `exec'.
    1.80 -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    1.81 -exit 255
    1.82 +  # We cannot yet assume a decent shell, so we have to provide a
    1.83 +	# neutralization value for shells without unset; and this also
    1.84 +	# works around shells that cannot unset nonexistent variables.
    1.85 +	# Preserve -v and -x to the replacement shell.
    1.86 +	BASH_ENV=/dev/null
    1.87 +	ENV=/dev/null
    1.88 +	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    1.89 +	export CONFIG_SHELL
    1.90 +	case $- in # ((((
    1.91 +	  *v*x* | *x*v* ) as_opts=-vx ;;
    1.92 +	  *v* ) as_opts=-v ;;
    1.93 +	  *x* ) as_opts=-x ;;
    1.94 +	  * ) as_opts= ;;
    1.95 +	esac
    1.96 +	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    1.97  fi
    1.98  
    1.99      if test x$as_have_required = xno; then :
   1.100 @@ -364,14 +336,6 @@
   1.101  
   1.102  
   1.103  } # as_fn_mkdir_p
   1.104 -
   1.105 -# as_fn_executable_p FILE
   1.106 -# -----------------------
   1.107 -# Test if FILE is an executable regular file.
   1.108 -as_fn_executable_p ()
   1.109 -{
   1.110 -  test -f "$1" && test -x "$1"
   1.111 -} # as_fn_executable_p
   1.112  # as_fn_append VAR VALUE
   1.113  # ----------------------
   1.114  # Append the text in VALUE to the end of the definition contained in VAR. Take
   1.115 @@ -493,10 +457,6 @@
   1.116    chmod +x "$as_me.lineno" ||
   1.117      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   1.118  
   1.119 -  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
   1.120 -  # already done that, so ensure we don't try to do so again and fall
   1.121 -  # in an infinite loop.  This has already happened in practice.
   1.122 -  _as_can_reexec=no; export _as_can_reexec
   1.123    # Don't try to exec as it changes $[0], causing all sort of problems
   1.124    # (the dirname of $[0] is not the place where we might find the
   1.125    # original and so on.  Autoconf is especially sensitive to this).
   1.126 @@ -531,16 +491,16 @@
   1.127      # ... but there are two gotchas:
   1.128      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.129      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.130 -    # In both cases, we have to default to `cp -pR'.
   1.131 +    # In both cases, we have to default to `cp -p'.
   1.132      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.133 -      as_ln_s='cp -pR'
   1.134 +      as_ln_s='cp -p'
   1.135    elif ln conf$$.file conf$$ 2>/dev/null; then
   1.136      as_ln_s=ln
   1.137    else
   1.138 -    as_ln_s='cp -pR'
   1.139 -  fi
   1.140 -else
   1.141 -  as_ln_s='cp -pR'
   1.142 +    as_ln_s='cp -p'
   1.143 +  fi
   1.144 +else
   1.145 +  as_ln_s='cp -p'
   1.146  fi
   1.147  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.148  rmdir conf$$.dir 2>/dev/null
   1.149 @@ -552,8 +512,28 @@
   1.150    as_mkdir_p=false
   1.151  fi
   1.152  
   1.153 -as_test_x='test -x'
   1.154 -as_executable_p=as_fn_executable_p
   1.155 +if test -x / >/dev/null 2>&1; then
   1.156 +  as_test_x='test -x'
   1.157 +else
   1.158 +  if ls -dL / >/dev/null 2>&1; then
   1.159 +    as_ls_L_option=L
   1.160 +  else
   1.161 +    as_ls_L_option=
   1.162 +  fi
   1.163 +  as_test_x='
   1.164 +    eval sh -c '\''
   1.165 +      if test -d "$1"; then
   1.166 +	test -d "$1/.";
   1.167 +      else
   1.168 +	case $1 in #(
   1.169 +	-*)set "./$1";;
   1.170 +	esac;
   1.171 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   1.172 +	???[sx]*):;;*)false;;esac;fi
   1.173 +    '\'' sh
   1.174 +  '
   1.175 +fi
   1.176 +as_executable_p=$as_test_x
   1.177  
   1.178  # Sed expression to map a string onto a valid CPP name.
   1.179  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.180 @@ -1310,6 +1290,8 @@
   1.181  if test "x$host_alias" != x; then
   1.182    if test "x$build_alias" = x; then
   1.183      cross_compiling=maybe
   1.184 +    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1.185 +    If a cross compiler is detected then cross compile mode will be used" >&2
   1.186    elif test "x$build_alias" != "x$host_alias"; then
   1.187      cross_compiling=yes
   1.188    fi
   1.189 @@ -1661,9 +1643,9 @@
   1.190  if $ac_init_version; then
   1.191    cat <<\_ACEOF
   1.192  configure
   1.193 -generated by GNU Autoconf 2.69
   1.194 -
   1.195 -Copyright (C) 2012 Free Software Foundation, Inc.
   1.196 +generated by GNU Autoconf 2.68
   1.197 +
   1.198 +Copyright (C) 2010 Free Software Foundation, Inc.
   1.199  This configure script is free software; the Free Software Foundation
   1.200  gives unlimited permission to copy, distribute and modify it.
   1.201  _ACEOF
   1.202 @@ -1739,7 +1721,7 @@
   1.203  	 test ! -s conftest.err
   1.204         } && test -s conftest$ac_exeext && {
   1.205  	 test "$cross_compiling" = yes ||
   1.206 -	 test -x conftest$ac_exeext
   1.207 +	 $as_test_x conftest$ac_exeext
   1.208         }; then :
   1.209    ac_retval=0
   1.210  else
   1.211 @@ -2037,7 +2019,7 @@
   1.212  	 test ! -s conftest.err
   1.213         } && test -s conftest$ac_exeext && {
   1.214  	 test "$cross_compiling" = yes ||
   1.215 -	 test -x conftest$ac_exeext
   1.216 +	 $as_test_x conftest$ac_exeext
   1.217         }; then :
   1.218    ac_retval=0
   1.219  else
   1.220 @@ -2271,8 +2253,7 @@
   1.221  main ()
   1.222  {
   1.223  static int test_array [1 - 2 * !(($2) >= 0)];
   1.224 -test_array [0] = 0;
   1.225 -return test_array [0];
   1.226 +test_array [0] = 0
   1.227  
   1.228    ;
   1.229    return 0;
   1.230 @@ -2288,8 +2269,7 @@
   1.231  main ()
   1.232  {
   1.233  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1.234 -test_array [0] = 0;
   1.235 -return test_array [0];
   1.236 +test_array [0] = 0
   1.237  
   1.238    ;
   1.239    return 0;
   1.240 @@ -2315,8 +2295,7 @@
   1.241  main ()
   1.242  {
   1.243  static int test_array [1 - 2 * !(($2) < 0)];
   1.244 -test_array [0] = 0;
   1.245 -return test_array [0];
   1.246 +test_array [0] = 0
   1.247  
   1.248    ;
   1.249    return 0;
   1.250 @@ -2332,8 +2311,7 @@
   1.251  main ()
   1.252  {
   1.253  static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   1.254 -test_array [0] = 0;
   1.255 -return test_array [0];
   1.256 +test_array [0] = 0
   1.257  
   1.258    ;
   1.259    return 0;
   1.260 @@ -2367,8 +2345,7 @@
   1.261  main ()
   1.262  {
   1.263  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1.264 -test_array [0] = 0;
   1.265 -return test_array [0];
   1.266 +test_array [0] = 0
   1.267  
   1.268    ;
   1.269    return 0;
   1.270 @@ -2441,7 +2418,7 @@
   1.271  running configure, to aid debugging if configure makes a mistake.
   1.272  
   1.273  It was created by $as_me, which was
   1.274 -generated by GNU Autoconf 2.69.  Invocation command line was
   1.275 +generated by GNU Autoconf 2.68.  Invocation command line was
   1.276  
   1.277    $ $0 $@
   1.278  
   1.279 @@ -3035,7 +3012,7 @@
   1.280    IFS=$as_save_IFS
   1.281    test -z "$as_dir" && as_dir=.
   1.282      for ac_exec_ext in '' $ac_executable_extensions; do
   1.283 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.284 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.285      ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1.286      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.287      break 2
   1.288 @@ -3075,7 +3052,7 @@
   1.289    IFS=$as_save_IFS
   1.290    test -z "$as_dir" && as_dir=.
   1.291      for ac_exec_ext in '' $ac_executable_extensions; do
   1.292 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.293 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.294      ac_cv_prog_ac_ct_CC="gcc"
   1.295      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.296      break 2
   1.297 @@ -3128,7 +3105,7 @@
   1.298    IFS=$as_save_IFS
   1.299    test -z "$as_dir" && as_dir=.
   1.300      for ac_exec_ext in '' $ac_executable_extensions; do
   1.301 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.302 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.303      ac_cv_prog_CC="${ac_tool_prefix}cc"
   1.304      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.305      break 2
   1.306 @@ -3169,7 +3146,7 @@
   1.307    IFS=$as_save_IFS
   1.308    test -z "$as_dir" && as_dir=.
   1.309      for ac_exec_ext in '' $ac_executable_extensions; do
   1.310 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.311 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.312      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1.313         ac_prog_rejected=yes
   1.314         continue
   1.315 @@ -3227,7 +3204,7 @@
   1.316    IFS=$as_save_IFS
   1.317    test -z "$as_dir" && as_dir=.
   1.318      for ac_exec_ext in '' $ac_executable_extensions; do
   1.319 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.320 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.321      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1.322      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.323      break 2
   1.324 @@ -3271,7 +3248,7 @@
   1.325    IFS=$as_save_IFS
   1.326    test -z "$as_dir" && as_dir=.
   1.327      for ac_exec_ext in '' $ac_executable_extensions; do
   1.328 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.329 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.330      ac_cv_prog_ac_ct_CC="$ac_prog"
   1.331      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.332      break 2
   1.333 @@ -3717,7 +3694,8 @@
   1.334  /* end confdefs.h.  */
   1.335  #include <stdarg.h>
   1.336  #include <stdio.h>
   1.337 -struct stat;
   1.338 +#include <sys/types.h>
   1.339 +#include <sys/stat.h>
   1.340  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   1.341  struct buf { int x; };
   1.342  FILE * (*rcsopen) (struct buf *, struct stat *, int);
   1.343 @@ -3824,7 +3802,7 @@
   1.344      for ac_prog in sed gsed; do
   1.345      for ac_exec_ext in '' $ac_executable_extensions; do
   1.346        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   1.347 -      as_fn_executable_p "$ac_path_SED" || continue
   1.348 +      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   1.349  # Check for GNU ac_path_SED and select it if it is found.
   1.350    # Check for GNU $ac_path_SED
   1.351  case `"$ac_path_SED" --version 2>&1` in
   1.352 @@ -3900,7 +3878,7 @@
   1.353      for ac_prog in grep ggrep; do
   1.354      for ac_exec_ext in '' $ac_executable_extensions; do
   1.355        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   1.356 -      as_fn_executable_p "$ac_path_GREP" || continue
   1.357 +      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   1.358  # Check for GNU ac_path_GREP and select it if it is found.
   1.359    # Check for GNU $ac_path_GREP
   1.360  case `"$ac_path_GREP" --version 2>&1` in
   1.361 @@ -3966,7 +3944,7 @@
   1.362      for ac_prog in egrep; do
   1.363      for ac_exec_ext in '' $ac_executable_extensions; do
   1.364        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   1.365 -      as_fn_executable_p "$ac_path_EGREP" || continue
   1.366 +      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   1.367  # Check for GNU ac_path_EGREP and select it if it is found.
   1.368    # Check for GNU $ac_path_EGREP
   1.369  case `"$ac_path_EGREP" --version 2>&1` in
   1.370 @@ -4033,7 +4011,7 @@
   1.371      for ac_prog in fgrep; do
   1.372      for ac_exec_ext in '' $ac_executable_extensions; do
   1.373        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   1.374 -      as_fn_executable_p "$ac_path_FGREP" || continue
   1.375 +      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   1.376  # Check for GNU ac_path_FGREP and select it if it is found.
   1.377    # Check for GNU $ac_path_FGREP
   1.378  case `"$ac_path_FGREP" --version 2>&1` in
   1.379 @@ -4289,7 +4267,7 @@
   1.380    IFS=$as_save_IFS
   1.381    test -z "$as_dir" && as_dir=.
   1.382      for ac_exec_ext in '' $ac_executable_extensions; do
   1.383 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.384 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.385      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   1.386      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.387      break 2
   1.388 @@ -4333,7 +4311,7 @@
   1.389    IFS=$as_save_IFS
   1.390    test -z "$as_dir" && as_dir=.
   1.391      for ac_exec_ext in '' $ac_executable_extensions; do
   1.392 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.393 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.394      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   1.395      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.396      break 2
   1.397 @@ -4757,7 +4735,7 @@
   1.398    IFS=$as_save_IFS
   1.399    test -z "$as_dir" && as_dir=.
   1.400      for ac_exec_ext in '' $ac_executable_extensions; do
   1.401 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.402 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.403      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   1.404      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.405      break 2
   1.406 @@ -4797,7 +4775,7 @@
   1.407    IFS=$as_save_IFS
   1.408    test -z "$as_dir" && as_dir=.
   1.409      for ac_exec_ext in '' $ac_executable_extensions; do
   1.410 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.411 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.412      ac_cv_prog_ac_ct_OBJDUMP="objdump"
   1.413      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.414      break 2
   1.415 @@ -5102,7 +5080,7 @@
   1.416    IFS=$as_save_IFS
   1.417    test -z "$as_dir" && as_dir=.
   1.418      for ac_exec_ext in '' $ac_executable_extensions; do
   1.419 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.420 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.421      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   1.422      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.423      break 2
   1.424 @@ -5142,7 +5120,7 @@
   1.425    IFS=$as_save_IFS
   1.426    test -z "$as_dir" && as_dir=.
   1.427      for ac_exec_ext in '' $ac_executable_extensions; do
   1.428 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.429 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.430      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   1.431      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.432      break 2
   1.433 @@ -5243,7 +5221,7 @@
   1.434    IFS=$as_save_IFS
   1.435    test -z "$as_dir" && as_dir=.
   1.436      for ac_exec_ext in '' $ac_executable_extensions; do
   1.437 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.438 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.439      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   1.440      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.441      break 2
   1.442 @@ -5287,7 +5265,7 @@
   1.443    IFS=$as_save_IFS
   1.444    test -z "$as_dir" && as_dir=.
   1.445      for ac_exec_ext in '' $ac_executable_extensions; do
   1.446 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.447 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.448      ac_cv_prog_ac_ct_AR="$ac_prog"
   1.449      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.450      break 2
   1.451 @@ -5412,7 +5390,7 @@
   1.452    IFS=$as_save_IFS
   1.453    test -z "$as_dir" && as_dir=.
   1.454      for ac_exec_ext in '' $ac_executable_extensions; do
   1.455 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.456 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.457      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1.458      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.459      break 2
   1.460 @@ -5452,7 +5430,7 @@
   1.461    IFS=$as_save_IFS
   1.462    test -z "$as_dir" && as_dir=.
   1.463      for ac_exec_ext in '' $ac_executable_extensions; do
   1.464 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.465 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.466      ac_cv_prog_ac_ct_STRIP="strip"
   1.467      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.468      break 2
   1.469 @@ -5511,7 +5489,7 @@
   1.470    IFS=$as_save_IFS
   1.471    test -z "$as_dir" && as_dir=.
   1.472      for ac_exec_ext in '' $ac_executable_extensions; do
   1.473 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.474 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.475      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   1.476      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.477      break 2
   1.478 @@ -5551,7 +5529,7 @@
   1.479    IFS=$as_save_IFS
   1.480    test -z "$as_dir" && as_dir=.
   1.481      for ac_exec_ext in '' $ac_executable_extensions; do
   1.482 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.483 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.484      ac_cv_prog_ac_ct_RANLIB="ranlib"
   1.485      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.486      break 2
   1.487 @@ -5655,7 +5633,7 @@
   1.488    IFS=$as_save_IFS
   1.489    test -z "$as_dir" && as_dir=.
   1.490      for ac_exec_ext in '' $ac_executable_extensions; do
   1.491 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.492 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.493      ac_cv_prog_AWK="$ac_prog"
   1.494      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.495      break 2
   1.496 @@ -6242,7 +6220,7 @@
   1.497    IFS=$as_save_IFS
   1.498    test -z "$as_dir" && as_dir=.
   1.499      for ac_exec_ext in '' $ac_executable_extensions; do
   1.500 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.501 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.502      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   1.503      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.504      break 2
   1.505 @@ -6282,7 +6260,7 @@
   1.506    IFS=$as_save_IFS
   1.507    test -z "$as_dir" && as_dir=.
   1.508      for ac_exec_ext in '' $ac_executable_extensions; do
   1.509 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.510 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.511      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   1.512      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.513      break 2
   1.514 @@ -6362,7 +6340,7 @@
   1.515    IFS=$as_save_IFS
   1.516    test -z "$as_dir" && as_dir=.
   1.517      for ac_exec_ext in '' $ac_executable_extensions; do
   1.518 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.519 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.520      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   1.521      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.522      break 2
   1.523 @@ -6402,7 +6380,7 @@
   1.524    IFS=$as_save_IFS
   1.525    test -z "$as_dir" && as_dir=.
   1.526      for ac_exec_ext in '' $ac_executable_extensions; do
   1.527 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.528 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.529      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   1.530      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.531      break 2
   1.532 @@ -6454,7 +6432,7 @@
   1.533    IFS=$as_save_IFS
   1.534    test -z "$as_dir" && as_dir=.
   1.535      for ac_exec_ext in '' $ac_executable_extensions; do
   1.536 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.537 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.538      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   1.539      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.540      break 2
   1.541 @@ -6494,7 +6472,7 @@
   1.542    IFS=$as_save_IFS
   1.543    test -z "$as_dir" && as_dir=.
   1.544      for ac_exec_ext in '' $ac_executable_extensions; do
   1.545 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.546 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.547      ac_cv_prog_ac_ct_NMEDIT="nmedit"
   1.548      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.549      break 2
   1.550 @@ -6546,7 +6524,7 @@
   1.551    IFS=$as_save_IFS
   1.552    test -z "$as_dir" && as_dir=.
   1.553      for ac_exec_ext in '' $ac_executable_extensions; do
   1.554 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.555 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.556      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   1.557      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.558      break 2
   1.559 @@ -6586,7 +6564,7 @@
   1.560    IFS=$as_save_IFS
   1.561    test -z "$as_dir" && as_dir=.
   1.562      for ac_exec_ext in '' $ac_executable_extensions; do
   1.563 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.564 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.565      ac_cv_prog_ac_ct_LIPO="lipo"
   1.566      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.567      break 2
   1.568 @@ -6638,7 +6616,7 @@
   1.569    IFS=$as_save_IFS
   1.570    test -z "$as_dir" && as_dir=.
   1.571      for ac_exec_ext in '' $ac_executable_extensions; do
   1.572 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.573 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.574      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   1.575      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.576      break 2
   1.577 @@ -6678,7 +6656,7 @@
   1.578    IFS=$as_save_IFS
   1.579    test -z "$as_dir" && as_dir=.
   1.580      for ac_exec_ext in '' $ac_executable_extensions; do
   1.581 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.582 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.583      ac_cv_prog_ac_ct_OTOOL="otool"
   1.584      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.585      break 2
   1.586 @@ -6730,7 +6708,7 @@
   1.587    IFS=$as_save_IFS
   1.588    test -z "$as_dir" && as_dir=.
   1.589      for ac_exec_ext in '' $ac_executable_extensions; do
   1.590 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.591 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.592      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   1.593      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.594      break 2
   1.595 @@ -6770,7 +6748,7 @@
   1.596    IFS=$as_save_IFS
   1.597    test -z "$as_dir" && as_dir=.
   1.598      for ac_exec_ext in '' $ac_executable_extensions; do
   1.599 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.600 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.601      ac_cv_prog_ac_ct_OTOOL64="otool64"
   1.602      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.603      break 2
   1.604 @@ -7275,7 +7253,7 @@
   1.605    IFS=$as_save_IFS
   1.606    test -z "$as_dir" && as_dir=.
   1.607      for ac_exec_ext in '' $ac_executable_extensions; do
   1.608 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.609 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.610      ac_cv_prog_AS="${ac_tool_prefix}as"
   1.611      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.612      break 2
   1.613 @@ -7315,7 +7293,7 @@
   1.614    IFS=$as_save_IFS
   1.615    test -z "$as_dir" && as_dir=.
   1.616      for ac_exec_ext in '' $ac_executable_extensions; do
   1.617 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.618 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.619      ac_cv_prog_ac_ct_AS="as"
   1.620      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.621      break 2
   1.622 @@ -7367,7 +7345,7 @@
   1.623    IFS=$as_save_IFS
   1.624    test -z "$as_dir" && as_dir=.
   1.625      for ac_exec_ext in '' $ac_executable_extensions; do
   1.626 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.627 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.628      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   1.629      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.630      break 2
   1.631 @@ -7407,7 +7385,7 @@
   1.632    IFS=$as_save_IFS
   1.633    test -z "$as_dir" && as_dir=.
   1.634      for ac_exec_ext in '' $ac_executable_extensions; do
   1.635 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.636 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.637      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   1.638      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.639      break 2
   1.640 @@ -7459,7 +7437,7 @@
   1.641    IFS=$as_save_IFS
   1.642    test -z "$as_dir" && as_dir=.
   1.643      for ac_exec_ext in '' $ac_executable_extensions; do
   1.644 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.645 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.646      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   1.647      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.648      break 2
   1.649 @@ -7499,7 +7477,7 @@
   1.650    IFS=$as_save_IFS
   1.651    test -z "$as_dir" && as_dir=.
   1.652      for ac_exec_ext in '' $ac_executable_extensions; do
   1.653 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.654 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.655      ac_cv_prog_ac_ct_OBJDUMP="objdump"
   1.656      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.657      break 2
   1.658 @@ -11591,7 +11569,7 @@
   1.659    IFS=$as_save_IFS
   1.660    test -z "$as_dir" && as_dir=.
   1.661      for ac_exec_ext in '' $ac_executable_extensions; do
   1.662 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.663 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.664      ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1.665      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.666      break 2
   1.667 @@ -11631,7 +11609,7 @@
   1.668    IFS=$as_save_IFS
   1.669    test -z "$as_dir" && as_dir=.
   1.670      for ac_exec_ext in '' $ac_executable_extensions; do
   1.671 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.672 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.673      ac_cv_prog_ac_ct_CC="gcc"
   1.674      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.675      break 2
   1.676 @@ -11684,7 +11662,7 @@
   1.677    IFS=$as_save_IFS
   1.678    test -z "$as_dir" && as_dir=.
   1.679      for ac_exec_ext in '' $ac_executable_extensions; do
   1.680 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.681 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.682      ac_cv_prog_CC="${ac_tool_prefix}cc"
   1.683      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.684      break 2
   1.685 @@ -11725,7 +11703,7 @@
   1.686    IFS=$as_save_IFS
   1.687    test -z "$as_dir" && as_dir=.
   1.688      for ac_exec_ext in '' $ac_executable_extensions; do
   1.689 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.690 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.691      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1.692         ac_prog_rejected=yes
   1.693         continue
   1.694 @@ -11783,7 +11761,7 @@
   1.695    IFS=$as_save_IFS
   1.696    test -z "$as_dir" && as_dir=.
   1.697      for ac_exec_ext in '' $ac_executable_extensions; do
   1.698 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.699 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.700      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1.701      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.702      break 2
   1.703 @@ -11827,7 +11805,7 @@
   1.704    IFS=$as_save_IFS
   1.705    test -z "$as_dir" && as_dir=.
   1.706      for ac_exec_ext in '' $ac_executable_extensions; do
   1.707 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.708 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.709      ac_cv_prog_ac_ct_CC="$ac_prog"
   1.710      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.711      break 2
   1.712 @@ -12023,7 +12001,8 @@
   1.713  /* end confdefs.h.  */
   1.714  #include <stdarg.h>
   1.715  #include <stdio.h>
   1.716 -struct stat;
   1.717 +#include <sys/types.h>
   1.718 +#include <sys/stat.h>
   1.719  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   1.720  struct buf { int x; };
   1.721  FILE * (*rcsopen) (struct buf *, struct stat *, int);
   1.722 @@ -12136,7 +12115,7 @@
   1.723    IFS=$as_save_IFS
   1.724    test -z "$as_dir" && as_dir=.
   1.725      for ac_exec_ext in '' $ac_executable_extensions; do
   1.726 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.727 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.728      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   1.729      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.730      break 2
   1.731 @@ -12180,7 +12159,7 @@
   1.732    IFS=$as_save_IFS
   1.733    test -z "$as_dir" && as_dir=.
   1.734      for ac_exec_ext in '' $ac_executable_extensions; do
   1.735 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.736 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.737      ac_cv_prog_ac_ct_CXX="$ac_prog"
   1.738      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.739      break 2
   1.740 @@ -15601,7 +15580,7 @@
   1.741      # by default.
   1.742      for ac_prog in ginstall scoinst install; do
   1.743        for ac_exec_ext in '' $ac_executable_extensions; do
   1.744 -	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1.745 +	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   1.746  	  if test $ac_prog = install &&
   1.747  	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1.748  	    # AIX install.  It has an incompatible calling convention.
   1.749 @@ -15705,7 +15684,7 @@
   1.750    IFS=$as_save_IFS
   1.751    test -z "$as_dir" && as_dir=.
   1.752      for ac_exec_ext in '' $ac_executable_extensions; do
   1.753 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.754 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.755      ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
   1.756      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.757      break 2
   1.758 @@ -15745,7 +15724,7 @@
   1.759    IFS=$as_save_IFS
   1.760    test -z "$as_dir" && as_dir=.
   1.761      for ac_exec_ext in '' $ac_executable_extensions; do
   1.762 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.763 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.764      ac_cv_prog_ac_ct_WINDRES="windres"
   1.765      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.766      break 2
   1.767 @@ -15859,11 +15838,11 @@
   1.768  int
   1.769  main ()
   1.770  {
   1.771 -
   1.772 +/* FIXME: Include the comments suggested by Paul. */
   1.773  #ifndef __cplusplus
   1.774 -  /* Ultrix mips cc rejects this sort of thing.  */
   1.775 +  /* Ultrix mips cc rejects this.  */
   1.776    typedef int charset[2];
   1.777 -  const charset cs = { 0, 0 };
   1.778 +  const charset cs;
   1.779    /* SunOS 4.1.1 cc rejects this.  */
   1.780    char const *const *pcpcc;
   1.781    char **ppc;
   1.782 @@ -15880,9 +15859,8 @@
   1.783    ++pcpcc;
   1.784    ppc = (char**) pcpcc;
   1.785    pcpcc = (char const *const *) ppc;
   1.786 -  { /* SCO 3.2v4 cc rejects this sort of thing.  */
   1.787 -    char tx;
   1.788 -    char *t = &tx;
   1.789 +  { /* SCO 3.2v4 cc rejects this.  */
   1.790 +    char *t;
   1.791      char const *s = 0 ? (char *) 0 : (char const *) 0;
   1.792  
   1.793      *t++ = 0;
   1.794 @@ -15898,10 +15876,10 @@
   1.795      iptr p = 0;
   1.796      ++p;
   1.797    }
   1.798 -  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   1.799 +  { /* AIX XL C 1.02.0.0 rejects this saying
   1.800         "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   1.801 -    struct s { int j; const int *ap[3]; } bx;
   1.802 -    struct s *b = &bx; b->j = 5;
   1.803 +    struct s { int j; const int *ap[3]; };
   1.804 +    struct s *b; b->j = 5;
   1.805    }
   1.806    { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   1.807      const int foo = 10;
   1.808 @@ -16082,6 +16060,36 @@
   1.809      fi
   1.810  fi
   1.811  
   1.812 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker option --no-undefined" >&5
   1.813 +$as_echo_n "checking for linker option --no-undefined... " >&6; }
   1.814 +have_no_undefined=no
   1.815 +save_LDFLAGS="$LDFLAGS"
   1.816 +LDFLAGS="$LDFLAGS -Wl,--no-undefined"
   1.817 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1.818 +/* end confdefs.h.  */
   1.819 +
   1.820 +
   1.821 +int
   1.822 +main ()
   1.823 +{
   1.824 +
   1.825 +
   1.826 +  ;
   1.827 +  return 0;
   1.828 +}
   1.829 +_ACEOF
   1.830 +if ac_fn_c_try_link "$LINENO"; then :
   1.831 +
   1.832 +have_no_undefined=yes
   1.833 +EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
   1.834 +
   1.835 +fi
   1.836 +rm -f core conftest.err conftest.$ac_objext \
   1.837 +    conftest$ac_exeext conftest.$ac_ext
   1.838 +LDFLAGS="$save_LDFLAGS"
   1.839 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_no_undefined" >&5
   1.840 +$as_echo "$have_no_undefined" >&6; }
   1.841 +
   1.842  # Check whether --enable-libc was given.
   1.843  if test "${enable_libc+set}" = set; then :
   1.844    enableval=$enable_libc;
   1.845 @@ -16420,20 +16428,23 @@
   1.846  /* end confdefs.h.  */
   1.847  $ac_includes_default
   1.848  int
   1.849 -find_stack_direction (int *addr, int depth)
   1.850 -{
   1.851 -  int dir, dummy = 0;
   1.852 -  if (! addr)
   1.853 -    addr = &dummy;
   1.854 -  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
   1.855 -  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
   1.856 -  return dir + dummy;
   1.857 -}
   1.858 -
   1.859 -int
   1.860 -main (int argc, char **argv)
   1.861 -{
   1.862 -  return find_stack_direction (0, argc + !argv + 20) < 0;
   1.863 +find_stack_direction ()
   1.864 +{
   1.865 +  static char *addr = 0;
   1.866 +  auto char dummy;
   1.867 +  if (addr == 0)
   1.868 +    {
   1.869 +      addr = &dummy;
   1.870 +      return find_stack_direction ();
   1.871 +    }
   1.872 +  else
   1.873 +    return (&dummy > addr) ? 1 : -1;
   1.874 +}
   1.875 +
   1.876 +int
   1.877 +main ()
   1.878 +{
   1.879 +  return find_stack_direction () < 0;
   1.880  }
   1.881  _ACEOF
   1.882  if ac_fn_c_try_run "$LINENO"; then :
   1.883 @@ -17907,7 +17918,7 @@
   1.884    IFS=$as_save_IFS
   1.885    test -z "$as_dir" && as_dir=.
   1.886      for ac_exec_ext in '' $ac_executable_extensions; do
   1.887 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.888 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.889      ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.890      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.891      break 2
   1.892 @@ -18157,7 +18168,7 @@
   1.893    IFS=$as_save_IFS
   1.894    test -z "$as_dir" && as_dir=.
   1.895      for ac_exec_ext in '' $ac_executable_extensions; do
   1.896 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.897 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.898      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.899      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.900      break 2
   1.901 @@ -18256,7 +18267,7 @@
   1.902    IFS=$as_save_IFS
   1.903    test -z "$as_dir" && as_dir=.
   1.904      for ac_exec_ext in '' $ac_executable_extensions; do
   1.905 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.906 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.907      ac_cv_path_ARTSCONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.908      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.909      break 2
   1.910 @@ -20182,7 +20193,7 @@
   1.911    IFS=$as_save_IFS
   1.912    test -z "$as_dir" && as_dir=.
   1.913      for ac_exec_ext in '' $ac_executable_extensions; do
   1.914 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.915 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.916      ac_cv_path_DIRECTFBCONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.917      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.918      break 2
   1.919 @@ -20227,7 +20238,7 @@
   1.920    IFS=$as_save_IFS
   1.921    test -z "$as_dir" && as_dir=.
   1.922      for ac_exec_ext in '' $ac_executable_extensions; do
   1.923 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.924 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.925      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.926      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.927      break 2
   1.928 @@ -20371,7 +20382,7 @@
   1.929    IFS=$as_save_IFS
   1.930    test -z "$as_dir" && as_dir=.
   1.931      for ac_exec_ext in '' $ac_executable_extensions; do
   1.932 -  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.933 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.934      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.935      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.936      break 2
   1.937 @@ -22861,16 +22872,16 @@
   1.938      # ... but there are two gotchas:
   1.939      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.940      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.941 -    # In both cases, we have to default to `cp -pR'.
   1.942 +    # In both cases, we have to default to `cp -p'.
   1.943      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.944 -      as_ln_s='cp -pR'
   1.945 +      as_ln_s='cp -p'
   1.946    elif ln conf$$.file conf$$ 2>/dev/null; then
   1.947      as_ln_s=ln
   1.948    else
   1.949 -    as_ln_s='cp -pR'
   1.950 -  fi
   1.951 -else
   1.952 -  as_ln_s='cp -pR'
   1.953 +    as_ln_s='cp -p'
   1.954 +  fi
   1.955 +else
   1.956 +  as_ln_s='cp -p'
   1.957  fi
   1.958  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.959  rmdir conf$$.dir 2>/dev/null
   1.960 @@ -22930,16 +22941,28 @@
   1.961    as_mkdir_p=false
   1.962  fi
   1.963  
   1.964 -
   1.965 -# as_fn_executable_p FILE
   1.966 -# -----------------------
   1.967 -# Test if FILE is an executable regular file.
   1.968 -as_fn_executable_p ()
   1.969 -{
   1.970 -  test -f "$1" && test -x "$1"
   1.971 -} # as_fn_executable_p
   1.972 -as_test_x='test -x'
   1.973 -as_executable_p=as_fn_executable_p
   1.974 +if test -x / >/dev/null 2>&1; then
   1.975 +  as_test_x='test -x'
   1.976 +else
   1.977 +  if ls -dL / >/dev/null 2>&1; then
   1.978 +    as_ls_L_option=L
   1.979 +  else
   1.980 +    as_ls_L_option=
   1.981 +  fi
   1.982 +  as_test_x='
   1.983 +    eval sh -c '\''
   1.984 +      if test -d "$1"; then
   1.985 +	test -d "$1/.";
   1.986 +      else
   1.987 +	case $1 in #(
   1.988 +	-*)set "./$1";;
   1.989 +	esac;
   1.990 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   1.991 +	???[sx]*):;;*)false;;esac;fi
   1.992 +    '\'' sh
   1.993 +  '
   1.994 +fi
   1.995 +as_executable_p=$as_test_x
   1.996  
   1.997  # Sed expression to map a string onto a valid CPP name.
   1.998  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.999 @@ -22961,7 +22984,7 @@
  1.1000  # values after options handling.
  1.1001  ac_log="
  1.1002  This file was extended by $as_me, which was
  1.1003 -generated by GNU Autoconf 2.69.  Invocation command line was
  1.1004 +generated by GNU Autoconf 2.68.  Invocation command line was
  1.1005  
  1.1006    CONFIG_FILES    = $CONFIG_FILES
  1.1007    CONFIG_HEADERS  = $CONFIG_HEADERS
  1.1008 @@ -23027,10 +23050,10 @@
  1.1009  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  1.1010  ac_cs_version="\\
  1.1011  config.status
  1.1012 -configured by $0, generated by GNU Autoconf 2.69,
  1.1013 +configured by $0, generated by GNU Autoconf 2.68,
  1.1014    with options \\"\$ac_cs_config\\"
  1.1015  
  1.1016 -Copyright (C) 2012 Free Software Foundation, Inc.
  1.1017 +Copyright (C) 2010 Free Software Foundation, Inc.
  1.1018  This config.status script is free software; the Free Software Foundation
  1.1019  gives unlimited permission to copy, distribute and modify it."
  1.1020  
  1.1021 @@ -23120,7 +23143,7 @@
  1.1022  _ACEOF
  1.1023  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.1024  if \$ac_cs_recheck; then
  1.1025 -  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.1026 +  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.1027    shift
  1.1028    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  1.1029    CONFIG_SHELL='$SHELL'