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

* configure.in: Invoke AC_GNU_SOURCE.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* gconfig.in: Regenerate.
This commit is contained in:
Alan Modra 2007-10-24 04:56:12 +00:00
parent 0efedc4ca3
commit 0ab6f08504
5 changed files with 3296 additions and 3855 deletions

View File

@ -17,7 +17,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
MKDEP = gcc -MM
INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include \
INCLUDES = -DDEBUG -I../bfd -I$(srcdir)/../include \
-I$(srcdir)/../bfd @INCINTL@ -I. \
-DLOCALEDIR="\"$(datadir)/locale\""

View File

@ -246,7 +246,7 @@ BFDDIR = $(BASEDIR)/bfd
INCDIR = $(BASEDIR)/include
AM_CFLAGS = $(WARN_CFLAGS)
MKDEP = gcc -MM
INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include \
INCLUDES = -DDEBUG -I../bfd -I$(srcdir)/../include \
-I$(srcdir)/../bfd @INCINTL@ -I. \
-DLOCALEDIR="\"$(datadir)/locale\""

7141
gprof/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,7 @@ dnl config.h, to avoid any possible confusion with the bfd config.h.
AC_CONFIG_HEADERS([gconfig.h:gconfig.in])
AC_PROG_CC
AC_GNU_SOURCE
AC_PROG_INSTALL
AC_CHECK_FUNCS(setmode)

View File

@ -70,3 +70,8 @@
/* Version number of package */
#undef VERSION
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif