mirror of
https://github.com/mirror/wget.git
synced 2024-12-29 14:30:48 +08:00
[svn] Use AC_MSG_NOTICE instead of echo.
This commit is contained in:
parent
e1f26e22db
commit
c1096ce501
@ -3,6 +3,9 @@
|
|||||||
* configure.in: Also check whether #include <md5.h> works before
|
* configure.in: Also check whether #include <md5.h> works before
|
||||||
deciding to use Solaris libmd5.
|
deciding to use Solaris libmd5.
|
||||||
|
|
||||||
|
* configure.in: Use AC_MSG_NOTICE instead of echo. Use
|
||||||
|
AC_MSG_ERROR for fatal errors.
|
||||||
|
|
||||||
2003-11-03 Hrvoje Niksic <hniksic@xemacs.org>
|
2003-11-03 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* configure.in: Look for nanosleep in -lrt and -lposix4, which is
|
* configure.in: Look for nanosleep in -lrt and -lposix4, which is
|
||||||
|
14
configure.in
14
configure.in
@ -37,7 +37,7 @@ dnl
|
|||||||
dnl What version of Wget are we building?
|
dnl What version of Wget are we building?
|
||||||
dnl
|
dnl
|
||||||
VERSION=`sed -e 's/^.*"\(.*\)";$/\1/' ${srcdir}/src/version.c`
|
VERSION=`sed -e 's/^.*"\(.*\)";$/\1/' ${srcdir}/src/version.c`
|
||||||
echo "configuring for GNU Wget $VERSION"
|
AC_MSG_NOTICE([configuring for GNU Wget $VERSION])
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
PACKAGE=wget
|
PACKAGE=wget
|
||||||
AC_SUBST(PACKAGE)
|
AC_SUBST(PACKAGE)
|
||||||
@ -407,9 +407,7 @@ main(){return 0;}
|
|||||||
dnl If linking with SSL was forced rather than auto-detected, then
|
dnl If linking with SSL was forced rather than auto-detected, then
|
||||||
dnl bail out if SSL failed.
|
dnl bail out if SSL failed.
|
||||||
if test x"$wget_force_ssl" = x"yes"; then
|
if test x"$wget_force_ssl" = x"yes"; then
|
||||||
exec >&2
|
AC_MSG_ERROR([failed to find OpenSSL libraries], 2)
|
||||||
echo "ERROR: Failed to find OpenSSL libraries."
|
|
||||||
exit 2
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -440,11 +438,11 @@ then
|
|||||||
AC_CHECK_LIB(md5, md5_calc, [
|
AC_CHECK_LIB(md5, md5_calc, [
|
||||||
dnl There are programs that insert bogus <md5.h> in the include
|
dnl There are programs that insert bogus <md5.h> in the include
|
||||||
dnl path. That makes the system md5 library is useless to us.
|
dnl path. That makes the system md5 library is useless to us.
|
||||||
AC_TRY_CPP([#include <md5.h>
|
AC_CHECK_HEADERS([md5.h], [
|
||||||
], [
|
|
||||||
AC_DEFINE(HAVE_SOLARIS_MD5)
|
AC_DEFINE(HAVE_SOLARIS_MD5)
|
||||||
LIBS="-lmd5 $LIBS"
|
LIBS="-lmd5 $LIBS"
|
||||||
found_md5=yes
|
found_md5=yes
|
||||||
|
AC_MSG_NOTICE([using Solaris MD5 implementation])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
@ -455,14 +453,16 @@ then
|
|||||||
if test x"$ssl_success" = xyes; then
|
if test x"$ssl_success" = xyes; then
|
||||||
AC_DEFINE(HAVE_OPENSSL_MD5)
|
AC_DEFINE(HAVE_OPENSSL_MD5)
|
||||||
found_md5=yes
|
found_md5=yes
|
||||||
|
AC_MSG_NOTICE([using OpenSSL MD5 implementation])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl If none of the above worked, use the one we ship with Wget.
|
dnl If none of the above worked, use the one we ship with Wget.
|
||||||
if test x"$found_md5" = xno; then
|
if test x"$found_md5" = xno; then
|
||||||
AC_DEFINE(HAVE_BUILTIN_MD5)
|
AC_DEFINE(HAVE_BUILTIN_MD5)
|
||||||
found_md5=yes
|
|
||||||
MD5_OBJ="$MD5_OBJ gnu-md5\$o"
|
MD5_OBJ="$MD5_OBJ gnu-md5\$o"
|
||||||
|
found_md5=yes
|
||||||
|
AC_MSG_NOTICE([using GNU MD5 implementation])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_DEFINE(HAVE_MD5)
|
AC_DEFINE(HAVE_MD5)
|
||||||
|
Loading…
Reference in New Issue
Block a user