mirror of git://gcc.gnu.org/git/gcc.git
no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
config/ * no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function. libstdc++-v3/ libstdc++/ * acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add -fno-exceptions to CXXFLAGS. Use GCC_TRY_COMPILE_OR_LINK. Make the tests assign results to volatile variables. Use -lm for link tests in GCC_TRY_COMPILE_OR_LINK. Fall back to compile-only tests if -lm is not available. * configure: Regenerate. From-SVN: r128982
This commit is contained in:
parent
6d2c26dec4
commit
b6f914f633
|
|
@ -1,3 +1,8 @@
|
||||||
|
2007-10-03 Richard Sandiford <richard@codesourcery.com>
|
||||||
|
|
||||||
|
* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
|
||||||
|
libstdc++-v3/
|
||||||
|
|
||||||
2007-10-03 Kazu Hirata <kazu@codesourcery.com>
|
2007-10-03 Kazu Hirata <kazu@codesourcery.com>
|
||||||
|
|
||||||
Revert:
|
Revert:
|
||||||
|
|
|
||||||
|
|
@ -59,3 +59,11 @@ fi)
|
||||||
|
|
||||||
m4_divert_pop()dnl
|
m4_divert_pop()dnl
|
||||||
])# GCC_NO_EXECUTABLES
|
])# GCC_NO_EXECUTABLES
|
||||||
|
|
||||||
|
# Use the strongest available test out of AC_TRY_COMPILE and AC_TRY_LINK.
|
||||||
|
AC_DEFUN([GCC_TRY_COMPILE_OR_LINK],
|
||||||
|
[if test x$gcc_no_link = xyes; then
|
||||||
|
AC_TRY_COMPILE([$1], [$2], [$3], [$4])
|
||||||
|
else
|
||||||
|
AC_TRY_LINK([$1], [$2], [$3], [$4])
|
||||||
|
fi])
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
2007-10-03 Richard Sandiford <richard@codesourcery.com>
|
||||||
|
|
||||||
|
* acinclude.m4 (GLIBCXX_ENABLE_C99): Temporarily add
|
||||||
|
-fno-exceptions to CXXFLAGS. Use GCC_TRY_COMPILE_OR_LINK.
|
||||||
|
Make the tests assign results to volatile variables. Use -lm
|
||||||
|
for link tests in GCC_TRY_COMPILE_OR_LINK. Fall back to
|
||||||
|
compile-only tests if -lm is not available.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2007-10-03 Paolo Carlini <pcarlini@suse.de>
|
2007-10-03 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
PR libstdc++/33613
|
PR libstdc++/33613
|
||||||
|
|
|
||||||
|
|
@ -763,23 +763,44 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [
|
||||||
AC_LANG_SAVE
|
AC_LANG_SAVE
|
||||||
AC_LANG_CPLUSPLUS
|
AC_LANG_CPLUSPLUS
|
||||||
|
|
||||||
|
# Use -fno-exceptions so that the C driver can link these tests without
|
||||||
|
# hitting undefined references to personality routines.
|
||||||
|
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||||
|
ac_save_LIBS="$LIBS"
|
||||||
|
ac_save_gcc_no_link="$gcc_no_link"
|
||||||
|
|
||||||
|
if test x$gcc_no_link != xyes; then
|
||||||
|
# Use -fno-exceptions to that the C driver can link these tests without
|
||||||
|
# hitting undefined references to personality routines.
|
||||||
|
CXXFLAGS="$CXXFLAGS -fno-exceptions"
|
||||||
|
AC_CHECK_LIB(m, sin, [
|
||||||
|
LIBS="$LIBS -lm"
|
||||||
|
], [
|
||||||
|
# Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
|
||||||
|
gcc_no_link=yes
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
|
||||||
# Check for the existence of <math.h> functions used if C99 is enabled.
|
# Check for the existence of <math.h> functions used if C99 is enabled.
|
||||||
AC_MSG_CHECKING([for ISO C99 support in <math.h>])
|
AC_MSG_CHECKING([for ISO C99 support in <math.h>])
|
||||||
AC_CACHE_VAL(ac_c99_math, [
|
AC_CACHE_VAL(ac_c99_math, [
|
||||||
AC_TRY_COMPILE([#include <math.h>],
|
GCC_TRY_COMPILE_OR_LINK(
|
||||||
[fpclassify(0.0);
|
[#include <math.h>
|
||||||
isfinite(0.0);
|
volatile double d1, d2;
|
||||||
isinf(0.0);
|
volatile int i;],
|
||||||
isnan(0.0);
|
[i = fpclassify(d1);
|
||||||
isnormal(0.0);
|
i = isfinite(d1);
|
||||||
signbit(0.0);
|
i = isinf(d1);
|
||||||
isgreater(0.0,0.0);
|
i = isnan(d1);
|
||||||
isgreaterequal(0.0,0.0);
|
i = isnormal(d1);
|
||||||
isless(0.0,0.0);
|
i = signbit(d1);
|
||||||
islessequal(0.0,0.0);
|
i = isgreater(d1, d2);
|
||||||
islessgreater(0.0,0.0);
|
i = isgreaterequal(d1, d2);
|
||||||
islessgreater(0.0,0.0);
|
i = isless(d1, d2);
|
||||||
isunordered(0.0,0.0);
|
i = islessequal(d1, d2);
|
||||||
|
i = islessgreater(d1, d2);
|
||||||
|
i = islessgreater(d1, d2);
|
||||||
|
i = isunordered(d1, d2);
|
||||||
],[ac_c99_math=yes], [ac_c99_math=no])
|
],[ac_c99_math=yes], [ac_c99_math=no])
|
||||||
])
|
])
|
||||||
AC_MSG_RESULT($ac_c99_math)
|
AC_MSG_RESULT($ac_c99_math)
|
||||||
|
|
@ -798,46 +819,53 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [
|
||||||
ac_c99_complex=no;
|
ac_c99_complex=no;
|
||||||
if test x"$ac_has_complex_h" = x"yes"; then
|
if test x"$ac_has_complex_h" = x"yes"; then
|
||||||
AC_MSG_CHECKING([for ISO C99 support in <complex.h>])
|
AC_MSG_CHECKING([for ISO C99 support in <complex.h>])
|
||||||
AC_TRY_COMPILE([#include <complex.h>],
|
GCC_TRY_COMPILE_OR_LINK(
|
||||||
[typedef __complex__ float float_type; float_type tmpf;
|
[#include <complex.h>
|
||||||
cabsf(tmpf);
|
typedef __complex__ float float_type;
|
||||||
cargf(tmpf);
|
typedef __complex__ double double_type;
|
||||||
ccosf(tmpf);
|
typedef __complex__ long double ld_type;
|
||||||
ccoshf(tmpf);
|
volatile float_type tmpf;
|
||||||
cexpf(tmpf);
|
volatile double_type tmpd;
|
||||||
clogf(tmpf);
|
volatile ld_type tmpld;
|
||||||
csinf(tmpf);
|
volatile float f;
|
||||||
csinhf(tmpf);
|
volatile double d;
|
||||||
csqrtf(tmpf);
|
volatile long double ld;],
|
||||||
ctanf(tmpf);
|
[f = cabsf(tmpf);
|
||||||
ctanhf(tmpf);
|
f = cargf(tmpf);
|
||||||
cpowf(tmpf, tmpf);
|
tmpf = ccosf(tmpf);
|
||||||
typedef __complex__ double double_type; double_type tmpd;
|
tmpf = ccoshf(tmpf);
|
||||||
cabs(tmpd);
|
tmpf = cexpf(tmpf);
|
||||||
carg(tmpd);
|
tmpf = clogf(tmpf);
|
||||||
ccos(tmpd);
|
tmpf = csinf(tmpf);
|
||||||
ccosh(tmpd);
|
tmpf = csinhf(tmpf);
|
||||||
cexp(tmpd);
|
tmpf = csqrtf(tmpf);
|
||||||
clog(tmpd);
|
tmpf = ctanf(tmpf);
|
||||||
csin(tmpd);
|
tmpf = ctanhf(tmpf);
|
||||||
csinh(tmpd);
|
tmpf = cpowf(tmpf, tmpf);
|
||||||
csqrt(tmpd);
|
d = cabs(tmpd);
|
||||||
ctan(tmpd);
|
d = carg(tmpd);
|
||||||
ctanh(tmpd);
|
tmpd = ccos(tmpd);
|
||||||
cpow(tmpd, tmpd);
|
tmpd = ccosh(tmpd);
|
||||||
typedef __complex__ long double ld_type; ld_type tmpld;
|
tmpd = cexp(tmpd);
|
||||||
cabsl(tmpld);
|
tmpd = clog(tmpd);
|
||||||
cargl(tmpld);
|
tmpd = csin(tmpd);
|
||||||
ccosl(tmpld);
|
tmpd = csinh(tmpd);
|
||||||
ccoshl(tmpld);
|
tmpd = csqrt(tmpd);
|
||||||
cexpl(tmpld);
|
tmpd = ctan(tmpd);
|
||||||
clogl(tmpld);
|
tmpd = ctanh(tmpd);
|
||||||
csinl(tmpld);
|
tmpd = cpow(tmpd, tmpd);
|
||||||
csinhl(tmpld);
|
ld = cabsl(tmpld);
|
||||||
csqrtl(tmpld);
|
ld = cargl(tmpld);
|
||||||
ctanl(tmpld);
|
tmpld = ccosl(tmpld);
|
||||||
ctanhl(tmpld);
|
tmpld = ccoshl(tmpld);
|
||||||
cpowl(tmpld, tmpld);
|
tmpld = cexpl(tmpld);
|
||||||
|
tmpld = clogl(tmpld);
|
||||||
|
tmpld = csinl(tmpld);
|
||||||
|
tmpld = csinhl(tmpld);
|
||||||
|
tmpld = csqrtl(tmpld);
|
||||||
|
tmpld = ctanl(tmpld);
|
||||||
|
tmpld = ctanhl(tmpld);
|
||||||
|
tmpld = cpowl(tmpld, tmpld);
|
||||||
],[ac_c99_complex=yes], [ac_c99_complex=no])
|
],[ac_c99_complex=yes], [ac_c99_complex=no])
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT($ac_c99_complex)
|
AC_MSG_RESULT($ac_c99_complex)
|
||||||
|
|
@ -851,7 +879,8 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [
|
||||||
# Check for the existence in <stdio.h> of vscanf, et. al.
|
# Check for the existence in <stdio.h> of vscanf, et. al.
|
||||||
AC_MSG_CHECKING([for ISO C99 support in <stdio.h>])
|
AC_MSG_CHECKING([for ISO C99 support in <stdio.h>])
|
||||||
AC_CACHE_VAL(ac_c99_stdio, [
|
AC_CACHE_VAL(ac_c99_stdio, [
|
||||||
AC_TRY_COMPILE([#include <stdio.h>
|
GCC_TRY_COMPILE_OR_LINK(
|
||||||
|
[#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
void foo(char* fmt, ...)
|
void foo(char* fmt, ...)
|
||||||
{
|
{
|
||||||
|
|
@ -869,17 +898,24 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [
|
||||||
# Check for the existence in <stdlib.h> of lldiv_t, et. al.
|
# Check for the existence in <stdlib.h> of lldiv_t, et. al.
|
||||||
AC_MSG_CHECKING([for ISO C99 support in <stdlib.h>])
|
AC_MSG_CHECKING([for ISO C99 support in <stdlib.h>])
|
||||||
AC_CACHE_VAL(ac_c99_stdlib, [
|
AC_CACHE_VAL(ac_c99_stdlib, [
|
||||||
AC_TRY_COMPILE([#include <stdlib.h>],
|
GCC_TRY_COMPILE_OR_LINK(
|
||||||
|
[#include <stdlib.h>
|
||||||
|
volatile float f;
|
||||||
|
volatile long double ld;
|
||||||
|
volatile unsigned long long ll;
|
||||||
|
lldiv_t mydivt;],
|
||||||
[char* tmp;
|
[char* tmp;
|
||||||
strtof("gnu", &tmp);
|
f = strtof("gnu", &tmp);
|
||||||
strtold("gnu", &tmp);
|
ld = strtold("gnu", &tmp);
|
||||||
strtoll("gnu", &tmp, 10);
|
ll = strtoll("gnu", &tmp, 10);
|
||||||
strtoull("gnu", &tmp, 10);
|
ll = strtoull("gnu", &tmp, 10);
|
||||||
llabs(10);
|
ll = llabs(10);
|
||||||
lldiv(10,1);
|
mydivt = lldiv(10,1);
|
||||||
atoll("10");
|
ll = mydivt.quot;
|
||||||
|
ll = mydivt.rem;
|
||||||
|
ll = atoll("10");
|
||||||
_Exit(0);
|
_Exit(0);
|
||||||
lldiv_t mydivt;],[ac_c99_stdlib=yes], [ac_c99_stdlib=no])
|
],[ac_c99_stdlib=yes], [ac_c99_stdlib=no])
|
||||||
])
|
])
|
||||||
AC_MSG_RESULT($ac_c99_stdlib)
|
AC_MSG_RESULT($ac_c99_stdlib)
|
||||||
|
|
||||||
|
|
@ -940,6 +976,9 @@ AC_DEFUN([GLIBCXX_ENABLE_C99], [
|
||||||
<complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed.])
|
<complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
gcc_no_link="$ac_save_gcc_no_link"
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||||
AC_LANG_RESTORE
|
AC_LANG_RESTORE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15436,6 +15436,98 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
|
||||||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||||
|
|
||||||
|
|
||||||
|
# Use -fno-exceptions so that the C driver can link these tests without
|
||||||
|
# hitting undefined references to personality routines.
|
||||||
|
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||||
|
ac_save_LIBS="$LIBS"
|
||||||
|
ac_save_gcc_no_link="$gcc_no_link"
|
||||||
|
|
||||||
|
if test x$gcc_no_link != xyes; then
|
||||||
|
# Use -fno-exceptions to that the C driver can link these tests without
|
||||||
|
# hitting undefined references to personality routines.
|
||||||
|
CXXFLAGS="$CXXFLAGS -fno-exceptions"
|
||||||
|
echo "$as_me:$LINENO: checking for sin in -lm" >&5
|
||||||
|
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
|
||||||
|
if test "${ac_cv_lib_m_sin+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
|
LIBS="-lm $LIBS"
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
|
||||||
|
echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
fi
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
|
||||||
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
builtin and then its argument prototype would still apply. */
|
||||||
|
char sin ();
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
sin ();
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
|
(eval $ac_link) 2>conftest.er1
|
||||||
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); } &&
|
||||||
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
ac_cv_lib_m_sin=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
ac_cv_lib_m_sin=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
LIBS=$ac_check_lib_save_LIBS
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
|
||||||
|
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
|
||||||
|
if test $ac_cv_lib_m_sin = yes; then
|
||||||
|
|
||||||
|
LIBS="$LIBS -lm"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
# Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
|
||||||
|
gcc_no_link=yes
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
# Check for the existence of <math.h> functions used if C99 is enabled.
|
# Check for the existence of <math.h> functions used if C99 is enabled.
|
||||||
echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
|
echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
|
||||||
echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
|
echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
|
||||||
|
|
@ -15443,6 +15535,7 @@ echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
|
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
@ -15450,22 +15543,24 @@ cat confdefs.h >>conftest.$ac_ext
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
volatile double d1, d2;
|
||||||
|
volatile int i;
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
fpclassify(0.0);
|
i = fpclassify(d1);
|
||||||
isfinite(0.0);
|
i = isfinite(d1);
|
||||||
isinf(0.0);
|
i = isinf(d1);
|
||||||
isnan(0.0);
|
i = isnan(d1);
|
||||||
isnormal(0.0);
|
i = isnormal(d1);
|
||||||
signbit(0.0);
|
i = signbit(d1);
|
||||||
isgreater(0.0,0.0);
|
i = isgreater(d1, d2);
|
||||||
isgreaterequal(0.0,0.0);
|
i = isgreaterequal(d1, d2);
|
||||||
isless(0.0,0.0);
|
i = isless(d1, d2);
|
||||||
islessequal(0.0,0.0);
|
i = islessequal(d1, d2);
|
||||||
islessgreater(0.0,0.0);
|
i = islessgreater(d1, d2);
|
||||||
islessgreater(0.0,0.0);
|
i = islessgreater(d1, d2);
|
||||||
isunordered(0.0,0.0);
|
i = isunordered(d1, d2);
|
||||||
|
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -15501,6 +15596,74 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
ac_c99_math=no
|
ac_c99_math=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
else
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
|
||||||
|
echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
fi
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <math.h>
|
||||||
|
volatile double d1, d2;
|
||||||
|
volatile int i;
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
i = fpclassify(d1);
|
||||||
|
i = isfinite(d1);
|
||||||
|
i = isinf(d1);
|
||||||
|
i = isnan(d1);
|
||||||
|
i = isnormal(d1);
|
||||||
|
i = signbit(d1);
|
||||||
|
i = isgreater(d1, d2);
|
||||||
|
i = isgreaterequal(d1, d2);
|
||||||
|
i = isless(d1, d2);
|
||||||
|
i = islessequal(d1, d2);
|
||||||
|
i = islessgreater(d1, d2);
|
||||||
|
i = islessgreater(d1, d2);
|
||||||
|
i = isunordered(d1, d2);
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
|
(eval $ac_link) 2>conftest.er1
|
||||||
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); } &&
|
||||||
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
ac_c99_math=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
ac_c99_math=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -15826,6 +15989,7 @@ done
|
||||||
if test x"$ac_has_complex_h" = x"yes"; then
|
if test x"$ac_has_complex_h" = x"yes"; then
|
||||||
echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
|
echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
|
||||||
echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
|
echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
@ -15833,48 +15997,54 @@ cat confdefs.h >>conftest.$ac_ext
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
|
typedef __complex__ float float_type;
|
||||||
|
typedef __complex__ double double_type;
|
||||||
|
typedef __complex__ long double ld_type;
|
||||||
|
volatile float_type tmpf;
|
||||||
|
volatile double_type tmpd;
|
||||||
|
volatile ld_type tmpld;
|
||||||
|
volatile float f;
|
||||||
|
volatile double d;
|
||||||
|
volatile long double ld;
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
typedef __complex__ float float_type; float_type tmpf;
|
f = cabsf(tmpf);
|
||||||
cabsf(tmpf);
|
f = cargf(tmpf);
|
||||||
cargf(tmpf);
|
tmpf = ccosf(tmpf);
|
||||||
ccosf(tmpf);
|
tmpf = ccoshf(tmpf);
|
||||||
ccoshf(tmpf);
|
tmpf = cexpf(tmpf);
|
||||||
cexpf(tmpf);
|
tmpf = clogf(tmpf);
|
||||||
clogf(tmpf);
|
tmpf = csinf(tmpf);
|
||||||
csinf(tmpf);
|
tmpf = csinhf(tmpf);
|
||||||
csinhf(tmpf);
|
tmpf = csqrtf(tmpf);
|
||||||
csqrtf(tmpf);
|
tmpf = ctanf(tmpf);
|
||||||
ctanf(tmpf);
|
tmpf = ctanhf(tmpf);
|
||||||
ctanhf(tmpf);
|
tmpf = cpowf(tmpf, tmpf);
|
||||||
cpowf(tmpf, tmpf);
|
d = cabs(tmpd);
|
||||||
typedef __complex__ double double_type; double_type tmpd;
|
d = carg(tmpd);
|
||||||
cabs(tmpd);
|
tmpd = ccos(tmpd);
|
||||||
carg(tmpd);
|
tmpd = ccosh(tmpd);
|
||||||
ccos(tmpd);
|
tmpd = cexp(tmpd);
|
||||||
ccosh(tmpd);
|
tmpd = clog(tmpd);
|
||||||
cexp(tmpd);
|
tmpd = csin(tmpd);
|
||||||
clog(tmpd);
|
tmpd = csinh(tmpd);
|
||||||
csin(tmpd);
|
tmpd = csqrt(tmpd);
|
||||||
csinh(tmpd);
|
tmpd = ctan(tmpd);
|
||||||
csqrt(tmpd);
|
tmpd = ctanh(tmpd);
|
||||||
ctan(tmpd);
|
tmpd = cpow(tmpd, tmpd);
|
||||||
ctanh(tmpd);
|
ld = cabsl(tmpld);
|
||||||
cpow(tmpd, tmpd);
|
ld = cargl(tmpld);
|
||||||
typedef __complex__ long double ld_type; ld_type tmpld;
|
tmpld = ccosl(tmpld);
|
||||||
cabsl(tmpld);
|
tmpld = ccoshl(tmpld);
|
||||||
cargl(tmpld);
|
tmpld = cexpl(tmpld);
|
||||||
ccosl(tmpld);
|
tmpld = clogl(tmpld);
|
||||||
ccoshl(tmpld);
|
tmpld = csinl(tmpld);
|
||||||
cexpl(tmpld);
|
tmpld = csinhl(tmpld);
|
||||||
clogl(tmpld);
|
tmpld = csqrtl(tmpld);
|
||||||
csinl(tmpld);
|
tmpld = ctanl(tmpld);
|
||||||
csinhl(tmpld);
|
tmpld = ctanhl(tmpld);
|
||||||
csqrtl(tmpld);
|
tmpld = cpowl(tmpld, tmpld);
|
||||||
ctanl(tmpld);
|
|
||||||
ctanhl(tmpld);
|
|
||||||
cpowl(tmpld, tmpld);
|
|
||||||
|
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -15910,6 +16080,104 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
ac_c99_complex=no
|
ac_c99_complex=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
else
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
|
||||||
|
echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
fi
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <complex.h>
|
||||||
|
typedef __complex__ float float_type;
|
||||||
|
typedef __complex__ double double_type;
|
||||||
|
typedef __complex__ long double ld_type;
|
||||||
|
volatile float_type tmpf;
|
||||||
|
volatile double_type tmpd;
|
||||||
|
volatile ld_type tmpld;
|
||||||
|
volatile float f;
|
||||||
|
volatile double d;
|
||||||
|
volatile long double ld;
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
f = cabsf(tmpf);
|
||||||
|
f = cargf(tmpf);
|
||||||
|
tmpf = ccosf(tmpf);
|
||||||
|
tmpf = ccoshf(tmpf);
|
||||||
|
tmpf = cexpf(tmpf);
|
||||||
|
tmpf = clogf(tmpf);
|
||||||
|
tmpf = csinf(tmpf);
|
||||||
|
tmpf = csinhf(tmpf);
|
||||||
|
tmpf = csqrtf(tmpf);
|
||||||
|
tmpf = ctanf(tmpf);
|
||||||
|
tmpf = ctanhf(tmpf);
|
||||||
|
tmpf = cpowf(tmpf, tmpf);
|
||||||
|
d = cabs(tmpd);
|
||||||
|
d = carg(tmpd);
|
||||||
|
tmpd = ccos(tmpd);
|
||||||
|
tmpd = ccosh(tmpd);
|
||||||
|
tmpd = cexp(tmpd);
|
||||||
|
tmpd = clog(tmpd);
|
||||||
|
tmpd = csin(tmpd);
|
||||||
|
tmpd = csinh(tmpd);
|
||||||
|
tmpd = csqrt(tmpd);
|
||||||
|
tmpd = ctan(tmpd);
|
||||||
|
tmpd = ctanh(tmpd);
|
||||||
|
tmpd = cpow(tmpd, tmpd);
|
||||||
|
ld = cabsl(tmpld);
|
||||||
|
ld = cargl(tmpld);
|
||||||
|
tmpld = ccosl(tmpld);
|
||||||
|
tmpld = ccoshl(tmpld);
|
||||||
|
tmpld = cexpl(tmpld);
|
||||||
|
tmpld = clogl(tmpld);
|
||||||
|
tmpld = csinl(tmpld);
|
||||||
|
tmpld = csinhl(tmpld);
|
||||||
|
tmpld = csqrtl(tmpld);
|
||||||
|
tmpld = ctanl(tmpld);
|
||||||
|
tmpld = ctanhl(tmpld);
|
||||||
|
tmpld = cpowl(tmpld, tmpld);
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
|
(eval $ac_link) 2>conftest.er1
|
||||||
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); } &&
|
||||||
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
ac_c99_complex=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
ac_c99_complex=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
|
echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
|
||||||
echo "${ECHO_T}$ac_c99_complex" >&6
|
echo "${ECHO_T}$ac_c99_complex" >&6
|
||||||
|
|
@ -15928,6 +16196,7 @@ echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
|
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
@ -15982,6 +16251,68 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
ac_c99_stdio=no
|
ac_c99_stdio=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
else
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
|
||||||
|
echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
fi
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
void foo(char* fmt, ...)
|
||||||
|
{
|
||||||
|
va_list args; va_start(args, fmt);
|
||||||
|
vfscanf(stderr, "%i", args);
|
||||||
|
vscanf("%i", args);
|
||||||
|
vsnprintf(fmt, 0, "%i", args);
|
||||||
|
vsscanf(fmt, "%i", args);
|
||||||
|
}
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
snprintf("12", 0, "%i");
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
|
(eval $ac_link) 2>conftest.er1
|
||||||
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); } &&
|
||||||
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
ac_c99_stdio=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
ac_c99_stdio=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -15995,6 +16326,7 @@ echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
|
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
/* confdefs.h. */
|
/* confdefs.h. */
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
@ -16002,19 +16334,25 @@ cat confdefs.h >>conftest.$ac_ext
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
volatile float f;
|
||||||
|
volatile long double ld;
|
||||||
|
volatile unsigned long long ll;
|
||||||
|
lldiv_t mydivt;
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
char* tmp;
|
char* tmp;
|
||||||
strtof("gnu", &tmp);
|
f = strtof("gnu", &tmp);
|
||||||
strtold("gnu", &tmp);
|
ld = strtold("gnu", &tmp);
|
||||||
strtoll("gnu", &tmp, 10);
|
ll = strtoll("gnu", &tmp, 10);
|
||||||
strtoull("gnu", &tmp, 10);
|
ll = strtoull("gnu", &tmp, 10);
|
||||||
llabs(10);
|
ll = llabs(10);
|
||||||
lldiv(10,1);
|
mydivt = lldiv(10,1);
|
||||||
atoll("10");
|
ll = mydivt.quot;
|
||||||
|
ll = mydivt.rem;
|
||||||
|
ll = atoll("10");
|
||||||
_Exit(0);
|
_Exit(0);
|
||||||
lldiv_t mydivt;
|
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
@ -16049,6 +16387,74 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
ac_c99_stdlib=no
|
ac_c99_stdlib=no
|
||||||
fi
|
fi
|
||||||
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
else
|
||||||
|
if test x$gcc_no_link = xyes; then
|
||||||
|
{ { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
|
||||||
|
echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
|
||||||
|
{ (exit 1); exit 1; }; }
|
||||||
|
fi
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <stdlib.h>
|
||||||
|
volatile float f;
|
||||||
|
volatile long double ld;
|
||||||
|
volatile unsigned long long ll;
|
||||||
|
lldiv_t mydivt;
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
char* tmp;
|
||||||
|
f = strtof("gnu", &tmp);
|
||||||
|
ld = strtold("gnu", &tmp);
|
||||||
|
ll = strtoll("gnu", &tmp, 10);
|
||||||
|
ll = strtoull("gnu", &tmp, 10);
|
||||||
|
ll = llabs(10);
|
||||||
|
mydivt = lldiv(10,1);
|
||||||
|
ll = mydivt.quot;
|
||||||
|
ll = mydivt.rem;
|
||||||
|
ll = atoll("10");
|
||||||
|
_Exit(0);
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||||
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||||
|
(eval $ac_link) 2>conftest.er1
|
||||||
|
ac_status=$?
|
||||||
|
grep -v '^ *+' conftest.er1 >conftest.err
|
||||||
|
rm -f conftest.er1
|
||||||
|
cat conftest.err >&5
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); } &&
|
||||||
|
{ ac_try='test -z "$ac_cxx_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } &&
|
||||||
|
{ ac_try='test -s conftest$ac_exeext'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
ac_c99_stdlib=yes
|
||||||
|
else
|
||||||
|
echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
ac_c99_stdlib=no
|
||||||
|
fi
|
||||||
|
rm -f conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -16386,6 +16792,9 @@ _ACEOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
gcc_no_link="$ac_save_gcc_no_link"
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||||
|
|
@ -17305,7 +17714,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||||
|
|
||||||
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
|
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
|
||||||
cat > conftest.$ac_ext << EOF
|
cat > conftest.$ac_ext << EOF
|
||||||
#line 17308 "configure"
|
#line 17717 "configure"
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
// NB: _Atomic_word not necessarily int.
|
// NB: _Atomic_word not necessarily int.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue