[commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: Provide a configure flag to set which C compiler is used (96f1b36)

git at git.haskell.org git at git.haskell.org
Mon Feb 20 21:12:46 UTC 2017


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

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

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

commit 96f1b36a54af14d10654ff15235ab652fa187ef4
Author: Ian Lynagh <igloo at earth.li>
Date:   Sat Jul 7 04:24:51 2007 -0700

    Provide a configure flag to set which C compiler is used
    
    darcs-hash:20070707112451-3fd76-20588169237238c46714c9edaa964ca373949bfa


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

96f1b36a54af14d10654ff15235ab652fa187ef4
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 0da7fc4..1b45b5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,11 @@ AC_INIT([Haskell time package], [1.1.1], [ashley at semantic.org], [time])
 # Safety check: Ensure that we are in the correct source directory.
 AC_CONFIG_SRCDIR([include/HsTime.h])
 
+AC_ARG_WITH([cc],
+            [C compiler],
+            [CC=$withval])
+AC_PROG_CC()
+
 AC_CONFIG_HEADERS([include/HsTimeConfig.h])
 
 AC_CHECK_HEADERS([time.h])



More information about the ghc-commits mailing list