X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=configure.ac;h=9dafbfba342bf993c5f94558759bce0c09a51e79;hp=29ed29f2868cf12fb4f3930f9170e018efb09c82;hb=8df809e4ce2319cccd91b14a74e13c879faaf357;hpb=7434fb5be86c7cc59c520dc07dc96b27b4fb1406 diff --git a/configure.ac b/configure.ac index 29ed29f..9dafbfb 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ dnl # see what flags are available. (Better yet, read the documentation!) # -AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.5], [glasgow-haskell-bugs@haskell.org], [ghc]) +AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.5.20060608], [glasgow-haskell-bugs@haskell.org], [ghc]) FP_SETUP_PROJECT_VERSION @@ -1119,40 +1119,6 @@ dnl the order of these tests matters: bfd needs liberty AC_CHECK_LIB(iberty, xmalloc) AC_CHECK_LIB(bfd, bfd_init) -dnl ** check for readline, for Hugs and hslibs' Readline -dnl ncurses supersedes termcap and curses, but for compatibility, -dnl we have to check for all... -AC_CHECK_LIB(ncurses, tputs, HaveLibTermcap=YES; LibTermcap=ncurses, - AC_CHECK_LIB(termcap, tputs, HaveLibTermcap=YES; LibTermcap=termcap, - AC_CHECK_LIB(curses, tputs, HaveLibTermcap=YES; LibTermcap=curses, - HaveLibTermcap=NO; LibTermcap=not-installed))) - -if test $HaveLibTermcap = YES ; then - LIBS="-l$LibTermcap $LIBS" - AC_CHECK_LIB(readline, readline, HaveLibReadline=YES, HaveLibReadline=NO) -fi - -if test $HaveLibTermcap = YES && test x"$HaveLibReadline" = xYES ; then - AC_DEFINE([HAVE_READLINE_LIBS], [1], [Define to 1 if readline plus any additional libs needed for it exist.]) - LibsReadline="readline $LibTermcap" -else - AC_DEFINE([HAVE_READLINE_LIBS], [0], [Define to 1 if readline plus any additional libs needed for it exist.]) - LibsReadline= -fi -AC_SUBST(LibsReadline) - -if test "$HaveLibReadline"; then - AC_CHECK_LIB(readline, rl_erase_empty_line, - [AC_DEFINE([HAVE_READLINE_4], [1], [Define to 1 if readline has version >= 4.0.])], - [AC_DEFINE([HAVE_READLINE_4], [0], [Define to 1 if readline has version >= 4.0.])]) - AC_CHECK_LIB(readline, rl_free_undo_list, - [AC_DEFINE([HAVE_READLINE_4_2], [1], [Define to 1 if readline has version >= 4.2.])], - [AC_DEFINE([HAVE_READLINE_4_2], [0], [Define to 1 if readline has version >= 4.2.])]) -else - AC_DEFINE([HAVE_READLINE_4], [0], [Define to 1 if readline has version >= 4.0.]) - AC_DEFINE([HAVE_READLINE_4_2], [0], [Define to 1 if readline has version >= 4.2.]) -fi - dnl ** check for math library AC_CHECK_FUNC(atan,[fp_libm_not_needed=yes;LIBM=],[fp_libm_not_needed=dunno]) if test x"$fp_libm_not_needed" = xdunno; then