ax_lib_sqlite3

Synopsis

AX_LIB_SQLITE3([MINIMUM-VERSION])

Description

Test for the SQLite 3 library of a particular version (or newer)

This macro takes only one optional argument, required version of SQLite 3 library. If required version is not passed, 3.0.0 is used in the test of existence of SQLite 3.

If no installation prefix to the installed SQLite library is given the macro searches under /usr, /usr/local, and /opt.

This macro calls:

  AC_SUBST(SQLITE3_CFLAGS)
  AC_SUBST(SQLITE3_LDFLAGS)
  AC_SUBST(SQLITE3_VERSION)

And sets:

  HAVE_SQLITE3

Source Code

Download the latest version of ax_lib_sqlite3.m4 or browse the macro’s revision history.

License

Copyright © 2008 Mateusz Loskot 

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.