From 2c846058ff104f83e50bc93aa90c0dc7a8c7fe0f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Aug 2009 16:21:58 +1000 Subject: LIBREPLACEOBJ now contains the full path --- lib/replace/samba.m4 | 5 +---- source3/configure.in | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/replace/samba.m4 b/lib/replace/samba.m4 index 4514728d03..b7582202f1 100644 --- a/lib/replace/samba.m4 +++ b/lib/replace/samba.m4 @@ -17,10 +17,7 @@ LIBREPLACE_DIR=`echo ${libreplacedir} |sed -e 's/^\.\///g'` # 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 +LIBREPLACE_OBJS="${LIBREPLACEOBJ}" SMB_SUBSYSTEM(LIBREPLACE, [${LIBREPLACE_OBJS}], diff --git a/source3/configure.in b/source3/configure.in index 7bdc802822..0e7594e3f1 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -640,10 +640,7 @@ CPPFLAGS="${SAVE_CPPFLAGS}" LIBREPLACE_DIR=`echo ${libreplacedir} | sed -e "s;${srcdir};;" -e "s;^/;;"` -LIBREPLACE_OBJS="" -for obj in ${LIBREPLACEOBJ}; do - LIBREPLACE_OBJS="${LIBREPLACE_OBJS} ${LIBREPLACE_DIR}/${obj}" -done +LIBREPLACE_OBJS="${LIBREPLACEOBJ}" AC_SUBST(LIBREPLACE_OBJS) # add -ldl to the global LIBS -- cgit