Commit f09424e5 authored by Murray Cumming's avatar Murray Cumming

configure.ac: Make it more like the gtkmm one.

* configure.ac:
  Use no-dist-gzip dist-xz tar-ustar with AM_INIT_AUTOMAKE.
  Use more compiler warnings and deprecation defines.
  Use MM_CONFIG_DOCTOOL_DIR to make tarball builds easier.
parent 7e9cb981
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
## Copyright (c) 2009-2014 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of cluttermm.
##
......@@ -25,7 +25,7 @@ AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([build])
AC_CONFIG_HEADERS([build/config.h clutter/cluttermmconfig.h])
AM_INIT_AUTOMAKE([1.9 -Wno-portability check-news dist-bzip2 no-define nostdinc tar-ustar])
AM_INIT_AUTOMAKE([1.9 -Wno-portability check-news no-dist-gzip dist-xz tar-ustar no-define nostdinc])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
AM_MAINTAINER_MODE
AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
......@@ -33,6 +33,11 @@ AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
MM_PREREQ([0.8])
MM_INIT_MODULE([cluttermm-1.0])
# Copy the mm-common .pl scripts into docs/,
# and use them from there,
# so we can dist them to avoid a tarball-build dependency.
MM_CONFIG_DOCTOOL_DIR([doc])
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
AC_SUBST([CLUTTERMM_SO_VERSION], [1:0:0])
......@@ -59,8 +64,8 @@ MM_ARG_WITH_TAGFILE_DOC([atkmm-1.6.tag], [atkmm-1.6])
AC_LANG([C++])
MM_ARG_ENABLE_WARNINGS([CLUTTERMM_WXXFLAGS],
[-Wall],
[-Wall -Wextra],
[G PANGO])
[-pedantic -Wall -Wextra -Wformat-security -Wno-long-long -DGSEAL_ENABLE],
[G PANGO ATK GDK GDK_PIXBUF CLUTTER GLIBMM ATKMM PANGOMM CAIROMM SIGCXX])
AC_CONFIG_FILES([Makefile
codegen/Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment