configure
changeset 7184 1615a5e23078
parent 7138 52ba4fa156c7
child 7211 0567f0518775
     1.1 --- a/configure	Thu May 16 00:56:19 2013 -0700
     1.2 +++ b/configure	Thu May 16 01:03:28 2013 -0700
     1.3 @@ -1,11 +1,9 @@
     1.4  #! /bin/sh
     1.5  # Guess values for system-dependent variables and create Makefiles.
     1.6 -# Generated by GNU Autoconf 2.68.
     1.7 +# Generated by GNU Autoconf 2.69.
     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, 2010 Free Software
    1.12 -# Foundation, Inc.
    1.13 +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    1.14  #
    1.15  #
    1.16  # This configure script is free software; the Free Software Foundation
    1.17 @@ -134,6 +132,31 @@
    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 @@ -167,7 +190,8 @@
    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\$exitcode = x0 || exit 1
    1.55 +test -x / || 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 @@ -220,21 +244,25 @@
    1.60  
    1.61  
    1.62        if test "x$CONFIG_SHELL" != x; then :
    1.63 -  # We cannot yet assume a decent shell, so we have to provide a
    1.64 -	# neutralization value for shells without unset; and this also
    1.65 -	# works around shells that cannot unset nonexistent variables.
    1.66 -	# Preserve -v and -x to the replacement shell.
    1.67 -	BASH_ENV=/dev/null
    1.68 -	ENV=/dev/null
    1.69 -	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    1.70 -	export CONFIG_SHELL
    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 +  export CONFIG_SHELL
    1.79 +             # We cannot yet assume a decent shell, so we have to provide a
    1.80 +# neutralization value for shells without unset; and this also
    1.81 +# works around shells that cannot unset nonexistent variables.
    1.82 +# Preserve -v and -x to the replacement shell.
    1.83 +BASH_ENV=/dev/null
    1.84 +ENV=/dev/null
    1.85 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    1.86 +case $- in # ((((
    1.87 +  *v*x* | *x*v* ) as_opts=-vx ;;
    1.88 +  *v* ) as_opts=-v ;;
    1.89 +  *x* ) as_opts=-x ;;
    1.90 +  * ) as_opts= ;;
    1.91 +esac
    1.92 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    1.93 +# Admittedly, this is quite paranoid, since all the known shells bail
    1.94 +# out after a failed `exec'.
    1.95 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    1.96 +exit 255
    1.97  fi
    1.98  
    1.99      if test x$as_have_required = xno; then :
   1.100 @@ -336,6 +364,14 @@
   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 @@ -457,6 +493,10 @@
   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 @@ -491,16 +531,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 -p'.
   1.131 +    # In both cases, we have to default to `cp -pR'.
   1.132      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.133 -      as_ln_s='cp -p'
   1.134 +      as_ln_s='cp -pR'
   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 -p'
   1.139 -  fi
   1.140 -else
   1.141 -  as_ln_s='cp -p'
   1.142 +    as_ln_s='cp -pR'
   1.143 +  fi
   1.144 +else
   1.145 +  as_ln_s='cp -pR'
   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 @@ -512,28 +552,8 @@
   1.150    as_mkdir_p=false
   1.151  fi
   1.152  
   1.153 -if test -x / >/dev/null 2>&1; then
   1.154 -  as_test_x='test -x'
   1.155 -else
   1.156 -  if ls -dL / >/dev/null 2>&1; then
   1.157 -    as_ls_L_option=L
   1.158 -  else
   1.159 -    as_ls_L_option=
   1.160 -  fi
   1.161 -  as_test_x='
   1.162 -    eval sh -c '\''
   1.163 -      if test -d "$1"; then
   1.164 -	test -d "$1/.";
   1.165 -      else
   1.166 -	case $1 in #(
   1.167 -	-*)set "./$1";;
   1.168 -	esac;
   1.169 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   1.170 -	???[sx]*):;;*)false;;esac;fi
   1.171 -    '\'' sh
   1.172 -  '
   1.173 -fi
   1.174 -as_executable_p=$as_test_x
   1.175 +as_test_x='test -x'
   1.176 +as_executable_p=as_fn_executable_p
   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 @@ -1292,8 +1312,6 @@
   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 @@ -1645,9 +1663,9 @@
   1.190  if $ac_init_version; then
   1.191    cat <<\_ACEOF
   1.192  configure
   1.193 -generated by GNU Autoconf 2.68
   1.194 -
   1.195 -Copyright (C) 2010 Free Software Foundation, Inc.
   1.196 +generated by GNU Autoconf 2.69
   1.197 +
   1.198 +Copyright (C) 2012 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 @@ -1723,7 +1741,7 @@
   1.203  	 test ! -s conftest.err
   1.204         } && test -s conftest$ac_exeext && {
   1.205  	 test "$cross_compiling" = yes ||
   1.206 -	 $as_test_x conftest$ac_exeext
   1.207 +	 test -x conftest$ac_exeext
   1.208         }; then :
   1.209    ac_retval=0
   1.210  else
   1.211 @@ -2021,7 +2039,7 @@
   1.212  	 test ! -s conftest.err
   1.213         } && test -s conftest$ac_exeext && {
   1.214  	 test "$cross_compiling" = yes ||
   1.215 -	 $as_test_x conftest$ac_exeext
   1.216 +	 test -x conftest$ac_exeext
   1.217         }; then :
   1.218    ac_retval=0
   1.219  else
   1.220 @@ -2255,7 +2273,8 @@
   1.221  main ()
   1.222  {
   1.223  static int test_array [1 - 2 * !(($2) >= 0)];
   1.224 -test_array [0] = 0
   1.225 +test_array [0] = 0;
   1.226 +return test_array [0];
   1.227  
   1.228    ;
   1.229    return 0;
   1.230 @@ -2271,7 +2290,8 @@
   1.231  main ()
   1.232  {
   1.233  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1.234 -test_array [0] = 0
   1.235 +test_array [0] = 0;
   1.236 +return test_array [0];
   1.237  
   1.238    ;
   1.239    return 0;
   1.240 @@ -2297,7 +2317,8 @@
   1.241  main ()
   1.242  {
   1.243  static int test_array [1 - 2 * !(($2) < 0)];
   1.244 -test_array [0] = 0
   1.245 +test_array [0] = 0;
   1.246 +return test_array [0];
   1.247  
   1.248    ;
   1.249    return 0;
   1.250 @@ -2313,7 +2334,8 @@
   1.251  main ()
   1.252  {
   1.253  static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   1.254 -test_array [0] = 0
   1.255 +test_array [0] = 0;
   1.256 +return test_array [0];
   1.257  
   1.258    ;
   1.259    return 0;
   1.260 @@ -2347,7 +2369,8 @@
   1.261  main ()
   1.262  {
   1.263  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1.264 -test_array [0] = 0
   1.265 +test_array [0] = 0;
   1.266 +return test_array [0];
   1.267  
   1.268    ;
   1.269    return 0;
   1.270 @@ -2420,7 +2443,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.68.  Invocation command line was
   1.275 +generated by GNU Autoconf 2.69.  Invocation command line was
   1.276  
   1.277    $ $0 $@
   1.278  
   1.279 @@ -3014,7 +3037,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.284 +  if as_fn_executable_p "$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 @@ -3054,7 +3077,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.293 +  if as_fn_executable_p "$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 @@ -3107,7 +3130,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.302 +  if as_fn_executable_p "$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 @@ -3148,7 +3171,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.311 +  if as_fn_executable_p "$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 @@ -3206,7 +3229,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.320 +  if as_fn_executable_p "$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 @@ -3250,7 +3273,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.329 +  if as_fn_executable_p "$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 @@ -3696,8 +3719,7 @@
   1.334  /* end confdefs.h.  */
   1.335  #include <stdarg.h>
   1.336  #include <stdio.h>
   1.337 -#include <sys/types.h>
   1.338 -#include <sys/stat.h>
   1.339 +struct stat;
   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 @@ -3804,7 +3826,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 -      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   1.348 +      as_fn_executable_p "$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 @@ -3880,7 +3902,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 -      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   1.357 +      as_fn_executable_p "$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 @@ -3946,7 +3968,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 -      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   1.366 +      as_fn_executable_p "$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 @@ -4013,7 +4035,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 -      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   1.375 +      as_fn_executable_p "$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 @@ -4269,7 +4291,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.384 +  if as_fn_executable_p "$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 @@ -4313,7 +4335,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.393 +  if as_fn_executable_p "$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 @@ -4737,7 +4759,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.402 +  if as_fn_executable_p "$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 @@ -4777,7 +4799,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.411 +  if as_fn_executable_p "$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 @@ -5082,7 +5104,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.420 +  if as_fn_executable_p "$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 @@ -5122,7 +5144,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.429 +  if as_fn_executable_p "$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 @@ -5223,7 +5245,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.438 +  if as_fn_executable_p "$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 @@ -5267,7 +5289,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.447 +  if as_fn_executable_p "$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 @@ -5392,7 +5414,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.456 +  if as_fn_executable_p "$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 @@ -5432,7 +5454,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.465 +  if as_fn_executable_p "$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 @@ -5491,7 +5513,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.474 +  if as_fn_executable_p "$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 @@ -5531,7 +5553,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.483 +  if as_fn_executable_p "$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 @@ -5635,7 +5657,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.492 +  if as_fn_executable_p "$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 @@ -6222,7 +6244,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.501 +  if as_fn_executable_p "$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 @@ -6262,7 +6284,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.510 +  if as_fn_executable_p "$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 @@ -6342,7 +6364,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.519 +  if as_fn_executable_p "$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 @@ -6382,7 +6404,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.528 +  if as_fn_executable_p "$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 @@ -6434,7 +6456,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.537 +  if as_fn_executable_p "$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 @@ -6474,7 +6496,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.546 +  if as_fn_executable_p "$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 @@ -6526,7 +6548,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.555 +  if as_fn_executable_p "$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 @@ -6566,7 +6588,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.564 +  if as_fn_executable_p "$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 @@ -6618,7 +6640,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.573 +  if as_fn_executable_p "$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 @@ -6658,7 +6680,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.582 +  if as_fn_executable_p "$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 @@ -6710,7 +6732,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.591 +  if as_fn_executable_p "$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 @@ -6750,7 +6772,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.600 +  if as_fn_executable_p "$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 @@ -7255,7 +7277,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.609 +  if as_fn_executable_p "$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 @@ -7295,7 +7317,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.618 +  if as_fn_executable_p "$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 @@ -7347,7 +7369,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.627 +  if as_fn_executable_p "$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 @@ -7387,7 +7409,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.636 +  if as_fn_executable_p "$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 @@ -7439,7 +7461,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.645 +  if as_fn_executable_p "$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 @@ -7479,7 +7501,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.654 +  if as_fn_executable_p "$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 @@ -11573,7 +11595,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.663 +  if as_fn_executable_p "$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 @@ -11613,7 +11635,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.672 +  if as_fn_executable_p "$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 @@ -11666,7 +11688,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.681 +  if as_fn_executable_p "$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 @@ -11707,7 +11729,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.690 +  if as_fn_executable_p "$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 @@ -11765,7 +11787,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.699 +  if as_fn_executable_p "$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 @@ -11809,7 +11831,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.708 +  if as_fn_executable_p "$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 @@ -12005,8 +12027,7 @@
   1.713  /* end confdefs.h.  */
   1.714  #include <stdarg.h>
   1.715  #include <stdio.h>
   1.716 -#include <sys/types.h>
   1.717 -#include <sys/stat.h>
   1.718 +struct stat;
   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 @@ -12119,7 +12140,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.727 +  if as_fn_executable_p "$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 @@ -12163,7 +12184,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.736 +  if as_fn_executable_p "$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 @@ -15586,7 +15607,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 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   1.745 +	if as_fn_executable_p "$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 @@ -15690,7 +15711,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.754 +  if as_fn_executable_p "$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 @@ -15730,7 +15751,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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.763 +  if as_fn_executable_p "$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 @@ -15844,11 +15865,11 @@
   1.768  int
   1.769  main ()
   1.770  {
   1.771 -/* FIXME: Include the comments suggested by Paul. */
   1.772 +
   1.773  #ifndef __cplusplus
   1.774 -  /* Ultrix mips cc rejects this.  */
   1.775 +  /* Ultrix mips cc rejects this sort of thing.  */
   1.776    typedef int charset[2];
   1.777 -  const charset cs;
   1.778 +  const charset cs = { 0, 0 };
   1.779    /* SunOS 4.1.1 cc rejects this.  */
   1.780    char const *const *pcpcc;
   1.781    char **ppc;
   1.782 @@ -15865,8 +15886,9 @@
   1.783    ++pcpcc;
   1.784    ppc = (char**) pcpcc;
   1.785    pcpcc = (char const *const *) ppc;
   1.786 -  { /* SCO 3.2v4 cc rejects this.  */
   1.787 -    char *t;
   1.788 +  { /* SCO 3.2v4 cc rejects this sort of thing.  */
   1.789 +    char tx;
   1.790 +    char *t = &tx;
   1.791      char const *s = 0 ? (char *) 0 : (char const *) 0;
   1.792  
   1.793      *t++ = 0;
   1.794 @@ -15882,10 +15904,10 @@
   1.795      iptr p = 0;
   1.796      ++p;
   1.797    }
   1.798 -  { /* AIX XL C 1.02.0.0 rejects this saying
   1.799 +  { /* AIX XL C 1.02.0.0 rejects this sort of thing, 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]; };
   1.802 -    struct s *b; b->j = 5;
   1.803 +    struct s { int j; const int *ap[3]; } bx;
   1.804 +    struct s *b = &bx; b->j = 5;
   1.805    }
   1.806    { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   1.807      const int foo = 10;
   1.808 @@ -16418,23 +16440,20 @@
   1.809  /* end confdefs.h.  */
   1.810  $ac_includes_default
   1.811  int
   1.812 -find_stack_direction ()
   1.813 -{
   1.814 -  static char *addr = 0;
   1.815 -  auto char dummy;
   1.816 -  if (addr == 0)
   1.817 -    {
   1.818 -      addr = &dummy;
   1.819 -      return find_stack_direction ();
   1.820 -    }
   1.821 -  else
   1.822 -    return (&dummy > addr) ? 1 : -1;
   1.823 -}
   1.824 -
   1.825 -int
   1.826 -main ()
   1.827 -{
   1.828 -  return find_stack_direction () < 0;
   1.829 +find_stack_direction (int *addr, int depth)
   1.830 +{
   1.831 +  int dir, dummy = 0;
   1.832 +  if (! addr)
   1.833 +    addr = &dummy;
   1.834 +  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
   1.835 +  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
   1.836 +  return dir + dummy;
   1.837 +}
   1.838 +
   1.839 +int
   1.840 +main (int argc, char **argv)
   1.841 +{
   1.842 +  return find_stack_direction (0, argc + !argv + 20) < 0;
   1.843  }
   1.844  _ACEOF
   1.845  if ac_fn_c_try_run "$LINENO"; then :
   1.846 @@ -17909,7 +17928,7 @@
   1.847    IFS=$as_save_IFS
   1.848    test -z "$as_dir" && as_dir=.
   1.849      for ac_exec_ext in '' $ac_executable_extensions; do
   1.850 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.851 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.852      ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.853      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.854      break 2
   1.855 @@ -18159,7 +18178,7 @@
   1.856    IFS=$as_save_IFS
   1.857    test -z "$as_dir" && as_dir=.
   1.858      for ac_exec_ext in '' $ac_executable_extensions; do
   1.859 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.860 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.861      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.862      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.863      break 2
   1.864 @@ -18222,6 +18241,14 @@
   1.865  #define SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "$pulseaudio_lib"
   1.866  _ACEOF
   1.867  
   1.868 +
   1.869 +                case "$host" in
   1.870 +                    # On Solaris, pulseaudio must be linked deferred explicitly
   1.871 +                    # to prevent undefined symbol failures.
   1.872 +                    *-*-solaris*)
   1.873 +                        PULSEAUDIO_LIBS=`echo $PULSEAUDIO_LIBS | sed 's/\-l/-Wl,-l/g'`
   1.874 +                        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-zdeferred $PULSEAUDIO_LIBS -Wl,-znodeferred"
   1.875 +                esac
   1.876              else
   1.877                  EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSEAUDIO_LIBS"
   1.878              fi
   1.879 @@ -18258,7 +18285,7 @@
   1.880    IFS=$as_save_IFS
   1.881    test -z "$as_dir" && as_dir=.
   1.882      for ac_exec_ext in '' $ac_executable_extensions; do
   1.883 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.884 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.885      ac_cv_path_ARTSCONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.886      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.887      break 2
   1.888 @@ -20184,7 +20211,7 @@
   1.889    IFS=$as_save_IFS
   1.890    test -z "$as_dir" && as_dir=.
   1.891      for ac_exec_ext in '' $ac_executable_extensions; do
   1.892 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.893 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.894      ac_cv_path_DIRECTFBCONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.895      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.896      break 2
   1.897 @@ -20229,7 +20256,7 @@
   1.898    IFS=$as_save_IFS
   1.899    test -z "$as_dir" && as_dir=.
   1.900      for ac_exec_ext in '' $ac_executable_extensions; do
   1.901 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.902 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.903      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.904      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.905      break 2
   1.906 @@ -20373,7 +20400,7 @@
   1.907    IFS=$as_save_IFS
   1.908    test -z "$as_dir" && as_dir=.
   1.909      for ac_exec_ext in '' $ac_executable_extensions; do
   1.910 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.911 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.912      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.913      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.914      break 2
   1.915 @@ -20770,7 +20797,7 @@
   1.916    IFS=$as_save_IFS
   1.917    test -z "$as_dir" && as_dir=.
   1.918      for ac_exec_ext in '' $ac_executable_extensions; do
   1.919 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.920 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.921      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.922      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.923      break 2
   1.924 @@ -20902,9 +20929,20 @@
   1.925              pthread_cflags="-D_REENTRANT"
   1.926              pthread_lib="-pthread"
   1.927              ;;
   1.928 +        *-*-solaris2.9)
   1.929 +            # From Solaris 9+, posix4's preferred name is rt.
   1.930 +            pthread_cflags="-D_REENTRANT"
   1.931 +            pthread_lib="-lpthread -lrt"
   1.932 +            ;;
   1.933 +        *-*-solaris2.10)
   1.934 +            # Solaris 10+ merged pthread into libc.
   1.935 +            pthread_cflags="-D_REENTRANT"
   1.936 +            pthread_lib="-lrt"
   1.937 +            ;;
   1.938          *-*-solaris*)
   1.939 +            # Solaris 11+ merged rt into libc.
   1.940              pthread_cflags="-D_REENTRANT"
   1.941 -            pthread_lib="-lpthread -lposix4"
   1.942 +            pthread_lib=""
   1.943              ;;
   1.944          *-*-sysv5*)
   1.945              pthread_cflags="-D_REENTRANT -Kthread"
   1.946 @@ -22975,16 +23013,16 @@
   1.947      # ... but there are two gotchas:
   1.948      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.949      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.950 -    # In both cases, we have to default to `cp -p'.
   1.951 +    # In both cases, we have to default to `cp -pR'.
   1.952      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.953 -      as_ln_s='cp -p'
   1.954 +      as_ln_s='cp -pR'
   1.955    elif ln conf$$.file conf$$ 2>/dev/null; then
   1.956      as_ln_s=ln
   1.957    else
   1.958 -    as_ln_s='cp -p'
   1.959 -  fi
   1.960 -else
   1.961 -  as_ln_s='cp -p'
   1.962 +    as_ln_s='cp -pR'
   1.963 +  fi
   1.964 +else
   1.965 +  as_ln_s='cp -pR'
   1.966  fi
   1.967  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.968  rmdir conf$$.dir 2>/dev/null
   1.969 @@ -23044,28 +23082,16 @@
   1.970    as_mkdir_p=false
   1.971  fi
   1.972  
   1.973 -if test -x / >/dev/null 2>&1; then
   1.974 -  as_test_x='test -x'
   1.975 -else
   1.976 -  if ls -dL / >/dev/null 2>&1; then
   1.977 -    as_ls_L_option=L
   1.978 -  else
   1.979 -    as_ls_L_option=
   1.980 -  fi
   1.981 -  as_test_x='
   1.982 -    eval sh -c '\''
   1.983 -      if test -d "$1"; then
   1.984 -	test -d "$1/.";
   1.985 -      else
   1.986 -	case $1 in #(
   1.987 -	-*)set "./$1";;
   1.988 -	esac;
   1.989 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   1.990 -	???[sx]*):;;*)false;;esac;fi
   1.991 -    '\'' sh
   1.992 -  '
   1.993 -fi
   1.994 -as_executable_p=$as_test_x
   1.995 +
   1.996 +# as_fn_executable_p FILE
   1.997 +# -----------------------
   1.998 +# Test if FILE is an executable regular file.
   1.999 +as_fn_executable_p ()
  1.1000 +{
  1.1001 +  test -f "$1" && test -x "$1"
  1.1002 +} # as_fn_executable_p
  1.1003 +as_test_x='test -x'
  1.1004 +as_executable_p=as_fn_executable_p
  1.1005  
  1.1006  # Sed expression to map a string onto a valid CPP name.
  1.1007  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1.1008 @@ -23087,7 +23113,7 @@
  1.1009  # values after options handling.
  1.1010  ac_log="
  1.1011  This file was extended by $as_me, which was
  1.1012 -generated by GNU Autoconf 2.68.  Invocation command line was
  1.1013 +generated by GNU Autoconf 2.69.  Invocation command line was
  1.1014  
  1.1015    CONFIG_FILES    = $CONFIG_FILES
  1.1016    CONFIG_HEADERS  = $CONFIG_HEADERS
  1.1017 @@ -23153,10 +23179,10 @@
  1.1018  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  1.1019  ac_cs_version="\\
  1.1020  config.status
  1.1021 -configured by $0, generated by GNU Autoconf 2.68,
  1.1022 +configured by $0, generated by GNU Autoconf 2.69,
  1.1023    with options \\"\$ac_cs_config\\"
  1.1024  
  1.1025 -Copyright (C) 2010 Free Software Foundation, Inc.
  1.1026 +Copyright (C) 2012 Free Software Foundation, Inc.
  1.1027  This config.status script is free software; the Free Software Foundation
  1.1028  gives unlimited permission to copy, distribute and modify it."
  1.1029  
  1.1030 @@ -23246,7 +23272,7 @@
  1.1031  _ACEOF
  1.1032  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.1033  if \$ac_cs_recheck; then
  1.1034 -  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.1035 +  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.1036    shift
  1.1037    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  1.1038    CONFIG_SHELL='$SHELL'
  1.1039 @@ -25055,3 +25081,4 @@
  1.1040  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  1.1041  fi
  1.1042  
  1.1043 +chmod a+x sdl2-config