[project @ 1998-01-29 11:38:20 by simonm]
[ghc-hetmet.git] / distrib / configure-bin.in
index fa7e5ef..956fb96 100644 (file)
@@ -52,6 +52,8 @@ mips-sgi-irix*)
        TargetPlatform=mips-sgi-irix;;
 powerpc-ibm-aix*)
        TargetPlatform=powerpc-ibm-aix;;
+rs6000-ibm-aix*)
+       TargetPlatform=rs6000-ibm-aix;;
 sparc-sun-sunos4*)
        TargetPlatform=sparc-sun-sunos4;;
 sparc-sun-solaris2*)
@@ -87,24 +89,35 @@ else
    exit 1
 fi
 rm -f conftest
-#
-dnl ** check if perl library is properly installed
-# (by seeing if a "do 'getopts.pl'" works...
-if $PerlCmd -e 'do "getopts.pl" || exit(1); exit(0);' > /dev/null 2>&1 ; then
-    :
-else
-    echo "I think your perl library is misinstalled."
-    echo "The following script did not work:"
-    echo '      do "getopts.pl" || exit(1); exit(0);'
-    echo "But, nevermind, let us continue.."
-fi
 
-dnl ** figure out how to do a BSD-ish install
+#
+dnl ** figure out how to do a BSD-ish install **
 #
 AC_PROG_INSTALL
+
+#
+dnl ** how to do symlinks **
+#
 AC_PROG_LN_S()
+
+#
+dnl ** Find the path to sed **
 #
+AC_PATH_PROG(SedCmd,sed)
 
+#
+dnl ** How to invoke cpp directly **
+#
+AC_PROG_CC
+AC_HAVE_GCC
+AC_PROG_CPP
+AC_PROG_GNUCPP
 
+#
 AC_OUTPUT(Makefile)
 
+echo "**************************************************"
+echo "Configuration done, ready to either 'make install'"
+echo "or 'make in-place'."
+echo "(see README and INSTALL files for more info.)"
+echo "**************************************************"