add strndup replacement function for systems which lack it

This commit is contained in:
Michael Elkins 2001-10-30 22:57:03 +00:00
parent 8ca8c2b289
commit e3797d65da
2 changed files with 2 additions and 1 deletions

2
README
View File

@ -5,7 +5,7 @@
|_|___/\__, |_| |_|\___|
|___/
isync - IMAP4 to maildir mailbox synchronization program
http://www.sigpipe.org/isync/
http://www.sigpipe.org:8080/isync/
Author: Michael Elkins <me@mutt.org>

View File

@ -11,6 +11,7 @@ AC_ARG_WITH(ssl-dir, [ --with-ssl-dir=DIR location where openssl is insalled],
else
AC_MSG_ERROR(can't find OpenSSL in $withval)
fi])
AC_REPLACE_FUNCS(strndup)
AC_CHECK_FUNCS(getopt_long)
AC_CHECK_LIB(socket,socket)
AC_CHECK_LIB(nsl,inet_ntoa)