Ticket #2067 (closed defect: fixed)

Opened 7 months ago

Last modified 2 months ago

configure detects SQLite even if not available

Reported by: mloskot Assigned to: mloskot
Priority: normal Milestone: 1.5.0
Component: ConfigBuild Version: svn-trunk
Severity: normal Keywords: sqlite
Cc:

Description

I use Ubuntu 7.04 and have only libsqlite3 package installed but libsqlite3-dev is not installed.

Running following command:

./configure --with-sqlite
...
checking for curl-config... no
checking Checking for SQLite... enabled
checking Checking for DWGdirect... disabled
...
  DODS support:              no
  SQLite support:            yes
  DWGdirect support          no
...

As the output says, SQLite is reported as detected and enabled. Certainly, this is incorrect because no dev files are available and SQLite detection should fail.

Change History

12/06/07 19:18:30 changed by mloskot

  • status changed from new to assigned.
  • owner changed from warmerdam to mloskot.
  • milestone set to 1.5.0.

12/06/07 19:21:22 changed by mloskot

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in trunk (r13276)

Added new macro ax_lib_sqlite3.m4 that defines --with-sqlite3 option instead of --with-sqlite. IMHO, it is more explicit about which line of SQLite is required.

05/08/08 21:44:29 changed by mloskot

Just a link to duplicate but older report as #2015