GNOME Bugzilla – Bug 583279
Unportable test(1) construct in configure script
Last modified: 2009-05-21 16:50:46 UTC
The configure script uses the unportable bash "==" comparison operator for test(1). It is not supported by most other shells or even test(1) from GNU coreutils. Please use "=" instead. I'll attach a patch against configure and leave the patch against configure.{in.ac} as an example for the reader ;)
Created attachment 134991 [details] [review] Patch for configure as example
fixed in gnome-2-26 and master commit a274fe57275269ceedbb423f18cbbce72a44e1f3 Author: Adam Schreiber <sadam@gnome.org> Date: Wed May 20 12:12:07 2009 -0400 Bug 583279 – Unportable test(1) construct in configure script Changed == to = in the ebook test.
Created attachment 135081 [details] [review] Patch for second part Thanks for fixing the first of the two occurrences. The attached patch (against configure.in for 2.26.2 this time) patches the second one.
Thanks. Committed to master and gnome-2-26. I must have been half asleep yesterday. commit 858307521709c39428a91ddce36cd9712d9e5360 Author: Thomas Klausner <wiz@danbala.tuwien.ac.at> Date: Thu May 21 12:47:34 2009 -0400 Bug 583279 – Unportable test(1) construct in configure script Fix second test error