configure.in: Define macros that affect features before testing for features.

* configure.in: Define macros that affect features before
	testing for features.  Don't define _XOPEN_SOURCE.
	* configure: Regenerated.
	* config.in: Regenerated.

From-SVN: r36463
This commit is contained in:
Geoff Keating 2000-09-17 00:12:34 +00:00 committed by Geoffrey Keating
parent ae0fb1b9fb
commit 4797e955c6
4 changed files with 257 additions and 275 deletions

View File

@ -1,3 +1,10 @@
2000-09-16 Geoffrey Keating <geoffk@cygnus.com>
* configure.in: Define macros that affect features before
testing for features. Don't define _XOPEN_SOURCE.
* configure: Regenerated.
* config.in: Regenerated.
Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com) Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
* rtlanal.c (rtx_varies_p): Volatile asms vary. * rtlanal.c (rtx_varies_p): Volatile asms vary.

View File

@ -328,18 +328,15 @@
character sets for source code. */ character sets for source code. */
#undef MULTIBYTE_CHARS #undef MULTIBYTE_CHARS
/* Always define this */
#undef _GNU_SOURCE
/* Define if your compiler understands volatile. */ /* Define if your compiler understands volatile. */
#undef HAVE_VOLATILE #undef HAVE_VOLATILE
/* Define if you can safely include both <string.h> and <strings.h>. */ /* Define if you can safely include both <string.h> and <strings.h>. */
#undef STRING_WITH_STRINGS #undef STRING_WITH_STRINGS
/* Always define this */
#undef _XOPEN_SOURCE
/* Always define this */
#undef _GNU_SOURCE
/* Define if you have a working <inttypes.h> header file. */ /* Define if you have a working <inttypes.h> header file. */
#undef HAVE_INTTYPES_H #undef HAVE_INTTYPES_H

506
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -395,6 +395,9 @@ else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
# Define _GNU_SOURCE, since this is a GNU program.
AC_DEFINE(_GNU_SOURCE, 1, [Always define this])
AC_C_INLINE AC_C_INLINE
# Find some useful tools # Find some useful tools
@ -420,13 +423,6 @@ AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h \
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=]) AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=]) AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
# Always define _XOPEN_SOURCE. It doesn't hurt, and it lets us
# pick up CODESET from langinfo.h, among other things.
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)