mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-07 07:06:46 +00:00
- Invert AC_CHECK_LIB for readline and termcap so that the test program
for readline detection is actually linked against -ltermcap -lreadline.
This commit is contained in:
parent
93cf51385f
commit
faa3d07211
@ -89,8 +89,8 @@ if [[ "x$WANT_MON" = "xyes" ]]; then
|
||||
AC_DEFINE(ENABLE_MON)
|
||||
MONSRCS="$mon_srcdir/mon.cpp $mon_srcdir/mon_6502.cpp $mon_srcdir/mon_z80.cpp $mon_srcdir/mon_cmd.cpp $mon_srcdir/mon_disass.cpp $mon_srcdir/mon_ppc.cpp $mon_srcdir/mon_lowmem.cpp $mon_srcdir/disass/floatformat.c $mon_srcdir/disass/i386-dis.c $mon_srcdir/disass/m68k-dis.c $mon_srcdir/disass/m68k-opc.c"
|
||||
CXXFLAGS="$CXXFLAGS -I$mon_srcdir -I$mon_srcdir/disass"
|
||||
AC_CHECK_LIB(readline, readline)
|
||||
AC_CHECK_LIB(termcap, tputs)
|
||||
AC_CHECK_LIB(readline, readline)
|
||||
AC_CHECK_HEADERS(readline.h history.h readline/readline.h readline/history.h)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
|
Loading…
Reference in New Issue
Block a user