Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#6791 closed defect (fixed)

configure has a bashism

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.1.4
Component: ConfigBuild Version: unspecified
Severity: normal Keywords:


Reported as

"""Not a big deal but it will cause configure to fail with a POSIX-conforming shell without bash extensions, and pkgsrc's portability check code throws an error."""


Remediate bashism.
Not yet reported upstream.

--- configure.orig      2016-10-24 11:00:31.000000000 +0000
+++ configure
@@ -16861,7 +16861,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
-if test "x$CXX" == x ; then
+if test "x$CXX" = x ; then
   as_fn_error $? "\"You don't have a working C++ compiler.\"" "$LINENO" 5

Change History (3)

comment:1 Changed 5 years ago by Even Rouault

Fixed in trunk r37198

comment:2 Changed 5 years ago by Even Rouault

Resolution: fixed
Status: newclosed

In 37199:

configure: remove bashism (reported by Greg Troxel) (fixes #6791)

comment:3 Changed 5 years ago by Even Rouault

Milestone: 2.1.4
Note: See TracTickets for help on using tickets.