summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Morante <daniel@morante.net>2020-08-09 21:58:37 -0400
committerAmar Tumballi <amar@kadalu.io>2020-08-20 09:30:17 +0000
commitdc515feae51e247270bb440e40b8346eb3af7b46 (patch)
tree47a040ede1dda6563bfcf0ab5095fd5b4acee427 /configure.ac
parent097db13c11390174c5b9f11aa0fd87eca1735871 (diff)
Remove need for /proc on FreeBSD
Change-Id: Ieebd9a54307813954011ac8833824831dce6da10 Fixes: #1376
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1725301d524..13d439e0f93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1579,6 +1579,13 @@ AC_SUBST(AM_LIBTOOLFLAGS)
AC_SUBST(GF_NO_UNDEFINED)
AC_SUBST(GF_XLATOR_DEFAULT_LDFLAGS)
AC_SUBST(GF_XLATOR_LDFLAGS)
+AC_SUBST(GF_XLATOR_MGNT_LIBADD)
+
+case $host_os in
+ *freebsd*)
+ GF_XLATOR_MGNT_LIBADD="-lutil -lprocstat"
+ ;;
+esac
CONTRIBDIR='$(top_srcdir)/contrib'
AC_SUBST(CONTRIBDIR)