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

View File

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