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.10 by cebix, 1999-10-23T17:57:56Z vs.
Revision 1.11 by cebix, 1999-10-25T08:07:58Z

# Line 22 | Line 22 | AC_PROG_CXX
22   AC_PROG_MAKE_SET
23   AC_PROG_INSTALL
24  
25 + dnl We use mon if possible.
26 + MONSRCS=
27 + AC_MSG_CHECKING(for mon)
28 + if grep mon_init ../../../mon/src/mon.h >/dev/null 2>/dev/null; then
29 +  AC_MSG_RESULT(yes)
30 +  DEFINES="$DEFINES -DENABLE_MON=1"
31 +  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"
32 +  CXXFLAGS="$CXXFLAGS -I../../../mon/src"
33 + else
34 +  AC_MSG_RESULT(no)
35 +  DEFINES="$DEFINES -DENABLE_MON=0"
36 + fi
37 +
38   dnl Checks for libraries.
39   AC_CHECK_LIB(posix4, sem_init)
40  
# Line 176 | Line 189 | if MACHINE=`uname -a 2>/dev/null`; then
189      ;;
190    esac
191   fi
192 < SYSSRCS="$SYSSRCS $SEMSRCS $UISRCS"
192 > SYSSRCS="$SYSSRCS $SEMSRCS $UISRCS $MONSRCS"
193  
194   dnl Check for i386 CPU.
195   HAVE_I386=no

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines