diff options
| author | David Bremner <david@tethera.net> | 2015-07-30 08:08:31 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-07-30 08:08:31 +0200 |
| commit | a57b3d43033103a1efda78ab2e5f273c217a1834 (patch) | |
| tree | e3767692405017d8765b3b4c1d259ccf05a55c67 | |
| parent | a63b5db87340ce6f031b7a20f40754995ad95ce4 (diff) | |
configure: support --with-docs=no
Since we promise --with-foo=no is equivalent to --without-foo
| -rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |
