From: Roy T. Fielding Date: Thu, 10 May 2001 21:54:00 +0000 (+0000) Subject: Make the runtime path hack a little more portable, even though it is the X-Git-Tag: 2.0.18~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f90d61c87219a3c7e53be4664890d91f025ed1e0;p=thirdparty%2Fapache%2Fhttpd.git Make the runtime path hack a little more portable, even though it is the wrong way to check this. Submitted by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89076 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 01f542401ec..755c00aad09 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -444,8 +444,8 @@ if test "x$ap_ssltk_base" = "x"; then fi if test "x$ap_ssltk_libdir" != "x/usr/lib"; then APR_ADDTO(LIBS, [-L$ap_ssltk_libdir]) - if test "x$ap_platform_needs_R" = "xyes"; then - APR_ADDTO(LIBS, [-R$ap_ssltk_libdir]) + if test "x$ap_platform_runtime_link_flag" != "x"; then + APR_ADDTO(LIBS, [$ap_platform_runtime_link_flag$ap_ssltk_libdir]) fi fi APR_ADDTO(LIBS, [-lssl -lcrypto]) diff --git a/hints.m4 b/hints.m4 index 3187d05399c..2239c5c6848 100644 --- a/hints.m4 +++ b/hints.m4 @@ -58,7 +58,8 @@ dnl ;; APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) ;; *-solaris2*) - ap_platform_needs_R="yes" + dnl This is a hack -- we should be using AC_TRY_RUN instead + ap_platform_runtime_link_flag="-R" ;; esac