From 5f21e1bd613b372ea6f8be6423894548dae59bdc Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 1 Aug 2018 14:38:36 +0200 Subject: Store USE_DLMALLOC in vppinfra/config.h Change-Id: Ib596e7f525b83dc7e830bcf6a126cd210216ce86 Signed-off-by: Damjan Marion --- src/examples/sample-plugin/Makefile.am | 2 +- src/examples/sample-plugin/configure.ac | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/examples/sample-plugin') diff --git a/src/examples/sample-plugin/Makefile.am b/src/examples/sample-plugin/Makefile.am index 2622f4e69f9..1825a8f111f 100644 --- a/src/examples/sample-plugin/Makefile.am +++ b/src/examples/sample-plugin/Makefile.am @@ -13,7 +13,7 @@ AUTOMAKE_OPTIONS = foreign subdir-objects -AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir} @DLMALLOC@ +AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir} AM_LDFLAGS = -module -shared -avoid-version AM_LIBTOOLFLAGS = --quiet SUFFIXES = .api.h .api .api.json diff --git a/src/examples/sample-plugin/configure.ac b/src/examples/sample-plugin/configure.ac index 57ec6ee02c1..69d989183c5 100644 --- a/src/examples/sample-plugin/configure.ac +++ b/src/examples/sample-plugin/configure.ac @@ -32,9 +32,6 @@ AC_DEFUN([ENABLE_ARG], m4_append([list_of_enabled], [$1], [, ]) ]) -ENABLE_ARG(dlmalloc, [Enable dlmalloc]) -AC_SUBST(DLMALLOC, [-DUSE_DLMALLOC=${n_enable_dlmalloc}]) - CC_CHECK_FLAG("-Wno-address-of-packed-member") AS_IF([test "$cc_flag_check" = yes], [CFLAGS="${CFLAGS} -Wno-address-of-packed-member"], []) -- cgit