add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS globally.

2008-05-28  Michael Natterer  <mitch@imendio.com>

	* configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS
	globally.

	* glib/tests/option-context.c
	* glib/tests/testing.c
	* tests/testingbase64.c: don't include <glib/gtestutils.h>


svn path=/trunk/; revision=6955
This commit is contained in:
Michael Natterer 2008-05-28 16:18:27 +00:00 committed by Michael Natterer
parent 03a5797a62
commit 82bc28361e
5 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2008-05-28 Michael Natterer <mitch@imendio.com>
* configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS
globally.
* glib/tests/option-context.c
* glib/tests/testing.c
* tests/testingbase64.c: don't include <glib/gtestutils.h>
2008-05-27 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version

View File

@ -487,6 +487,8 @@ if test "x$GCC" = "xyes"; then
esac
fi
CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES"
if test "$glib_native_win32" = "yes"; then
if test x$enable_static = xyes -a x$enable_shared = xyes; then
AC_MSG_ERROR([Can not build both shared and static at the same time on Windows.])

View File

@ -19,7 +19,8 @@
* otherwise) arising in any way out of the use of this software, even
* if advised of the possibility of such damage.
*/
#include <glib/gtestutils.h>
#include <glib.h>
#include <stdlib.h>

View File

@ -19,7 +19,9 @@
* otherwise) arising in any way out of the use of this software, even
* if advised of the possibility of such damage.
*/
#include <glib/gtestutils.h>
#include <glib.h>
#include <stdlib.h>
/* test assertion variants */

View File

@ -18,7 +18,8 @@
* otherwise) arising in any way out of the use of this software, even
* if advised of the possibility of such damage.
*/
#include <glib/gtestutils.h>
#include <glib.h>
#include <stdlib.h>
#include <glib.h>
#include <string.h>