projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a63b5db
)
configure: support --with-docs=no
author
David Bremner
<david@tethera.net>
Thu, 30 Jul 2015 06:08:31 +0000
(08:08 +0200)
committer
David Bremner
<david@tethera.net>
Thu, 30 Jul 2015 06:08:31 +0000
(08:08 +0200)
Since we promise --with-foo=no is equivalent to --without-foo
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 1e17b4649f8ebf97f77a5e0b2d0d43e1e9c6f490..c415568cb2ab12d876c78b054a48851da50a5999 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-187,6
+187,12
@@
for option; do
BASHCOMPLETIONDIR="${option#*=}"
elif [ "${option%%=*}" = '--zshcompletiondir' ] ; then
ZSHCOMLETIONDIR="${option#*=}"
+ elif [ "${option%%=*}" = '--with-docs' ]; then
+ if [ "${option#*=}" = 'no' ]; then
+ WITH_DOCS=0
+ else
+ WITH_DOCS=1
+ fi
elif [ "${option}" = '--without-docs' ] ; then
WITH_DOCS=0
elif [ "${option%%=*}" = '--with-emacs' ]; then