AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GOBJECT_REQUIRED)
AC_SUBST(GTK_REQUIRED)
+AC_SUBST(SQLITE3_REQUIRED)
# Checks for programs.
AC_PROG_CC
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
-PKG_CHECK_MODULES([GTK], gtk+-3.0 >= $GTK_REQUIRED)
+PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= $GTK_REQUIRED])
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
+PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= $SQLITE3_REQUIRED])
+AC_SUBST(SQLITE3_LIBS)
+AC_SUBST(SQLITE3_CFLAGS)
+
# Checks for header files.
AC_CHECK_HEADER([assert.h],
AC_DEFINE([HAVE_ASSERT_H], [1], [Define to 1 if you have the <assert.h> header file.]))
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+#include <glib.h>
+#include <glib-object.h>
+#include "sqlite-storage.h"
-int main(int argc, char** argv) {
+gint main(gint argc, gchar** argv) {
return 0;
}
--- /dev/null
+
+#ifndef __SQLITE_STORAGE_H__
+#define __SQLITE_STORAGE_H__
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include <glib.h>
+#include <glib-object.h>
+#include <sqlite3.h>
+
+G_BEGIN_DECLS
+
+G_END_DECLS
+
+#endif
+