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
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])
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