configure.in: Always define _GNU_SOURCE to make interfaces visible that were hidden by only...

2000-09-16  Andreas Jaeger  <aj@suse.de>

	* configure.in: Always define _GNU_SOURCE to make interfaces
	visible that were hidden by only defining _GNU_SOURCE.
	* configure: Regenerated.

From-SVN: r36455
This commit is contained in:
Andreas Jaeger 2000-09-16 15:13:49 +02:00
parent 12acf3a987
commit dd74554610
3 changed files with 180 additions and 166 deletions

View File

@ -1,3 +1,9 @@
2000-09-16 Andreas Jaeger <aj@suse.de>
* configure.in: Always define _GNU_SOURCE to make interfaces
visible that were hidden by only defining _GNU_SOURCE.
* configure: Regenerated.
Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net> Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
* cpplex.c (push_macro_context): Set an argument's level after * cpplex.c (push_macro_context): Set an argument's level after
@ -6884,4 +6890,3 @@ Mon Jul 3 00:32:47 2000 Jeffrey A Law (law@cygnus.com)
(load_symptr): Set RTX_UNCHANGING_P. (load_symptr): Set RTX_UNCHANGING_P.
See ChangeLog.3 for earlier changes. See ChangeLog.3 for earlier changes.

316
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -423,6 +423,9 @@ AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
# Always define _XOPEN_SOURCE. It doesn't hurt, and it lets us # Always define _XOPEN_SOURCE. It doesn't hurt, and it lets us
# pick up CODESET from langinfo.h, among other things. # pick up CODESET from langinfo.h, among other things.
AC_DEFINE(_XOPEN_SOURCE, 1, [Always define this]) AC_DEFINE(_XOPEN_SOURCE, 1, [Always define this])
# If we define _XOPEN_SOURCE on a glibc2 system, it hides other
# interfaces. Make them visible again with _GNU_SOURCE.
AC_DEFINE(_GNU_SOURCE, 1, [Always define this])
# See if GNAT has been installed # See if GNAT has been installed
AC_CHECK_PROG(gnat, gnatbind, yes, no) AC_CHECK_PROG(gnat, gnatbind, yes, no)