summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ae1dc99..e2cf57b 100644
--- a/configure.in
+++ b/configure.in
@@ -141,7 +141,6 @@ AX_LIB_EXPAT()
if test "$HAVE_EXPAT" = yes; then
CONFIG_CXXFLAGS="$CONFIG_CXXFLAGS $EXPAT_CFLAGS"
CONFIG_LDFLAGS="$CONFIG_LDFLAGS $EXPAT_LDFLAGS"
- CONFIG_LIBS="$EXPAT_LIBS $CONFIG_LIBS"
AC_DEFINE(HAVE_EXPAT)
fi
@@ -172,6 +171,9 @@ if test "$HAVE_OPENSSL" = yes; then
AC_DEFINE(HAVE_OPENSSL)
fi
+# Resolv
+AC_CHECK_LIB(resolv, inet_aton)
+
################################################################################
# Build configuration summary
################################################################################
@@ -204,6 +206,7 @@ AC_SUBST(MM)
AC_SUBST(CONFIG_CFLAGS)
AC_SUBST(CONFIG_LDFLAGS)
AC_SUBST(CONFIG_LIBS)
+AC_SUBST(LIBS)
AC_SUBST(CONFIG_WIN32)
AC_SUBST(CONFIG_MACOSX)
AC_SUBST(CONFIG_HAVE_OPENSSL)