autogen.sh on development system
authorSam Lantinga <slouken@libsdl.org>
Thu, 08 Aug 2013 01:59:36 -0700
changeset 760055afbc8f2a65
parent 7599 bd0c15431dc9
child 7601 fdf89883bbaa
autogen.sh on development system
configure
     1.1 --- a/configure	Thu Aug 08 01:59:19 2013 -0700
     1.2 +++ b/configure	Thu Aug 08 01:59:36 2013 -0700
     1.3 @@ -2259,189 +2259,6 @@
     1.4    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1.5  
     1.6  } # ac_fn_c_check_member
     1.7 -
     1.8 -# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
     1.9 -# --------------------------------------------
    1.10 -# Tries to find the compile-time value of EXPR in a program that includes
    1.11 -# INCLUDES, setting VAR accordingly. Returns whether the value could be
    1.12 -# computed
    1.13 -ac_fn_c_compute_int ()
    1.14 -{
    1.15 -  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1.16 -  if test "$cross_compiling" = yes; then
    1.17 -    # Depending upon the size, compute the lo and hi bounds.
    1.18 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.19 -/* end confdefs.h.  */
    1.20 -$4
    1.21 -int
    1.22 -main ()
    1.23 -{
    1.24 -static int test_array [1 - 2 * !(($2) >= 0)];
    1.25 -test_array [0] = 0;
    1.26 -return test_array [0];
    1.27 -
    1.28 -  ;
    1.29 -  return 0;
    1.30 -}
    1.31 -_ACEOF
    1.32 -if ac_fn_c_try_compile "$LINENO"; then :
    1.33 -  ac_lo=0 ac_mid=0
    1.34 -  while :; do
    1.35 -    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.36 -/* end confdefs.h.  */
    1.37 -$4
    1.38 -int
    1.39 -main ()
    1.40 -{
    1.41 -static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1.42 -test_array [0] = 0;
    1.43 -return test_array [0];
    1.44 -
    1.45 -  ;
    1.46 -  return 0;
    1.47 -}
    1.48 -_ACEOF
    1.49 -if ac_fn_c_try_compile "$LINENO"; then :
    1.50 -  ac_hi=$ac_mid; break
    1.51 -else
    1.52 -  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
    1.53 -			if test $ac_lo -le $ac_mid; then
    1.54 -			  ac_lo= ac_hi=
    1.55 -			  break
    1.56 -			fi
    1.57 -			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
    1.58 -fi
    1.59 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1.60 -  done
    1.61 -else
    1.62 -  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.63 -/* end confdefs.h.  */
    1.64 -$4
    1.65 -int
    1.66 -main ()
    1.67 -{
    1.68 -static int test_array [1 - 2 * !(($2) < 0)];
    1.69 -test_array [0] = 0;
    1.70 -return test_array [0];
    1.71 -
    1.72 -  ;
    1.73 -  return 0;
    1.74 -}
    1.75 -_ACEOF
    1.76 -if ac_fn_c_try_compile "$LINENO"; then :
    1.77 -  ac_hi=-1 ac_mid=-1
    1.78 -  while :; do
    1.79 -    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.80 -/* end confdefs.h.  */
    1.81 -$4
    1.82 -int
    1.83 -main ()
    1.84 -{
    1.85 -static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    1.86 -test_array [0] = 0;
    1.87 -return test_array [0];
    1.88 -
    1.89 -  ;
    1.90 -  return 0;
    1.91 -}
    1.92 -_ACEOF
    1.93 -if ac_fn_c_try_compile "$LINENO"; then :
    1.94 -  ac_lo=$ac_mid; break
    1.95 -else
    1.96 -  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
    1.97 -			if test $ac_mid -le $ac_hi; then
    1.98 -			  ac_lo= ac_hi=
    1.99 -			  break
   1.100 -			fi
   1.101 -			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   1.102 -fi
   1.103 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1.104 -  done
   1.105 -else
   1.106 -  ac_lo= ac_hi=
   1.107 -fi
   1.108 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1.109 -fi
   1.110 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1.111 -# Binary search between lo and hi bounds.
   1.112 -while test "x$ac_lo" != "x$ac_hi"; do
   1.113 -  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   1.114 -  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1.115 -/* end confdefs.h.  */
   1.116 -$4
   1.117 -int
   1.118 -main ()
   1.119 -{
   1.120 -static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1.121 -test_array [0] = 0;
   1.122 -return test_array [0];
   1.123 -
   1.124 -  ;
   1.125 -  return 0;
   1.126 -}
   1.127 -_ACEOF
   1.128 -if ac_fn_c_try_compile "$LINENO"; then :
   1.129 -  ac_hi=$ac_mid
   1.130 -else
   1.131 -  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   1.132 -fi
   1.133 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1.134 -done
   1.135 -case $ac_lo in #((
   1.136 -?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   1.137 -'') ac_retval=1 ;;
   1.138 -esac
   1.139 -  else
   1.140 -    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1.141 -/* end confdefs.h.  */
   1.142 -$4
   1.143 -static long int longval () { return $2; }
   1.144 -static unsigned long int ulongval () { return $2; }
   1.145 -#include <stdio.h>
   1.146 -#include <stdlib.h>
   1.147 -int
   1.148 -main ()
   1.149 -{
   1.150 -
   1.151 -  FILE *f = fopen ("conftest.val", "w");
   1.152 -  if (! f)
   1.153 -    return 1;
   1.154 -  if (($2) < 0)
   1.155 -    {
   1.156 -      long int i = longval ();
   1.157 -      if (i != ($2))
   1.158 -	return 1;
   1.159 -      fprintf (f, "%ld", i);
   1.160 -    }
   1.161 -  else
   1.162 -    {
   1.163 -      unsigned long int i = ulongval ();
   1.164 -      if (i != ($2))
   1.165 -	return 1;
   1.166 -      fprintf (f, "%lu", i);
   1.167 -    }
   1.168 -  /* Do not output a trailing newline, as this causes \r\n confusion
   1.169 -     on some platforms.  */
   1.170 -  return ferror (f) || fclose (f) != 0;
   1.171 -
   1.172 -  ;
   1.173 -  return 0;
   1.174 -}
   1.175 -_ACEOF
   1.176 -if ac_fn_c_try_run "$LINENO"; then :
   1.177 -  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   1.178 -else
   1.179 -  ac_retval=1
   1.180 -fi
   1.181 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   1.182 -  conftest.$ac_objext conftest.beam conftest.$ac_ext
   1.183 -rm -f conftest.val
   1.184 -
   1.185 -  fi
   1.186 -  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1.187 -  as_fn_set_status $ac_retval
   1.188 -
   1.189 -} # ac_fn_c_compute_int
   1.190  cat >config.log <<_ACEOF
   1.191  This file contains any messages produced by compilers while
   1.192  running configure, to aid debugging if configure makes a mistake.
   1.193 @@ -21608,9 +21425,8 @@
   1.194  main ()
   1.195  {
   1.196  
   1.197 -         #if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED <= 1020
   1.198 -         #error Use dlcompat for Mac OS X 10.2 compatibility
   1.199 -         #endif
   1.200 +         void *handle = dlopen("", RTLD_NOW);
   1.201 +         const char *loaderror = (char *) dlerror();
   1.202  
   1.203    ;
   1.204    return 0;