diff options
| author | Andrew Tridgell <tridge@samba.org> | 2006-09-05 11:34:43 +0000 |
|---|---|---|
| committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:12 -0500 |
| commit | 9b10009938612ff8796ffdda0d666ef9060ba534 (patch) | |
| tree | 28f7e0f262eeeb84a7aa0326d3554c7339095695 /source4/lib/talloc/config.m4 | |
| parent | b383add7b0ff4a4d89760b9488983e0256417c7c (diff) | |
| download | samba-9b10009938612ff8796ffdda0d666ef9060ba534.tar.gz samba-9b10009938612ff8796ffdda0d666ef9060ba534.tar.xz samba-9b10009938612ff8796ffdda0d666ef9060ba534.zip | |
r18076: convert talloc to the new libreplace system
(This used to be commit 968a4e97cfa6585b06f0c5e64d746715a1297461)
Diffstat (limited to 'source4/lib/talloc/config.m4')
| -rw-r--r-- | source4/lib/talloc/config.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/lib/talloc/config.m4 b/source4/lib/talloc/config.m4 index 0286bde6c2..e5eccb3a22 100644 --- a/source4/lib/talloc/config.m4 +++ b/source4/lib/talloc/config.m4 @@ -1,3 +1,16 @@ +dnl find the talloc sources. This is meant to work both for +dnl talloc standalone builds, and builds of packages using talloc +tallocdir="" +for d in "$srcdir" "$srcdir/lib/talloc" "$srcdir/talloc" "$srcdir/../talloc"; do + if test -f "$d/talloc.c"; then + tallocdir="$d" + AC_SUBST(tallocdir) + break; + fi +done +TALLOCOBJ="talloc.o" +AC_SUBST(TALLOCOBJ) + AC_CHECK_HEADERS(stdarg.h vararg.h) dnl VA_COPY |
