projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc065cb
)
Fix configure with no --with-cc
author
Ian Lynagh
<igloo@earth.li>
Sun, 15 Apr 2007 16:51:43 +0000
(16:51 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 15 Apr 2007 16:51:43 +0000
(16:51 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
24048e3
..
e318cf5
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-7,14
+7,8
@@
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
+ [CC=$withval])
+AC_PROG_CC()
# do we have long longs?
AC_CHECK_TYPES([long long])