mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Check whether #include <md5.h> works before deciding to use the Solaris
system md5 library.
This commit is contained in:
parent
6353192009
commit
e1f26e22db
@ -1,3 +1,8 @@
|
||||
2003-11-04 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* configure.in: Also check whether #include <md5.h> works before
|
||||
deciding to use Solaris libmd5.
|
||||
|
||||
2003-11-03 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* configure.in: Look for nanosleep in -lrt and -lposix4, which is
|
||||
|
@ -438,10 +438,15 @@ then
|
||||
dnl specific to the Solaris MD5 library.
|
||||
if test x"$found_md5" = xno; then
|
||||
AC_CHECK_LIB(md5, md5_calc, [
|
||||
dnl There are programs that insert bogus <md5.h> in the include
|
||||
dnl path. That makes the system md5 library is useless to us.
|
||||
AC_TRY_CPP([#include <md5.h>
|
||||
], [
|
||||
AC_DEFINE(HAVE_SOLARIS_MD5)
|
||||
LIBS="-lmd5 $LIBS"
|
||||
found_md5=yes
|
||||
])
|
||||
])
|
||||
fi
|
||||
|
||||
dnl Then see if we're linking OpenSSL anyway; if yes, use its md5
|
||||
|
Loading…
Reference in New Issue
Block a user