projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40beabd
)
configure: enable asciidoc/xmlto automatically, if building from .git
author
Marko Kreen
<markokr@gmail.com>
Fri, 3 Sep 2010 10:53:31 +0000
(13:53 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Fri, 3 Sep 2010 10:53:31 +0000
(13:53 +0300)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 6bb42eb4c5fc2a5172d107da55fd148fa6022372..91cc31fe3d9dbd21d7836474ba2bb1062ad2ccaa 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-93,6
+93,18
@@
else
XMLTO="no"
fi
+# when in .git tree, turn asciidoc/xmlto uncondicionally on
+if test -d .git; then
+ if test "$ASCIIDOC" = "no"; then
+ echo "*** Building from GIT requires asciidoc, enabling it ***"
+ ASCIIDOC="asciidoc"
+ fi
+ if test "$XMLTO" = "no"; then
+ echo "*** Building from GIT requires xmlto, enabling it ***"
+ XMLTO="xmlto"
+ fi
+fi
+
AC_USUAL_PORT_CHECK
AC_USUAL_PROGRAM_CHECK
AC_USUAL_HEADER_CHECK