diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2005-12-02 Kevin E. Martin <kem-at-freedesktop-dot-org> + + * configure.ac: + * src/Makefile.am: + Add check and cflags for malloc(0) returning NULL. + 2005-11-19 Kevin E. Martin <kem-at-freedesktop-dot-org> * xi.pc.in: diff --git a/configure.ac b/configure.ac index ca63a84..a0f2b2d 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,7 @@ PKG_CHECK_MODULES(XI, xproto x11 xextproto xext inputproto) AC_SUBST(XI_CFLAGS) AC_SUBST(XI_LIBS) +XORG_CHECK_MALLOC_ZERO XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION diff --git a/src/Makefile.am b/src/Makefile.am index 67c3134..b2c0cad 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,7 +44,7 @@ libXi_la_SOURCES = \ libXi_la_LIBADD = $(XI_LIBS) -AM_CFLAGS = $(XI_CFLAGS) +AM_CFLAGS = $(XI_CFLAGS) $(MALLOC_ZERO_CFLAGS) #INCLUDES = -I$(top_srcdir)/include/X11/extensions |