1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 11:35:00 -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 fi
dnl Check for doxygen support dnl Check for doxygen support
AC_MSG_CHECKING(for support Doxygen)
if test x$wantdoxygen = xyes ; then if test x$wantdoxygen = xyes ; then
AC_CHECK_PROGS([DOXYGEN], [doxygen]) AC_CHECK_PROGS([DOXYGEN], [doxygen])
AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
if test $DOXYGEN ; then if test $DOXYGEN ; then
AC_DEFINE([HAS_DOXYGEN], [TRUE], [Enabled Doxygen Support])
AC_MSG_RESULT(yes)
DOXYSTATUS="yes, path: `which $DOXYGEN`" DOXYSTATUS="yes, path: `which $DOXYGEN`"
else else
AC_DEFINE([HAS_DOXYGEN], [FALSE], [Disabled Doxygen support])
AC_MSG_RESULT(no, doxygen missing)
DOXYSTATUS="doxygen binary not found" DOXYSTATUS="doxygen binary not found"
fi fi
else 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" DOXYSTATUS="no, disabled by configure"
fi fi
AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
dnl Check for swig binary dnl Check for swig binary
AC_CHECK_PROGS([SWIG], [swig]) AC_CHECK_PROGS([SWIG], [swig])