diff configure @ 31727:94ba361e1766

Refuse to compile without yasm unless it was explicitly requested.
author reimar
date Sun, 25 Jul 2010 08:40:45 +0000
parents 9c9d8fe59b53
children 971b1ce234cd
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"