#35876 [Opn->Bgs]: error in configure.js

From: Date: Tue, 03 Jan 2006 07:50:54 +0000
Subject: #35876 [Opn->Bgs]: error in configure.js
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91372@lists.php.net to get a copy of this message
 ID:               35876
 Updated by:       sniper@php.net
 Reported By:      marco-glatz at web dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         SQLite related
 Operating System: windows
 PHP Version:      5.1.1
 New Comment:

1.) There doesn't need to be space. If there was, it propably would
fail too. 
2.) That's intentional


Previous Comments:
------------------------------------------------------------------------

[2006-01-03 04:09:06] marco-glatz at web dot de

Description:
------------
when building php with "--with-sqlite", there's an error in
configure.js:

if (FSO.FileExists(configure_module_dirname +
"\\..\\pdo\\php_pdo_driver.h")) {
		PHP_SQLITE2_PDO_CFLAGS = " /DPHP_SQLITE2_HAVE_PDO=1 /I " +
configure_module_dirname + "\\..";
		ADD_EXTENSION_DEP('sqlite', 'pdo')
	} else {
		PHP_SQLITE2_PDO_CFLAGS = "";
	}


1. there's no space between /D and PHP_SQLITE2_HAVE_PDO
2. PHP_SQLITE2_HAVE_PDO is always set to 1, even if i haven't set
"--enable-pdo" and "--with-dpo-sqlite" and therefore i get a
linker-error "unresolved symbol _php_pdo_*"

i modified my configure.js but with no luck, php always wants to build
with pdo



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35876&edit=1


Thread (2 messages)

« previous php.bugs (#91372) next »