X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=configure;fp=configure;h=ba2cf8c8f678978a0214bfb0e7370904c360c5a4;hp=2e114da6b166c0497df6b3aa45c8e81934e72c6e;hb=10137fcff95f69185c8097c835c09127b1a75167;hpb=3c2123a15ed3dea068e34bdedd9b07aa43d4c927 diff --git a/configure b/configure index 2e114da..ba2cf8c 100755 --- a/configure +++ b/configure @@ -8786,22 +8786,22 @@ _ACEOF fi fi -if test -x "$LEX" -then +if "$LEX" eq ":" ; then + { { echo "$as_me:$LINENO: error: Cannot find flex." >&5 +echo "$as_me: error: Cannot find flex." >&2;} + { (exit 1); exit 1; }; } +elif echo "" | $LEX -V -v --version > /dev/null 2>&1 ; then { { echo "$as_me:$LINENO: error: Cannot find flex." >&5 echo "$as_me: error: Cannot find flex." >&2;} { (exit 1); exit 1; }; } fi -if test -z "$LEXLIB" -then - { { echo "$as_me:$LINENO: error: - Cannot find a library with yywrap() in, but flex was found. +if test -z "$LEXLIB" ; then + { { echo "$as_me:$LINENO: error: Cannot find a library with yywrap() in, but flex was found. It's possible the compiler you're using ($CC) is incompatible with the installed library. See \`config.log' for more details." >&5 -echo "$as_me: error: - Cannot find a library with yywrap() in, but flex was found. +echo "$as_me: error: Cannot find a library with yywrap() in, but flex was found. It's possible the compiler you're using ($CC) is incompatible with the installed library. See \`config.log' for more details." >&2;} @@ -8851,8 +8851,11 @@ fi done test -n "$YACC" || YACC="yacc" -if test -z "$YACC" -then +if "$YACC" eq ":" ; then + { { echo "$as_me:$LINENO: error: Cannot find yacc." >&5 +echo "$as_me: error: Cannot find yacc." >&2;} + { (exit 1); exit 1; }; } +elif echo "" | $YACC -V -v --version > /dev/null 2>&1 ; then { { echo "$as_me:$LINENO: error: Cannot find yacc." >&5 echo "$as_me: error: Cannot find yacc." >&2;} { (exit 1); exit 1; }; }