Avoid using AM_CONF_IF

Apparently this is a fairly recent feature of automake and is not
present on at least CentOS5.
This commit is contained in:
Travis Cross 2013-03-04 17:22:24 +00:00
parent 9d953e2973
commit ce365948f4
1 changed files with 4 additions and 2 deletions

View File

@ -89,8 +89,10 @@ if test -z "$DOXYGEN";
then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
fi
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile])])
if test -n "$DOXYGEN"; then
AM_CONDITIONAL([HAVE_DOXYGEN], [true])
AC_CONFIG_FILES([doc/Doxyfile])
fi
#
# Generate Makefiles