X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=configure.ac;h=65e94cf83f1fafff6910a6b625a41720e0e67895;hb=refs%2Fheads%2Fvlp-7;hp=b1be6df265c1067f17f42ee25b6ebce1bdac2b1e;hpb=8d9e2924ed15f33627e10917188481563804041d;p=vlp.git diff --git a/configure.ac b/configure.ac index b1be6df..65e94cf 100644 --- a/configure.ac +++ b/configure.ac @@ -12,28 +12,35 @@ AC_CONFIG_FILES([Makefile]) # libqt3-mt-dev:i386 # qt3-dev-tools:i386 PKG_CHECK_MODULES([bin_loggraph], [qt-mt < 4.0]) -PKG_CHECK_MODULES([bin_lognet], [qt-mt < 4.0]) -PKG_CHECK_MODULES([bin_logker], [qt-mt < 4.0]) +PKG_CHECK_MODULES([bin_lognet], [qt-mt < 4.0 libconfig]) +PKG_CHECK_MODULES([bin_logker], [qt-mt < 4.0 libconfig]) #PKG_CHECK_MODULES([bin_logint], [qt-mt < 4.0]) PKG_CHECK_MODULES([bin_logedit], [qt-mt < 4.0]) -PKG_CHECK_MODULES([bin_lgconfig], [qt-mt < 4.0]) +PKG_CHECK_MODULES([bin_lgconfig], [qt-mt < 4.0 libconfig]) PKG_CHECK_MODULES([bin_logcomp], [qt-mt < 4.0]) PKG_CHECK_MODULES([bin_loghelp], [qt-mt < 4.0]) # Get Qt3 library and include locations AC_ARG_WITH([moc-compiler-name], - [AS_HELP_STRING([--with-moc-compiler-name], + [AS_HELP_STRING([--with-moc-compiler-name=NAME], [filename of MOC compiler, defaults to: moc])], [MOCNAME="$withval"], [MOCNAME='moc']) AC_SUBST([MOCNAME]) AC_ARG_WITH([moc-compiler-dir], - [AS_HELP_STRING([--with-moc-compiler-dir], + [AS_HELP_STRING([--with-moc-compiler-dir=DIR], [location of MOC compiler, defaults to: /usr/bin])], [MOCDIR="$withval"], [MOCDIR='/usr/bin']) AC_SUBST([MOCDIR]) +AC_CHECK_PROGS([DOXYGEN], [doxygen]) +if test -z "$DOXYGEN"; + then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support]) +fi + +AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"]) +AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([Doxyfile])]) AC_OUTPUT