summaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-11-05 12:26:55 +0000
committerAlan Modra <amodra@gmail.com>2012-11-05 12:26:55 +0000
commit0a6f1bf2f98aae39f737589251096547eb30a3fc (patch)
tree4fa1686e582be3e2b4d261817038eea17bacce08 /gold/configure.ac
parente6f881072feacde4d554ea882335967884209089 (diff)
* configure.ac: Apply 2012-09-10 change to config.in here.
* configure: Regenerate.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index 27780c579a..f8297f2fc6 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -15,7 +15,7 @@ AM_CONFIG_HEADER(config.h:config.in)
AH_VERBATIM([00_CONFIG_H_CHECK],
[/* Check that config.h is #included before system headers
(this works only for glibc, but that should be enough). */
-#if defined(__GLIBC__) && !defined(__CONFIG_H__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
# error config.h must be #included before system headers
#endif
#define __CONFIG_H__ 1])