From: Travis Cross Date: Sun, 17 Mar 2013 18:28:54 +0000 (+0000) Subject: Refactor doxygen check code X-Git-Tag: v1.3.17-final~79^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b8a73989c6c3401d85634be74428972b890202;p=thirdparty%2Ffreeswitch.git Refactor doxygen check code --- diff --git a/libs/libzrtp/configure.in b/libs/libzrtp/configure.in index 963a95dd71..1de413c389 100644 --- a/libs/libzrtp/configure.in +++ b/libs/libzrtp/configure.in @@ -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