summaryrefslogtreecommitdiff
path: root/source3/lib/replace/samba.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 16:30:14 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 16:30:14 +0200
commit0888ffa2b7382a1c4781ae54bad53eac3b229365 (patch)
tree5a0fb9930c68f307954f87a9aa97e83740d3ab59 /source3/lib/replace/samba.m4
parentec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff)
downloadsamba-0888ffa2b7382a1c4781ae54bad53eac3b229365.tar.gz
samba-0888ffa2b7382a1c4781ae54bad53eac3b229365.tar.bz2
samba-0888ffa2b7382a1c4781ae54bad53eac3b229365.zip
Make Samba 3 and Samba 4 both use the same single copy of libreplace.
Diffstat (limited to 'source3/lib/replace/samba.m4')
-rw-r--r--source3/lib/replace/samba.m435
1 files changed, 0 insertions, 35 deletions
diff --git a/source3/lib/replace/samba.m4 b/source3/lib/replace/samba.m4
deleted file mode 100644
index 07c4d38887..0000000000
--- a/source3/lib/replace/samba.m4
+++ /dev/null
@@ -1,35 +0,0 @@
-AC_LIBREPLACE_BROKEN_CHECKS
-AC_LIBREPLACE_NETWORK_CHECKS
-
-SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL}])
-SMB_ENABLE(LIBREPLACE_EXT)
-
-SMB_EXT_LIB(LIBREPLACE_NETWORK, [${LIBREPLACE_NETWORK_LIBS}])
-SMB_ENABLE(LIBREPLACE_NETWORK)
-
-# remove leading ./
-LIBREPLACE_DIR=`echo ${libreplacedir} |sed -e 's/^\.\///g'`
-
-# remove leading srcdir .. we are looking for the relative
-# path within the samba source tree or wherever libreplace is.
-# We need to make sure the object is not forced to end up in
-# the source directory because we might be using a separate
-# build directory.
-LIBREPLACE_DIR=`echo ${LIBREPLACE_DIR} | sed -e "s|^$srcdir/||g"`
-
-LIBREPLACE_OBJS=""
-for obj in ${LIBREPLACEOBJ}; do
- LIBREPLACE_OBJS="${LIBREPLACE_OBJS} ${LIBREPLACE_DIR}/${obj}"
-done
-
-SMB_SUBSYSTEM(LIBREPLACE,
- [${LIBREPLACE_OBJS}],
- [LIBREPLACE_EXT LIBREPLACE_NETWORK],
- [-Ilib/replace])
-
-LIBREPLACE_HOSTCC_OBJS=`echo ${LIBREPLACE_OBJS} |sed -e 's/\.o/\.ho/g'`
-
-SMB_SUBSYSTEM(LIBREPLACE_HOSTCC,
- [${LIBREPLACE_HOSTCC_OBJS}],
- [],
- [-Ilib/replace])