From 8b85c1c8e27b7614617d22c68ad8bf35007732d7 Mon Sep 17 00:00:00 2001 From: rrt Date: Thu, 28 Jun 2001 18:05:48 +0000 Subject: [PATCH] [project @ 2001-06-28 18:05:48 by rrt] Split up win32 tests so CPP is only updated after cpp is found --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 9d5c769..dd140fe 100644 --- a/configure.in +++ b/configure.in @@ -515,7 +515,6 @@ dnl ** set up extra GCC options on Win32 case $HostOS_CPP in cygwin32|mingw32) STD_CC_OPTS="-mno-cygwin $CC_MWIN32_FLAG" - CPP="$CPP $STD_CC_OPTS" CFLAGS="$STD_CC_OPTS $CFLAGS" CPPFLAGS="$STD_CC_OPTS $CPPFLAGS" ;; @@ -539,6 +538,12 @@ FPTOOLS_CC_MWIN32 dnl ** figure out how to invoke cpp directly (gcc -E is no good) 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 FPTOOLS_PROG_DIFF -- 1.7.10.4