Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07ac8e9

Browse files
committed
In flex --version test, redirect stdin to /dev/null, because some lex' hang
waiting for input. From Pete Forman <gsez020@kryten.bedford.waii.com>.
1 parenta9adde3 commit07ac8e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎config/programs.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.1 2000/08/28 11:53:13 petere Exp $
1+
# $Header: /cvsroot/pgsql/config/programs.m4,v 1.2 2000/10/26 16:28:00 petere Exp $
22

33

44
# PGAC_PATH_FLEX
@@ -22,7 +22,7 @@ else
2222
for pgac_prog in flex lex; do
2323
pgac_candidate="$pgac_dir/$pgac_prog"
2424
if test -f "$pgac_candidate" \
25-
&& $pgac_candidate --version >/dev/null 2>&1
25+
&& $pgac_candidate --version</dev/null>/dev/null 2>&1
2626
then
2727
echo '%%' > conftest.l
2828
if $pgac_candidate -t conftest.l 2>/dev/null | grep FLEX_SCANNER >/dev/null 2>&1; then

‎configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,7 +2550,7 @@ INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS"
25502550

25512551

25522552

2553-
forac_proginmawkgawk nawk awk
2553+
forac_progin gawk mawk nawk awk
25542554
do
25552555
# Extract the first word of "$ac_prog", so it can be a program name with args.
25562556
set dummy$ac_prog; ac_word=$2
@@ -2602,7 +2602,7 @@ else
26022602
forpgac_progin flex lex;do
26032603
pgac_candidate="$pgac_dir/$pgac_prog"
26042604
iftest -f"$pgac_candidate" \
2605-
&&$pgac_candidate --version>/dev/null2>&1
2605+
&&$pgac_candidate --version</dev/null>/dev/null2>&1
26062606
then
26072607
echo'%%'> conftest.l
26082608
if$pgac_candidate -t conftest.l2>/dev/null| grep FLEX_SCANNER>/dev/null2>&1;then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp