summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------INSTALL2
-rw-r--r--configure.in7
-rw-r--r--tools/notify-dns-slaves.c1
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 <sys/socket.h>
#include <sys/types.h>
+#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>