configure: disable lex/yacc on Solaris
[fio.git] / configure
index 58f02fa57ed51f1721dc79f3c19cfcacde6f6af1..d41a1c3ae5b61570b2b614d5c1ea72e948265913 100755 (executable)
--- a/configure
+++ b/configure
@@ -1317,6 +1317,7 @@ yacc="no"
 yacc_is_bison="no"
 lex="no"
 arith="no"
+if test "$targetos" != "SunOS" ; then
 LEX=$(which lex 2> /dev/null)
 if test -x "$LEX" ; then
   lex="yes"
@@ -1345,13 +1346,13 @@ int main(int argc, char **argv)
   return 0;
 }
 EOF
-
 if compile_prog "" "-ll" "lex"; then
   LIBS="-ll $LIBS"
 else
   arith="no"
 fi
 fi
+fi
 
 echo "lex/yacc for arithmetic       $arith"