Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 7dc24c133e0a135ca891e20e62f718660bd49c02 1 parent 35f71a8
@mrash authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 configure.ac
View
9 configure.ac
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.