From: J. David Anglin Date: Thu, 21 Sep 2000 05:30:35 +0000 (+0200) Subject: configure.in: Correct test of gcc_cv_glibc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7373064a8d8529cfdfd56bb034167d14f6f1bdba;p=gcc.git configure.in: Correct test of gcc_cv_glibc. 2000-09-20 J. David Anglin * configure.in: Correct test of gcc_cv_glibc. * configure: Rebuilt. * config.in: Rebuilt. From-SVN: r36558 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9a05bb669b..a4e85727bf0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2000-09-20 J. David Anglin + + * configure.in: Correct test of gcc_cv_glibc. + * configure: Rebuilt. + * config.in: Rebuilt. + 2000-09-20 Kaveh R. Ghazi * builtins.c (expand_builtin_fputs): Also expand when length!=1. @@ -199,7 +205,7 @@ Mon Sep 18 20:26:50 2000 J"orn Rennecke * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to remove all SETs of SUBREGs of hard registers. - * function.c (purge_hard_subreg_sets): New function. + * function.c (purge_hard_subreg_sets): New function. (purge_single_hard_subreg_set): New function. * rtl.h: (purge_hard_subreg_sets): New function. @@ -596,7 +602,7 @@ Sun Sep 17 10:46:17 2000 Richard Kenner (finish_method_def): Use it. (init_objc): Initialize more language-specific hooks. * objc/Make-lang.in: Update dependencies. - + 2000-09-16 Geoffrey Keating * configure.in: Define macros that affect features before @@ -619,7 +625,7 @@ Sat Sep 16 14:35:55 2000 Richard Kenner no_debugging_symbols. * toplev.c (rest_of_compilation): Call save_for_inline. * tree.h: Update comment. - + * stor-layout.c (place_field): Don't do anything if field or its type are ERROR_MARK. diff --git a/gcc/config.in b/gcc/config.in index 23c24ca5ef6..ceb76f93b78 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -331,9 +331,6 @@ /* Always define this when using the GNU C Library */ #undef _GNU_SOURCE -/* Always define this */ -#undef _GNU_SOURCE - /* Define if your compiler understands volatile. */ #undef HAVE_VOLATILE diff --git a/gcc/configure b/gcc/configure index 73ab8e73f30..327ecbb19da 100755 --- a/gcc/configure +++ b/gcc/configure @@ -1516,7 +1516,7 @@ rm -f conftest* fi echo "$ac_t""$gcc_cv_glibc" 1>&6 -if test "gcc_cv_glibc" = "yes"; then +if test $gcc_cv_glibc" = yes; then cat >> confdefs.h <<\EOF #define _GNU_SOURCE 1 EOF diff --git a/gcc/configure.in b/gcc/configure.in index 925e4e5bb69..a19870fe2cc 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -405,7 +405,7 @@ AC_CACHE_VAL(gcc_cv_glibc, [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