changeset 31727:94ba361e1766

Refuse to compile without yasm unless it was explicitly requested.
author reimar
date Sun, 25 Jul 2010 08:40:45 +0000
parents 8adcdb0b8ef6
children 25820228c2f1
files configure
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jul 24 21:43:29 2010 +0000
+++ b/configure	Sun Jul 25 08:40:45 2010 +0000
@@ -2721,7 +2721,9 @@
 fi
 
 echo "pabsw xmm0, xmm0" > $TMPS
-yasm_check || _yasm=""
+if test "$_yasm" ; then
+  yasm_check || die "yasm not found, use --yasm='' if you really want to compile without"
+fi
 if test $_yasm ; then
   def_yasm='#define HAVE_YASM 1'
   have_yasm="yes"