diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-18 17:49:41 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-18 17:49:41 +0200 |
commit | 33032d591f8e39edae0ce4b35ca1b6e25f04a04b (patch) | |
tree | c2a6bad2e09f49f8d6df4aeed9c1b77bad19b89f /lib/replace/crypt.m4 | |
parent | 4f9b6fdce4340a1022f659daaa035d0336ff6b53 (diff) | |
download | samba-33032d591f8e39edae0ce4b35ca1b6e25f04a04b.tar.gz samba-33032d591f8e39edae0ce4b35ca1b6e25f04a04b.tar.bz2 samba-33032d591f8e39edae0ce4b35ca1b6e25f04a04b.zip |
Move ufc to libreplace.
Diffstat (limited to 'lib/replace/crypt.m4')
-rw-r--r-- | lib/replace/crypt.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/crypt.m4 b/lib/replace/crypt.m4 new file mode 100644 index 0000000000..5a9fe88aaf --- /dev/null +++ b/lib/replace/crypt.m4 @@ -0,0 +1,6 @@ +############################################### +# test for where we get crypt() from +AC_SEARCH_LIBS(crypt, [crypt], + [test "$ac_cv_search_crypt" = "none required" || CRYPT_LIBS="-lcrypt" + AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])], + [ LIBREPLACEOBJ="${LIBREPLACEOBJ} crypt.o" ]) |