* Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.

Run "make dep-am".
	* configure.in: Invoke AC_GNU_SOURCE.
	* Makefile.in: Regenerate.
	* config.in: Regenerate.
	* configure: Regenerate.
This commit is contained in:
Alan Modra 2007-10-24 04:55:39 +00:00
parent ee1dbd7def
commit 0efedc4ca3
6 changed files with 1686 additions and 1752 deletions

View file

@ -1,3 +1,12 @@
2007-10-24 Alan Modra <amodra@bigpond.net.au>
* Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
Run "make dep-am".
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
2007-10-19 Nick Clifton <nickc@redhat.com>
* expr.c (expr): Test md_allow_local_subtract (if defined) before

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -247,6 +247,11 @@
`char[]'. */
#undef YYTEXT_POINTER
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus

6
gas/configure vendored
View file

@ -11304,6 +11304,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
cat >>confdefs.h <<\_ACEOF
#define _GNU_SOURCE 1
_ACEOF
for ac_prog in 'bison -y' byacc
do
# Extract the first word of "$ac_prog", so it can be a program name with args.

View file

@ -596,6 +596,7 @@ AC_DEFINE_UNQUOTED(TARGET_VENDOR, "${target_vendor}", [Target vendor.])
AC_DEFINE_UNQUOTED(TARGET_OS, "${target_os}", [Target OS.])
AC_PROG_CC
AC_GNU_SOURCE
AC_PROG_YACC
AM_PROG_LEX