Updated m4 macros to be more specific about which options are acceptible in arg1.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1094 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
jcalcote
2009-04-27 20:07:07 +00:00
parent 6f1792f3ff
commit 56e32ca56f
12 changed files with 52 additions and 53 deletions

View File

@@ -18,15 +18,15 @@
# not rely on this, as all other words are reserved.
#
# Author: John Calcote <john.calcote@gmail.com>
# Modified: 2009-04-23
# Modified: 2009-04-27
# License: AllPermissive
#
AC_DEFUN([AC_PROG_TRY_DOXYGEN],
[AC_REQUIRE([AC_EXEEXT])dnl
AC_ARG_VAR([DOXYGEN], [Doxygen source doc generation program])dnl
AC_CHECK_PROGS([DOXYGEN], [doxygen$EXEEXT])
m4_ifvaln([$1],,
ifelse([$1],,
[if test -z "$DOXYGEN"; then
AC_MSG_WARN([Doxygen program not found - continuing without Doxygen support])
fi])dnl
AC_MSG_WARN([Doxygen program not found - continuing without Doxygen])
fi], [$1], [quiet],, [m4_fatal([Invalid option '$1' in $0])])
])