Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 661430
Collapse All | Expand All

(-)a/configure.ac (-13 / +17 lines)
Lines 1733-1751 AC_SUBST(CCAS) Link Here
1733
1733
1734
# If the user provided its Yasm, check it seems functional
1734
# If the user provided its Yasm, check it seems functional
1735
MPIR_AS=""
1735
MPIR_AS=""
1736
if test -z "$with_yasm"; then
1736
case $host in
1737
  echo "Looking for a system-wide yasm..."
1737
  X86_PATTERN | X86_64_PATTERN)
1738
  MPIR_AS=`which yasm`
1738
    if test -z "$with_yasm"; then
1739
  if test $? -ne 0; then
1739
      echo "Looking for a system-wide yasm..."
1740
    AC_MSG_ERROR([no system-wide yasm found])
1740
      MPIR_AS=`which yasm`
1741
  fi
1741
      if test $? -ne 0; then
1742
else
1742
        AC_MSG_ERROR([no system-wide yasm found])
1743
  MPIR_AS="$with_yasm"
1743
      fi
1744
fi
1744
    else
1745
echo "Checking yasm..."
1745
      MPIR_AS="$with_yasm"
1746
if ! test -f "$MPIR_AS" || ! test -x "$MPIR_AS"; then
1746
    fi
1747
  AC_MSG_ERROR([$MPIR_AS does not seem functional])
1747
    echo "Checking yasm..."
1748
fi
1748
    if ! test -f "$MPIR_AS" || ! test -x "$MPIR_AS"; then
1749
      AC_MSG_ERROR([$MPIR_AS does not seem functional])
1750
    fi
1751
    ;;
1752
esac
1749
AC_SUBST(MPIR_AS)
1753
AC_SUBST(MPIR_AS)
1750
1754
1751
# The C++ compiler, if desired.
1755
# The C++ compiler, if desired.

Return to bug 661430