1 AC_INIT([Virtual Loglan Processor], [3.1.2-a2], [bugz@dlugolecki.net.pl], [vlp], [http://dlugolecki.net.pl/software/vlp/])
3 AM_INIT_AUTOMAKE([1.10 no-define])
4 AC_CONFIG_HEADERS([config.h])
8 AC_CONFIG_FILES([Makefile])
13 #PKG_CHECK_MODULES([bin_loggraph], [qt-mt < 4.0])
14 #PKG_CHECK_MODULES([bin_lognet], [qt-mt < 4.0 libconfig])
15 PKG_CHECK_MODULES([bin_logker], [QtCore >= 4.0 QtGui >= 4.0 libconfig])
16 #PKG_CHECK_MODULES([bin_logint], [qt-mt < 4.0])
17 PKG_CHECK_MODULES([bin_logedit], [QtCore >= 4.0 QtGui >= 4.0 ])
18 #PKG_CHECK_MODULES([bin_lgconfig], [qt-mt < 4.0 libconfig])
19 #PKG_CHECK_MODULES([bin_logcomp], [qt-mt < 4.0])
20 #PKG_CHECK_MODULES([bin_loghelp], [qt-mt < 4.0])
22 # Get Qt3 library and include locations
23 AC_ARG_WITH([moc-compiler-name],
24 [AS_HELP_STRING([--with-moc-compiler-name=NAME],
25 [filename of MOC compiler, defaults to: moc])],
30 AC_ARG_WITH([moc-compiler-dir],
31 [AS_HELP_STRING([--with-moc-compiler-dir=DIR],
32 [location of MOC compiler, defaults to: /usr/bin])],
38 [AS_HELP_STRING([--with-qt-dir=DIR],
39 [location of Qt library, defaults to: /usr])],
44 AC_CHECK_PROGS([DOXYGEN], [doxygen])
45 if test -z "$DOXYGEN";
46 then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
49 AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
50 AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([Doxyfile])])