diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 14:36:41 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 14:36:41 +0200 |
commit | 80a5da73e9a9ed148314be3fa071181c82fc7c64 (patch) | |
tree | c561200c7b7ff8e9bf6e44be0ad9f093789a3b72 /source4/lib/talloc/libtalloc.m4 | |
parent | ec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff) | |
download | samba-80a5da73e9a9ed148314be3fa071181c82fc7c64.tar.gz samba-80a5da73e9a9ed148314be3fa071181c82fc7c64.tar.bz2 samba-80a5da73e9a9ed148314be3fa071181c82fc7c64.zip |
Share talloc source code between Samba 3 and Samba 4.
Diffstat (limited to 'source4/lib/talloc/libtalloc.m4')
-rw-r--r-- | source4/lib/talloc/libtalloc.m4 | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source4/lib/talloc/libtalloc.m4 b/source4/lib/talloc/libtalloc.m4 deleted file mode 100644 index fd2b4b22cd..0000000000 --- a/source4/lib/talloc/libtalloc.m4 +++ /dev/null @@ -1,33 +0,0 @@ -dnl find the talloc sources. This is meant to work both for -dnl talloc standalone builds, and builds of packages using talloc -tallocdir="" -tallocpaths=". lib/talloc talloc ../talloc" -for d in $tallocpaths; do - if test -f "$srcdir/$d/talloc.c"; then - tallocdir="$d" - AC_SUBST(tallocdir) - break; - fi -done -if test x"$tallocdir" = "x"; then - AC_MSG_ERROR([cannot find talloc source in $tallocpaths]) -fi -TALLOC_OBJ="talloc.o" -AC_SUBST(TALLOC_OBJ) - -TALLOC_CFLAGS="-I$srcdir/$tallocdir" -AC_SUBST(TALLOC_CFLAGS) - -TALLOC_LIBS="" -AC_SUBST(TALLOC_LIBS) - -AC_CHECK_SIZEOF(size_t,cross) -AC_CHECK_SIZEOF(void *,cross) - -if test $ac_cv_sizeof_size_t -lt $ac_cv_sizeof_void_p; then - AC_WARN([size_t cannot represent the amount of used memory of a process]) - AC_WARN([please report this to <samba-technical@samba.org>]) - AC_WARN([sizeof(size_t) = $ac_cv_sizeof_size_t]) - AC_WARN([sizeof(void *) = $ac_cv_sizeof_void_p]) - AC_ERROR([sizeof(size_t) < sizeof(void *)]) -fi |