[project @ 2004-11-20 15:12:26 by panne]
[ghc-hetmet.git] / aclocal.m4
index 17c47f2..3b40d70 100644 (file)
@@ -657,19 +657,6 @@ ifelse($#, [1], [dnl
 ])dnl
 
 
-AC_DEFUN(FPTOOLS_GHC_HAS_READLINE,
-[AC_CACHE_CHECK([whether ghc has readline package], [fptools_ghc_has_readline],
-[if "${GhcPkgCmd-ghc-pkg}" --show-package readline >/dev/null 2>&1; then
-    fptools_ghc_has_readline='yes';
-    GhcHasReadline='YES';
- else
-    fptools_ghc_has_readline='no';
-    GhcHasReadline='NO';
- fi
- AC_SUBST(GhcHasReadline)
-])
-])
-
 dnl ** Map an arithmetic C type to a Haskell type.
 dnl    Based on autconf's AC_CHECK_SIZEOF.
 
@@ -1184,22 +1171,4 @@ AC_SUBST([GLUT_CFLAGS])
 AC_SUBST([GLUT_LIBS])
 ])# FP_CHECK_GLUT
 
-
-# FP_EMPTY_STRUCTS
-# ---------------- 
-# Define output variable SUPPORTS_EMPTY_STRUCTS if empty structs are accepted by
-# CC.
-dnl
-AC_DEFUN(FP_EMPTY_STRUCTS,
-[AC_CACHE_CHECK(empty struct support, fp_cv_empty_structs,
-[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[typedef struct { /* empty */ } StgFoo;]],
-[[int i;]])],
-[fp_cv_empty_structs=yes],
-[fp_cv_empty_structs=no])])
-if test x"$fp_cv_empty_structs" = xyes; then
-  AC_DEFINE([SUPPORTS_EMPTY_STRUCTS], [1], [Define to 1 if C compiler supports declaration of empty structure types.])
-fi
-])
-
-
 # LocalWords:  fi