Commit 7fd32ef4 authored by simonmar's avatar simonmar
Browse files

[project @ 2004-12-16 10:23:44 by simonmar]

--with-gcc: export the CC environment variable, so the setting gets
picked up by sub-configures.  Perhaps we should be advising people to use

  CC=c:/mingw/bin/gcc ./configure

because that works for all configure scripts, not just the top level one.

Background:

 - We want --with-gcc to do the right thing, because we don't want
   to require Cygwin users to put c:/mingw/bin first on their
   path: that would break their Cygwin environment.

 - The build system should work with *no* gcc on your PATH, as long
   as you use --with-gcc (equivalently, CC=... ./configure).
parent 13f7d710
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment