Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3a6f131

Browse files
committed
Use $PATH_SEPARATOR like the rest of the autoconf code, instead of
hardwiring IFS=: when searching paths.
1 parent baace40 commit 3a6f131

File tree

3 files changed

+3217
-6819
lines changed

3 files changed

+3217
-6819
lines changed

config/programs.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/config/programs.m4,v 1.14 2004/05/19 22:12:30 momjian Exp $
1+
# $PostgreSQL: pgsql/config/programs.m4,v 1.15 2004/09/02 15:39:55 tgl Exp $
22

33

44
# PGAC_PATH_FLEX
@@ -14,8 +14,9 @@ if test -n "$FLEX"; then
1414
pgac_cv_path_flex=$FLEX
1515
else
1616
pgac_save_IFS=$IFS
17-
IFS=:
17+
IFS=$PATH_SEPARATOR
1818
for pgac_dir in $PATH; do
19+
IFS=$pgac_save_IFS
1920
if test -z "$pgac_dir" || test x"$pgac_dir" = x"."; then
2021
pgac_dir=`pwd`
2122
fi
@@ -37,7 +38,6 @@ else
3738
fi
3839
done
3940
done
40-
IFS=$pgac_save_IFS
4141
rm -f conftest.l
4242
: ${pgac_cv_path_flex=no}
4343
fi

0 commit comments

Comments
 (0)