projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-09-21 14:07:21 by rrt]
[ghc-hetmet.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
27447f3
..
d5427d4
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-346,17
+346,19
@@
dnl use either is considered a Feature.
dnl ** What command to use to compile compiler sources ?
dnl --------------------------------------------------------------
dnl ** What command to use to compile compiler sources ?
dnl --------------------------------------------------------------
-if test "$GHC" = ""; then
- AC_PATH_PROG(GHC,ghc)
-fi
AC_ARG_WITH(ghc,
[ --with-ghc=<haskell compiler>
Use a command different from 'ghc' to compile GHC-specific Haskell code
(including GHC itself).
],
AC_ARG_WITH(ghc,
[ --with-ghc=<haskell compiler>
Use a command different from 'ghc' to compile GHC-specific Haskell code
(including GHC itself).
],
-[WithGhc="$withval"],
-[WithGhc=$GHC]
+[ WithGhc="$withval" ],
+[
+ if test "$GHC" = ""; then
+ AC_PATH_PROG(GHC,ghc)
+ fi
+ WithGhc=$GHC
+]
)
AC_SUBST(WithGhc)
)
AC_SUBST(WithGhc)
@@
-588,13
+590,16
@@
FPTOOLS_DOCBOOK_CATALOG(Catalog, $JadeCmd, docs/fptools-both.dsl,
if test -z "$Catalog"; then
AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
fi
if test -z "$Catalog"; then
AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
fi
-case $HostOS_CPP in
- mingw32)
- Catalog=`cygpath -w $hardtop/$Catalog`
- ;;
- *)
- Catalog=$hardtop/$Catalog
- ;;
+case $Catalog in
+ glafp*)
+ case $HostOS_CPP in
+ mingw32)
+ Catalog=`cygpath -w $hardtop/$Catalog`
+ ;;
+ *) Catalog=$hardtop/$Catalog
+ ;;
+ esac
+ ;;
esac
AC_SUBST(Catalog)
esac
AC_SUBST(Catalog)
@@
-836,7
+841,7
@@
AC_CHECK_FUNCS(pclose _pclose )
dnl ** check for specific library functions that we are interested in
dnl ** check for specific library functions that we are interested in
-AC_CHECK_FUNCS(access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat symlink sysconf timelocal times vadvise vfork localtime_r gmtime_r)
+AC_CHECK_FUNCS(access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat lstat symlink sysconf timelocal times vadvise vfork localtime_r gmtime_r)
dnl ** check whether this machine has gmp3 installed
AC_CHECK_LIB(gmp, __gmpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp,
dnl ** check whether this machine has gmp3 installed
AC_CHECK_LIB(gmp, __gmpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp,