Ticket #2067 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

configure detects SQLite even if not available

Reported by: mloskot Owned by: 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

Changed 5 years ago by mloskot

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

Changed 5 years ago 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.

Changed 5 years ago by mloskot

Just a link to duplicate but older report as #2015

Note: See TracTickets for help on using tickets.