Update autoconf/automake standards

Generated files config.guess config.sub depcomp install-sh ltmain.sh missing
and ylwrap have been moved to build-aux/

Ran autoupdate

Replaced AC_TRY_LINK/AC_TRY_COMPILE by AC_LINK_IFELSE/AC_COMPILE_IFELSE

Droped -I$(top_srcdir)/include from CFLAGS since AC_CONFIG_HEADERS already
adds the -I

Fixed bison detection

Added AM_PROG_AR as required by autoreconf -i -Wall

Updated NEWS and .gitignore
This commit is contained in:
Nirgal Vourgère
2013-07-09 18:39:03 +02:00
parent a021708dae
commit 088493d499
10 changed files with 43 additions and 39 deletions

View File

@@ -4,8 +4,7 @@ include_HEADERS = gmdb.h
gmdb2_SOURCES = main2.c file.c table.c info.c table_def.c table_data.c table_export.c debug.c sql.c schema.c prefs.c
LIBS = -rdynamic $(GNOME_LIBS) @LIBS@ @LEXLIB@
AM_CPPFLAGS = -I$(top_srcdir)/include \
$(GNOME_CFLAGS) \
AM_CFLAGS = $(GNOME_CFLAGS) \
-DDATADIR="\"$(datadir)\"" \
-DGMDB_ICONDIR="\"$(datadir)/gmdb/glade/\"" \
-DGMDB_GLADEDIR="\"$(datadir)/gmdb/glade/\""