mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Apply configure.in fixes by Maciej W. Rozycki, at least those
that work with Autoconf 2.13.
This commit is contained in:
parent
4213dc9b2b
commit
0714f67dbb
@ -1,3 +1,10 @@
|
|||||||
|
2001-05-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
|
||||||
|
* configure.in: Use $host_os instead of non-existent "$opsys" when
|
||||||
|
deciding based on host type.
|
||||||
|
|
||||||
|
* configure.in: Print "cross" when cross-compiling.
|
||||||
|
|
||||||
2001-05-26 Hrvoje Niksic <hniksic@arsdigita.com>
|
2001-05-26 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
* po/hr.po: Updated.
|
* po/hr.po: Updated.
|
||||||
|
15
configure.in
15
configure.in
@ -1,5 +1,5 @@
|
|||||||
dnl Template file for GNU Autoconf
|
dnl Template file for GNU Autoconf
|
||||||
dnl Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
dnl Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
dnl This program is free software; you can redistribute it and/or modify
|
dnl This program is free software; you can redistribute it and/or modify
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
dnl it under the terms of the GNU General Public License as published by
|
||||||
@ -203,7 +203,7 @@ dnl merely for the configure test below. The actual linking is
|
|||||||
dnl performed by libtool. Wouldn't it be nice if libtool also
|
dnl performed by libtool. Wouldn't it be nice if libtool also
|
||||||
dnl provided "querying" that we need in configure?
|
dnl provided "querying" that we need in configure?
|
||||||
AC_MSG_CHECKING("for runtime libraries flag")
|
AC_MSG_CHECKING("for runtime libraries flag")
|
||||||
case "$opsys" in
|
case "$host_os" in
|
||||||
sol2 ) dash_r="-R" ;;
|
sol2 ) dash_r="-R" ;;
|
||||||
decosf* | linux* | irix*) dash_r="-rpath " ;;
|
decosf* | linux* | irix*) dash_r="-rpath " ;;
|
||||||
*)
|
*)
|
||||||
@ -299,12 +299,15 @@ if test x"$with_ssl" != x -a x"$with_ssl" != x"no"; then
|
|||||||
|
|
||||||
if test x"$ssl_link_failure" = xno; then
|
if test x"$ssl_link_failure" = xno; then
|
||||||
dnl Now try to run the thing.
|
dnl Now try to run the thing.
|
||||||
AC_MSG_CHECKING("whether runtime linking works")
|
AC_MSG_CHECKING("whether SSL libs are resolved at runtime")
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
char RSA_new();
|
int RSA_new();
|
||||||
char SSL_new();
|
int SSL_new();
|
||||||
main(){return 0;}
|
main(){return 0;}
|
||||||
], AC_MSG_RESULT("yes"), AC_MSG_RESULT("no"); ssl_link_failure=yes, true)
|
],
|
||||||
|
AC_MSG_RESULT("yes"),
|
||||||
|
AC_MSG_RESULT("no"); ssl_link_failure=yes,
|
||||||
|
AC_MSG_RESULT("cross"))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"$ssl_link_failure" = xno; then
|
if test x"$ssl_link_failure" = xno; then
|
||||||
|
Loading…
Reference in New Issue
Block a user