aboutsummaryrefslogtreecommitdiff
path: root/binutils/config.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-11-05 12:26:11 +0000
committerAlan Modra <amodra@gmail.com>2012-11-05 12:26:11 +0000
commite6f881072feacde4d554ea882335967884209089 (patch)
tree76b03a75ab1bddd47d50e79f0e53d05124337458 /binutils/config.in
parentd17dce55671e34440a65ad06713db7c3ad4114dd (diff)
downloadgdb-e6f881072feacde4d554ea882335967884209089.zip
gdb-e6f881072feacde4d554ea882335967884209089.tar.gz
gdb-e6f881072feacde4d554ea882335967884209089.tar.bz2
* configure.in: Apply 2012-09-10 change to config.in here. Add
__CONFIG_H__ check. * config.in: Regenerate.
Diffstat (limited to 'binutils/config.in')
-rw-r--r--binutils/config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/config.in b/binutils/config.in
index bcabbba..f5f3298 100644
--- a/binutils/config.in
+++ b/binutils/config.in
@@ -2,9 +2,10 @@
/* Check that config.h is #included before system headers
(this works only for glibc, but that should be enough). */
-#if defined(__GLIBC__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
# error config.h must be #included before system headers
#endif
+#define __CONFIG_H__ 1
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.