From 102b6d7ff290a3df504915363bdf2268553e5f87 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 9 Jun 2008 22:23:29 +0000 Subject: Build fixes for FreeBSD --- INSTALL | 2 +- configure.in | 7 ++++++- tools/notify-dns-slaves.c | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/INSTALL b/INSTALL index 5bb6e7b..fbcd9e5 120000 --- a/INSTALL +++ b/INSTALL @@ -1 +1 @@ -/usr/share/automake-1.10/INSTALL \ No newline at end of file +/usr/local/share/automake-1.9/INSTALL \ No newline at end of file diff --git a/configure.in b/configure.in index b4bb00d..d17e554 100644 --- a/configure.in +++ b/configure.in @@ -39,7 +39,10 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(slapi-dnsnotify, 0.1, stef@memberwebs.com) AM_INIT_AUTOMAKE(slapi-dnsnotify, 0.1) -AC_CONFIG_SRCDIR([plugin/slapi-dnsnotify.c]) +LDFLAGS="$LDFLAGS -L/usr/local/lib" +CFLAGS="$CFLAGS -I/usr/local/include" + +AC_CONFIG_SRCDIR([plugin/plugin.c]) AM_CONFIG_HEADER([config.h]) # Checks for programs. @@ -48,6 +51,8 @@ AC_PROG_LIBTOOL AC_PROG_INSTALL AC_PROG_LN_S + + ACX_PTHREAD( , [echo "ERROR: Pthread support not found."; exit 1] ) # Note: We can't really check for libslapi as it's a library internal diff --git a/tools/notify-dns-slaves.c b/tools/notify-dns-slaves.c index 4af4b8c..63d1d9a 100644 --- a/tools/notify-dns-slaves.c +++ b/tools/notify-dns-slaves.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3