Bug 1664 - In configure: test a == b not valid with /bin/sh
In configure: test a == b not valid with /bin/sh
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Config Files
3.0.6
PPC AIX
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-25 04:39 UTC by Heinrich Mislik
Modified: 2005-08-24 10:22 UTC (History)
0 users

See Also:


Attachments

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 2004-08-25 05:25:07 UTC
should already be fixed in 3.0 tree.
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:22:57 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.