httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: Slight problem with 1.3.8
Date Thu, 12 Aug 1999 15:24:35 GMT

In article <19990812163350.I5486@deejai.mch.sni.de> you wrote:

> However, I think it would be safer to also accept relative paths for
> the --*prefix= options. Think of "./configure --prefix=../.."
> 
> A simple extra check like
> 
>     if [ -d "$prefix" ]; then
> 	case "$prefix" in
> 	    /*) ;;
> 	    *)  prefix=`cd "$prefix"; /bin/pwd`;;
> 	esac
>     fi
> 
> would be sufficient, no? Or is that not portable enough?

It is portable, of course. But I'm not convinced whether it's reasonable to
hard-code physical paths like /v/dsk/3/f/e/apache/SRC/apache-2.0/mpm into a
program ;)
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message