diff options
author | Ian Lynagh <igloo@earth.li> | 2008-03-16 06:04:07 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-03-16 06:04:07 +0000 |
commit | dab5f1b5a1df0fdff2c9942ca311616ad472adcd (patch) | |
tree | 1d03abda36a8cf4ae0d2bf470c9aa91861ee9d52 /aclocal.m4 | |
parent | aaca29b7456b9bf48eb99a749babbb92560fa8f3 (diff) | |
download | haskell-dab5f1b5a1df0fdff2c9942ca311616ad472adcd.tar.gz |
Use editline instead of readline
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 3df243f53a..2ab48ea088 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -922,18 +922,18 @@ else fi])# FP_PROG_GHC_PKG -# FP_GHC_HAS_READLINE +# FP_GHC_HAS_EDITLINE # ------------------- -AC_DEFUN([FP_GHC_HAS_READLINE], +AC_DEFUN([FP_GHC_HAS_EDITLINE], [AC_REQUIRE([FP_PROG_GHC_PKG]) -AC_CACHE_CHECK([whether ghc has readline package], [fp_cv_ghc_has_readline], -[if "${GhcPkgCmd-ghc-pkg}" --show-package readline >/dev/null 2>&1; then - fp_cv_ghc_has_readline=yes +AC_CACHE_CHECK([whether ghc has editline package], [fp_cv_ghc_has_editline], +[if "${GhcPkgCmd-ghc-pkg}" --show-package editline >/dev/null 2>&1; then + fp_cv_ghc_has_editline=yes else - fp_cv_ghc_has_readline=no + fp_cv_ghc_has_editline=no fi]) -AC_SUBST([GhcHasReadline], [`echo $fp_cv_ghc_has_readline | sed 'y/yesno/YESNO/'`]) -])# FP_GHC_HAS_READLINE +AC_SUBST([GhcHasEditline], [`echo $fp_cv_ghc_has_editline | sed 'y/yesno/YESNO/'`]) +])# FP_GHC_HAS_EDITLINE # FP_GCC_EXTRA_FLAGS |