ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure.in
(Generate patch)

Comparing BasiliskII/src/Unix/configure.in (file contents):
Revision 1.17 by cebix, 1999-11-03T21:04:22Z vs.
Revision 1.18 by cebix, 2000-04-14T18:46:05Z

# Line 22 | Line 22 | AC_PROG_INSTALL
22  
23   dnl We use mon if possible.
24   MONSRCS=
25 < AC_MSG_CHECKING(for mon)
26 < if grep mon_init ../../../mon/src/mon.h >/dev/null 2>/dev/null; then
27 <  AC_MSG_RESULT(yes)
28 <  WANT_MON=yes
29 <  DEFINES="$DEFINES -DENABLE_MON=1"
30 <  MONSRCS="../../../mon/src/mon.cpp ../../../mon/src/mon_6502.cpp ../../../mon/src/mon_68k.cpp ../../../mon/src/mon_8080.cpp ../../../mon/src/mon_cmd.cpp ../../../mon/src/mon_ppc.cpp ../../../mon/src/mon_x86.cpp"
31 <  CXXFLAGS="$CXXFLAGS -I../../../mon/src"
32 <  AC_CHECK_LIB(readline, readline)
33 <  AC_CHECK_HEADERS(readline/readline.h readline/history.h)
34 < else
35 <  AC_MSG_RESULT(no)
36 <  WANT_MON=no
37 <  DEFINES="$DEFINES -DENABLE_MON=0"
25 > if [[ "x$WANT_MON" = "xyes" ]]; then
26 >  AC_MSG_CHECKING(for mon)
27 >  if grep mon_init ../../../mon/src/mon.h >/dev/null 2>/dev/null; then
28 >    AC_MSG_RESULT(yes)
29 >    DEFINES="$DEFINES -DENABLE_MON=1"
30 >    MONSRCS="../../../mon/src/mon.cpp ../../../mon/src/mon_6502.cpp ../../../mon/src/mon_68k.cpp ../../../mon/src/mon_8080.cpp ../../../mon/src/mon_cmd.cpp ../../../mon/src/mon_ppc.cpp ../../../mon/src/mon_x86.cpp"
31 >    CXXFLAGS="$CXXFLAGS -I../../../mon/src"
32 >    AC_CHECK_LIB(readline, readline)
33 >    AC_CHECK_HEADERS(readline/readline.h readline/history.h)
34 >  else
35 >    AC_MSG_RESULT(no)
36 >    AC_MSG_WARN([Could not find mon, ignoring --with-mon.])
37 >    WANT_MON=no
38 >    DEFINES="$DEFINES -DENABLE_MON=0"
39 >  fi
40   fi
41  
42   dnl Checks for libraries.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines