about summary refs log tree commit diff
path: root/zshconfig.ac
diff options
context:
space:
mode:
Diffstat (limited to 'zshconfig.ac')
-rw-r--r--zshconfig.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshconfig.ac b/zshconfig.ac
index 6019d6f4f..83b7620c1 100644
--- a/zshconfig.ac
+++ b/zshconfig.ac
@@ -644,7 +644,7 @@ AC_CHECK_LIB(cap, cap_get_proc)
 AC_CHECK_LIB(socket, socket)
 
 dnl pcre-config should probably be employed here
-AC_CHECK_LIB(pcre, pcre_compile)
+AC_SEARCH_LIBS(pcre_compile, pcre)
 
 dnl ---------------------
 dnl CHECK TERMCAP LIBRARY