[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Make configure report the components detected

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-10-17 11:00:14 CEST

[Kamesh Jayachandran]
> case "$APXS" in
> "no"|"")
> echo "no"
> ;;
> * )
> echo "default"
> ;;
> esac
>
> The above snippet works fine in my bash. If testing the empty string is
> really a problem, should we not do the same for others too like "$SWIG"?

In general, /bin/sh is not bash. When you have a shell syntax
question, you really need to test on other shells. I keep dash, posh,
ksh93, pdksh, and zsh around just for this purpose.

Those shells all agree with your finding in the present case, but I
note that I don't have a real Bourne shell handy, or the infamous
Solaris /bin/sh.

Received on Tue Oct 17 11:00:32 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.