Summary: | check on Solaris requires /usr/xpg4/bin/sed | ||
---|---|---|---|
Product: | pkg-config | Reporter: | Diab Jerius <djerius> |
Component: | src | Assignee: | Tollef Fog Heen <tfheen> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | dmacks |
Version: | unspecified | ||
Hardware: | SPARC | ||
OS: | Solaris | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Diab Jerius
2005-12-02 05:22:55 UTC
I wonder if the problem here is that [[:space:]] is not recognized at all? What if you do R=" $R" after the initial assignment...does the leading space have the same problem as the trailing one you noticed? Sounds like "checking for non-broken sed..." is a good ./configure test, and then see how sed performs, or else check $host. A bad idea is to use "no ~root dir" as a surrogate test and force /usr/xpg4/bin/sed based on that, since other platforms may not have ~root. % echo ">$R<" >-lsimple -lm < % R=" $R" % echo ">$R<" > -lsimple -lm < % echo '>'$(echo "$R" | /usr/bin/sed -e 's,^[[:space:]]*,,' -e 's,[[:space:]]*$,,')'<' > -lsimple -lm < looks like [[:space:]] isn't recognized at all. This should be fixed in the latest version where we set PATH to what getconf PATH returns. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.