Last change
on this file was 30, checked in by Paul Smedley, 18 years ago |
Code updated to Samba 3.0.25rc2 level
|
File size:
904 bytes
|
Line | |
---|
1 | AC_LIBREPLACE_BROKEN_CHECKS
|
---|
2 |
|
---|
3 | SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL}])
|
---|
4 | SMB_ENABLE(LIBREPLACE_EXT)
|
---|
5 |
|
---|
6 | # remove leading ./
|
---|
7 | LIBREPLACE_DIR=`echo ${libreplacedir} |sed -e 's/^\.\///g'`
|
---|
8 |
|
---|
9 | # remove leading srcdir .. we are looking for the relative
|
---|
10 | # path within the samba source tree or wherever libreplace is.
|
---|
11 | # We need to make sure the object is not forced to end up in
|
---|
12 | # the source directory because we might be using a separate
|
---|
13 | # build directory.
|
---|
14 | LIBREPLACE_DIR=`echo ${LIBREPLACE_DIR} | sed -e "s|^$srcdir/||g"`
|
---|
15 |
|
---|
16 | LIBREPLACE_OBJS=""
|
---|
17 | for obj in ${LIBREPLACEOBJ}; do
|
---|
18 | LIBREPLACE_OBJS="${LIBREPLACE_OBJS} ${LIBREPLACE_DIR}/${obj}"
|
---|
19 | done
|
---|
20 |
|
---|
21 | SMB_SUBSYSTEM(LIBREPLACE,
|
---|
22 | [${LIBREPLACE_OBJS}],
|
---|
23 | [LIBREPLACE_EXT],
|
---|
24 | [-Ilib/replace])
|
---|
25 |
|
---|
26 | LIBREPLACE_HOSTCC_OBJS=`echo ${LIBREPLACE_OBJS} |sed -e 's/\.o/\.ho/g'`
|
---|
27 |
|
---|
28 | SMB_SUBSYSTEM(LIBREPLACE_HOSTCC,
|
---|
29 | [${LIBREPLACE_HOSTCC_OBJS}],
|
---|
30 | [],
|
---|
31 | [-Ilib/replace])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.