[project @ 2003-08-18 15:53:51 by panne]
[ghc-hetmet.git] / configure.ac
index a919e2a..509f8e2 100644 (file)
@@ -1,5 +1,5 @@
 dnl == autoconf source for the Glasgow FP tools ==
-dnl (run "grep '^dnl \*' configure.in | sed -e 's/dnl / /g; s/\*\*/   +/g;'"
+dnl (run "grep '^dnl \*' configure.ac | sed -e 's/dnl / /g; s/\*\*/   +/g;'"
 dnl  (or some such) to see the outline of this file)
 dnl
 #
@@ -16,8 +16,8 @@ dnl
 # First off, a distrib sanity check..
 AC_INIT(mk/config.mk.in)
 
-dnl * We require autoconf version 2.53 due to the use of AC_SYS_LARGEFILE
-AC_PREREQ(2.52)
+dnl * We require autoconf version 2.50 due to the use of AC_SYS_LARGEFILE and AC_MSG_NOTICE
+AC_PREREQ(2.50)
 
 dnl * Declare subdirectories that have a private configure script
 dnl
@@ -656,16 +656,6 @@ FPTOOLS_PROG_DIFF
 dnl ** Find find command (for Win32's benefit)
 FPTOOLS_FIND_FIND
 
-dnl ** look for a decent parser generator (bison preferred)
-dnl (FPTOOLS_PROG_YACCY is AC_PROG_YACC, but with some extra testing 
-dnl  on the suitability of the 'yacc' returned.)
-FPTOOLS_PROG_YACCY
-
-dnl ** Find lex command (lex or flex) - *doesn't* use autoconf's
-dnl    AC_PROG_LEX, since it doesn't actually check whether 'lex'
-dnl    exists if 'flex' doesn't.
-AC_PROG_LEX_STRICT
-
 dnl ** figure out how to do a BSD-ish install
 AC_PROG_INSTALL
 
@@ -847,18 +837,14 @@ AC_SUBST(HavePosixRegex)
 dnl ** how do we get a timezone name, and UTC offset ?
 AC_STRUCT_TIMEZONE
 
-dnl ** what's the type of timezone?
-FPTOOLS_HAVE_TIMEZONE
-FPTOOLS_TYPE_TIMEZONE
-
 dnl ** do we have altzone?
-FPTOOLS_ALTZONE
+FP_ALTZONE
 
 dnl ** does struct stat contain st_blksize?
 AC_STRUCT_ST_BLKSIZE
 
 dnl ** do we have long longs?
-FPTOOLS_C_LONG_LONG
+AC_CHECK_TYPES([long long])
 
 dnl ** check what fields struct msghdr contains
 FPTOOLS_MSGHDR_MSG_ACCRIGHTS
@@ -1084,9 +1070,6 @@ AC_MSG_ERROR([You need to install libgmp (the in-tree version does not work on I
 fi;
 fi;
 
-dnl ** check whether this machine has GNU regex in libc.
-FPTOOLS_REGEX_IN_LIBC
-
 dnl ** check whether this machine has BFD and liberty installed (used for debugging)
 dnl    the order of these tests matters: bfd needs liberty
 AC_CHECK_LIB(iberty, xmalloc)