summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-12-06 13:34:34 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-12-06 17:37:33 +0100
commit45c98daf98efecf0b28171f5d75c1182c5c12ee0 (patch)
tree16836a13382afb22a2cbfd9de17309df815eaa4f
parentdf6794035f1e4397d89896f329525e5368b7d1cc (diff)
downloadhaskell-wip/T11168.tar.gz
Tweak use of AC_USE_SYSTEM_EXTENSIONSwip/T11168
This is a follow-up to 7af29da05d2e5a5e311a5f73f20d0f232035973b
-rw-r--r--configure.ac6
-rw-r--r--libraries/base/configure.ac5
-rw-r--r--libraries/integer-gmp/configure.ac2
m---------libraries/unix0
4 files changed, 7 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 57d877ab58..c8708ae7db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,9 +58,6 @@ dnl #define SIZEOF_CHAR 0
dnl recently.
AC_PREREQ([2.60])
-dnl make extensions visible to allow feature-tests to detect them lateron
-AC_USE_SYSTEM_EXTENSIONS
-
# -------------------------------------------------------------------------
# Prepare to generate the following header files
#
@@ -462,6 +459,9 @@ export CC
MAYBE_OVERRIDE_STAGE0([gcc],[CC_STAGE0])
MAYBE_OVERRIDE_STAGE0([ar],[AR_STAGE0])
+dnl make extensions visible to allow feature-tests to detect them lateron
+AC_USE_SYSTEM_EXTENSIONS
+
dnl ** figure out how to invoke the C preprocessor (i.e. `gcc -E`)
AC_PROG_CPP
diff --git a/libraries/base/configure.ac b/libraries/base/configure.ac
index 99474a63a7..56072133b8 100644
--- a/libraries/base/configure.ac
+++ b/libraries/base/configure.ac
@@ -5,9 +5,6 @@ AC_CONFIG_SRCDIR([include/HsBase.h])
AC_PREREQ([2.60])
-dnl make extensions visible to allow feature-tests to detect them lateron
-AC_USE_SYSTEM_EXTENSIONS
-
AC_CONFIG_HEADERS([include/HsBaseConfig.h include/EventConfig.h])
AC_CANONICAL_BUILD
@@ -18,6 +15,8 @@ AC_ARG_WITH([cc],
[C compiler],
[CC=$withval])
AC_PROG_CC()
+dnl make extensions visible to allow feature-tests to detect them lateron
+AC_USE_SYSTEM_EXTENSIONS
AC_MSG_CHECKING(for WINDOWS platform)
case $host in
diff --git a/libraries/integer-gmp/configure.ac b/libraries/integer-gmp/configure.ac
index 0bd91887b8..067217e7c3 100644
--- a/libraries/integer-gmp/configure.ac
+++ b/libraries/integer-gmp/configure.ac
@@ -10,6 +10,8 @@ AC_ARG_WITH([cc],
[C compiler],
[CC=$withval])
AC_PROG_CC()
+dnl make extensions visible to allow feature-tests to detect them lateron
+AC_USE_SYSTEM_EXTENSIONS
dnl--------------------------------------------------------------------
diff --git a/libraries/unix b/libraries/unix
-Subproject 5740003e06f0c585460501514f3352f5e105c98
+Subproject 147630c7c76bd9b947524ef140d21b9e81967c6