diff --git a/configure.in b/configure.in index 3b64d9b1c..056eac355 100755 --- a/configure.in +++ b/configure.in @@ -280,8 +280,7 @@ AC_CHECK_LIB(termcap, tputs, , ) AC_CHECK_LIB(curses, clear, , [AC_MSG_ERROR([curses not found, but required])]) CPPFLAGS="$CPPFLAGS `pcre-config --cflags`" -LDFLAGS="$LDFLAGS `pcre-config --libs`" -SHLDFLAGS="$SHLDFLAGS `pcre-config --libs`" +LIBS="$LIBS `pcre-config --libs`" AC_CHECK_LIB(pcre, pcre_compile, , [ AC_MSG_ERROR([libpcre not found, but required]) diff --git a/src/jlog/Makefile.in b/src/jlog/Makefile.in index 1ba086ba3..3e29558ca 100644 --- a/src/jlog/Makefile.in +++ b/src/jlog/Makefile.in @@ -7,7 +7,7 @@ CFLAGS=@CFLAGS@ LDFLAGS=@LDFLAGS@ AR=@AR@ RANLIB=@RANLIB@ -LIBS=@LIBS@ +LIBS= INSTALL=@INSTALL@ SHLD=@SHLD@ PERL=@PERL@