Refactor doxygen check code

This commit is contained in:
Travis Cross 2013-03-17 18:28:54 +00:00
parent 6afa0fd542
commit a4b8a73989
1 changed files with 3 additions and 5 deletions

View File

@ -85,11 +85,9 @@ AC_DEFINE(INLINE,[static inline],[Define inline construction for your platform])
# Documentation
#
AC_CHECK_PROGS([DOXYGEN], [doxygen])
if test -z "$DOXYGEN";
then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
fi
if test -n "$DOXYGEN"; then
if test -z "$DOXYGEN"; then
AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
else
AM_CONDITIONAL([HAVE_DOXYGEN], [true])
AC_CONFIG_FILES([doc/Doxyfile])
fi