Added CPU flags tests
This commit is contained in:
parent
6108185905
commit
6cefdbb5f2
2
configure
vendored
2
configure
vendored
@ -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"
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user