1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-23 22:23:47 +00:00

user provided PATH_SEPARATOR always overrides auto-detected one

This commit is contained in:
Yang Tse
2008-11-19 01:57:27 +00:00
parent ca44947b99
commit 8a34a3a045

View File

@ -16,7 +16,7 @@
#*************************************************************************** #***************************************************************************
# File version for 'aclocal' use. Keep it a single number. # File version for 'aclocal' use. Keep it a single number.
# serial 1 # serial 2
dnl CARES_CHECK_PATH_SEPARATOR dnl CARES_CHECK_PATH_SEPARATOR
@ -57,10 +57,8 @@ AC_DEFUN([CARES_CHECK_PATH_SEPARATOR], [
dnl Separator with the greater directory count is the auto-detected one. dnl Separator with the greater directory count is the auto-detected one.
if test $tst_dirs_sem -gt $tst_dirs_col; then if test $tst_dirs_sem -gt $tst_dirs_col; then
tst_auto_separator=';' tst_auto_separator=';'
PATH_SEPARATOR=';'
else else
tst_auto_separator=':' tst_auto_separator=':'
PATH_SEPARATOR=':'
fi fi
if test -z "$PATH_SEPARATOR"; then if test -z "$PATH_SEPARATOR"; then
dnl Simply use the auto-detected one when not already set. dnl Simply use the auto-detected one when not already set.