[maemo-commits] [maemo-commits] r18429 - in projects/haf/trunk/libmatchbox2: . matchbox/core util

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon May 18 20:44:24 EEST 2009
Author: tthurman
Date: 2009-05-18 20:44:19 +0300 (Mon, 18 May 2009)
New Revision: 18429

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/configure.ac
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm.h
   projects/haf/trunk/libmatchbox2/util/matchbox-remote.c
Log:
        * matchbox/core/mb-wm.h: Do not define _GNU_SOURCE here, as this is
        a public header file.  Also, the header itself doesn't actually need
        this feature macro.
        * util/matchbox-remote.c: Remove _GNU_SOURCE from here, too.
        * configure.ac: Invoke the Autoconf macro AC_USE_SYSTEM_EXTENSIONS
        to define feature macros such as _GNU_SOURCE automatically.
        (AC_PREREQ): Increase Autoconf version requirement to 2.60.



Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-05-18 15:36:12 UTC (rev 18428)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-05-18 17:44:19 UTC (rev 18429)
@@ -1,3 +1,13 @@
+2009-05-18  Daniel Elstner  <danielk at openismus.com>
+
+        * matchbox/core/mb-wm.h: Do not define _GNU_SOURCE here, as this is
+        a public header file.  Also, the header itself doesn't actually need
+        this feature macro.
+        * util/matchbox-remote.c: Remove _GNU_SOURCE from here, too.
+        * configure.ac: Invoke the Autoconf macro AC_USE_SYSTEM_EXTENSIONS
+        to define feature macros such as _GNU_SOURCE automatically.
+        (AC_PREREQ): Increase Autoconf version requirement to 2.60.
+
 2009-05-18  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
 
 	Release 0.2.39

Modified: projects/haf/trunk/libmatchbox2/configure.ac
===================================================================
--- projects/haf/trunk/libmatchbox2/configure.ac	2009-05-18 15:36:12 UTC (rev 18428)
+++ projects/haf/trunk/libmatchbox2/configure.ac	2009-05-18 17:44:19 UTC (rev 18429)
@@ -11,7 +11,7 @@
 m4_define([mbwm2_api_version],
           [mbwm2_major_version.mbwm2_minor_version])
 
-AC_PREREQ(2.59)
+AC_PREREQ([2.60])
 AC_INIT([matchbox-window-manager-2], mbwm2_version, [mallum at handhelds.org])
 AC_CONFIG_SRCDIR([matchbox/core/mb-window-manager.c])
 
@@ -31,6 +31,7 @@
 AM_MAINTAINER_MODE
 
 AC_PROG_CC
+AC_USE_SYSTEM_EXTENSIONS
 AM_PROG_LIBTOOL
 
 AC_HEADER_STDC

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm.h
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm.h	2009-05-18 15:36:12 UTC (rev 18428)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm.h	2009-05-18 17:44:19 UTC (rev 18429)
@@ -21,8 +21,6 @@
 #ifndef _HAVE_MB_WM_H
 #define _HAVE_MB_WM_H
 
-#define _GNU_SOURCE 		/* For vasprintf */
-
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>

Modified: projects/haf/trunk/libmatchbox2/util/matchbox-remote.c
===================================================================
--- projects/haf/trunk/libmatchbox2/util/matchbox-remote.c	2009-05-18 15:36:12 UTC (rev 18428)
+++ projects/haf/trunk/libmatchbox2/util/matchbox-remote.c	2009-05-18 17:44:19 UTC (rev 18429)
@@ -17,7 +17,6 @@
  *  GNU General Public License for more details.
  *
  */
-#define _GNU_SOURCE
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>


More information about the maemo-commits mailing list