Permalink
Browse files

Bug fix for USE_NDBM variable so that client-only builds work. The sp…

…ecific

error before the patch along with the command line invocation of the
"configure" script appear below:

$ ./configure --prefix=/usr --disable-server
[...]
configure: error: conditional "USE_NDBM" was never defined.
Usually this means the macro was only invoked conditionally.




git-svn-id: file:///home/mbr/svn/fwknop/trunk@272 510a4753-2344-4c79-9c09-4d669213fbeb
  • Loading branch information...
1 parent 35f71a8 commit 7dc24c133e0a135ca891e20e62f718660bd49c02 @mrash committed Jul 29, 2010
Showing with 7 additions and 2 deletions.
  1. +7 −2 configure.ac
View
@@ -228,8 +228,13 @@ dnl
AC_DEFINE_UNQUOTED([IPFW_EXE], ["$IPFW_EXE"], [Path to ipfw executable])
ipfw_exe=$IPFW_EXE
], [ ipfw_exe="(not found)"]
- )
-])
+ )],
+
+ [test "$want_server" = no], [
+ use_ndbm=no
+ AM_CONDITIONAL([USE_NDBM], [test x$use_ndbm = xno])
+ ]
+)
AC_CONFIG_FILES([Makefile
lib/Makefile

0 comments on commit 7dc24c1

Please sign in to comment.