|
Last change
on this file since 1013 was 414, checked in by Herwig Bauernfeind, 16 years ago |
|
Samba 3.5.0: Initial import
|
|
File size:
1018 bytes
|
| Line | |
|---|
| 1 | AC_LIBREPLACE_BROKEN_CHECKS
|
|---|
| 2 | AC_LIBREPLACE_NETWORK_CHECKS
|
|---|
| 3 |
|
|---|
| 4 | SMB_EXT_LIB(LIBREPLACE_EXT, [${LIBDL} ${CRYPT_LIBS}])
|
|---|
| 5 | SMB_ENABLE(LIBREPLACE_EXT)
|
|---|
| 6 |
|
|---|
| 7 | SMB_EXT_LIB(LIBREPLACE_NETWORK, [${LIBREPLACE_NETWORK_LIBS}])
|
|---|
| 8 | SMB_ENABLE(LIBREPLACE_NETWORK)
|
|---|
| 9 |
|
|---|
| 10 | # remove leading ./
|
|---|
| 11 | LIBREPLACE_DIR=`echo ${libreplacedir} |sed -e 's/^\.\///g'`
|
|---|
| 12 |
|
|---|
| 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
|
|---|
| 17 | # build directory.
|
|---|
| 18 | LIBREPLACE_DIR=`echo ${LIBREPLACE_DIR} | sed -e "s|^$srcdir/||g"`
|
|---|
| 19 |
|
|---|
| 20 | LIBREPLACE_OBJS="${LIBREPLACEOBJ}"
|
|---|
| 21 |
|
|---|
| 22 | SMB_SUBSYSTEM(LIBREPLACE,
|
|---|
| 23 | [${LIBREPLACE_OBJS}],
|
|---|
| 24 | [LIBREPLACE_EXT LIBREPLACE_NETWORK],
|
|---|
| 25 | [-Ilib/replace])
|
|---|
| 26 |
|
|---|
| 27 | LIBREPLACE_HOSTCC_OBJS=`echo ${LIBREPLACE_OBJS} |sed -e 's/\.o/\.ho/g'`
|
|---|
| 28 |
|
|---|
| 29 | SMB_SUBSYSTEM(LIBREPLACE_HOSTCC,
|
|---|
| 30 | [${LIBREPLACE_HOSTCC_OBJS}],
|
|---|
| 31 | [],
|
|---|
| 32 | [-Ilib/replace])
|
|---|
| 33 |
|
|---|
| 34 | AC_CHECK_FUNCS([syslog],,[AC_MSG_ERROR([Required function not found])])
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.