[commit: packages/unix] master: Remove obsolete `--with-cc` flag from configure.ac (59edb0a)

git at git.haskell.org git at git.haskell.org
Tue Apr 19 21:37:21 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/59edb0a0a0d91ecfe938029b3b00a0c99dcb8481/unix

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

commit 59edb0a0a0d91ecfe938029b3b00a0c99dcb8481
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Mon Dec 14 08:01:31 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


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

59edb0a0a0d91ecfe938029b3b00a0c99dcb8481
 configure.ac | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2c1b1ab..c363e10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,10 +4,7 @@ AC_INIT([Haskell unix package], [2.0], [libraries at haskell.org], [unix])
 # Safety check: Ensure that we are in the correct source directory.
 AC_CONFIG_SRCDIR([include/HsUnix.h])
 
-AC_ARG_WITH([cc],
-            [C compiler],
-            [CC=$withval])
-AC_PROG_CC()
+AC_PROG_CC
 
 dnl make extensions visible to allow feature-tests to detect them lateron
 AC_USE_SYSTEM_EXTENSIONS



More information about the ghc-commits mailing list