Commit 0e2efdba authored by Philip Withnall's avatar Philip Withnall Committed by Philip Withnall
Browse files

build: Add AX_IS_RELEASE

Automatically turn on or off various release-dependent configure options
based on whether a git directory is present. If it’s present, we assume
we’re doing development, so fatal warnings (etc.) are turned on.
Otherwise, we assume it’s a release and they are turned off.

https://bugzilla.gnome.org/show_bug.cgi?id=756311
parent e5fc19d2
......@@ -8,6 +8,7 @@ AC_INIT([geocode-glib],
[gclib_version_major.gclib_version_minor.gclib_version_micro],
[http://bugzilla.gnome.org/enter_bug.cgi?product=geocode-glib],
[geocode-glib])
AX_IS_RELEASE([git-directory])
AC_CONFIG_SRCDIR([geocode-glib/test-gcglib.c])
AC_CONFIG_HEADERS([config.h])
......
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