diff options
| author | Peter Eisentraut | 2000-10-26 16:28:01 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-10-26 16:28:01 +0000 |
| commit | 07ac8e94c73c8692a85e3059a568bab4228388f8 (patch) | |
| tree | d06cf7ddafa6a2709af52ec22c1c1b6de0e7dd9d /configure | |
| parent | a9adde36ea8228fd8b065eb45450cbe59c9f1987 (diff) | |
In flex --version test, redirect stdin to /dev/null, because some lex' hang
waiting for input. From Pete Forman <gsez020@kryten.bedford.waii.com>.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure index 20f04268407..a329292367a 100755 --- a/configure +++ b/configure @@ -2550,7 +2550,7 @@ INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS" -for ac_prog in mawk gawk nawk awk +for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -2602,7 +2602,7 @@ else for pgac_prog in flex lex; do pgac_candidate="$pgac_dir/$pgac_prog" if test -f "$pgac_candidate" \ - && $pgac_candidate --version >/dev/null 2>&1 + && $pgac_candidate --version </dev/null >/dev/null 2>&1 then echo '%%' > conftest.l if $pgac_candidate -t conftest.l 2>/dev/null | grep FLEX_SCANNER >/dev/null 2>&1; then |
