It does check for include files.
LDNSDIR="$ldns_dev_dir"
else
AC_MSG_RESULT([no])
+ AC_CHECK_LIB(ldns, ldns_rr_new,, [
+ AC_MSG_ERROR([Can't find ldns library])
+ ]
+ )
fi
-AC_CHECK_LIB(ldns, ldns_rr_new,, [
- AC_MSG_ERROR([Can't find ldns library])
- ]
-)
-
AC_SUBST(LDNSDIR)
AC_ARG_WITH(ldns, AC_HELP_STRING([--with-ldns=PATHNAME],[]))
AC_CHECK_HEADER(ldns/ldns.h,, [
- AC_MSG_ERROR([Can't find ldns headers])
+ AC_MSG_ERROR([Can't find ldns headers (make copy-headers in devel source)])
], [AC_INCLUDES_DEFAULT]
)
AC_CHECK_FUNCS(isblank)
LDNSDIR="$ldns_dev_dir"
else
AC_MSG_RESULT([no])
+ AC_CHECK_LIB(ldns, ldns_rr_new,, [
+ AC_MSG_ERROR([Can't find ldns library])
+ ]
+ )
fi
-AC_CHECK_LIB(ldns, ldns_rr_new,, [
- AC_MSG_ERROR([Can't find ldns library])
- ]
-)
-
AC_SUBST(LDNSDIR)
AC_CHECK_HEADER(ldns/ldns.h,, [
- AC_MSG_ERROR([Can't find ldns headers])
+ AC_MSG_ERROR([Can't find ldns headers (make copy-headers in devel source.)])
], [AC_INCLUDES_DEFAULT]
)
LDNSDIR="$ldns_dev_dir"
else
AC_MSG_RESULT([no])
+ AC_CHECK_LIB(ldns, ldns_rr_new,, [
+ AC_MSG_ERROR([Can't find ldns library])
+ ]
+ )
fi
-AC_CHECK_LIB(ldns, ldns_rr_new,, [
- AC_MSG_ERROR([Can't find ldns library])
- ]
-)
-
AC_SUBST(LDNSDIR)
AC_CHECK_HEADER(ldns/ldns.h,, [
LDNSDIR="$ldns_dev_dir"
else
AC_MSG_RESULT([no])
+ AC_CHECK_LIB(ldns, ldns_rr_new,, [
+ AC_MSG_ERROR([Can't find ldns library])
+ ]
+ )
fi
-AC_CHECK_LIB(ldns, ldns_rr_new,, [
- AC_MSG_ERROR([Can't find ldns library])
- ]
-)
-
AC_SUBST(LDNSDIR)
AC_CHECK_HEADER(ldns/ldns.h,, [