Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
6338b45a
Commit
6338b45a
authored
Jun 28, 2001
by
rrt
Browse files
[project @ 2001-06-28 17:56:10 by rrt]
Set C and CPP flags before finding gcc
parent
71063b69
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
6338b45a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment