$NetBSD: patch-aa,v 1.18 2007/12/14 08:58:01 bjs Exp $ --- configure.orig 2007-12-12 14:59:50.000000000 -0500 +++ configure @@ -11879,9 +11879,9 @@ fi # Check whether --with-system-pcre was given. if test "${with_system_pcre+set}" = set; then withval=$with_system_pcre; case "$withval" in - (""|yes) with_system_pcre=yes ;; - (no) with_system_pcre=no ;; - (*) { { echo "$as_me:$LINENO: error: --with(out)-system-pcre takes no argument" >&5 + ""|yes) with_system_pcre=yes ;; + no) with_system_pcre=no ;; + *) { { echo "$as_me:$LINENO: error: --with(out)-system-pcre takes no argument" >&5 echo "$as_me: error: --with(out)-system-pcre takes no argument" >&2;} { (exit 1); exit 1; }; } ;; esac @@ -12100,7 +12100,8 @@ echo $ECHO_N "checking for PCRE using pc # automatically. PCRE_LIBS="`pcre-config --libs | \ sed -e 's:-L */usr/lib/*::' -e 's:-R */usr/lib/*::' \ - -e 's:-L */lib/*::' -e 's:-R */lib/*::'`" + -e 's:-L */lib/*::' -e 's:-R */lib/*::'`" + found_libpcre=yes { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; }