projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add System.Posix.Types to default nhc98 build
[haskell-directory.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
d1927e8
..
24048e3
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-5,6
+5,17
@@
AC_CONFIG_SRCDIR([include/HsBase.h])
AC_CONFIG_HEADERS([include/HsBaseConfig.h])
AC_CONFIG_HEADERS([include/HsBaseConfig.h])
+AC_ARG_WITH([cc],
+ [C compiler],
+ [OLDPATH=$PATH
+ PATH=`dirname $withval`:$PATH
+ AC_PROG_CC(`basename $withval`)
+ PATH=$OLDPATH
+ CC=$withval],
+ [AC_PROG_CC()])
+echo CC is $CC >&5
+echo CC is $CC >&6
+
# do we have long longs?
AC_CHECK_TYPES([long long])
# do we have long longs?
AC_CHECK_TYPES([long long])