summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-01-29 14:21:06 +0100
committerAndrea Canciani <ranma42@gmail.com>2010-01-29 14:25:15 +0100
commit11a120fb8477910f5ac63dc1ebde45c276764783 (patch)
tree97192360acf1154ebadfd3b7f67db17d641558d0 /configure.ac
parent05d4f9b461749f129b17cc97d6e3e6b49fe8e8d9 (diff)
Silence autoconf on Mac OS X
Autoconf was complaining that AC_COMPILE_IFELSE and AC_RUN_IFELSE were called before AC_GNU_SOURCE. Moving AC_GNU_SOURCE right after AC_INIT solves this.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 713b5c205..626bf1403 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,7 @@ CAIRO_PARSE_VERSION
AC_INIT([cairo],
[cairo_version_major.cairo_version_minor.cairo_version_micro],
[http://bugs.freedesktop.org/enter_bug.cgi?product=cairo])
+AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
AC_CONFIG_SRCDIR(src/cairo.h)
AC_CONFIG_HEADERS(config.h)
@@ -15,7 +16,6 @@ DOLT dnl Make my libtool fast!
GTK_DOC_CHECK([1.6])
AC_SYS_LARGEFILE
-AC_GNU_SOURCE
dnl ===========================================================================
dnl