Commit 9e96dbc3 authored by Kevin E Martin's avatar Kevin E Martin

Add check and cflags for malloc(0) returning NULL.

parent 649c37b4
2005-12-02 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
* modules/im/ximcp/Makefile.am:
Add check and cflags for malloc(0) returning NULL.
* modules/lc/Utf8/Makefile.am:
* modules/om/generic/Makefile.am:
* src/Makefile.am:
* src/xcms/Makefile.am:
* src/xkb/Makefile.am:
* src/xlibi18n/Makefile.am:
2005-11-19 Kevin E. Martin <kem-at-freedesktop-dot-org>
* x11.pc.in:
......
......@@ -327,6 +327,7 @@ AC_DEFINE_DIR(XKEYSYMDB, XKEYSYMDB, [Location of keysym database])
AC_DEFINE_DIR(XERRORDB, XERRORDB, [Location of error message database])
AC_DEFINE_DIR(XLOCALEDIR, X11_LOCALEDIR, [Location of libX11 locale data])
XORG_CHECK_MALLOC_ZERO
XORG_RELEASE_VERSION
AC_OUTPUT([Makefile
......
......@@ -10,7 +10,8 @@ AM_CFLAGS= \
$(BIGREQS_CFLAGS) \
$(BIGFONT_CFLAGS) \
$(XDMCP_CFLAGS) \
-D_BSD_SOURCE -DXIM_t -DTRANS_CLIENT
-D_BSD_SOURCE -DXIM_t -DTRANS_CLIENT \
$(MALLOC_ZERO_CFLAGS)
if XLIB_LOADABLE_I18N
......
......@@ -10,7 +10,8 @@ AM_CFLAGS= \
$(BIGREQS_CFLAGS) \
$(BIGFONT_CFLAGS) \
$(XDMCP_CFLAGS) \
-D_BSD_SOURCE
-D_BSD_SOURCE \
$(MALLOC_ZERO_CFLAGS)
if XLIB_LOADABLE_I18N
......
......@@ -11,7 +11,8 @@ AM_CFLAGS= \
$(BIGREQS_CFLAGS) \
$(BIGFONT_CFLAGS) \
$(XDMCP_CFLAGS) \
-D_BSD_SOURCE
-D_BSD_SOURCE \
$(MALLOC_ZERO_CFLAGS)
if XLIB_LOADABLE_I18N
......
......@@ -17,7 +17,8 @@ AM_CFLAGS= \
$(BIGREQS_CFLAGS) \
$(BIGFONT_CFLAGS) \
$(XDMCP_CFLAGS) \
-D_BSD_SOURCE -DX11_t -DTRANS_CLIENT
-D_BSD_SOURCE -DX11_t -DTRANS_CLIENT \
$(XMALLOC_ZERO_CFLAGS)
#
# =============================== I18N =============================
......
......@@ -13,7 +13,8 @@ AM_CFLAGS= \
$(BIGREQS_CFLAGS) \
$(BIGFONT_CFLAGS) \
$(XDMCP_CFLAGS) \
-D_BSD_SOURCE
-D_BSD_SOURCE \
$(XMALLOC_ZERO_CFLAGS)
libxcms_la_SOURCES = \
AddDIC.c \
......
......@@ -10,7 +10,8 @@ AM_CFLAGS= \
$(BIGREQS_CFLAGS) \
$(BIGFONT_CFLAGS) \
$(XDMCP_CFLAGS) \
-D_BSD_SOURCE
-D_BSD_SOURCE \
$(XMALLOC_ZERO_CFLAGS)
noinst_LTLIBRARIES = libxkb.la
......
......@@ -11,7 +11,8 @@ AM_CFLAGS= \
$(BIGREQS_CFLAGS) \
$(BIGFONT_CFLAGS) \
$(XDMCP_CFLAGS) \
-D_BSD_SOURCE
-D_BSD_SOURCE \
$(XMALLOC_ZERO_CFLAGS)
noinst_LTLIBRARIES = libi18n.la
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment