From 2ccb9c81e42a5be5e01c2014dd088272ff1a3bc2 Mon Sep 17 00:00:00 2001 From: Andrea Zagli <azagli@libero.it> Date: Thu, 25 Jul 2013 11:18:58 +0200 Subject: [PATCH] Changes to compile with gtk3 and libgda5. --- configure.ac | 7 +++---- tests/test.c | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 426c6ce..8a994bc 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT([libaute-db], [0.3.0], [azagli@libero.it]) +AC_INIT([libaute-db], [0.5.0], [azagli@libero.it]) AC_CONFIG_SRCDIR([src/aute_db.c]) AC_CONFIG_HEADER([config.h]) @@ -21,9 +21,8 @@ AC_PROG_CC AC_PROG_LIBTOOL # Checks for libraries. -PKG_CHECK_MODULES(LIBAUTEDB, [gtk+-2.0 >= 2.16.0 - libaute >= 0.1.0 - libgtkform >= 0.3.0]) +PKG_CHECK_MODULES(LIBAUTEDB, [libaute >= 0.2.0 + libgtkform >= 0.5.0]) AC_SUBST(LIBAUTEDB_CFLAGS) AC_SUBST(LIBAUTEDB_LIBS) diff --git a/tests/test.c b/tests/test.c index d299560..bcae4fb 100644 --- a/tests/test.c +++ b/tests/test.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Andrea Zagli <azagli@libero.it> + * Copyright (C) 2010-2013 Andrea Zagli <azagli@libero.it> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,9 @@ main (int argc, char **argv) aute = aute_new (); + /* the libaute module to use */ params = g_slist_append (params, argv[1]); + /* the libgda connection string */ params = g_slist_append (params, argv[2]); aute_set_config (aute, params); -- 2.49.0