projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(F)SLIT -> (f)sLit in BasicTypes
[ghc-hetmet.git]
/
distrib
/
configure-bin.ac
diff --git
a/distrib/configure-bin.ac
b/distrib/configure-bin.ac
index
cda2cff
..
ba08033
100644
(file)
--- a/
distrib/configure-bin.ac
+++ b/
distrib/configure-bin.ac
@@
-5,7
+5,7
@@
dnl
#
# Is it there?
#
# Is it there?
-AC_INIT(Makefile.in)
+AC_INIT(Makefile-vars.in)
exeext=''
exeext=''
@@
-108,6
+108,8
@@
echo "Which we'll further canonicalise into: $TargetPlatform"
AC_SUBST(TargetPlatform)
AC_SUBST(exeext)
AC_SUBST(TargetPlatform)
AC_SUBST(exeext)
+FP_FIND_ROOT
+
#
dnl ** Check Perl installation **
#
#
dnl ** Check Perl installation **
#
@@
-130,6
+132,11
@@
dnl ** how to do symlinks **
AC_PROG_LN_S()
#
AC_PROG_LN_S()
#
+dnl ** how to invoke `ar' and `ranlib'
+#
+FP_PROG_AR_NEEDS_RANLIB
+
+#
dnl ** Find the path to sed **
#
AC_PATH_PROG(SedCmd,sed)
dnl ** Find the path to sed **
#
AC_PATH_PROG(SedCmd,sed)
@@
-141,10
+148,15
@@
FP_HAVE_GCC
AC_PROG_CPP
#
AC_PROG_CPP
#
-AC_OUTPUT(Makefile)
+dnl ** Check gcc version and flags we need to pass it **
+#
+FP_GCC_EXTRA_FLAGS
+
+#
+AC_CONFIG_FILES(Makefile-vars extra-gcc-opts)
+AC_OUTPUT
echo "****************************************************"
echo "****************************************************"
-echo "Configuration done, ready to either 'make install'"
-echo "or 'make in-place'."
+echo "Configuration done, ready to 'make install'"
echo "(see README and INSTALL files for more info.)"
echo "****************************************************"
echo "(see README and INSTALL files for more info.)"
echo "****************************************************"