From a4b8a73989c6c3401d85634be74428972b890202 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 17 Mar 2013 18:28:54 +0000 Subject: [PATCH] Refactor doxygen check code --- libs/libzrtp/configure.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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