This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Patch: Fix configure test for GNU libc


This patches fixes a problem in the test for GNU libc.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2000-09-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

	configure.in: Correct test of gcc_cv_glibc.
	configure: Rebuilt.

--- configure.in.orig	Tue Sep 19 16:39:30 2000
+++ configure.in	Wed Sep 20 13:17:29 2000
@@ -405,7 +405,7 @@
   [gcc_cv_glibc=yes], 
   gcc_cv_glibc=no)])
 AC_MSG_RESULT($gcc_cv_glibc)
-if test "gcc_cv_glibc" = "yes"; then
+if test $gcc_cv_glibc = yes; then
   AC_DEFINE(_GNU_SOURCE, 1, [Always define this when using the GNU C Library])
 fi
 

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