about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2013-03-26 20:53:16 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-03-26 20:53:16 +0000
commit28831a9a671b109e49d0a4ddce00a08d734bfc97 (patch)
tree4dc69f2c888087160ddc877fb4ab17507c209370 /ports
parent5739f705eed5cf58e7b439e5983542e06d7fc2da (diff)
downloadglibc-28831a9a671b109e49d0a4ddce00a08d734bfc97.tar.gz
glibc-28831a9a671b109e49d0a4ddce00a08d734bfc97.tar.xz
glibc-28831a9a671b109e49d0a4ddce00a08d734bfc97.zip
ARM: fix preconfigure.
Diffstat (limited to 'ports')
-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"