From: rrt Date: Thu, 23 Aug 2001 08:36:11 +0000 (+0000) Subject: [project @ 2001-08-23 08:36:11 by rrt] X-Git-Tag: Approximately_9120_patches~1116 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c72d045ce033d7c785731f68b8cabe9a6f3fe75b;p=ghc-hetmet.git [project @ 2001-08-23 08:36:11 by rrt] Remove kludgy hack that on mingwin appends C: to the result of gcc -print-prog-name=ld, which doesn't work with the newest mingwin gcc (which kindly adds C: for us). --- diff --git a/ghc/rts/gmp/configure b/ghc/rts/gmp/configure index 7a9ea3a..784dac7 100644 --- a/ghc/rts/gmp/configure +++ b/ghc/rts/gmp/configure @@ -3094,15 +3094,7 @@ if test "$ac_cv_prog_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ECHO_N "checking for ld used by GCC... $ECHO_C" 1>&6 echo "configure:3090: checking for ld used by GCC" 1>&5 - case $target in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` - # convert /mingw/mingw32/... into c:/mingw/mingw32/... - ac_prog="C:""$ac_prog" ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; case "$ac_prog" in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*)