1
0
Fork 0

configure.ac: Add AC_GNU_SOURCE

We define it here and there already, and if we are to include private
cogl files, we need it in more places. Lets just add it everywhere.

https://bugzilla.gnome.org/show_bug.cgi?id=768976
This commit is contained in:
Jonas Ådahl 2016-05-07 18:26:28 +08:00
parent d63e9452d9
commit 95a68854ad
11 changed files with 2 additions and 16 deletions

View file

@ -22,6 +22,8 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz tar-ustar subdir-objects])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
AM_MAINTAINER_MODE([enable])
AC_GNU_SOURCE
MUTTER_MAJOR_VERSION=mutter_major_version
MUTTER_MINOR_VERSION=mutter_minor_version
MUTTER_MICRO_VERSION=mutter_micro_version

View file

@ -27,8 +27,6 @@
* @Short_Description: Key bindings
*/
#define _GNU_SOURCE
#include <config.h>
#include "keybindings-private.h"
#include "workspace-private.h"

View file

@ -41,7 +41,6 @@
* to investigate, read main(), meta_display_open(), and event_callback().
*/
#define _GNU_SOURCE
#define _XOPEN_SOURCE /* for putenv() and some signal-related functions */
#include <config.h>

View file

@ -24,7 +24,6 @@
* @short_description: Miscellaneous utility functions
*/
#define _GNU_SOURCE
#define _POSIX_C_SOURCE 200112L /* for fdopen() */
#include <config.h>

View file

@ -45,8 +45,6 @@
/* The file is based on src/input.c from Weston */
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>

View file

@ -21,8 +21,6 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>

View file

@ -21,8 +21,6 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>

View file

@ -21,8 +21,6 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>

View file

@ -21,8 +21,6 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>

View file

@ -24,7 +24,6 @@
#include "config.h"
#define _GNU_SOURCE
#include <fcntl.h>
#include <unistd.h>
#include <string.h>

View file

@ -34,7 +34,6 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#define _GNU_SOURCE
#define _XOPEN_SOURCE 500 /* for gethostname() */
#include <config.h>