1 AC_LIBREPLACE_BROKEN_CHECKS
2 AC_LIBREPLACE_NETWORK_CHECKS
4 SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL}])
5 SMB_ENABLE(LIBREPLACE_EXT)
7 SMB_EXT_LIB(LIBREPLACE_NETWORK, [${LIBREPLACE_NETWORK_LIBS}])
8 SMB_ENABLE(LIBREPLACE_NETWORK)
11 LIBREPLACE_DIR=`echo ${libreplacedir} |sed -e 's/^\.\///g'`
13 # remove leading srcdir .. we are looking for the relative
14 # path within the samba source tree or wherever libreplace is.
15 # We need to make sure the object is not forced to end up in
16 # the source directory because we might be using a separate
18 LIBREPLACE_DIR=`echo ${LIBREPLACE_DIR} | sed -e "s|^$srcdir/||g"`
21 for obj in ${LIBREPLACEOBJ}; do
22 LIBREPLACE_OBJS="${LIBREPLACE_OBJS} ${LIBREPLACE_DIR}/${obj}"
25 SMB_SUBSYSTEM(LIBREPLACE,
27 [LIBREPLACE_EXT LIBREPLACE_NETWORK],
30 LIBREPLACE_HOSTCC_OBJS=`echo ${LIBREPLACE_OBJS} |sed -e 's/\.o/\.ho/g'`
32 SMB_SUBSYSTEM(LIBREPLACE_HOSTCC,
33 [${LIBREPLACE_HOSTCC_OBJS}],