summaryrefslogtreecommitdiff
blob: 48b9a55aa56d5109f53d2b9b89393b894f8ab4b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- configure.in.orig	2004-08-10 06:04:01.881971784 +0930
+++ configure.in	2004-08-10 17:11:29.157860456 +0930
@@ -57,6 +57,7 @@
 # declare --enable-* args 
 AC_ARG_ENABLE(debug, [  --enable-debug=[no/yes] turn on debugging [default=no]])
 AC_ARG_ENABLE(test, [  --enable-test       compile test programs])
+AC_ARG_ENABLE(doc, [  --enable-doc       create documentation])
 
 if test x$enable_debug = xyes; then
     CFLAGS="$CFLAGS -D__SD_DEBUG__ -D__LOG4C_DEBUG__"
@@ -85,14 +86,12 @@
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([gettimeofday memset munmap nl_langinfo strdup strerror strncasecmp utime])
 
+AM_CONDITIONAL(DOC, test x$enable_doc = xyes)
 # Checks for doxygen
 AC_PATH_PROG(DOXYGEN, doxygen, )
 if test x$DOXYGEN = x; then
 	enable_doc=no
-else
-	enable_doc=yes
 fi
-AM_CONDITIONAL(DOC, test x$enable_doc = xyes)
 
 AC_CONFIG_FILES([
     Makefile