[project @ 2001-08-23 08:36:11 by rrt]
authorrrt <unknown>
Thu, 23 Aug 2001 08:36:11 +0000 (08:36 +0000)
committerrrt <unknown>
Thu, 23 Aug 2001 08:36:11 +0000 (08:36 +0000)
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).

ghc/rts/gmp/configure

index 7a9ea3a..784dac7 100644 (file)
@@ -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]:[\\/]*)