summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-03 04:41:51 +0000
committerKevin E Martin <kem@kem.org>2005-12-03 04:41:51 +0000
commit68f34d7d3b1564d967f77127b68af6c3de26578b (patch)
tree5176d398625d1752b4e00a4974ffbae32a90a70d /src/Makefile.am
parentb679a08c793780c08a21af602e4e814cc24b1a93 (diff)
Add check and cflags for malloc(0) returning NULL.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b16b177..6cb61dd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,13 +7,14 @@ libXvMC_la_SOURCES = \
libXvMCW_la_SOURCES = \
XvMCWrapper.c
+AM_CFLAGS = @XVMC_CFLAGS@ -I$(top_srcdir)/include @MALLOC_ZERO_CFLAGS@
+
libXvMC_la_LIBADD = @XVMC_LIBS@
-libXvMC_la_CFLAGS = @XVMC_CFLAGS@ -I$(top_srcdir)/include
+libXvMC_la_CFLAGS = $(AM_CFLAGS)
libXvMCW_la_LIBADD = @XVMC_LIBS@
libXvMCW_la_CFLAGS = \
- @XVMC_CFLAGS@ \
- -I$(top_srcdir)/include \
+ $(AM_CFLAGS) \
-DXVMC_CONFIGDIR=XConfigDir \
-DXVMC_SOVERSION=\".1.0\" \
-DXV_SOVERSION=\".1.0\"