#67 Bashism in ./configure

v0.93 show-stopper
open
nobody
bashism (1)
5
2014-08-04
2014-08-04
arielCo
No

In configure, line 19, "true" sh (e.g. as found in Solaris) throws "bad substitution":

 16 # Look for supported compilers
 17 #
 18 for c in $CCS; do
 19         if CCPATH=`which $c 2>&1` && [ -z "${CCPATH%%/*}" ]; then
 20                 CC="$c"
 21                 break
 22         fi
 23 done

Alternatively, this works:

 19         if CCPATH=`which $c 2>&1` && expr "$CCPATH" : "\/" >/dev/null; then

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks