From c7e38d59e906dcb8028deccac6793463c5ca8f5c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 9 Feb 2005 22:12:30 +1100 Subject: - (dtucker) [configure.ac] Bug #854: prepend pwd to relative --with-ssl-dir paths. ok djm@ --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 86b26daf9..3ccbbaf0c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.237 2005/02/02 12:30:25 dtucker Exp $ +# $Id: configure.ac,v 1.238 2005/02/09 11:12:31 dtucker Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -1226,6 +1226,10 @@ AC_ARG_WITH(ssl-dir, [ --with-ssl-dir=PATH Specify path to OpenSSL installation ], [ if test "x$withval" != "xno" ; then + case "$withval" in + # Relative paths + ./*|../*) withval="`pwd`/$withval" + esac if test -d "$withval/lib"; then if test -n "${need_dash_r}"; then LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" -- cgit v1.2.3