[commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: Enable AC_USE_SYSTEM_EXTENSIONS (716033d)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:54:48 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,ghc,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/716033de217960037327a09b823f88f1aa96266d

>---------------------------------------------------------------

commit 716033de217960037327a09b823f88f1aa96266d
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Mon Dec 28 09:00:46 2015 +0100

    Enable AC_USE_SYSTEM_EXTENSIONS
    
    `AC_USE_SYSTEM_EXTENSIONS` takes care of defining feature_test_macros(7)
    and makes sure we have a consistent environment across GHC.


>---------------------------------------------------------------

716033de217960037327a09b823f88f1aa96266d
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 457c7e1..8a9ad02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,6 +9,8 @@ AC_ARG_WITH([compiler],[Haskell compiler])
 
 AC_PROG_CC()
 
+AC_USE_SYSTEM_EXTENSIONS
+
 AC_CONFIG_HEADERS([lib/include/HsTimeConfig.h])
 
 AC_CHECK_HEADERS([time.h])



More information about the ghc-commits mailing list