From 6338b45a58264b0d67985106866ad2ebc36a461d Mon Sep 17 00:00:00 2001 From: rrt Date: Thu, 28 Jun 2001 17:56:10 +0000 Subject: [PATCH] [project @ 2001-06-28 17:56:10 by rrt] Set C and CPP flags before finding gcc --- configure.in | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/configure.in b/configure.in index dd73226..9d5c769 100644 --- a/configure.in +++ b/configure.in @@ -511,20 +511,7 @@ esac dnl ** does #! path/to/perl work? (sometimes it's too long...) FPTOOLS_SHEBANG_PERL - -dnl ** look for GCC and find out which version -dnl Figure out which C compiler to use. Gcc is preferred. -dnl If gcc, make sure it's at least 2.1 -dnl -AC_PROG_CC -FPTOOLS_HAVE_GCC - -dnl ** does the C compiler support option -mwin32 ? -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) STD_CC_OPTS="-mno-cygwin $CC_MWIN32_FLAG" @@ -539,6 +526,18 @@ esac SRC_CC_OPTS="-O $STD_CC_OPTS" AC_SUBST(SRC_CC_OPTS) +dnl ** look for GCC and find out which version +dnl Figure out which C compiler to use. Gcc is preferred. +dnl If gcc, make sure it's at least 2.1 +dnl +AC_PROG_CC +FPTOOLS_HAVE_GCC + +dnl ** does the C compiler support option -mwin32 ? +FPTOOLS_CC_MWIN32 + +dnl ** figure out how to invoke cpp directly (gcc -E is no good) +AC_PROG_CPP dnl ** figure out how to do context diffs FPTOOLS_PROG_DIFF -- 1.7.10.4