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:
parent
c36f0e71b6
commit
305f4d92ef
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user