configure script produces invalid warning with parameter "--with-gdbm"
Brought to you by:
edscott
When the libdbh2-5.0.22 configure script is executed with the "--help" parameter, it says
--with-gdbm build examples which require gdbm (default=no)
When the libdbh2-5.0.22 configure script is executed with this parameter , it complains
configure: WARNING: unrecognized options: --with-gdbm
This issue arrises because "--with-gdbm" has not NOT been added to the list of valid parameters due to apparent cut'n'paste carelessness in the configure.ac file, so the following patch needs to be applied to configure.ac
--- configure.ac.orig 2016-09-22 16:18:21.000000000 +0100
+++ configure.ac 2016-09-22 16:18:21.000000000 +0100
@@ -124,7 +124,7 @@
AC_ARG_WITH(examples, [ --with-examples build example programs (required for test) (default=no)])
AC_ARG_WITH(glib, [ --with-glib build examples which require glib (default=no)])
-AC_ARG_WITH(glib, [ --with-gdbm build examples which require gdbm (default=no)])
+AC_ARG_WITH(gdbm, [ --with-gdbm build examples which require gdbm (default=no)])
if test "$with_gdbm" != "yes"; then
with_gdbm=no
fi
and then run autogen.sh to create the corrected configure script.
fixed in git revision 8b9106a..2c364f2