From f4b219f33a3add21a88a288934e9b9fe317559a9 Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Sun, 25 Jul 2004 19:46:01 +0000 Subject: [PATCH] Allow configure to be ran from another directory (+ make distcheck) --- SRC/plugins/configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SRC/plugins/configure.ac b/SRC/plugins/configure.ac index 02b2e7c..45a3c63 100644 --- a/SRC/plugins/configure.ac +++ b/SRC/plugins/configure.ac @@ -2,8 +2,7 @@ dnl $Id$ m4_include(../configure-common.ac) AM_INIT_AUTOMAKE(foreign) -dnl TODO: writes a LDAP plugin -dnl TODO: write a XML-RPC plugin for Adamsnames' interface +dnl TODO: write a XML-RPC plugin for Adamsnames' interface. See a first version in contrib/ AC_ARG_ENABLE(plugin, [ --enable-plugin=LIST Build only the following plugins], [if test "$enableval" == "no"; then @@ -17,7 +16,7 @@ else fi], plugins="random whois dns postgresql ldap") for plugin in $plugins; do - if test ! -d $plugin ; then + if test ! -d $srcdir/plugins/$plugin ; then AC_MSG_ERROR([No such plugin $plugin]) fi eval ${plugin}_BUILD=1