Lines Matching refs:LEX
701 LEX
9214 # Look for {f}lex.
9216 for ac_prog in flex lex
9226 if test -n "$LEX"; then
9227 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9250 LEX=$ac_cv_prog_LEX
9251 if test -n "$LEX"; then
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
9253 printf "%s\n" "$LEX" >&6; }
9260 test -n "$LEX" && break
9262 test -n "$LEX" || LEX=":"
9264 if test "x$LEX" != "x:"; then
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
9302 printf %s "checking for lex output file root... " >&6; }
9309 { { ac_try="$LEX conftest.l"
9316 (eval "$LEX conftest.l") 2>&5
9320 if test -f lex.yy.c; then
9321 ac_cv_prog_lex_root=lex.yy
9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
9331 printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;}
9332 LEX=: LEXLIB=
9341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
9342 printf %s "checking for lex library... " >&6; }
9383 lex library not found; giving up on $LEX" >&5
9384 printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;}
9385 LEX=: LEXLIB=
9457 if test "$LEX" != :
9466 # POSIX says lex can declare yytext either as a pointer or an array; the
9495 if test "$LEX" = ":"; then
9496 as_fn_error $? "Neither flex nor lex was found." "$LINENO" 5
9500 # Make sure {f}lex supports the -P, --header-file, and --nounput flags
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capable lex" >&5
9504 printf %s "checking for capable lex... " >&6; }
9509 if $LEX -P pcap_ --header-file=/dev/null --nounput -t $srcdir/scanner.l > /dev/null 2>&1; then
9518 as_fn_error $? "$LEX is insufficient to compile libpcap.
9519 libpcap requires Flex 2.5.31 or later, or a compatible version of lex.
9520 If a suitable version of Lex/Flex is available as a non-standard command
9521 and/or not in the PATH, you can specify it using the LEX environment
9522 variable. That said, on some systems the error can mean that Flex/Lex is