[commit: ghc] master: Run "sh ./configure" rather than "sh configure"; part of #7992 (499d698)

Ian Lynagh igloo at earth.li
Sat Jun 22 23:34:40 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/499d6988663043d0e0a0732f865324e959139927

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

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

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

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

 libffi/ghc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 3cccee9..ffef273 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -88,7 +88,7 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
 	    NM=$(NM) \
         CFLAGS="$(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE1) -w" \
         LDFLAGS="$(SRC_LD_OPTS) $(CONF_GCC_LINKER_OPTS_STAGE1) -w" \
-        "$(SHELL)" configure \
+        "$(SHELL)" ./configure \
 	          --prefix=$(TOP)/libffi/build/inst \
 	          --libdir=$(TOP)/libffi/build/inst/lib \
 	          --enable-static=yes \





More information about the ghc-commits mailing list