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:
parent
ae0fb1b9fb
commit
4797e955c6
@ -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)
|
||||
|
||||
* rtlanal.c (rtx_varies_p): Volatile asms vary.
|
||||
|
@ -328,18 +328,15 @@
|
||||
character sets for source code. */
|
||||
#undef MULTIBYTE_CHARS
|
||||
|
||||
/* Always define this */
|
||||
#undef _GNU_SOURCE
|
||||
|
||||
/* Define if your compiler understands volatile. */
|
||||
#undef HAVE_VOLATILE
|
||||
|
||||
/* Define if you can safely include both <string.h> and <strings.h>. */
|
||||
#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. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
|
506
gcc/configure
vendored
506
gcc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -395,6 +395,9 @@ else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
# Define _GNU_SOURCE, since this is a GNU program.
|
||||
AC_DEFINE(_GNU_SOURCE, 1, [Always define this])
|
||||
|
||||
AC_C_INLINE
|
||||
|
||||
# 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(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
|
||||
AC_CHECK_PROG(gnat, gnatbind, yes, no)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user