[grilomm] Fix make distcheck



commit 3886cbd5beff97584e660f4c65a0c2a984e1f5f3
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jul 11 11:28:37 2012 +0200

    Fix make distcheck

 configure.ac |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index da2a2ac..87bf5dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@
 ## You should have received a copy of the GNU Lesser General Public License
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-AC_INIT([grilomm], [1.2.3], [https://bugzilla.gnome.org/enter_bug.cgi?product=grilomm],
+AC_INIT([grilomm], [0.1.0], [https://bugzilla.gnome.org/enter_bug.cgi?product=grilomm],
         [grilomm], [http://www.gtkmm.org/])
 AC_PREREQ([2.59])
 
@@ -24,7 +24,7 @@ AC_CONFIG_AUX_DIR([build])
 AC_CONFIG_MACRO_DIR([build])
 AC_CONFIG_HEADERS([build/config.h grilo/grilommconfig.h])
 
-AM_INIT_AUTOMAKE([1.9 -Wno-portability check-news dist-bzip2 no-define nostdinc tar-pax])
+AM_INIT_AUTOMAKE([1.9 -Wno-portability dist-bzip2 no-define nostdinc tar-pax])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
 AM_MAINTAINER_MODE
 AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
@@ -52,9 +52,11 @@ MM_ARG_WITH_TAGFILE_DOC([libsigc++-2.0.tag], [sigc++-2.0])
 MM_ARG_WITH_TAGFILE_DOC([glibmm-2.4.tag], [glibmm-2.4])
 
 AC_LANG([C++])
+
+# We use -Wno-variadic-macros because Grilo has variadic macros in its headers. 
 MM_ARG_ENABLE_WARNINGS([GRILOMM_WXXFLAGS],
                        [-Wall],
-                       [-pedantic -Wall -Wextra  -Wno-long-long -DGSEAL_ENABLE],
+                       [-pedantic -Wall -Wextra -Wno-long-long -Wno-variadic-macros -DGSEAL_ENABLE],
                        [G GRILO])
 
 AC_CONFIG_FILES([Makefile



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