As reported in pre1, specifying more than two database types yields an
error:
../configure --with-database=berkdb,dbm,gnudbm
../configure:
Usage error:
The `--with-database' option value
must be either `no' or a comma-separated list
of one or more of `berkdb', `dbm', or `gnudbm'.
Use `../configure --help' to show usage.
The problem is the separation of the values only replaces the first comma
instead of all of them:
for x in `echo "$val" | sed -e 's/,/ /'` ; do
Here is a patch to fix the problem:
--- configure.in~orig Thu Jul 9 22:58:19 1998
+++ configure.in Thu Jul 9 22:58:30 1998
@@ -570,7 +570,7 @@
with_database_berkdb=no
with_database_dbm=no
with_database_gnudbm=no
- for x in `echo "$val" | sed -e 's/,/ /'` ; do
+ for x in `echo "$val" | sed -e 's/,/ /g'` ; do
case "$x" in
no ) ;;
b | be | ber | berk | berkd | berkdb ) with_database_berkdb=yes ;;