* 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,6 +9578,9 @@ 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
|
||||
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
|
||||
|
||||
|
@ -9605,17 +9608,20 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
|
|||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }
|
||||
then
|
||||
archive_cmds_need_lc=no
|
||||
lt_cv_archive_cmds_need_lc=no
|
||||
else
|
||||
archive_cmds_need_lc=yes
|
||||
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*
|
||||
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
|
||||
echo "${ECHO_T}$archive_cmds_need_lc" >&6
|
||||
|
||||
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,7 +10201,12 @@ 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
|
||||
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\"; \
|
||||
|
@ -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
|
||||
|
@ -10251,6 +10262,10 @@ rm -f conftest.err conftest.$ac_objext \
|
|||
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
|
||||
# before this can be enabled.
|
||||
|
@ -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