[commit: integer-gmp] master: Run "sh ./configure" rather than "sh configure"; part of #7992 (e5faefb)

Ian Lynagh igloo at earth.li
Sat Jun 22 23:33:49 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/integer-gmp

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e5faefbec737e2dd8c4362821d3884c3498cfd9b

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

commit e5faefbec737e2dd8c4362821d3884c3498cfd9b
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sat Jun 22 16:52:09 2013 +0100

    Run "sh ./configure" rather than "sh configure"; part of #7992
    
    This fixes a bug with how configure re-execs itself.

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

 gmp/ghc.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gmp/ghc.mk b/gmp/ghc.mk
index b540910..067e86f 100644
--- a/gmp/ghc.mk
+++ b/gmp/ghc.mk
@@ -138,7 +138,7 @@ libraries/integer-gmp/gmp/libgmp.a libraries/integer-gmp/gmp/gmp.h:
 	    PATH=`pwd`:$$PATH; \
 	    export PATH; \
 	    cd gmpbuild && \
-	    CC=$(CC_STAGE1) NM=$(NM) AR=$(AR_STAGE1) $(SHELL) configure \
+	    CC=$(CC_STAGE1) NM=$(NM) AR=$(AR_STAGE1) $(SHELL) ./configure \
 	          --enable-shared=no \
 	          --host=$(HOSTPLATFORM) --build=$(BUILDPLATFORM)
 	$(MAKE) -C libraries/integer-gmp/gmp/gmpbuild MAKEFLAGS=
@@ -158,7 +158,7 @@ libraries/integer-gmp/gmp/libgmp.a libraries/integer-gmp/gmp/gmp.h:
 #	    PATH=`pwd`:$$PATH; \
 #	    export PATH; \
 #	    cd gmpbuild-shared && \
-#	    CC=$(CC_STAGE1) $(SHELL) configure \
+#	    CC=$(CC_STAGE1) $(SHELL) ./configure \
 #	          --enable-shared=yes --disable-static \
 #	          --host=$(HOSTPLATFORM) --build=$(BUILDPLATFORM)
 #	"$(TOUCH_CMD)" $@





More information about the ghc-commits mailing list