1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05: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 c36f0e71b6
commit 305f4d92ef
2 changed files with 2 additions and 6 deletions

View File

@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 1
# serial 2
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.
if test $tst_dirs_sem -gt $tst_dirs_col; then
tst_auto_separator=';'
PATH_SEPARATOR=';'
else
tst_auto_separator=':'
PATH_SEPARATOR=':'
fi
if test -z "$PATH_SEPARATOR"; then
dnl Simply use the auto-detected one when not already set.

View File

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