#51005 [Opn->Ana]: --without-sqlite3 should be --with-sqlite3
ID: 51005
Updated by: rasmus@php.net
Reported By: geissert at debian dot org
-Status: Open
+Status: Analyzed
Bug Type: *Compile Issues
PHP Version: 5.3.1
New Comment:
The option is called --with-sqlite3. That's how autoconf works. You
have --enable/--disable and --with/--without switches. If the feature
is on by default then you use --disable/--without to turn it off. If
the feature is off by default, then it is the opposite. Try it by
using --with-sqlite3=/some/path
But yes, the yes/no responses are messed up when using these.
Previous Comments:
------------------------------------------------------------------------
[2010-02-10 22:09:56] geissert at debian dot org
Description:
------------
I just noticed sqlite3's config0.m4 has an inverted logic:
--without-sqlite3 defaults to yes, which instead of NOT including
sqlite3 it _does_ include it (using the bundled copy).
--without-sqlite3=/foo also makes it include the extension, looking for
the headers under /foo
--without-sqlite3=no does not include it.
IOW: the option should be called --with-sqlite3, not --without-sqlite3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=51005&edit=1
Thread (5 messages)