summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2013-01-07 16:47:32 +1300
committerOlly Betts <olly@survex.com>2013-01-07 16:47:32 +1300
commitcec9faf6885ed7d994d08f1494b1b94e88910c47 (patch)
treed20fa698d74ab946e02cefc8cdb98ed11db26301
parentbeb40008b1091d75f776dc0d3e1077a8e049e129 (diff)
downloadswig-cec9faf6885ed7d994d08f1494b1b94e88910c47.tar.gz
Fix bashism in configure, introduced in 2.0.9.
-rw-r--r--CHANGES.current3
-rw-r--r--configure.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES.current b/CHANGES.current
index 6be460a1e..0b1d7ccc7 100644
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 2.0.10 (in progress)
============================
+2013-01-07: olly
+ Fix bashism in configure, introduced in 2.0.9.
+
2013-01-06: wsfulton
Pull patch #4 from ptomulik to fix SF Bug #1296 - Fix incorrect warning for virtual destructors
in templates, such as:
diff --git a/configure.in b/configure.in
index 3927a102a..0e8ad5bb1 100644
--- a/configure.in
+++ b/configure.in
@@ -1342,7 +1342,7 @@ AC_MSG_CHECKING(for Ruby header files)
if test -n "$RUBY"; then
# Try Ruby1.9 first
RUBYDIR=`($RUBY -rrbconfig -e 'print RbConfig::CONFIG[["rubyhdrdir"]] || $rubyhdrdir') 2>/dev/null`
- if test x"$RUBYDIR" == x"" || test x"$RUBYDIR" == x"nil"; then
+ if test x"$RUBYDIR" = x"" || test x"$RUBYDIR" = x"nil"; then
RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]] || $archdir') 2>/dev/null`
else
RUBYARCH=`($RUBY -rrbconfig -e 'print RbConfig::CONFIG[["arch"]] || $arch') 2>/dev/null`