# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT([libgtkform], [0.2.0], [azagli@libero.it])
+AC_INIT([libgtkform], [0.3.0], [azagli@libero.it])
AC_CONFIG_SRCDIR([src/form.c])
AC_CONFIG_HEADER([config.h])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE(-Wall)
+
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
AM_MAINTAINER_MODE
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
# Checks for libraries.
PKG_CHECK_MODULES(GTKFORM, [gtk+-2.0 >= 2.12.0
libxml-2.0 >= 2.0.0
- libgdaex >= 0.1.0
+ libgdaex >= 0.3.0
libgda-4.0 >= 4.2.3])
AC_SUBST(GTKFORM_CFLAGS)
#include <glib.h>
-#include <libgdaex.h>
+#include <libgdaex/libgdaex.h>
#include "widget.h"
#ifndef __LIBGTK_FORM_FIELD_BOOLEAN_H__
#define __LIBGTK_FORM_FIELD_BOOLEAN_H__
-#include <libgdaex.h>
-
#include "field.h"
#ifndef __LIBGTK_FORM_FIELD_DATETIME_H__
#define __LIBGTK_FORM_FIELD_DATETIME_H__
-#include <libgdaex.h>
-
#include "field.h"
#ifndef __LIBGTK_FORM_FIELD_FLOAT_H__
#define __LIBGTK_FORM_FIELD_FLOAT_H__
-#include <libgdaex.h>
-
#include "field.h"
#ifndef __LIBGTK_FORM_FIELD_INTEGER_H__
#define __LIBGTK_FORM_FIELD_INTEGER_H__
-#include <libgdaex.h>
-
#include "field.h"
#ifndef __LIBGTK_FORM_FIELD_TEXT_H__
#define __LIBGTK_FORM_FIELD_TEXT_H__
-#include <libgdaex.h>
-
#include "field.h"
#include <glib.h>
-#include <libgdaex.h>
-
#include "widget.h"
#include "field.h"
#include <sql-parser/gda-sql-parser.h>
-#include <libgdaex.h>
-
#include "form.h"
#include "widget.h"
#include "field.h"
#include <glib.h>
#include <gtk/gtk.h>
+#include <libgdaex/libgdaex.h>
G_BEGIN_DECLS
#ifndef __LIBGTK_FORM_WIDGET_COMBO_BOX_H__
#define __LIBGTK_FORM_WIDGET_COMBO_BOX_H__
-#include <libgdaex.h>
-
#include "widget.h"
#include <gtk/gtk.h>
-#include <libgdaex.h>
+#include <libgdaex/libgdaex.h>
#include "form.h"
#include "field.h"