* configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
from newlib_ldbl_eq_dbl. * configure: Regenerate.
This commit is contained in:
parent
121f0eb23c
commit
2f0e5052d3
|
@ -1,3 +1,9 @@
|
|||
2009-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
|
||||
from newlib_ldbl_eq_dbl.
|
||||
* configure: Regenerate.
|
||||
|
||||
2009-08-19 Eric Blake <ebb9@byu.net>
|
||||
|
||||
* libc/Makefile.am (SUBDEFS): Correctly build popen docs.
|
||||
|
|
|
@ -5432,7 +5432,7 @@ irix5* | irix6* | nonstopux*)
|
|||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
|
@ -8082,7 +8082,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
|
|||
lt_prog_compiler_static='-non_shared'
|
||||
;;
|
||||
|
||||
linux* | k*bsd*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
case $cc_basename in
|
||||
# old Intel for x86_64 which still supported -KPIC.
|
||||
ecc*)
|
||||
|
@ -8643,7 +8643,7 @@ _LT_EOF
|
|||
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||
;;
|
||||
|
||||
gnu* | linux* | tpf* | k*bsd*-gnu)
|
||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
|
@ -9578,44 +9578,50 @@ x|xyes)
|
|||
# to ld, don't add -lc before -lgcc.
|
||||
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
||||
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
|
||||
$RM conftest*
|
||||
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
||||
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
$RM conftest*
|
||||
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
||||
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } 2>conftest.err; then
|
||||
soname=conftest
|
||||
lib=conftest
|
||||
libobjs=conftest.$ac_objext
|
||||
deplibs=
|
||||
wl=$lt_prog_compiler_wl
|
||||
pic_flag=$lt_prog_compiler_pic
|
||||
compiler_flags=-v
|
||||
linker_flags=-v
|
||||
verstring=
|
||||
output_objdir=.
|
||||
libname=conftest
|
||||
lt_save_allow_undefined_flag=$allow_undefined_flag
|
||||
allow_undefined_flag=
|
||||
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
||||
soname=conftest
|
||||
lib=conftest
|
||||
libobjs=conftest.$ac_objext
|
||||
deplibs=
|
||||
wl=$lt_prog_compiler_wl
|
||||
pic_flag=$lt_prog_compiler_pic
|
||||
compiler_flags=-v
|
||||
linker_flags=-v
|
||||
verstring=
|
||||
output_objdir=.
|
||||
libname=conftest
|
||||
lt_save_allow_undefined_flag=$allow_undefined_flag
|
||||
allow_undefined_flag=
|
||||
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
||||
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }
|
||||
then
|
||||
archive_cmds_need_lc=no
|
||||
else
|
||||
archive_cmds_need_lc=yes
|
||||
fi
|
||||
allow_undefined_flag=$lt_save_allow_undefined_flag
|
||||
else
|
||||
cat conftest.err 1>&5
|
||||
fi
|
||||
$RM conftest*
|
||||
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
|
||||
echo "${ECHO_T}$archive_cmds_need_lc" >&6
|
||||
then
|
||||
lt_cv_archive_cmds_need_lc=no
|
||||
else
|
||||
lt_cv_archive_cmds_need_lc=yes
|
||||
fi
|
||||
allow_undefined_flag=$lt_save_allow_undefined_flag
|
||||
else
|
||||
cat conftest.err 1>&5
|
||||
fi
|
||||
$RM conftest*
|
||||
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
|
||||
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
|
||||
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
@ -10186,7 +10192,7 @@ linux*oldld* | linux*aout* | linux*coff*)
|
|||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
|
@ -10195,12 +10201,17 @@ linux* | k*bsd*-gnu)
|
|||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
shlibpath_overrides_runpath=no
|
||||
|
||||
# Some binutils ld are patched to set DT_RUNPATH
|
||||
save_LDFLAGS=$LDFLAGS
|
||||
save_libdir=$libdir
|
||||
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
||||
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
lt_cv_shlibpath_overrides_runpath=no
|
||||
save_LDFLAGS=$LDFLAGS
|
||||
save_libdir=$libdir
|
||||
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
||||
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
|
@ -10238,7 +10249,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
|
||||
shlibpath_overrides_runpath=yes
|
||||
lt_cv_shlibpath_overrides_runpath=yes
|
||||
fi
|
||||
|
||||
else
|
||||
|
@ -10248,8 +10259,12 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|||
fi
|
||||
rm -f conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
LDFLAGS=$save_LDFLAGS
|
||||
libdir=$save_libdir
|
||||
LDFLAGS=$save_LDFLAGS
|
||||
libdir=$save_libdir
|
||||
|
||||
fi
|
||||
|
||||
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
|
||||
|
||||
# This implies no fast_install, which is unacceptable.
|
||||
# Some rework will be needed to allow for fast_install
|
||||
|
@ -11209,7 +11224,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11212 "configure"
|
||||
#line 11227 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11305,7 +11320,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11308 "configure"
|
||||
#line 11323 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11955,7 +11970,7 @@ fi
|
|||
|
||||
echo "$as_me:$LINENO: checking whether long double equals double" >&5
|
||||
echo $ECHO_N "checking whether long double equals double... $ECHO_C" >&6
|
||||
if test "${newlib_ldbl_eq_dbl+set}" = set; then
|
||||
if test "${newlib_cv_ldbl_eq_dbl+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
cat > conftest.c <<EOF
|
||||
|
@ -11975,15 +11990,15 @@ if { ac_try='${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
|
|||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }
|
||||
then
|
||||
newlib_ldbl_eq_dbl=yes;
|
||||
newlib_cv_ldbl_eq_dbl=yes;
|
||||
else
|
||||
newlib_ldbl_eq_dbl=no;
|
||||
newlib_cv_ldbl_eq_dbl=no;
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $newlib_ldbl_eq_dbl" >&5
|
||||
echo "${ECHO_T}$newlib_ldbl_eq_dbl" >&6
|
||||
if test $newlib_ldbl_eq_dbl = yes; then
|
||||
echo "$as_me:$LINENO: result: $newlib_cv_ldbl_eq_dbl" >&5
|
||||
echo "${ECHO_T}$newlib_cv_ldbl_eq_dbl" >&6
|
||||
if test $newlib_cv_ldbl_eq_dbl = yes; then
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define _LDBL_EQ_DBL 1
|
||||
_ACEOF
|
||||
|
|
|
@ -430,7 +430,7 @@ fi
|
|||
AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes")
|
||||
|
||||
AC_CACHE_CHECK(whether long double equals double,
|
||||
newlib_ldbl_eq_dbl, [dnl
|
||||
newlib_cv_ldbl_eq_dbl, [dnl
|
||||
cat > conftest.c <<EOF
|
||||
#include <float.h>
|
||||
#if DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \
|
||||
|
@ -443,12 +443,12 @@ EOF
|
|||
if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c
|
||||
1>&AS_MESSAGE_LOG_FD])
|
||||
then
|
||||
newlib_ldbl_eq_dbl=yes;
|
||||
newlib_cv_ldbl_eq_dbl=yes;
|
||||
else
|
||||
newlib_ldbl_eq_dbl=no;
|
||||
newlib_cv_ldbl_eq_dbl=no;
|
||||
fi
|
||||
rm -f conftest*])
|
||||
if test $newlib_ldbl_eq_dbl = yes; then
|
||||
if test $newlib_cv_ldbl_eq_dbl = yes; then
|
||||
AC_DEFINE_UNQUOTED(_LDBL_EQ_DBL)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue