Fix bug in DOLDA_ENABLE.
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 14 Aug 2007 17:31:15 +0000 (19:31 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 14 Aug 2007 17:31:25 +0000 (19:31 +0200)
acinclude.m4

index 714a850..5589ce6 100644 (file)
@@ -43,7 +43,7 @@ if test "[$enable_][$1]" = yes; then
                        AC_MSG_ERROR([*** cannot enable $1 without $var])
                fi
        done
-else
+elif test -z "[$enable_][$1]"; then
        ifelse([$3], yes, [dnl
        [enable_][$1]=yes
        for var in [$4]; do