autogen.sh on development system
This commit is contained in:
parent
0df5870993
commit
a2e47469fc
1 changed files with 2 additions and 186 deletions
188
configure
vendored
188
configure
vendored
|
@ -2259,189 +2259,6 @@ $as_echo "$ac_res" >&6; }
|
||||||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
||||||
|
|
||||||
} # ac_fn_c_check_member
|
} # ac_fn_c_check_member
|
||||||
|
|
||||||
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
|
|
||||||
# --------------------------------------------
|
|
||||||
# Tries to find the compile-time value of EXPR in a program that includes
|
|
||||||
# INCLUDES, setting VAR accordingly. Returns whether the value could be
|
|
||||||
# computed
|
|
||||||
ac_fn_c_compute_int ()
|
|
||||||
{
|
|
||||||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
||||||
if test "$cross_compiling" = yes; then
|
|
||||||
# Depending upon the size, compute the lo and hi bounds.
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
$4
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
static int test_array [1 - 2 * !(($2) >= 0)];
|
|
||||||
test_array [0] = 0;
|
|
||||||
return test_array [0];
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_lo=0 ac_mid=0
|
|
||||||
while :; do
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
$4
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
||||||
test_array [0] = 0;
|
|
||||||
return test_array [0];
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_hi=$ac_mid; break
|
|
||||||
else
|
|
||||||
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
|
|
||||||
if test $ac_lo -le $ac_mid; then
|
|
||||||
ac_lo= ac_hi=
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
done
|
|
||||||
else
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
$4
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
static int test_array [1 - 2 * !(($2) < 0)];
|
|
||||||
test_array [0] = 0;
|
|
||||||
return test_array [0];
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_hi=-1 ac_mid=-1
|
|
||||||
while :; do
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
$4
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
|
|
||||||
test_array [0] = 0;
|
|
||||||
return test_array [0];
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_lo=$ac_mid; break
|
|
||||||
else
|
|
||||||
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
|
|
||||||
if test $ac_mid -le $ac_hi; then
|
|
||||||
ac_lo= ac_hi=
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
done
|
|
||||||
else
|
|
||||||
ac_lo= ac_hi=
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
# Binary search between lo and hi bounds.
|
|
||||||
while test "x$ac_lo" != "x$ac_hi"; do
|
|
||||||
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
$4
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
||||||
test_array [0] = 0;
|
|
||||||
return test_array [0];
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_hi=$ac_mid
|
|
||||||
else
|
|
||||||
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
done
|
|
||||||
case $ac_lo in #((
|
|
||||||
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
|
|
||||||
'') ac_retval=1 ;;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
$4
|
|
||||||
static long int longval () { return $2; }
|
|
||||||
static unsigned long int ulongval () { return $2; }
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
|
|
||||||
FILE *f = fopen ("conftest.val", "w");
|
|
||||||
if (! f)
|
|
||||||
return 1;
|
|
||||||
if (($2) < 0)
|
|
||||||
{
|
|
||||||
long int i = longval ();
|
|
||||||
if (i != ($2))
|
|
||||||
return 1;
|
|
||||||
fprintf (f, "%ld", i);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
unsigned long int i = ulongval ();
|
|
||||||
if (i != ($2))
|
|
||||||
return 1;
|
|
||||||
fprintf (f, "%lu", i);
|
|
||||||
}
|
|
||||||
/* Do not output a trailing newline, as this causes \r\n confusion
|
|
||||||
on some platforms. */
|
|
||||||
return ferror (f) || fclose (f) != 0;
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_run "$LINENO"; then :
|
|
||||||
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
|
|
||||||
else
|
|
||||||
ac_retval=1
|
|
||||||
fi
|
|
||||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
||||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
||||||
rm -f conftest.val
|
|
||||||
|
|
||||||
fi
|
|
||||||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
||||||
as_fn_set_status $ac_retval
|
|
||||||
|
|
||||||
} # ac_fn_c_compute_int
|
|
||||||
cat >config.log <<_ACEOF
|
cat >config.log <<_ACEOF
|
||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
@ -21608,9 +21425,8 @@ int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
|
|
||||||
#if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED <= 1020
|
void *handle = dlopen("", RTLD_NOW);
|
||||||
#error Use dlcompat for Mac OS X 10.2 compatibility
|
const char *loaderror = (char *) dlerror();
|
||||||
#endif
|
|
||||||
|
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue