|
[ LIBDB="3" |
|
AC_DEFINE(WITH_DB, 3) |
|
with_db=yes ]) ]) |
That code (setting LIBDB=3 which is later used) was in even before the OC 1.1 merge 26881ab, but it got worse then...
If that enforcement is really needed then configure should error on --without-db, but I see no reason why that should be the case.
Things to do for fixing:
- remove that with_db=yes and LIBDB setting
- if with_db=no skip the BDB checks later on
- ensure that the build system handles that correctly
- ensure that the indexed tests are still skipped if built without INDEXED support (which is commonly NOT needed and then better disabled when using
EXEC SQL)
opensource-cobol/configure.ac
Lines 185 to 187 in b079403
That code (setting LIBDB=3 which is later used) was in even before the OC 1.1 merge 26881ab, but it got worse then...
If that enforcement is really needed then configure should error on --without-db, but I see no reason why that should be the case.
Things to do for fixing:
EXEC SQL)