about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ports/ChangeLog.arm5
-rw-r--r--ports/sysdeps/arm/preconfigure2
-rw-r--r--ports/sysdeps/arm/preconfigure.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 0156f54951..355d980ba5 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,8 @@
+2013-03-26  Mans Rullgard  <mans@mansr.com>
+
+	* sysdeps/arm/preconfigure.in: Use "test" instead of [ ].
+	* sysdeps/arm/preconfigure: Regenerated.
+
 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/arm/configure.in (default-abi): Set using
diff --git a/ports/sysdeps/arm/preconfigure b/ports/sysdeps/arm/preconfigure
index 7ba17492ee..908cd34303 100644
--- a/ports/sysdeps/arm/preconfigure
+++ b/ports/sysdeps/arm/preconfigure
@@ -10,7 +10,7 @@ arm*)
     # avoid this, add -fno-unwind-tables here and remove it in
     # sysdeps/unix/sysv/linux/arm/configure.in after those tests have
     # been run.
-    if  "${CFLAGS+set}" != "set" ; then
+    if test "${CFLAGS+set}" != "set"; then
       CFLAGS="-g -O2"
     fi
     CFLAGS="$CFLAGS -fno-unwind-tables"
diff --git a/ports/sysdeps/arm/preconfigure.in b/ports/sysdeps/arm/preconfigure.in
index 99f21282fa..f8357955eb 100644
--- a/ports/sysdeps/arm/preconfigure.in
+++ b/ports/sysdeps/arm/preconfigure.in
@@ -10,7 +10,7 @@ arm*)
     # avoid this, add -fno-unwind-tables here and remove it in
     # sysdeps/unix/sysv/linux/arm/configure.in after those tests have
     # been run.
-    if [ "${CFLAGS+set}" != "set" ]; then
+    if test "${CFLAGS+set}" != "set"; then
       CFLAGS="-g -O2"
     fi
     CFLAGS="$CFLAGS -fno-unwind-tables"