summaryrefslogtreecommitdiff
blob: 7862a3534b9e9dc3593ebe4a864e79940ba1809b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: chktex-1.7.1/configure.in
===================================================================
--- chktex-1.7.1.orig/configure.in
+++ chktex-1.7.1/configure.in
@@ -173,7 +173,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-posix)"
-    LDFLAGS="${LDFLAGS} $(pcre-config --libs-posix)"
+    LIBS="${LIBS} $(pcre-config --libs-posix)"
   else
     AC_DEFINE(HAVE_PCRE, 0, "Whether PCRE can be used for user warnings.")
     AC_MSG_WARN(PCRE library not found.)