From d8d1ca61516d2fc247554507ea1c6379f780e3cf Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 29 Jun 2009 10:43:57 +0000 Subject: Reworked the estream memory buffer allocation. Committed already posted patches for the v2 card. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7c6037c2c..bc7ba2095 100644 --- a/configure.ac +++ b/configure.ac @@ -820,11 +820,13 @@ AC_ARG_WITH(adns, CPPFLAGS="${CPPFLAGS} -I$withval/include" LDFLAGS="${LDFLAGS} -L$withval/lib" fi]) -AC_CHECK_HEADERS(adns.h, +if test "$with_adns" != "no"; then + AC_CHECK_HEADERS(adns.h, AC_CHECK_LIB(adns, adns_init, [have_adns=yes], [CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}]), [CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}]) +fi if test "$have_adns" = "yes"; then ADNSLIBS="-ladns" fi -- cgit v1.2.3