diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-10-26 16:46:09 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-10-26 16:46:09 +0000 |
commit | 68d1c094db86d06e49cbb992fce51aa742418476 (patch) | |
tree | f74e5791a18579b178c389b7aceb7e7f2653f3ea /Src/Modules/pcre.mdd | |
parent | 31c422299de16868143a95da97f8de33e7a2880d (diff) | |
download | zsh-68d1c094db86d06e49cbb992fce51aa742418476.tar.gz zsh-68d1c094db86d06e49cbb992fce51aa742418476.tar.xz zsh-68d1c094db86d06e49cbb992fce51aa742418476.zip |
29865: don't compile pcre if no pcre-config
Diffstat (limited to 'Src/Modules/pcre.mdd')
-rw-r--r-- | Src/Modules/pcre.mdd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/pcre.mdd b/Src/Modules/pcre.mdd index 3e1579117..6eb3c691b 100644 --- a/Src/Modules/pcre.mdd +++ b/Src/Modules/pcre.mdd @@ -1,5 +1,5 @@ name=zsh/pcre -link=`if test x$enable_pcre = xyes; then echo dynamic; else echo no; fi` +link=`if test x$enable_pcre = xyes && (pcre-config --version >/dev/null 2>/dev/null); then echo dynamic; else echo no; fi` load=no autofeatures="b:pcre_compile b:pcre_study b:pcre_match" |