Move all doc build stuff to doc/source/GNUmakefile, leaving a 'make dok'
[privoxy.git] / configure.in
index 8af5168..519b9ac 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.71 2002/06/04 14:51:49 jongfoster Exp $
+dnl $Id: configure.in,v 1.72 2002/06/04 15:52:25 jongfoster Exp $
 dnl 
 dnl Written by and Copyright (C) 2001, 2002 the SourceForge
 dnl Privoxy team. http://www.privoxy.org/
@@ -28,6 +28,11 @@ dnl or write to the Free Software Foundation, Inc., 59
 dnl Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 dnl 
 dnl $Log: configure.in,v $
+dnl Revision 1.72  2002/06/04 15:52:25  jongfoster
+dnl Removing need for acconfig.h (apparently using acconfig.h is an
+dnl obsolete coding style).
+dnl Moving the DocBook stuff together
+dnl
 dnl Revision 1.71  2002/06/04 14:51:49  jongfoster
 dnl Updating for new paths:
 dnl - Source files in src/
@@ -384,7 +389,7 @@ dnl =================================================================
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.71 $)
+AC_REVISION($Revision: 1.72 $)
 AC_INIT(src/jcc.c)
 
 if test ! -f src/config.h.in; then
@@ -1264,6 +1269,19 @@ dnl Check for man2html for docs.
 AC_CHECK_PROGS(MAN2HTML,man2html,false)
 AC_SUBST(MAN2HTML)
 
+dnl Set doc status, used for conditional content inclusions
+DOC_STATUS=""
+if  test $CODE_STATUS = alpha; then
+     DOC_STATUS="-ip-alpha -ip-not-stable"
+fi
+if  test $CODE_STATUS = beta; then
+     DOC_STATUS="-ip-beta -ip-not-stable"
+fi
+if  test $CODE_STATUS = stable; then
+     DOC_STATUS="-ip-stable"
+fi
+echo "checking for doc status flags... $DOC_STATUS"
+AC_SUBST(DOC_STATUS)
 
 dnl =================================================================
 dnl RPM stuff
@@ -1291,4 +1309,4 @@ AC_SUBST(SPECIAL_CFLAGS)
 
 AC_SUBST(PTHREAD_LIB)
 
-AC_OUTPUT(GNUmakefile doc/source/ldp.dsl)
+AC_OUTPUT(GNUmakefile doc/source/ldp.dsl doc/source/GNUmakefile)