Index: chktex-1.7.0/configure.in =================================================================== --- chktex-1.7.0.orig/configure.in +++ chktex-1.7.0/configure.in @@ -107,7 +107,7 @@ if test "$enable_pcre" = "yes"; then if test "$WITH_PCRE" = "yes"; then AC_DEFINE(HAVE_PCRE, 1, "Whether PCRE can be used for user warnings.") CFLAGS="${CFLAGS} $(pcre-config --cflags)" - LDFLAGS="${LDFLAGS} $(pcre-config --libs)" + LIBS="${LIBS} $(pcre-config --libs)" else AC_DEFINE(HAVE_PCRE, 0, "Whether PCRE can be used for user warnings.") warn_pcre="PCRE library not found. This will result in user regular expression tests being ignored."