> >Configure.ac in alpine assumes that all linux ports
> >end in linux-gnu, which is not true for arm-eabi port
> >(as well as for uclinux and some other ports). Please
> >relax checks and rerun autoconf.

> Do you know if there are other packages that have resolved similar issues? 
> It'd be great to have something to compare to.

see:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431346

Actual examples are rare, since you are not supposed to use
autoconf that way. Alpine configure.ac breaks the
"check features, not systems" philisophy of autoconf. To illustrate
the idea, currently it checks.

case $host in
        *-linux-gnu)
...
        alpine_SSLDIR=/etc/pki/tls
*-apple-darwin*)
...
        alpine_SSLCERTS="/System/Library/OpenSSL/certs"
        ;;

The check should be something like:

is_certificate_dir
{
 # do some magic to figure out if $1 is a valid certificate dir
}

if is_certificate_dir /etc/pki/tls
then
        alpine_SSLCERTS=/etc/pki/tls
else if is_certificate_dir /System/Library/OpenSSL/certs
then
        alpine_SSLCERTS=/System/Library/OpenSSL/certs
...

But changing the layout that much would require many more
changes than my small patch, so It's better left to upstream
to redesign their configure.


-- 
"rm -rf" only sounds scary if you don't have backups



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to