[commit: packages/time] master, wip/travis: Remove obsolete `--with-cc` flag from configure.ac (2d939c9)

git at git.haskell.org git at git.haskell.org
Sat May 7 06:51:00 UTC 2016


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

On branches: master,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/2d939c9cdb4dcdfc88737a38463e7e5bde8eb240

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

commit 2d939c9cdb4dcdfc88737a38463e7e5bde8eb240
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Mon Dec 28 08:59:55 2015 +0100

    Remove obsolete `--with-cc` flag from configure.ac
    
    This non-standard flag was used previously by GHC's build-system to set the `CC` variable.
    
    See https://phabricator.haskell.org/D1608 for more details


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

2d939c9cdb4dcdfc88737a38463e7e5bde8eb240
 configure.ac | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4367fd2..457c7e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,11 +3,10 @@ AC_INIT([Haskell time package], [1.6], [ashley at semantic.org], [time])
 # Safety check: Ensure that we are in the correct source directory.
 AC_CONFIG_SRCDIR([lib/include/HsTime.h])
 
-AC_ARG_WITH([cc],
-            [C compiler],
-            [CC=$withval])
+# These are to silence warnings with older Cabal versions
 AC_ARG_WITH([gcc],[Gnu C compiler])
 AC_ARG_WITH([compiler],[Haskell compiler])
+
 AC_PROG_CC()
 
 AC_CONFIG_HEADERS([lib/include/HsTimeConfig.h])



More information about the ghc-commits mailing list