|
From: Dan W. <db...@ca...> - 2008-04-30 13:52:27
|
Hello, After some recent mucking around, I seem to have found a bug in the configure script for the relatively recent libdbi-drivers version 0.8.3-1. Basically, linking against libdbi is now the default option, but the old --enable-libdbi option is now broken and is in fact analogous to the new option --disable-libdbi, and therefore does exactly the opposite of what one would want. More precisely --disable-libdbi is treated as --enable-libdbi=no and --enable-libdbi is treated as --enable-libdbi=yes (a now redundant option) but the configure script only checks if --enable-libdbi is set without checking the actual value. If it is set AT ALL, linking is disabled. In other words, and to repeat, --enable-libdbi --enable-libdbi=yes --enable-libdbi=no --disable-libdbi all result in no linking. Attached is fixed version of configure. I am not sure how helpful it will be when using autoconf, but it's at least a start. Thanks, DW |