summaryrefslogtreecommitdiffstats
path: root/configure
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 /configure
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
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