user provided PATH_SEPARATOR always overrides auto-detected one

pull/1/head
Yang Tse 16 years ago
parent ca44947b99
commit 8a34a3a045
  1. 4
      m4/cares-system.m4

@ -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.

Loading…
Cancel
Save