Bug 1664 - In configure: test a == b not valid with /bin/sh
Summary: In configure: test a == b not valid with /bin/sh
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.6
Hardware: PPC AIX
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-08-25 04:39 UTC by Heinrich Mislik
Modified: 2005-08-24 10:22 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Mislik 2004-08-25 04:39:39 UTC
Line 9373 of configure:

   elif test x$enable_cups == xyes; then

gives an error with /bin/sh. All test $x == $y should be replaced with
test $a = $b. man bash says:

 string1 == string2
               True if the strings are equal.  = may be used in place
               of == for strict POSIX compliance.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-08-25 05:25:07 UTC
should already be fixed in 3.0 tree.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:22:57 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.