mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
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)
This commit is contained in:
parent
57f420e21e
commit
470273db7e
@ -77,6 +77,7 @@ AC_CONFIG_SRCDIR(cogl/cogl.h)
|
|||||||
AC_CONFIG_AUX_DIR([build])
|
AC_CONFIG_AUX_DIR([build])
|
||||||
AC_CONFIG_MACRO_DIR([build/autotools])
|
AC_CONFIG_MACRO_DIR([build/autotools])
|
||||||
AC_CONFIG_HEADERS(config.h)
|
AC_CONFIG_HEADERS(config.h)
|
||||||
|
AC_GNU_SOURCE
|
||||||
|
|
||||||
dnl ================================================================
|
dnl ================================================================
|
||||||
dnl Required versions for dependencies
|
dnl Required versions for dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user