diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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 |