1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

* doxygen check cleanup

This commit is contained in:
Jürgen Hötzel 2007-01-30 20:37:59 +00:00
parent 1042eda886
commit d9b4d3f75c

View File

@ -195,25 +195,17 @@ else
fi
dnl Check for doxygen support
AC_MSG_CHECKING(for support Doxygen)
if test x$wantdoxygen = xyes ; then
AC_CHECK_PROGS([DOXYGEN], [doxygen])
AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
if test $DOXYGEN ; then
AC_DEFINE([HAS_DOXYGEN], [TRUE], [Enabled Doxygen Support])
AC_MSG_RESULT(yes)
DOXYSTATUS="yes, path: `which $DOXYGEN`"
else
AC_DEFINE([HAS_DOXYGEN], [FALSE], [Disabled Doxygen support])
AC_MSG_RESULT(no, doxygen missing)
DOXYSTATUS="doxygen binary not found"
fi
else
AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
AC_DEFINE([HAS_DOXYGEN], [FALSE], [Not specified at configure line])
AC_MSG_RESULT(not requested by configure)
DOXYSTATUS="no, disabled by configure"
fi
AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
dnl Check for swig binary
AC_CHECK_PROGS([SWIG], [swig])