git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ac2da0
)
Fix AC_SEARCH_LIBS_EXT() usage.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 21 Oct 2008 16:33:38 +0000
(18:33 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 21 Oct 2008 16:33:38 +0000
(18:33 +0200)
lib/replace/crypt.m4
patch
|
blob
|
history
diff --git
a/lib/replace/crypt.m4
b/lib/replace/crypt.m4
index 4e9086620536d3702a7bdedfd472869e454368f9..684c3519f2332bb08803de2842c62ec62f4d1572 100644
(file)
--- a/
lib/replace/crypt.m4
+++ b/
lib/replace/crypt.m4
@@
-1,7
+1,6
@@
###############################################
# test for where we get crypt() from
AC_CHECK_HEADERS(crypt.h)
###############################################
# test for where we get crypt() from
AC_CHECK_HEADERS(crypt.h)
-AC_SEARCH_LIBS_EXT(crypt, [crypt],
- [test "$ac_cv_search_ext_crypt" = "none required" || CRYPT_LIBS="-lcrypt"
- AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])],
+AC_SEARCH_LIBS_EXT(crypt, [crypt], CRYPT_LIBS,
+ [ AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function]) ],
[ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])
[ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ])