define HAVE_LIBTALLOC when libtalloc is being used.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-05-15 15:36:54 +02:00
parent 739a2126d0
commit 48c42fe254

View File

@@ -119,6 +119,8 @@ fi
if test "$with_local_talloc" != no;then if test "$with_local_talloc" != no;then
FLAGS='-Iccan/talloc/ -Iccan/typedef_cb/ -Iccan/compiler/' FLAGS='-Iccan/talloc/ -Iccan/typedef_cb/ -Iccan/compiler/'
AC_SUBST([LIBTALLOC_CFLAGS], [$FLAGS]) AC_SUBST([LIBTALLOC_CFLAGS], [$FLAGS])
else
AC_DEFINE(HAVE_LIBTALLOC, 1, [have libtalloc])
fi fi
AM_CONDITIONAL(LOCAL_TALLOC, test "x$with_local_talloc" != xno) AM_CONDITIONAL(LOCAL_TALLOC, test "x$with_local_talloc" != xno)