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 --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.in') 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 -- cgit v1.2.3