diff options
author | Kevin E Martin <kem@kem.org> | 2005-12-03 04:41:51 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-12-03 04:41:51 +0000 |
commit | 4ff8025f6d0c9ef14e500d123613ccee45c8c23e (patch) | |
tree | 10a963620d5c445d74c25e11ca21730dfe21b90d | |
parent | 4c738dba961b3eae69e466a0bfcd8e6e3e539675 (diff) |
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> * xv.pc.in: diff --git a/configure.ac b/configure.ac index a26671d..5be6759 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,7 @@ PKG_CHECK_MODULES(XV, x11 xext xextproto videoproto) AC_SUBST(XV_CFLAGS) AC_SUBST(XV_LIBS) +XORG_CHECK_MALLOC_ZERO XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION diff --git a/src/Makefile.am b/src/Makefile.am index a877aa7..e1d7ff4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,6 +5,6 @@ libXv_la_SOURCES = \ Xvlibint.h libXv_la_LIBADD = @XV_LIBS@ -AM_CFLAGS = @XV_CFLAGS@ -I$(top_srcdir)/include +AM_CFLAGS = @XV_CFLAGS@ -I$(top_srcdir)/include @MALLOC_ZERO_CFLAGS@ libXv_la_LDFLAGS = -version-number 1:0:0 -no-undefined |