[Python-checkins] r71649 - in python/branches/py3k-short-float-repr: configure configure.in
mark.dickinson
python-checkins at python.org
Thu Apr 16 16:50:31 CEST 2009
Author: mark.dickinson
Date: Thu Apr 16 16:50:29 2009
New Revision: 71649
Log:
Use 'test' instead of [[: FreeBSD complains about the [[
Modified:
python/branches/py3k-short-float-repr/configure
python/branches/py3k-short-float-repr/configure.in
Modified: python/branches/py3k-short-float-repr/configure
==============================================================================
--- python/branches/py3k-short-float-repr/configure (original)
+++ python/branches/py3k-short-float-repr/configure Thu Apr 16 16:50:29 2009
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 71616 .
+# From configure.in Revision: 71618 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 3.1.
#
@@ -21846,11 +21846,11 @@
# (e.g., this is true by default on OS X/x86)
{ echo "$as_me:$LINENO: checking whether SSE2 instructions are already enabled for math" >&5
echo $ECHO_N "checking whether SSE2 instructions are already enabled for math... $ECHO_C" >&6; }
- if [ "`$CC -dM -E - </dev/null | grep __SSE2_MATH__`" == "" ]
+ if test -n "`$CC -dM -E - </dev/null | grep __SSE2_MATH__`"
then
- ac_sse2_enabled=no
- else
ac_sse2_enabled=yes
+ else
+ ac_sse2_enabled=no
fi
{ echo "$as_me:$LINENO: result: $ac_sse2_enabled" >&5
echo "${ECHO_T}$ac_sse2_enabled" >&6; }
Modified: python/branches/py3k-short-float-repr/configure.in
==============================================================================
--- python/branches/py3k-short-float-repr/configure.in (original)
+++ python/branches/py3k-short-float-repr/configure.in Thu Apr 16 16:50:29 2009
@@ -3160,11 +3160,11 @@
# determine whether we're already using the SSE2 instruction set for math
# (e.g., this is true by default on OS X/x86)
AC_MSG_CHECKING(whether SSE2 instructions are already enabled for math)
- if [[ "`$CC -dM -E - </dev/null | grep __SSE2_MATH__`" == "" ]]
+ if test -n "`$CC -dM -E - </dev/null | grep __SSE2_MATH__`"
then
- ac_sse2_enabled=no
- else
ac_sse2_enabled=yes
+ else
+ ac_sse2_enabled=no
fi
AC_MSG_RESULT($ac_sse2_enabled)
More information about the Python-checkins
mailing list