[redland-dev] [Rasqal RDF Query Library 0000506]: configure.ac has bash -specific (non-POSIX) == syntax

Mantis Bug Tracker mantis-bug-sender at librdf.org
Sat May 19 16:53:30 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=506 
====================================================================== 
Reported By:                ssuominen
Assigned To:                
====================================================================== 
Project:                    Rasqal RDF Query Library
Issue ID:                   506
Category:                   portability
Reproducibility:            always
Severity:                   trivial
Priority:                   high
Status:                     new
Query Language:              
====================================================================== 
Date Submitted:             2012-05-19 20:53
Last Modified:              2012-05-19 20:53
====================================================================== 
Summary:                    configure.ac has bash -specific (non-POSIX) ==
syntax
Description: 
Line 1124 of configure.ac has this:

if test "$random_approach" == none; then

But it should have this:

if test "$random_approach" = none; then

As in, change the == to =

This was reported downstream here,

http://bugs.gentoo.org/416659

This will cause problems for example, if /bin/sh is dash
Or BSD systems
Or any Unix system with /bin/sh not bash



Steps to Reproduce: 
.

Additional Information: 
.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-19 20:53 ssuominen      New Issue                                    
======================================================================



More information about the redland-dev mailing list