[hitori] Clean up configure.ac some more



commit 1f053c25631ad5021457e2314286ecd0bfd4fdca
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Oct 17 20:17:33 2010 +0100

    Clean up configure.ac some more
    
    Also enable deprecation flags and stricter compiler warnings.

 Makefile.am  |    6 +++++-
 configure.ac |    8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b406759..9aa4ebf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,10 +18,14 @@ src_hitori_CPPFLAGS = \
 	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
 	-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+	$(DISABLE_DEPRECATED) \
 	$(NULL)
 
 src_hitori_LDADD = $(GENERAL_LIBS)
-src_hitori_CFLAGS = $(GENERAL_CFLAGS)
+src_hitori_CFLAGS = \
+	$(GENERAL_CFLAGS) \
+	$(WARN_CFLAGS) \
+	$(NULL)
 
 if DEBUG
 src_hitori_CFLAGS += \
diff --git a/configure.ac b/configure.ac
index e2f062a..9bb66ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,15 +1,19 @@
-AC_INIT([hitori],[0.2.4])
+AC_INIT([Hitori],[0.2.4],[https://bugzilla.gnome.org/enter_bug.cgi?product=hitori],[hitori],[http://live.gnome.org/Hitori])
 
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AM_INIT_AUTOMAKE([check-news dist-bzip2 subdir-objects])
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE
 
 AC_PROG_CC
+AM_PROG_CC_C_O
 AC_PROG_CPP
 LT_INIT
 
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
+GNOME_COMPILE_WARNINGS([maximum])
+GNOME_MAINTAINER_MODE_DEFINES
+
 dnl ***************************************************************************
 dnl Options
 dnl ***************************************************************************



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]