configure: fix a regression in PCRE v1 detection
[gitweb.git] / configure.ac
index 7f8415140f309e0522310fac3160b5a01cefc7cd..41ceb2ac81ee530d3b0a9ddac8f1ab1d5b4faf11 100644 (file)
@@ -549,8 +549,8 @@ if test -n "$USE_LIBPCRE1"; then
 GIT_STASH_FLAGS($LIBPCREDIR)
 
 AC_CHECK_LIB([pcre], [pcre_version],
-[USE_LIBPCRE=YesPlease],
-[USE_LIBPCRE=])
+[USE_LIBPCRE1=YesPlease],
+[USE_LIBPCRE1=])
 
 GIT_UNSTASH_FLAGS($LIBPCREDIR)