Commit 8b85c1c8 authored by rrt's avatar rrt
Browse files

[project @ 2001-06-28 18:05:48 by rrt]

Split up win32 tests so CPP is only updated after cpp is found
parent 6338b45a
...@@ -515,7 +515,6 @@ dnl ** set up extra GCC options on Win32 ...@@ -515,7 +515,6 @@ dnl ** set up extra GCC options on Win32
case $HostOS_CPP in case $HostOS_CPP in
cygwin32|mingw32) cygwin32|mingw32)
STD_CC_OPTS="-mno-cygwin $CC_MWIN32_FLAG" STD_CC_OPTS="-mno-cygwin $CC_MWIN32_FLAG"
CPP="$CPP $STD_CC_OPTS"
CFLAGS="$STD_CC_OPTS $CFLAGS" CFLAGS="$STD_CC_OPTS $CFLAGS"
CPPFLAGS="$STD_CC_OPTS $CPPFLAGS" CPPFLAGS="$STD_CC_OPTS $CPPFLAGS"
;; ;;
...@@ -539,6 +538,12 @@ FPTOOLS_CC_MWIN32 ...@@ -539,6 +538,12 @@ FPTOOLS_CC_MWIN32
dnl ** figure out how to invoke cpp directly (gcc -E is no good) dnl ** figure out how to invoke cpp directly (gcc -E is no good)
AC_PROG_CPP AC_PROG_CPP
dnl ** set up extra GCC options on Win32
case $HostOS_CPP in
cygwin32|mingw32)
CPP="$CPP $STD_CC_OPTS"
esac
dnl ** figure out how to do context diffs dnl ** figure out how to do context diffs
FPTOOLS_PROG_DIFF FPTOOLS_PROG_DIFF
......
Supports Markdown
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