Commit b9267a7e authored by panne's avatar panne
Browse files

[project @ 2003-11-15 19:15:16 by panne]

For consistency reasons, rename HaveReadlineHeaders to GhcLibsWithReadline
parent ae1ec7a8
...@@ -846,13 +846,13 @@ AC_CHECK_HEADER(readline/readline.h, [HaveReadlineReadlineH=YES], [HaveReadlineR ...@@ -846,13 +846,13 @@ AC_CHECK_HEADER(readline/readline.h, [HaveReadlineReadlineH=YES], [HaveReadlineR
AC_CHECK_HEADER(readline/history.h, [HaveReadlineHistoryH=YES], [HaveReadlineHistoryH=NO]) AC_CHECK_HEADER(readline/history.h, [HaveReadlineHistoryH=YES], [HaveReadlineHistoryH=NO])
if test $HaveReadlineReadlineH = YES && test $HaveReadlineHistoryH = YES ; then if test $HaveReadlineReadlineH = YES && test $HaveReadlineHistoryH = YES ; then
HaveReadlineHeaders=YES GhcLibsWithReadline=YES
AC_DEFINE([HAVE_READLINE_HEADERS], [1], [Define to 1 if readline/readline.h and readline/history.h exist.]) AC_DEFINE([HAVE_READLINE_HEADERS], [1], [Define to 1 if readline/readline.h and readline/history.h exist.])
else else
HaveReadlineHeaders=NO GhcLibsWithReadline=NO
AC_DEFINE([HAVE_READLINE_HEADERS], [0], [Define to 1 if readline/readline.h and readline/history.h exist.]) AC_DEFINE([HAVE_READLINE_HEADERS], [0], [Define to 1 if readline/readline.h and readline/history.h exist.])
fi fi
AC_SUBST(HaveReadlineHeaders) AC_SUBST(GhcLibsWithReadline)
dnl ** check for DOS include files dnl ** check for DOS include files
AC_CHECK_HEADERS(dos.h conio.h io.h std.h) AC_CHECK_HEADERS(dos.h conio.h io.h std.h)
......
...@@ -374,7 +374,7 @@ GhcRtsThreaded=@ThreadedRts@ ...@@ -374,7 +374,7 @@ GhcRtsThreaded=@ThreadedRts@
# Build the Haskell Readline bindings? # Build the Haskell Readline bindings?
# #
GhcLibsWithReadline=@HaveReadlineHeaders@ GhcLibsWithReadline=@GhcLibsWithReadline@
# Libraries needed for linking with readline # Libraries needed for linking with readline
LibsReadline=@LibsReadline@ LibsReadline=@LibsReadline@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment