summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-11 10:45:41 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-11 10:46:29 +0300
commit568dc479a62ac9cb50d59145aea8145967ced5bc (patch)
tree6756831b2c7f61c6feba9b98e3a9610c0866a55f /configure.ac
parentdd5dfc8e2a0fc3c0307c0a782ae563b79ba8a84e (diff)
The Cygwin realpath command fails for dirs on a mounted volume so just warn
Change-Id: Idff480084b22a5db6a0f00f90b7febc8488ba2af
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 65dd75e8eeb4..e965a1cdc1ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,9 +48,11 @@ PathFormat()
fp_count_slash=`echo "$formatted_path" | $GREP -c "[/]"`
if test "$fp_count_slash$fp_count_colon" != "00"; then
if test "$fp_count_colon" = "0"; then
- formatted_path=`realpath "$formatted_path"`
+ new_formatted_path=`realpath "$formatted_path"`
if test $? -ne 0; then
- AC_MSG_ERROR([realpath failed for "$1".])
+ AC_MSG_WARNING([realpath failed for "$1", not necessarily a problem.])
+ else
+ formatted_path="$new_formatted_path"
fi
fi
formatted_path=`cygpath -m "$formatted_path"`