diff options
author | Kevin E Martin <kem@kem.org> | 2005-12-03 04:41:49 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-12-03 04:41:49 +0000 |
commit | f472f2feebab449d9eddd920d4313c2f37c82c41 (patch) | |
tree | 38d8a6750a2941c0d45edd0ed4b9954c5d4c117f | |
parent | a290a2dd0022398dd70acf965bc0d9a590a71a40 (diff) | |
download | xorg-lib-libXext-f472f2feebab449d9eddd920d4313c2f37c82c41.tar.gz |
Add check and cflags for malloc(0) returning NULL.
-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> * xext.pc.in: diff --git a/configure.ac b/configure.ac index e4cccdd..83bd374 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,7 @@ AC_SUBST(XEXT_LIBS) # Checks for header files. AC_HEADER_STDC +XORG_CHECK_MALLOC_ZERO XORG_RELEASE_VERSION # Man page processing requirements diff --git a/src/Makefile.am b/src/Makefile.am index d113aed..fbe8b24 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ lib_LTLIBRARIES=libXext.la -AM_CFLAGS=$(XEXT_CFLAGS) +AM_CFLAGS=$(XEXT_CFLAGS) $(MALLOC_ZERO_CFLAGS) libXext_la_LDFLAGS = -version-number $(XEXT_SOREV) -no-undefined |