# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT([libzakaudit], [0.3.0], [azagli@libero.it])
+AC_INIT([libzakaudit], [0.5.0], [azagli@libero.it])
AC_CONFIG_SRCDIR([src/audit.c])
AC_CONFIG_HEADER([config.h])
AC_PROG_LIBTOOL
# Checks for libraries.
-GDAEX_REQUIRED=0.2.0
dnl Check for pkgconfig first
AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
AC_MSG_ERROR(you need to have pkgconfig installed !)
fi
-PKG_CHECK_MODULES(LIBZAKAUDIT, gtk+-2.0 >= 2.20
- libgdaex >= $GDAEX_REQUIRED)
+PKG_CHECK_MODULES(LIBZAKAUDIT, [libgdaex >= 0.5.0])
AC_SUBST(LIBZAKAUDIT_CFLAGS)
AC_SUBST(LIBZAKAUDIT_LIBS)
Name: @PACKAGE_NAME@
Description: Database auditing
Version: @PACKAGE_VERSION@
-Requires: libgdaex
+Requires: libgdaex >= 0.5.0
Libs: -L${libdir} -lzakaudit
Cflags: -I${includedir}
/*
* test1.c
*
- * Copyright (C) 2005-2010 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2005-2013 Andrea Zagli <azagli@libero.it>
*
* This file is part of libaudit.
*
GdaSqlParser *parser;
GdaStatement *stmt;
- g_type_init ();
-
audit = zak_audit_new_from_string ("PostgreSQL://postgres:postgres@HOST=localhost;DB_NAME=audit");
if (audit == NULL)