This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: autoconf cache variable naming


Ralf Wildenhues wrote:
Hello,

configure will only actually put variables in the cache that match
the *_cv_* pattern.  OK to commit?

Didn't know that. Yes, please go ahead (assuming you have commit privileges).

-- Jeff J.
Thanks,
Ralf

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.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/newlib/configure.in,v
retrieving revision 1.41
diff -u -r1.41 configure.in
--- configure.in 15 May 2009 16:15:57 -0000 1.41
+++ configure.in 19 Aug 2009 18:59:36 -0000
@@ -430,7 +430,7 @@
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 @@
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]