diff options
author | Bernhard Rosenkraenzer <br@blankpage.ch> | 2010-05-06 12:11:32 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-05-06 12:24:29 (GMT) |
commit | 86260a117c9ce64d3dee71ab241559c0529f2ef5 (patch) | |
tree | 75ae31dbd217129f25151bb485d6bbe2145616bf /configure | |
parent | 106d8714fa9e09ef7e71c71c02a226c9a91d09f2 (diff) | |
download | Qt-86260a117c9ce64d3dee71ab241559c0529f2ef5.zip Qt-86260a117c9ce64d3dee71ab241559c0529f2ef5.tar.gz Qt-86260a117c9ce64d3dee71ab241559c0529f2ef5.tar.bz2 |
Fix syntax error in configure script
./configure: line 5883: [: missing `]'
./configure: line 5883: no: command not found
It's either
if [ "$CFG_OPENGL" = "es1" -o "$CFG_OPENGL" = "es2" ]; then
or
if [ "$CFG_OPENGL" = "es1" ] || [ "$CFG_OPENGL" = "es2" ]; then
but not
if [ "$CFG_OPENGL" = "es1" || "$CFG_OPENGL" = "es2" ]; then
Merge-request: 616
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5880,7 +5880,7 @@ if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ]; then fi CFG_EGL=no # If QtOpenGL would be built against OpenGL ES, disable it as we can't to that if EGL is missing - if [ "$CFG_OPENGL" = "es1" || "$CFG_OPENGL" = "es2" ]; then + if [ "$CFG_OPENGL" = "es1" -o "$CFG_OPENGL" = "es2" ]; then CFG_OPENGL=no fi fi |