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])
14 #PKG_CHECK_MODULES([bin_loggraph], [qt-mt < 4.0])
15 #PKG_CHECK_MODULES([bin_lognet], [qt-mt < 4.0 libconfig])
16 PKG_CHECK_MODULES([bin_logker], [QtCore >= 4.0 QtGui >= 4.0 libconfig])
17 #PKG_CHECK_MODULES([bin_logint], [qt-mt < 4.0])
18 PKG_CHECK_MODULES([bin_logedit], [QtCore >= 4.0 QtGui >= 4.0 ])
19 #PKG_CHECK_MODULES([bin_lgconfig], [qt-mt < 4.0 libconfig])
20 #PKG_CHECK_MODULES([bin_logcomp], [qt-mt < 4.0])
21 #PKG_CHECK_MODULES([bin_loghelp], [qt-mt < 4.0])
23 # Get Qt3 library and include locations
24 AC_ARG_WITH([moc-compiler-name],
25 [AS_HELP_STRING([--with-moc-compiler-name=NAME],
26 [filename of MOC compiler, defaults to: moc])],
31 AC_ARG_WITH([moc-compiler-dir],
32 [AS_HELP_STRING([--with-moc-compiler-dir=DIR],
33 [location of MOC compiler, defaults to: /usr/bin])],
39 [AS_HELP_STRING([--with-qt-dir=DIR],
40 [location of Qt library, defaults to: /usr])],
45 AC_CHECK_PROGS([DOXYGEN], [doxygen])
46 if test -z "$DOXYGEN";
47 then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
50 AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
51 AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([Doxyfile])])