Added CPU flags tests

This commit is contained in:
Michiel Broek 2004-04-04 13:56:56 +00:00
parent 6108185905
commit 6cefdbb5f2
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -2905,7 +2905,7 @@ for cpuflagsbin in /usr/bin /usr/local/bin /usr/pkg/bin `pwd` NONE; do
echo "$as_me:$LINENO: result: unknown" >&5 echo "$as_me:$LINENO: result: unknown" >&5
echo "${ECHO_T}unknown" >&6 echo "${ECHO_T}unknown" >&6
elif test -x $cpuflagsbin/cpuflags; then elif test -x $cpuflagsbin/cpuflags; then
CPUFLAGS=`cpuflags` CPUFLAGS=`$cpuflagsbin/cpuflags`
echo "$as_me:$LINENO: result: $CPUFLAGS" >&5 echo "$as_me:$LINENO: result: $CPUFLAGS" >&5
echo "${ECHO_T}$CPUFLAGS" >&6 echo "${ECHO_T}$CPUFLAGS" >&6
CFLAGS="$CFLAGS $CPUFLAGS" CFLAGS="$CFLAGS $CPUFLAGS"

View File

@ -87,7 +87,7 @@ for cpuflagsbin in /usr/bin /usr/local/bin /usr/pkg/bin `pwd` NONE; do
if test "$cpuflagsbin" = "NONE"; then if test "$cpuflagsbin" = "NONE"; then
AC_MSG_RESULT(unknown) AC_MSG_RESULT(unknown)
elif test -x $cpuflagsbin/cpuflags; then elif test -x $cpuflagsbin/cpuflags; then
CPUFLAGS=`cpuflags` CPUFLAGS=`$cpuflagsbin/cpuflags`
AC_MSG_RESULT($CPUFLAGS) AC_MSG_RESULT($CPUFLAGS)
CFLAGS="$CFLAGS $CPUFLAGS" CFLAGS="$CFLAGS $CPUFLAGS"
break break