[cairo-commit] configure.ac

Andrea Canciani ranma42 at kemper.freedesktop.org
Fri Jan 29 05:25:22 PST 2010


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11a120fb8477910f5ac63dc1ebde45c276764783
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Fri Jan 29 14:21:06 2010 +0100

    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.

diff --git a/configure.ac b/configure.ac
index 713b5c2..626bf14 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


More information about the cairo-commit mailing list