From: Adam Dickmeiss Date: Tue, 13 Jun 2006 14:11:20 +0000 (+0000) Subject: Do not abort configure if no --enable-mod-- is given and the module X-Git-Tag: before.bug.529~39 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f3b9f5e6291ec8a4d29a379914ad875ec4872adc;p=idzebra-moved-to-github.git Do not abort configure if no --enable-mod-- is given and the module can not be enabled (bug introduced in 1.14 of configure.ac). --- diff --git a/configure.ac b/configure.ac index b50b23b..ae960fa 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Zebra, Index Data ApS, 1995-2006 -dnl $Id: configure.ac,v 1.15 2006-06-13 12:03:58 adam Exp $ +dnl $Id: configure.ac,v 1.16 2006-06-13 14:11:20 adam Exp $ dnl AC_PREREQ(2.59) AC_INIT([idzebra],[1.4.1],[adam@indexdata.dk]) @@ -287,7 +287,7 @@ AC_DEFUN([ZEBRA_MODULE],[ fi fi m=`echo $1|tr .- __` - if test "$myen" = "no"; then + if test "$myen" = "no" -o "$myen" = "disabled"; then AC_MSG_RESULT([disabled]) elif test "$2" = "disabled"; then AC_MSG_RESULT([disabled]) @@ -295,7 +295,7 @@ AC_DEFUN([ZEBRA_MODULE],[ elif test "$myen" = "shared"; then AC_MSG_RESULT([shared]) SHARED_MODULE_LA="${SHARED_MODULE_LA} mod-$1.la" - elif test "$myen" = "static" -o "$myen" = "yes"; then + elif test "$myen" = "static"; then AC_MSG_RESULT([static]) STATIC_MODULE_OBJ="${STATIC_MODULE_OBJ} \$(mod_${m}_la_OBJECTS)" STATIC_MODULE_LADD="${STATIC_MODULE_LADD} \$(mod_${m}_la_LADD)"