diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-25 21:17:20 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-25 21:17:20 +0000 |
commit | bfc38ff872446e0ad365c22327c779e72a81bef9 (patch) | |
tree | b7178459d9b4ce5acc7dc636d81ac4cba745b723 /source3/aclocal.m4 | |
parent | 59d4087160ba41aac724722dc29c4b6e4e3b69b0 (diff) | |
download | samba-bfc38ff872446e0ad365c22327c779e72a81bef9.tar.gz |
Makefile.in: Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC.
configure.in: Fixed -lsecurity -lsec problems.
client.c: dos_ fixes.
groupdb/aliasunix.c: Dead code removal.
include/includes.h: Added default PRINTCAP_NAME.
lib/genrand.c: dos_ fixes.
lib/replace.c: Added strtoul.
lib/system.c: dos_ fixes.
lib/util.c: dos_ fixes.
lib/util_sid.c: Signed/unsigned fixes.
lib/util_str.c: removed bad const.
locking/locking_slow.c: dos_ fixes.
printing/printing.c: dos_ fixes.
rpc_server/srv_samr.c: Dead code removal.
rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN !
smbd/dir.c: dos_ fixes.
smbd/open.c: dos_ fixes.
smbd/oplock.c: dos_ fixes.
smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes.
Jeremy.
(This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)
Diffstat (limited to 'source3/aclocal.m4')
-rw-r--r-- | source3/aclocal.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4 index e97084e9ac8..45ee7b23ade 100644 --- a/source3/aclocal.m4 +++ b/source3/aclocal.m4 @@ -61,3 +61,15 @@ else fi rm -f conftest* ])]) + +dnl check for a function in a library, but don't +dnl keep adding the same library to the LIBS variable. +dnl AC_LIBTESTFUNC(lib,func) +AC_DEFUN(AC_LIBTESTFUNC, +[case "$LIBS" in + *-l$1*) AC_CHECK_FUNCS($2) ;; + *) AC_CHECK_LIB($1, $2) + AC_CHECK_FUNCS($2) + ;; + esac +]) |