configure
changeset 6833 c34a64af7751
parent 6737 63ba9e5b1272
child 6849 b9dcf6242476
     1.1 --- a/configure	Sun Jan 06 19:04:53 2013 +0300
     1.2 +++ b/configure	Sun Feb 03 14:03:49 2013 -0800
     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 @@ -813,6 +833,7 @@
   1.181  enable_video_opengl
   1.182  enable_video_opengles
   1.183  enable_libudev
   1.184 +enable_dbus
   1.185  enable_input_tslib
   1.186  enable_pthreads
   1.187  enable_pthread_sem
   1.188 @@ -1291,8 +1312,6 @@
   1.189  if test "x$host_alias" != x; then
   1.190    if test "x$build_alias" = x; then
   1.191      cross_compiling=maybe
   1.192 -    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1.193 -    If a cross compiler is detected then cross compile mode will be used" >&2
   1.194    elif test "x$build_alias" != "x$host_alias"; then
   1.195      cross_compiling=yes
   1.196    fi
   1.197 @@ -1536,6 +1555,7 @@
   1.198    --enable-video-opengl   include OpenGL support [[default=yes]]
   1.199    --enable-video-opengles include OpenGL ES support [[default=yes]]
   1.200    --enable-libudev        enable libudev support [[default=yes]]
   1.201 +  --enable-dbus           enable D-Bus support [[default=yes]]
   1.202    --enable-input-tslib    use the Touchscreen library for input
   1.203                            [[default=yes]]
   1.204    --enable-pthreads       use POSIX threads for multi-threading
   1.205 @@ -1643,9 +1663,9 @@
   1.206  if $ac_init_version; then
   1.207    cat <<\_ACEOF
   1.208  configure
   1.209 -generated by GNU Autoconf 2.68
   1.210 -
   1.211 -Copyright (C) 2010 Free Software Foundation, Inc.
   1.212 +generated by GNU Autoconf 2.69
   1.213 +
   1.214 +Copyright (C) 2012 Free Software Foundation, Inc.
   1.215  This configure script is free software; the Free Software Foundation
   1.216  gives unlimited permission to copy, distribute and modify it.
   1.217  _ACEOF
   1.218 @@ -1721,7 +1741,7 @@
   1.219  	 test ! -s conftest.err
   1.220         } && test -s conftest$ac_exeext && {
   1.221  	 test "$cross_compiling" = yes ||
   1.222 -	 $as_test_x conftest$ac_exeext
   1.223 +	 test -x conftest$ac_exeext
   1.224         }; then :
   1.225    ac_retval=0
   1.226  else
   1.227 @@ -2019,7 +2039,7 @@
   1.228  	 test ! -s conftest.err
   1.229         } && test -s conftest$ac_exeext && {
   1.230  	 test "$cross_compiling" = yes ||
   1.231 -	 $as_test_x conftest$ac_exeext
   1.232 +	 test -x conftest$ac_exeext
   1.233         }; then :
   1.234    ac_retval=0
   1.235  else
   1.236 @@ -2253,7 +2273,8 @@
   1.237  main ()
   1.238  {
   1.239  static int test_array [1 - 2 * !(($2) >= 0)];
   1.240 -test_array [0] = 0
   1.241 +test_array [0] = 0;
   1.242 +return test_array [0];
   1.243  
   1.244    ;
   1.245    return 0;
   1.246 @@ -2269,7 +2290,8 @@
   1.247  main ()
   1.248  {
   1.249  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1.250 -test_array [0] = 0
   1.251 +test_array [0] = 0;
   1.252 +return test_array [0];
   1.253  
   1.254    ;
   1.255    return 0;
   1.256 @@ -2295,7 +2317,8 @@
   1.257  main ()
   1.258  {
   1.259  static int test_array [1 - 2 * !(($2) < 0)];
   1.260 -test_array [0] = 0
   1.261 +test_array [0] = 0;
   1.262 +return test_array [0];
   1.263  
   1.264    ;
   1.265    return 0;
   1.266 @@ -2311,7 +2334,8 @@
   1.267  main ()
   1.268  {
   1.269  static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   1.270 -test_array [0] = 0
   1.271 +test_array [0] = 0;
   1.272 +return test_array [0];
   1.273  
   1.274    ;
   1.275    return 0;
   1.276 @@ -2345,7 +2369,8 @@
   1.277  main ()
   1.278  {
   1.279  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1.280 -test_array [0] = 0
   1.281 +test_array [0] = 0;
   1.282 +return test_array [0];
   1.283  
   1.284    ;
   1.285    return 0;
   1.286 @@ -2418,7 +2443,7 @@
   1.287  running configure, to aid debugging if configure makes a mistake.
   1.288  
   1.289  It was created by $as_me, which was
   1.290 -generated by GNU Autoconf 2.68.  Invocation command line was
   1.291 +generated by GNU Autoconf 2.69.  Invocation command line was
   1.292  
   1.293    $ $0 $@
   1.294  
   1.295 @@ -2824,6 +2849,14 @@
   1.296  
   1.297  
   1.298  
   1.299 +case "`/bin/sh $ac_aux_dir/config.guess`" in
   1.300 +    *-*-darwin*)
   1.301 +        if test "x$CC" = "x"; then
   1.302 +            CC=clang
   1.303 +        fi
   1.304 +        ;;
   1.305 +esac
   1.306 +
   1.307  # libtool versioning
   1.308  case `pwd` in
   1.309    *\ * | *\	*)
   1.310 @@ -3012,7 +3045,7 @@
   1.311    IFS=$as_save_IFS
   1.312    test -z "$as_dir" && as_dir=.
   1.313      for ac_exec_ext in '' $ac_executable_extensions; do
   1.314 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.315 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.316      ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1.317      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.318      break 2
   1.319 @@ -3052,7 +3085,7 @@
   1.320    IFS=$as_save_IFS
   1.321    test -z "$as_dir" && as_dir=.
   1.322      for ac_exec_ext in '' $ac_executable_extensions; do
   1.323 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.324 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.325      ac_cv_prog_ac_ct_CC="gcc"
   1.326      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.327      break 2
   1.328 @@ -3105,7 +3138,7 @@
   1.329    IFS=$as_save_IFS
   1.330    test -z "$as_dir" && as_dir=.
   1.331      for ac_exec_ext in '' $ac_executable_extensions; do
   1.332 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.333 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.334      ac_cv_prog_CC="${ac_tool_prefix}cc"
   1.335      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.336      break 2
   1.337 @@ -3146,7 +3179,7 @@
   1.338    IFS=$as_save_IFS
   1.339    test -z "$as_dir" && as_dir=.
   1.340      for ac_exec_ext in '' $ac_executable_extensions; do
   1.341 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.342 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.343      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1.344         ac_prog_rejected=yes
   1.345         continue
   1.346 @@ -3204,7 +3237,7 @@
   1.347    IFS=$as_save_IFS
   1.348    test -z "$as_dir" && as_dir=.
   1.349      for ac_exec_ext in '' $ac_executable_extensions; do
   1.350 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.351 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.352      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1.353      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.354      break 2
   1.355 @@ -3248,7 +3281,7 @@
   1.356    IFS=$as_save_IFS
   1.357    test -z "$as_dir" && as_dir=.
   1.358      for ac_exec_ext in '' $ac_executable_extensions; do
   1.359 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.360 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.361      ac_cv_prog_ac_ct_CC="$ac_prog"
   1.362      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.363      break 2
   1.364 @@ -3694,8 +3727,7 @@
   1.365  /* end confdefs.h.  */
   1.366  #include <stdarg.h>
   1.367  #include <stdio.h>
   1.368 -#include <sys/types.h>
   1.369 -#include <sys/stat.h>
   1.370 +struct stat;
   1.371  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   1.372  struct buf { int x; };
   1.373  FILE * (*rcsopen) (struct buf *, struct stat *, int);
   1.374 @@ -3802,7 +3834,7 @@
   1.375      for ac_prog in sed gsed; do
   1.376      for ac_exec_ext in '' $ac_executable_extensions; do
   1.377        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   1.378 -      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   1.379 +      as_fn_executable_p "$ac_path_SED" || continue
   1.380  # Check for GNU ac_path_SED and select it if it is found.
   1.381    # Check for GNU $ac_path_SED
   1.382  case `"$ac_path_SED" --version 2>&1` in
   1.383 @@ -3878,7 +3910,7 @@
   1.384      for ac_prog in grep ggrep; do
   1.385      for ac_exec_ext in '' $ac_executable_extensions; do
   1.386        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   1.387 -      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   1.388 +      as_fn_executable_p "$ac_path_GREP" || continue
   1.389  # Check for GNU ac_path_GREP and select it if it is found.
   1.390    # Check for GNU $ac_path_GREP
   1.391  case `"$ac_path_GREP" --version 2>&1` in
   1.392 @@ -3944,7 +3976,7 @@
   1.393      for ac_prog in egrep; do
   1.394      for ac_exec_ext in '' $ac_executable_extensions; do
   1.395        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   1.396 -      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   1.397 +      as_fn_executable_p "$ac_path_EGREP" || continue
   1.398  # Check for GNU ac_path_EGREP and select it if it is found.
   1.399    # Check for GNU $ac_path_EGREP
   1.400  case `"$ac_path_EGREP" --version 2>&1` in
   1.401 @@ -4011,7 +4043,7 @@
   1.402      for ac_prog in fgrep; do
   1.403      for ac_exec_ext in '' $ac_executable_extensions; do
   1.404        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   1.405 -      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   1.406 +      as_fn_executable_p "$ac_path_FGREP" || continue
   1.407  # Check for GNU ac_path_FGREP and select it if it is found.
   1.408    # Check for GNU $ac_path_FGREP
   1.409  case `"$ac_path_FGREP" --version 2>&1` in
   1.410 @@ -4267,7 +4299,7 @@
   1.411    IFS=$as_save_IFS
   1.412    test -z "$as_dir" && as_dir=.
   1.413      for ac_exec_ext in '' $ac_executable_extensions; do
   1.414 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.415 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.416      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   1.417      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.418      break 2
   1.419 @@ -4311,7 +4343,7 @@
   1.420    IFS=$as_save_IFS
   1.421    test -z "$as_dir" && as_dir=.
   1.422      for ac_exec_ext in '' $ac_executable_extensions; do
   1.423 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.424 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.425      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   1.426      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.427      break 2
   1.428 @@ -4735,7 +4767,7 @@
   1.429    IFS=$as_save_IFS
   1.430    test -z "$as_dir" && as_dir=.
   1.431      for ac_exec_ext in '' $ac_executable_extensions; do
   1.432 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.433 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.434      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   1.435      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.436      break 2
   1.437 @@ -4775,7 +4807,7 @@
   1.438    IFS=$as_save_IFS
   1.439    test -z "$as_dir" && as_dir=.
   1.440      for ac_exec_ext in '' $ac_executable_extensions; do
   1.441 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.442 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.443      ac_cv_prog_ac_ct_OBJDUMP="objdump"
   1.444      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.445      break 2
   1.446 @@ -5080,7 +5112,7 @@
   1.447    IFS=$as_save_IFS
   1.448    test -z "$as_dir" && as_dir=.
   1.449      for ac_exec_ext in '' $ac_executable_extensions; do
   1.450 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.451 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.452      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   1.453      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.454      break 2
   1.455 @@ -5120,7 +5152,7 @@
   1.456    IFS=$as_save_IFS
   1.457    test -z "$as_dir" && as_dir=.
   1.458      for ac_exec_ext in '' $ac_executable_extensions; do
   1.459 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.460 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.461      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   1.462      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.463      break 2
   1.464 @@ -5221,7 +5253,7 @@
   1.465    IFS=$as_save_IFS
   1.466    test -z "$as_dir" && as_dir=.
   1.467      for ac_exec_ext in '' $ac_executable_extensions; do
   1.468 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.469 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.470      ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   1.471      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.472      break 2
   1.473 @@ -5265,7 +5297,7 @@
   1.474    IFS=$as_save_IFS
   1.475    test -z "$as_dir" && as_dir=.
   1.476      for ac_exec_ext in '' $ac_executable_extensions; do
   1.477 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.478 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.479      ac_cv_prog_ac_ct_AR="$ac_prog"
   1.480      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.481      break 2
   1.482 @@ -5390,7 +5422,7 @@
   1.483    IFS=$as_save_IFS
   1.484    test -z "$as_dir" && as_dir=.
   1.485      for ac_exec_ext in '' $ac_executable_extensions; do
   1.486 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.487 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.488      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1.489      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.490      break 2
   1.491 @@ -5430,7 +5462,7 @@
   1.492    IFS=$as_save_IFS
   1.493    test -z "$as_dir" && as_dir=.
   1.494      for ac_exec_ext in '' $ac_executable_extensions; do
   1.495 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.496 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.497      ac_cv_prog_ac_ct_STRIP="strip"
   1.498      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.499      break 2
   1.500 @@ -5489,7 +5521,7 @@
   1.501    IFS=$as_save_IFS
   1.502    test -z "$as_dir" && as_dir=.
   1.503      for ac_exec_ext in '' $ac_executable_extensions; do
   1.504 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.505 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.506      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   1.507      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.508      break 2
   1.509 @@ -5529,7 +5561,7 @@
   1.510    IFS=$as_save_IFS
   1.511    test -z "$as_dir" && as_dir=.
   1.512      for ac_exec_ext in '' $ac_executable_extensions; do
   1.513 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.514 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.515      ac_cv_prog_ac_ct_RANLIB="ranlib"
   1.516      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.517      break 2
   1.518 @@ -5633,7 +5665,7 @@
   1.519    IFS=$as_save_IFS
   1.520    test -z "$as_dir" && as_dir=.
   1.521      for ac_exec_ext in '' $ac_executable_extensions; do
   1.522 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.523 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.524      ac_cv_prog_AWK="$ac_prog"
   1.525      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.526      break 2
   1.527 @@ -6220,7 +6252,7 @@
   1.528    IFS=$as_save_IFS
   1.529    test -z "$as_dir" && as_dir=.
   1.530      for ac_exec_ext in '' $ac_executable_extensions; do
   1.531 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.532 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.533      ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   1.534      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.535      break 2
   1.536 @@ -6260,7 +6292,7 @@
   1.537    IFS=$as_save_IFS
   1.538    test -z "$as_dir" && as_dir=.
   1.539      for ac_exec_ext in '' $ac_executable_extensions; do
   1.540 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.541 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.542      ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   1.543      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.544      break 2
   1.545 @@ -6340,7 +6372,7 @@
   1.546    IFS=$as_save_IFS
   1.547    test -z "$as_dir" && as_dir=.
   1.548      for ac_exec_ext in '' $ac_executable_extensions; do
   1.549 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.550 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.551      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   1.552      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.553      break 2
   1.554 @@ -6380,7 +6412,7 @@
   1.555    IFS=$as_save_IFS
   1.556    test -z "$as_dir" && as_dir=.
   1.557      for ac_exec_ext in '' $ac_executable_extensions; do
   1.558 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.559 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.560      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   1.561      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.562      break 2
   1.563 @@ -6432,7 +6464,7 @@
   1.564    IFS=$as_save_IFS
   1.565    test -z "$as_dir" && as_dir=.
   1.566      for ac_exec_ext in '' $ac_executable_extensions; do
   1.567 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.568 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.569      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   1.570      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.571      break 2
   1.572 @@ -6472,7 +6504,7 @@
   1.573    IFS=$as_save_IFS
   1.574    test -z "$as_dir" && as_dir=.
   1.575      for ac_exec_ext in '' $ac_executable_extensions; do
   1.576 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.577 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.578      ac_cv_prog_ac_ct_NMEDIT="nmedit"
   1.579      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.580      break 2
   1.581 @@ -6524,7 +6556,7 @@
   1.582    IFS=$as_save_IFS
   1.583    test -z "$as_dir" && as_dir=.
   1.584      for ac_exec_ext in '' $ac_executable_extensions; do
   1.585 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.586 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.587      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   1.588      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.589      break 2
   1.590 @@ -6564,7 +6596,7 @@
   1.591    IFS=$as_save_IFS
   1.592    test -z "$as_dir" && as_dir=.
   1.593      for ac_exec_ext in '' $ac_executable_extensions; do
   1.594 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.595 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.596      ac_cv_prog_ac_ct_LIPO="lipo"
   1.597      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.598      break 2
   1.599 @@ -6616,7 +6648,7 @@
   1.600    IFS=$as_save_IFS
   1.601    test -z "$as_dir" && as_dir=.
   1.602      for ac_exec_ext in '' $ac_executable_extensions; do
   1.603 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.604 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.605      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   1.606      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.607      break 2
   1.608 @@ -6656,7 +6688,7 @@
   1.609    IFS=$as_save_IFS
   1.610    test -z "$as_dir" && as_dir=.
   1.611      for ac_exec_ext in '' $ac_executable_extensions; do
   1.612 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.613 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.614      ac_cv_prog_ac_ct_OTOOL="otool"
   1.615      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.616      break 2
   1.617 @@ -6708,7 +6740,7 @@
   1.618    IFS=$as_save_IFS
   1.619    test -z "$as_dir" && as_dir=.
   1.620      for ac_exec_ext in '' $ac_executable_extensions; do
   1.621 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.622 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.623      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   1.624      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.625      break 2
   1.626 @@ -6748,7 +6780,7 @@
   1.627    IFS=$as_save_IFS
   1.628    test -z "$as_dir" && as_dir=.
   1.629      for ac_exec_ext in '' $ac_executable_extensions; do
   1.630 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.631 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.632      ac_cv_prog_ac_ct_OTOOL64="otool64"
   1.633      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.634      break 2
   1.635 @@ -7253,7 +7285,7 @@
   1.636    IFS=$as_save_IFS
   1.637    test -z "$as_dir" && as_dir=.
   1.638      for ac_exec_ext in '' $ac_executable_extensions; do
   1.639 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.640 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.641      ac_cv_prog_AS="${ac_tool_prefix}as"
   1.642      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.643      break 2
   1.644 @@ -7293,7 +7325,7 @@
   1.645    IFS=$as_save_IFS
   1.646    test -z "$as_dir" && as_dir=.
   1.647      for ac_exec_ext in '' $ac_executable_extensions; do
   1.648 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.649 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.650      ac_cv_prog_ac_ct_AS="as"
   1.651      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.652      break 2
   1.653 @@ -7345,7 +7377,7 @@
   1.654    IFS=$as_save_IFS
   1.655    test -z "$as_dir" && as_dir=.
   1.656      for ac_exec_ext in '' $ac_executable_extensions; do
   1.657 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.658 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.659      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   1.660      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.661      break 2
   1.662 @@ -7385,7 +7417,7 @@
   1.663    IFS=$as_save_IFS
   1.664    test -z "$as_dir" && as_dir=.
   1.665      for ac_exec_ext in '' $ac_executable_extensions; do
   1.666 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.667 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.668      ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   1.669      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.670      break 2
   1.671 @@ -7437,7 +7469,7 @@
   1.672    IFS=$as_save_IFS
   1.673    test -z "$as_dir" && as_dir=.
   1.674      for ac_exec_ext in '' $ac_executable_extensions; do
   1.675 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.676 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.677      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   1.678      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.679      break 2
   1.680 @@ -7477,7 +7509,7 @@
   1.681    IFS=$as_save_IFS
   1.682    test -z "$as_dir" && as_dir=.
   1.683      for ac_exec_ext in '' $ac_executable_extensions; do
   1.684 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.685 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.686      ac_cv_prog_ac_ct_OBJDUMP="objdump"
   1.687      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.688      break 2
   1.689 @@ -11571,7 +11603,7 @@
   1.690    IFS=$as_save_IFS
   1.691    test -z "$as_dir" && as_dir=.
   1.692      for ac_exec_ext in '' $ac_executable_extensions; do
   1.693 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.694 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.695      ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1.696      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.697      break 2
   1.698 @@ -11611,7 +11643,7 @@
   1.699    IFS=$as_save_IFS
   1.700    test -z "$as_dir" && as_dir=.
   1.701      for ac_exec_ext in '' $ac_executable_extensions; do
   1.702 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.703 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.704      ac_cv_prog_ac_ct_CC="gcc"
   1.705      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.706      break 2
   1.707 @@ -11664,7 +11696,7 @@
   1.708    IFS=$as_save_IFS
   1.709    test -z "$as_dir" && as_dir=.
   1.710      for ac_exec_ext in '' $ac_executable_extensions; do
   1.711 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.712 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.713      ac_cv_prog_CC="${ac_tool_prefix}cc"
   1.714      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.715      break 2
   1.716 @@ -11705,7 +11737,7 @@
   1.717    IFS=$as_save_IFS
   1.718    test -z "$as_dir" && as_dir=.
   1.719      for ac_exec_ext in '' $ac_executable_extensions; do
   1.720 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.721 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.722      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1.723         ac_prog_rejected=yes
   1.724         continue
   1.725 @@ -11763,7 +11795,7 @@
   1.726    IFS=$as_save_IFS
   1.727    test -z "$as_dir" && as_dir=.
   1.728      for ac_exec_ext in '' $ac_executable_extensions; do
   1.729 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.730 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.731      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1.732      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.733      break 2
   1.734 @@ -11807,7 +11839,7 @@
   1.735    IFS=$as_save_IFS
   1.736    test -z "$as_dir" && as_dir=.
   1.737      for ac_exec_ext in '' $ac_executable_extensions; do
   1.738 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.739 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.740      ac_cv_prog_ac_ct_CC="$ac_prog"
   1.741      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.742      break 2
   1.743 @@ -12003,8 +12035,7 @@
   1.744  /* end confdefs.h.  */
   1.745  #include <stdarg.h>
   1.746  #include <stdio.h>
   1.747 -#include <sys/types.h>
   1.748 -#include <sys/stat.h>
   1.749 +struct stat;
   1.750  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   1.751  struct buf { int x; };
   1.752  FILE * (*rcsopen) (struct buf *, struct stat *, int);
   1.753 @@ -12117,7 +12148,7 @@
   1.754    IFS=$as_save_IFS
   1.755    test -z "$as_dir" && as_dir=.
   1.756      for ac_exec_ext in '' $ac_executable_extensions; do
   1.757 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.758 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.759      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   1.760      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.761      break 2
   1.762 @@ -12161,7 +12192,7 @@
   1.763    IFS=$as_save_IFS
   1.764    test -z "$as_dir" && as_dir=.
   1.765      for ac_exec_ext in '' $ac_executable_extensions; do
   1.766 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.767 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.768      ac_cv_prog_ac_ct_CXX="$ac_prog"
   1.769      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.770      break 2
   1.771 @@ -15584,7 +15615,7 @@
   1.772      # by default.
   1.773      for ac_prog in ginstall scoinst install; do
   1.774        for ac_exec_ext in '' $ac_executable_extensions; do
   1.775 -	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   1.776 +	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1.777  	  if test $ac_prog = install &&
   1.778  	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1.779  	    # AIX install.  It has an incompatible calling convention.
   1.780 @@ -15688,7 +15719,7 @@
   1.781    IFS=$as_save_IFS
   1.782    test -z "$as_dir" && as_dir=.
   1.783      for ac_exec_ext in '' $ac_executable_extensions; do
   1.784 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.785 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.786      ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
   1.787      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.788      break 2
   1.789 @@ -15728,7 +15759,7 @@
   1.790    IFS=$as_save_IFS
   1.791    test -z "$as_dir" && as_dir=.
   1.792      for ac_exec_ext in '' $ac_executable_extensions; do
   1.793 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.794 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.795      ac_cv_prog_ac_ct_WINDRES="windres"
   1.796      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.797      break 2
   1.798 @@ -15842,11 +15873,11 @@
   1.799  int
   1.800  main ()
   1.801  {
   1.802 -/* FIXME: Include the comments suggested by Paul. */
   1.803 +
   1.804  #ifndef __cplusplus
   1.805 -  /* Ultrix mips cc rejects this.  */
   1.806 +  /* Ultrix mips cc rejects this sort of thing.  */
   1.807    typedef int charset[2];
   1.808 -  const charset cs;
   1.809 +  const charset cs = { 0, 0 };
   1.810    /* SunOS 4.1.1 cc rejects this.  */
   1.811    char const *const *pcpcc;
   1.812    char **ppc;
   1.813 @@ -15863,8 +15894,9 @@
   1.814    ++pcpcc;
   1.815    ppc = (char**) pcpcc;
   1.816    pcpcc = (char const *const *) ppc;
   1.817 -  { /* SCO 3.2v4 cc rejects this.  */
   1.818 -    char *t;
   1.819 +  { /* SCO 3.2v4 cc rejects this sort of thing.  */
   1.820 +    char tx;
   1.821 +    char *t = &tx;
   1.822      char const *s = 0 ? (char *) 0 : (char const *) 0;
   1.823  
   1.824      *t++ = 0;
   1.825 @@ -15880,10 +15912,10 @@
   1.826      iptr p = 0;
   1.827      ++p;
   1.828    }
   1.829 -  { /* AIX XL C 1.02.0.0 rejects this saying
   1.830 +  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   1.831         "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   1.832 -    struct s { int j; const int *ap[3]; };
   1.833 -    struct s *b; b->j = 5;
   1.834 +    struct s { int j; const int *ap[3]; } bx;
   1.835 +    struct s *b = &bx; b->j = 5;
   1.836    }
   1.837    { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   1.838      const int foo = 10;
   1.839 @@ -16416,23 +16448,20 @@
   1.840  /* end confdefs.h.  */
   1.841  $ac_includes_default
   1.842  int
   1.843 -find_stack_direction ()
   1.844 -{
   1.845 -  static char *addr = 0;
   1.846 -  auto char dummy;
   1.847 -  if (addr == 0)
   1.848 -    {
   1.849 -      addr = &dummy;
   1.850 -      return find_stack_direction ();
   1.851 -    }
   1.852 -  else
   1.853 -    return (&dummy > addr) ? 1 : -1;
   1.854 -}
   1.855 -
   1.856 -int
   1.857 -main ()
   1.858 -{
   1.859 -  return find_stack_direction () < 0;
   1.860 +find_stack_direction (int *addr, int depth)
   1.861 +{
   1.862 +  int dir, dummy = 0;
   1.863 +  if (! addr)
   1.864 +    addr = &dummy;
   1.865 +  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
   1.866 +  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
   1.867 +  return dir + dummy;
   1.868 +}
   1.869 +
   1.870 +int
   1.871 +main (int argc, char **argv)
   1.872 +{
   1.873 +  return find_stack_direction (0, argc + !argv + 20) < 0;
   1.874  }
   1.875  _ACEOF
   1.876  if ac_fn_c_try_run "$LINENO"; then :
   1.877 @@ -17907,7 +17936,7 @@
   1.878    IFS=$as_save_IFS
   1.879    test -z "$as_dir" && as_dir=.
   1.880      for ac_exec_ext in '' $ac_executable_extensions; do
   1.881 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.882 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.883      ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.884      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.885      break 2
   1.886 @@ -18157,7 +18186,7 @@
   1.887    IFS=$as_save_IFS
   1.888    test -z "$as_dir" && as_dir=.
   1.889      for ac_exec_ext in '' $ac_executable_extensions; do
   1.890 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.891 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.892      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.893      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.894      break 2
   1.895 @@ -18256,7 +18285,7 @@
   1.896    IFS=$as_save_IFS
   1.897    test -z "$as_dir" && as_dir=.
   1.898      for ac_exec_ext in '' $ac_executable_extensions; do
   1.899 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.900 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.901      ac_cv_path_ARTSCONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.902      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.903      break 2
   1.904 @@ -20182,7 +20211,7 @@
   1.905    IFS=$as_save_IFS
   1.906    test -z "$as_dir" && as_dir=.
   1.907      for ac_exec_ext in '' $ac_executable_extensions; do
   1.908 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.909 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.910      ac_cv_path_DIRECTFBCONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.911      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.912      break 2
   1.913 @@ -20227,7 +20256,7 @@
   1.914    IFS=$as_save_IFS
   1.915    test -z "$as_dir" && as_dir=.
   1.916      for ac_exec_ext in '' $ac_executable_extensions; do
   1.917 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.918 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.919      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.920      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.921      break 2
   1.922 @@ -20371,7 +20400,7 @@
   1.923    IFS=$as_save_IFS
   1.924    test -z "$as_dir" && as_dir=.
   1.925      for ac_exec_ext in '' $ac_executable_extensions; do
   1.926 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1.927 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.928      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.929      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.930      break 2
   1.931 @@ -20740,6 +20769,80 @@
   1.932      fi
   1.933  }
   1.934  
   1.935 +CheckDBus()
   1.936 +{
   1.937 +    # Check whether --enable-dbus was given.
   1.938 +if test "${enable_dbus+set}" = set; then :
   1.939 +  enableval=$enable_dbus;
   1.940 +else
   1.941 +  enable_dbus=yes
   1.942 +fi
   1.943 +
   1.944 +    if test x$enable_dbus = xyes; then
   1.945 +        # Extract the first word of "pkg-config", so it can be a program name with args.
   1.946 +set dummy pkg-config; ac_word=$2
   1.947 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   1.948 +$as_echo_n "checking for $ac_word... " >&6; }
   1.949 +if ${ac_cv_path_PKG_CONFIG+:} false; then :
   1.950 +  $as_echo_n "(cached) " >&6
   1.951 +else
   1.952 +  case $PKG_CONFIG in
   1.953 +  [\\/]* | ?:[\\/]*)
   1.954 +  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   1.955 +  ;;
   1.956 +  *)
   1.957 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.958 +for as_dir in $PATH
   1.959 +do
   1.960 +  IFS=$as_save_IFS
   1.961 +  test -z "$as_dir" && as_dir=.
   1.962 +    for ac_exec_ext in '' $ac_executable_extensions; do
   1.963 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1.964 +    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   1.965 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   1.966 +    break 2
   1.967 +  fi
   1.968 +done
   1.969 +  done
   1.970 +IFS=$as_save_IFS
   1.971 +
   1.972 +  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
   1.973 +  ;;
   1.974 +esac
   1.975 +fi
   1.976 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   1.977 +if test -n "$PKG_CONFIG"; then
   1.978 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   1.979 +$as_echo "$PKG_CONFIG" >&6; }
   1.980 +else
   1.981 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   1.982 +$as_echo "no" >&6; }
   1.983 +fi
   1.984 +
   1.985 +
   1.986 +        if test x$PKG_CONFIG != xno; then
   1.987 +            DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1`
   1.988 +            save_CFLAGS="$CFLAGS"
   1.989 +            CFLAGS="$save_CFLAGS $DBUS_CFLAGS"
   1.990 +            ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
   1.991 +if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
   1.992 +  have_dbus_dbus_h_hdr=yes
   1.993 +else
   1.994 +  have_dbus_dbus_h_hdr=no
   1.995 +fi
   1.996 +
   1.997 +
   1.998 +            CFLAGS="$save_CFLAGS"
   1.999 +            if test x$have_dbus_dbus_h_hdr = xyes; then
  1.1000 +
  1.1001 +$as_echo "#define HAVE_DBUS_DBUS_H 1" >>confdefs.h
  1.1002 +
  1.1003 +                EXTRA_CFLAGS="$EXTRA_CFLAGS $DBUS_CFLAGS"
  1.1004 +            fi
  1.1005 +        fi
  1.1006 +    fi
  1.1007 +}
  1.1008 +
  1.1009  CheckTslib()
  1.1010  {
  1.1011      # Check whether --enable-input-tslib was given.
  1.1012 @@ -21927,6 +22030,7 @@
  1.1013          CheckOpenGLX11
  1.1014          CheckOpenGLESX11
  1.1015          CheckLibUDev
  1.1016 +        CheckDBus
  1.1017          CheckInputEvents
  1.1018          CheckTslib
  1.1019          CheckUSBHID
  1.1020 @@ -22889,16 +22993,16 @@
  1.1021      # ... but there are two gotchas:
  1.1022      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  1.1023      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  1.1024 -    # In both cases, we have to default to `cp -p'.
  1.1025 +    # In both cases, we have to default to `cp -pR'.
  1.1026      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  1.1027 -      as_ln_s='cp -p'
  1.1028 +      as_ln_s='cp -pR'
  1.1029    elif ln conf$$.file conf$$ 2>/dev/null; then
  1.1030      as_ln_s=ln
  1.1031    else
  1.1032 -    as_ln_s='cp -p'
  1.1033 -  fi
  1.1034 -else
  1.1035 -  as_ln_s='cp -p'
  1.1036 +    as_ln_s='cp -pR'
  1.1037 +  fi
  1.1038 +else
  1.1039 +  as_ln_s='cp -pR'
  1.1040  fi
  1.1041  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  1.1042  rmdir conf$$.dir 2>/dev/null
  1.1043 @@ -22958,28 +23062,16 @@
  1.1044    as_mkdir_p=false
  1.1045  fi
  1.1046  
  1.1047 -if test -x / >/dev/null 2>&1; then
  1.1048 -  as_test_x='test -x'
  1.1049 -else
  1.1050 -  if ls -dL / >/dev/null 2>&1; then
  1.1051 -    as_ls_L_option=L
  1.1052 -  else
  1.1053 -    as_ls_L_option=
  1.1054 -  fi
  1.1055 -  as_test_x='
  1.1056 -    eval sh -c '\''
  1.1057 -      if test -d "$1"; then
  1.1058 -	test -d "$1/.";
  1.1059 -      else
  1.1060 -	case $1 in #(
  1.1061 -	-*)set "./$1";;
  1.1062 -	esac;
  1.1063 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  1.1064 -	???[sx]*):;;*)false;;esac;fi
  1.1065 -    '\'' sh
  1.1066 -  '
  1.1067 -fi
  1.1068 -as_executable_p=$as_test_x
  1.1069 +
  1.1070 +# as_fn_executable_p FILE
  1.1071 +# -----------------------
  1.1072 +# Test if FILE is an executable regular file.
  1.1073 +as_fn_executable_p ()
  1.1074 +{
  1.1075 +  test -f "$1" && test -x "$1"
  1.1076 +} # as_fn_executable_p
  1.1077 +as_test_x='test -x'
  1.1078 +as_executable_p=as_fn_executable_p
  1.1079  
  1.1080  # Sed expression to map a string onto a valid CPP name.
  1.1081  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1.1082 @@ -23001,7 +23093,7 @@
  1.1083  # values after options handling.
  1.1084  ac_log="
  1.1085  This file was extended by $as_me, which was
  1.1086 -generated by GNU Autoconf 2.68.  Invocation command line was
  1.1087 +generated by GNU Autoconf 2.69.  Invocation command line was
  1.1088  
  1.1089    CONFIG_FILES    = $CONFIG_FILES
  1.1090    CONFIG_HEADERS  = $CONFIG_HEADERS
  1.1091 @@ -23067,10 +23159,10 @@
  1.1092  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  1.1093  ac_cs_version="\\
  1.1094  config.status
  1.1095 -configured by $0, generated by GNU Autoconf 2.68,
  1.1096 +configured by $0, generated by GNU Autoconf 2.69,
  1.1097    with options \\"\$ac_cs_config\\"
  1.1098  
  1.1099 -Copyright (C) 2010 Free Software Foundation, Inc.
  1.1100 +Copyright (C) 2012 Free Software Foundation, Inc.
  1.1101  This config.status script is free software; the Free Software Foundation
  1.1102  gives unlimited permission to copy, distribute and modify it."
  1.1103  
  1.1104 @@ -23160,7 +23252,7 @@
  1.1105  _ACEOF
  1.1106  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.1107  if \$ac_cs_recheck; then
  1.1108 -  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.1109 +  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.1110    shift
  1.1111    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  1.1112    CONFIG_SHELL='$SHELL'