summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-15 12:39:28 -0400
committerKaz Kylheku <kaz@kylheku.com>2011-10-15 12:39:28 -0400
commit94f45d08c3c9db275aae5cb47e948b8c6824c384 (patch)
treeba76ab5ee74ebf52068ba45fd6db5fe28b84723a
parent6513ac64f6c33223da753d7a3665cedcc225faaf (diff)
downloadtxr-94f45d08c3c9db275aae5cb47e948b8c6824c384.tar.gz
txr-94f45d08c3c9db275aae5cb47e948b8c6824c384.tar.bz2
txr-94f45d08c3c9db275aae5cb47e948b8c6824c384.zip
* configure: POSIX Portability. Use = instead of ==
in test expressions. This was revealed by ubuntu's dash.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6740700d..5eca7379 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-15 Kaz Kylheku <kaz@kylheku.com>
+
+ * configure: POSIX Portability. Use = instead of ==
+ in test expressions. This was revealed by ubuntu's dash.
+
2011-10-13 Kaz Kylheku <kaz@kylheku.com>
* parser.y (elem): Amending previous change. A single space
diff --git a/configure b/configure
index e334cfd1..7bbc8f2e 100755
--- a/configure
+++ b/configure
@@ -630,7 +630,7 @@ char sizeof_longlong_t[sizeof (longlong_t)];
while read symbol type offset size ; do
eval "size=$(( 0$size + 0 ))"
symbol=${symbol#_}
- if [ $type == "C" ] ; then
+ if [ "$type" = "C" ] ; then
size=$offset
fi
case "$symbol" in
@@ -704,7 +704,7 @@ char sizeof_wchar_t[sizeof (wchar_t)];
while read symbol type offset size ; do
eval "size=$(( 0$size + 0 ))"
symbol=${symbol#_}
- if [ $type == "C" ] ; then
+ if [ "$type" = "C" ] ; then
size=$offset
fi
case "$symbol" in