[cogl/cogl-1.12: 1/7] configure: use AC_GNU_SOURCE
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.12: 1/7] configure: use AC_GNU_SOURCE
- Date: Wed, 15 Aug 2012 16:55:12 +0000 (UTC)
commit 470273db7e51428715992772c8945d6ac007597c
Author: Robert Bragg <robert linux intel com>
Date: Wed Aug 15 13:19:22 2012 +0100
configure: use AC_GNU_SOURCE
This adds the AC_GNU_SOURCE macro to configure.ac to ensure _GNU_SOURCE
is defined while compiling Cogl. This is required to use memmem for
example.
Reviewed-by: Neil Roberts <neil linux intel com>
(cherry picked from commit 1ed717dc12fc4d2cb49010232de93ff46684aa6a)
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d3cc31b..e5d7169 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,7 @@ AC_CONFIG_SRCDIR(cogl/cogl.h)
AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([build/autotools])
AC_CONFIG_HEADERS(config.h)
+AC_GNU_SOURCE
dnl ================================================================
dnl Required versions for dependencies
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]