]> git.saurik.com Git - apt.git/commitdiff
add --with{,out}-YODL to configure.in, so as to allow t...
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:10 +0000 (16:53 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:10 +0000 (16:53 +0000)
Author: doogie
Date: 1999-03-18 03:22:48 GMT
add --with{,out}-YODL to configure.in, so as to allow the debian/rules \
cvs-build target to make the yodl pages before making the debian source
package.  This means yodl isn't needed to actually build the deb on
other archs.

configure.in

index e52a87b54a0880e5d76f5774a48169ab043c95c5..eba1a15db35957219a867e11a936335faf55609b 100644 (file)
@@ -17,7 +17,7 @@ AC_CONFIG_AUX_DIR(buildlib)
 AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in)
 
 dnl -- SET THIS TO THE RELEASE VERSION --
-AC_DEFINE_UNQUOTED(VERSION,"0.3.2")
+AC_DEFINE_UNQUOTED(VERSION,"0.3.2.1")
 AC_DEFINE_UNQUOTED(PACKAGE,"apt")
 
 dnl Tom's host stuff
@@ -34,7 +34,6 @@ tl_CHECK_TOOL_PREFIX  dnl recheck, in case the initial guess was wrong
 dnl Check for other programs
 tl_PROG_CXX
 AC_LANG_CPLUSPLUS
-
 dnl Checks for X11
 AC_PATH_X
 AC_PATH_XTRA
@@ -107,6 +106,20 @@ AC_CHECK_PROG(DEBIANDOC_HTML,debiandoc2html,"yes","")
 AC_CHECK_PROG(DEBIANDOC_TEXT,debiandoc2text,"yes","")
 
 dnl Check for YODL
-AC_CHECK_PROG(YODL_MAN,yodl2man,"yes","")
+AC_ARG_WITH(YODL,
+        [  --with-YODL   Use YODL macro processor],
+        [private_YODL=yes],
+        [private_YODL=no])
+if test $private_YODL = yes ;then
+       if test $withval = yes;then
+               AC_MSG_RESULT([checking for yodl2man.. (cmdline) yes])
+               AC_DEFINE_UNQUOTED(YODL_MAN,"yes")
+       else
+               AC_MSG_RESULT([checking for yodl2man.. (cmdline) no])
+#\e[29~         AC_DEFINE_UNQUOTED(YODL_MAN,"")
+       fi
+else
+       AC_CHECK_PROG(YODL_MAN,yodl2man,"yes","")
+fi
 
 AC_OUTPUT(environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in,make dirs)