Refactor doxygen check code
This commit is contained in:
parent
6afa0fd542
commit
a4b8a73989
|
@ -85,11 +85,9 @@ AC_DEFINE(INLINE,[static inline],[Define inline construction for your platform])
|
||||||
# Documentation
|
# Documentation
|
||||||
#
|
#
|
||||||
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
||||||
if test -z "$DOXYGEN";
|
if test -z "$DOXYGEN"; then
|
||||||
then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
||||||
fi
|
else
|
||||||
|
|
||||||
if test -n "$DOXYGEN"; then
|
|
||||||
AM_CONDITIONAL([HAVE_DOXYGEN], [true])
|
AM_CONDITIONAL([HAVE_DOXYGEN], [true])
|
||||||
AC_CONFIG_FILES([doc/Doxyfile])
|
AC_CONFIG_FILES([doc/Doxyfile])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue