commit - 992e786b8f5cf5352f511063a514244871b1aeba
commit + 7d147f690c96cc424ce3fd78b12b43877ae8a6eb
blob - 18e3b9fa48ea95ade2ce6230d07557de4274bdcf
blob + 11c980256f2b2e1e96780971d892ff5e672f13f5
--- configure.ac
+++ configure.ac
sysconf \
wcwidth \
])
+
+AC_CHECK_DECL(
+ RB_GENERATE_STATIC,
+ found_sys_tree_h=yes,
+ found_sys_tree_h=no,
+ [#include <sys/tree.h>]
+)
AM_CONDITIONAL([HAVE_SETPROCTITLE], [test "x$ac_cv_func_setproctitle" = xyes])
AC_SUBST(libbsd_CFLAGS)
AC_SUBST(libbsd_LIBS)
AC_DEFINE([HAVE_LIBBSD], [1], [BSD UUID])
+ AC_DEFINE([HAVE_TREE_H], [test x"$found_sys_tree_h" = "xyes"], [HAVE_TREE_H])
],
[
AC_MSG_ERROR("*** couldn't find libbsd-overlay via pkg-config")
AC_MSG_ERROR("*** sys/queue.h missing key defines ***)
fi
-AC_CHECK_DECL(
- RB_GENERATE_STATIC,
- found_sys_tree_h=yes,
- found_sys_tree_h=no,
- [#include <sys/tree.h>]
-)
-
-
# Look for crypto (part of openssl)
# Note: libcrypto (via openssl) has a .pc file in pretty-much all distros and
# BSDs which we support.