2 AM_INIT_AUTOMAKE(parker, 0.01)
9 if test "$LEX" = flex; then
13 AC_MSG_CHECKING(for mona)
15 [ --with-mona=DIR mona *source* directory ], [], [
16 AC_MSG_RESULT(not specified)
19 if test "x$with_mona" != "x"; then
22 LDFLAGS="-L$MONAPATH/DFA -L$MONAPATH/BDD -L$MONAPATH/Mem $LDFLAGS"
23 LIBS="-ldfa -lbdd -lmem $LIBS"
24 for i in $MONA_OBJ; do
29 if test "x$with_mona" = "x"; then
30 AC_MSG_RESULT(not found)
32 AC_MSG_RESULT($MONAPATH)
36 if test "x$with_mona" = "x"; then
37 AC_MSG_WARN(http://www.brics.dk/mona/download)
38 AC_MSG_ERROR(mona required)
47 if test "x$with_omega" != "x"; then
48 CPPFLAGS="-I$with_omega/include/omega $CPPFLAGS"
49 LDFLAGS="-L$with_omega/lib $LDFLAGS"
51 for i in /usr/include /usr/local/include; do
52 if test -f $i/omega/omega.h; then
53 CPPFLAGS="-I$i/omega $CPPFLAGS"
58 AC_CHECK_HEADER(omega.h,[],[AC_MSG_ERROR(Can't find omega headers.)])