diff --git a/Makefile.am b/Makefile.am index ed2cf6c7dd..9af3d2a7cc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -146,7 +146,8 @@ LIBS = \ @MATH_LIBS@ \ @OPENSSL_LIBS@ \ @ICU_LIBS@ \ - @ZLIB_LIBS@ + @ZLIB_LIBS@ \ + @LIBS@ ## ----------------------------------------------------------------------------- ## --SECTION-- LIBRARIES & PROGRAMS diff --git a/Makefile.in b/Makefile.in index d6366a46a3..7b4bada299 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1000,7 +1000,8 @@ LIBS = \ @MATH_LIBS@ \ @OPENSSL_LIBS@ \ @ICU_LIBS@ \ - @ZLIB_LIBS@ + @ZLIB_LIBS@ \ + @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ diff --git a/configure b/configure index eddbb375bd..ace569dd8a 100755 --- a/configure +++ b/configure @@ -8435,6 +8435,7 @@ LIB_INFO="$LIB_INFO|ZLIB_LIBS: ${ZLIB_LIBS}" LIBS="$LIBS -lresolv" + BUILD_H="\$(top_srcdir)/build.h" diff --git a/configure.ac b/configure.ac index ac804546d9..6cdc1ca0ac 100644 --- a/configure.ac +++ b/configure.ac @@ -684,6 +684,7 @@ dnl resolv dnl ---------------------------------------------------------------------------- LIBS="$LIBS -lresolv" +AC_SUBST(LIBS) dnl ============================================================================ dnl --SECTION-- GENERATE FILES