Closed Bug 96997 Opened 23 years ago Closed 23 years ago

nspr-config fails on Solaris

Categories

(NSPR :: NSPR, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dave, Assigned: cls)

Details

Mozilla 0.9.3, Solaris 8.

For some insane reason /bin/sh on Solaris interprets ^ characters.
nspr-config.in contains this line (almost at the end of file):

if echo $i | grep ^-L >/dev/null; then

which gets copied into nspr-config. But since /bin/sh uses ^ for its own
purposes, grep gets "-L" as an argument, then complains about unknown flag and
the configure script fails.

The offending line could be changed to:

if echo $i | grep \^-L >/dev/null; then

which should work with all other shells, as well.
NSPR.
Assignee: cls → wtc
Component: Build Config → NSPR
Product: Browser → NSPR
QA Contact: granrose → wtc
Target Milestone: --- → 4.2
Taking back.
Assignee: wtc → cls
r=cls on the proposed change.
cls: you can go ahead and check in the proposed change.
Patch has been checked into the trunk & the NSPRPUB_PRE_4_2_CLIENT_BRANCH.
Marking fixed.

Checking in config/nspr-config.in;
/cvsroot/mozilla/nsprpub/config/nspr-config.in,v  <--  nspr-config.in
new revision: 1.3; previous revision: 1.2
done

Checking in nsprpub/config/nspr-config.in;
/cvsroot/mozilla/nsprpub/config/nspr-config.in,v  <--  nspr-config.in
new revision: 1.2.2.1; previous revision: 1.2
done
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.