Merge Monty
[m6w6/libmemcached] / m4 / pandora_have_sqlite.m4
1 dnl Copyright (C) 2009 Sun Microsystems
2 dnl This file is free software; Sun Microsystems
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
5
6
7 AC_DEFUN([_PANDORA_SEARCH_SQLITE],[
8 AC_REQUIRE([AC_LIB_PREFIX])
9
10 AC_LIB_HAVE_LINKFLAGS(sqlite3,,[
11 #include <stdio.h>
12 #include <sqlite3.h>
13 ],[
14 sqlite3 *db;
15 sqlite3_open(NULL, &db);
16 ])
17
18 AM_CONDITIONAL(HAVE_LIBSQLITE3, [test "x${ac_cv_libsqlite3}" = "xyes"])
19
20 ])
21
22 AC_DEFUN([PANDORA_HAVE_SQLITE],[
23 AC_REQUIRE([_PANDORA_SEARCH_SQLITE])
24 ])