On 11/23/2010 5:28 PM, Charles Wilson wrote: > The attached patch does this > automatically. > Yeah, about that...
-- Chuck
? .Tpo ? chuck-doconfigure ? chuck-doconfigure.patch ? doconfigure-old ? yaakov-doconfigure ? yaakov-doconfigure.patch Index: bootstrap.sh =================================================================== RCS file: /cvs/cygwin-apps/setup/bootstrap.sh,v retrieving revision 2.5 diff -u -p -r2.5 bootstrap.sh --- bootstrap.sh 11 Aug 2010 22:58:51 -0000 2.5 +++ bootstrap.sh 23 Nov 2010 22:55:44 -0000 @@ -55,14 +55,18 @@ host="i686-pc-mingw32" if hash $host-g++ 2> /dev/null; then CC="$host-gcc" CXX="$host-g++" + cppflags= + ldflags= else CC="gcc-3 -mno-cygwin" CXX="g++-3 -mno-cygwin" + cppflags="CPPFLAGS=-I/usr/i686-pc-mingw32/sys-root/mingw/include" + ldflags="LDFLAGS=-L/usr/i686-pc-mingw32/sys-root/mingw/lib" fi echo "running configure" $srcdir/configure -C --enable-maintainer-mode \ --build=$build --host=$host CC="$CC" CXX="$CXX" \ - "$@" + ${cppflags} ${ldflags} "$@" exit $?