Commit 6338b45a authored by rrt's avatar rrt

[project @ 2001-06-28 17:56:10 by rrt]

Set C and CPP flags before finding gcc
parent 71063b69
......@@ -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
......
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