[project @ 2005-01-10 18:44:38 by wolfgang]
[ghc-hetmet.git] / configure.ac
index 75ab52c..44353a1 100644 (file)
@@ -622,7 +622,9 @@ AC_ARG_WITH(gcc,
          withval=`cygpath -w ${withval} | sed -e 's@\\\\@/@g' `
        fi
  fi;
- CC="$withval"],
+ CC="$withval"
+ export CC
+ ],
 [WhatGccIsCalled="gcc"]
 )
 AC_SUBST(WhatGccIsCalled)
@@ -803,6 +805,7 @@ dnl     Figure out which C compiler to use.  Gcc is preferred.
 dnl     If gcc, make sure it's at least 2.1
 dnl
 FP_HAVE_GCC
+FP_MINGW_GCC
 
 dnl ** figure out how to invoke cpp directly (gcc -E is no good)
 AC_PROG_CPP
@@ -1254,6 +1257,7 @@ case $HostOS_CPP in
 esac
 AC_SUBST(LdCmd)
 FPTOOLS_LD_X
+FPTOOLS_GNU_LD
 
 AC_CONFIG_FILES([mk/config.mk])
 AC_CONFIG_COMMANDS([mk/stamp-h],[echo timestamp > mk/stamp-h])