diff -Nru oops-1.5.23.orig/configure.in oops-1.5.23/configure.in --- oops-1.5.23.orig/configure.in 2007-11-20 22:47:27.000000000 +0200 +++ oops-1.5.23/configure.in 2007-11-20 22:58:42.000000000 +0200 @@ -454,14 +454,7 @@ AC_DEFINE(REGEX_H, ) ;; pcre) - if test -r "/usr/lib/libpcreposix.a" -a -r "/usr/lib/libpcre.a"; then - LIBS="$LIBS /usr/lib/libpcreposix.a /usr/lib/libpcre.a" - elif test -r "/usr/local/lib/libpcreposix.a" -a -r "/usr/local/lib/libpcre.a"; then - LIBS="$LIBS /usr/local/lib/libpcreposix.a /usr/local/lib/libpcre.a" - fi - if test "X`echo $CFLAGS | grep '\-I/usr/local/include'`" = "X"; then - CFLAGS="$CFLAGS -I/usr/local/include" - fi + LIBS="$LIBS -lpcreposix" AC_DEFINE(REGEX_H, ) ;; builtin)