Skip to content
Snippets Groups Projects
Commit 305f4d92 authored by Yang Tse's avatar Yang Tse
Browse files

user provided PATH_SEPARATOR always overrides auto-detected one

parent c36f0e71
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment