X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fconfigure-bin.ac;h=8d9ea90d27beedd38e95a6e0f0ef47ceef7d06f0;hb=9259deb86455a17c05ea7ba982f7d400ac69e3f6;hp=a852ec9ba91f337bc3bad0e6c96c381bd4ff88bf;hpb=1230feb3ae6545682218f364ced35115355e6b1b;p=ghc-hetmet.git diff --git a/distrib/configure-bin.ac b/distrib/configure-bin.ac index a852ec9..8d9ea90 100644 --- a/distrib/configure-bin.ac +++ b/distrib/configure-bin.ac @@ -5,7 +5,7 @@ dnl # # Is it there? -AC_INIT(Makefile.in) +AC_INIT(Makefile-vars.in) exeext='' @@ -96,6 +96,8 @@ x86_64-*-openbsd*) TargetPlatform=x86_64-unknown-openbsd;; x86_64-*-netbsd*) TargetPlatform=x86_64-unknown-netbsd;; +x86_64-apple-darwin*) + TargetPlatform=x86_64-apple-darwin;; *) echo "Unrecognised platform: $TargetPlatform" exit 1 @@ -106,6 +108,8 @@ echo "Which we'll further canonicalise into: $TargetPlatform" AC_SUBST(TargetPlatform) AC_SUBST(exeext) +FP_FIND_ROOT + # dnl ** Check Perl installation ** # @@ -128,6 +132,11 @@ dnl ** how to do symlinks ** 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) @@ -139,7 +148,13 @@ FP_HAVE_GCC 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 "Configuration done, ready to either 'make install'"