From 94f45d08c3c9db275aae5cb47e948b8c6824c384 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 15 Oct 2011 12:39:28 -0400 Subject: * configure: POSIX Portability. Use = instead of == in test expressions. This was revealed by ubuntu's dash. --- ChangeLog | 5 +++++ configure | 4 ++-- 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 + + * configure: POSIX Portability. Use = instead of == + in test expressions. This was revealed by ubuntu's dash. + 2011-10-13 Kaz Kylheku * 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 -- cgit v1.2.3