~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_sqlite.m4

  • Committer: Monty Taylor
  • Date: 2009-07-14 22:35:09 UTC
  • mto: (1093.1.16 captain)
  • mto: This revision was merged to the branch mainline in revision 1097.
  • Revision ID: mordred@inaugust.com-20090714223509-og937ckubmxomn89
pandora-buildĀ v0.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
])