From: Bill P. <bpr...@sy...> - 2007-01-10 20:08:13
|
If you have pkconfig and sqlite installed, the current "Configure" will ignore a "-U d_sqlite" when it comes to linking. It appears that all of the "C" defines are set to exclude sqlite, but the generated makefiles continue to link. This patch is quite brain dead because I am not very good with scripts and don't know that much about metaconfig. I don't know what the quoting and dollars signs mean. I think the case can be converted to an "if" and there may be even more sane fixes. I also think that the "Configure" is generated from the U directory, but I don't know how to do this either... fwiw, Bill Pringlemeir. Index: U/packages/sqliteconfig.U =================================================================== --- U/packages/sqliteconfig.U (revision 12741) +++ U/packages/sqliteconfig.U (working copy) @@ -43,6 +43,12 @@ sqliteconfig='false' modver='' fi + +case "$d_sqlite" in +"$undef") sqliteconfig='false';; +*) ;; +esac + echo "(I'll use '$sqliteconfig' to gather that information.)" ?X: Make sure we have a good enough version Index: Configure =================================================================== --- Configure (revision 12741) +++ Configure (working copy) @@ -6205,6 +6205,12 @@ sqliteconfig='false' modver='' fi + +case "$d_sqlite" in +"$undef") sqliteconfig='false';; +*) ;; +esac + echo "(I'll use '$sqliteconfig' to gather that information.)" sqlitecflags="" |