|
@@ -32,6 +32,20 @@ AM_PROG_CC_C_O
|
32
|
32
|
AC_PROG_MAKE_SET
|
33
|
33
|
AC_PROG_RANLIB
|
34
|
34
|
|
|
35
|
+AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
|
36
|
+if test -z "$DOXYGEN";
|
|
37
|
+ then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
|
38
|
+fi
|
|
39
|
+
|
|
40
|
+AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
|
41
|
+if test -z "$DOXYGEN";
|
|
42
|
+ then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
|
43
|
+fi
|
|
44
|
+AC_CHECK_PROGS([GIT], [git])
|
|
45
|
+if test -z "$DOXYGEN";
|
|
46
|
+ then AC_MSG_WARN([git not found - continuing without Doxygen support])
|
|
47
|
+fi
|
|
48
|
+
|
35
|
49
|
# Checks for libraries.
|
36
|
50
|
AC_SEARCH_LIBS([dlopen], [dl dld], [], [
|
37
|
51
|
AC_MSG_ERROR([unable to find the dlopen() function])
|
|
@@ -71,4 +85,8 @@ AC_CONFIG_FILES([Makefile
|
71
|
85
|
src/Makefile
|
72
|
86
|
tests/Makefile])
|
73
|
87
|
|
|
88
|
+AM_CONDITIONAL([HAVE_DOXYGEN],
|
|
89
|
+[test -n "$DOXYGEN"])AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([docs/Doxyfile
|
|
90
|
+docs/Makefile])])
|
|
91
|
+
|
74
|
92
|
AC_OUTPUT
|