diff options
Diffstat (limited to 'source3/lib/replace/samba.m4')
-rw-r--r-- | source3/lib/replace/samba.m4 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/lib/replace/samba.m4 b/source3/lib/replace/samba.m4 new file mode 100644 index 0000000000..3769c7f50e --- /dev/null +++ b/source3/lib/replace/samba.m4 @@ -0,0 +1,23 @@ +AC_LIBREPLACE_BROKEN_CHECKS + +SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL}]) +SMB_ENABLE(LIBREPLACE_EXT) + +LIBREPLACE_DIR=`echo ${libreplacedir} |sed -e 's/^\.\///g'` + +LIBREPLACE_OBJS="" +for obj in ${LIBREPLACEOBJ}; do + LIBREPLACE_OBJS="${LIBREPLACE_OBJS} ${LIBREPLACE_DIR}/${obj}" +done + +SMB_SUBSYSTEM(LIBREPLACE, + [${LIBREPLACE_OBJS}], + [LIBREPLACE_EXT], + [-Ilib/replace]) + +LIBREPLACE_HOSTCC_OBJS=`echo ${LIBREPLACE_OBJS} |sed -e 's/\.o/\.ho/g'` + +SMB_SUBSYSTEM(LIBREPLACE_HOSTCC, + [${LIBREPLACE_HOSTCC_OBJS}], + [], + [-Ilib/replace]) |