mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Use $PATH_SEPARATOR like the rest of the autoconf code, instead of
hardwiring IFS=: when searching paths.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
# $PostgreSQL: pgsql/config/programs.m4,v 1.14 2004/05/19 22:12:30 momjian Exp $
|
# $PostgreSQL: pgsql/config/programs.m4,v 1.15 2004/09/02 15:39:55 tgl Exp $
|
||||||
|
|
||||||
|
|
||||||
# PGAC_PATH_FLEX
|
# PGAC_PATH_FLEX
|
||||||
@ -14,8 +14,9 @@ if test -n "$FLEX"; then
|
|||||||
pgac_cv_path_flex=$FLEX
|
pgac_cv_path_flex=$FLEX
|
||||||
else
|
else
|
||||||
pgac_save_IFS=$IFS
|
pgac_save_IFS=$IFS
|
||||||
IFS=:
|
IFS=$PATH_SEPARATOR
|
||||||
for pgac_dir in $PATH; do
|
for pgac_dir in $PATH; do
|
||||||
|
IFS=$pgac_save_IFS
|
||||||
if test -z "$pgac_dir" || test x"$pgac_dir" = x"."; then
|
if test -z "$pgac_dir" || test x"$pgac_dir" = x"."; then
|
||||||
pgac_dir=`pwd`
|
pgac_dir=`pwd`
|
||||||
fi
|
fi
|
||||||
@ -37,7 +38,6 @@ else
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
IFS=$pgac_save_IFS
|
|
||||||
rm -f conftest.l
|
rm -f conftest.l
|
||||||
: ${pgac_cv_path_flex=no}
|
: ${pgac_cv_path_flex=no}
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl $PostgreSQL: pgsql/configure.in,v 1.374 2004/08/31 04:08:33 pgsql Exp $
|
dnl $PostgreSQL: pgsql/configure.in,v 1.375 2004/09/02 15:39:56 tgl Exp $
|
||||||
dnl
|
dnl
|
||||||
dnl Developers, please strive to achieve this order:
|
dnl Developers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@ -326,7 +326,7 @@ PGAC_ARG_BOOL(enable, cassert, no, [ --enable-cassert enable assertion c
|
|||||||
# Include directories
|
# Include directories
|
||||||
#
|
#
|
||||||
ac_save_IFS=$IFS
|
ac_save_IFS=$IFS
|
||||||
IFS="${IFS}:"
|
IFS="${IFS}${PATH_SEPARATOR}"
|
||||||
# SRCH_INC comes from the template file
|
# SRCH_INC comes from the template file
|
||||||
for dir in $with_includes $SRCH_INC; do
|
for dir in $with_includes $SRCH_INC; do
|
||||||
if test -d "$dir"; then
|
if test -d "$dir"; then
|
||||||
@ -343,7 +343,7 @@ AC_SUBST(INCLUDES)
|
|||||||
# Library directories
|
# Library directories
|
||||||
#
|
#
|
||||||
ac_save_IFS=$IFS
|
ac_save_IFS=$IFS
|
||||||
IFS="${IFS}:"
|
IFS="${IFS}${PATH_SEPARATOR}"
|
||||||
# LIBRARY_DIRS comes from command line, SRCH_LIB from template file.
|
# LIBRARY_DIRS comes from command line, SRCH_LIB from template file.
|
||||||
for dir in $LIBRARY_DIRS $SRCH_LIB; do
|
for dir in $LIBRARY_DIRS $SRCH_LIB; do
|
||||||
if test -d "$dir"; then
|
if test -d "$dir"; then
|
||||||
|
Reference in New Issue
Block a user