From 38649fb7aae587fa00c4912878451bfc36979c61 Mon Sep 17 00:00:00 2001 From: Theo Schlossnagle Date: Mon, 19 Jan 2015 22:55:25 +0000 Subject: [PATCH] pcre libs should be in libs, not ldflags. jlog doesn't need any libs --- configure.in | 3 +-- src/jlog/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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@