Rudimentary autoconf support for Doxyfile

This commit is contained in:
Melinda Shore 2013-10-10 16:15:17 -07:00
parent 2b96fe8ca3
commit 1d47471f26
2 changed files with 1881 additions and 0 deletions

View File

@ -35,6 +35,10 @@ then
AC_MSG_ERROR([One more dependencies is missing])
fi
AC_CHECK_PROGS([DOXYGEN], [doxygen])
if test -z "$DOXYGEN";
then AC_MSG_WARN([Doxygen not found, continuing without])
fi
# Checks for header files.
AC_CHECK_HEADERS([inttypes.h netinet/in.h stdint.h stdlib.h string.h])
@ -48,5 +52,9 @@ AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
AC_CONFIG_FILES([Makefile src/Makefile src/getdns/Makefile src/example/Makefile src/test/Makefile])
if [ test -n "$DOXYGEN" ]
then AC_CONFIG_FILES([src/Doxyfile])
fi
AC_CONFIG_SUBDIRS([src/ src/getdns/ src/example/ src/test/])
AC_OUTPUT

1873
src/Doxyfile.in Normal file

File diff suppressed because it is too large Load Diff