From fcdd43d1bc6834408b3f16a654bc0cddf4533c5e Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 2 Sep 2019 18:27:45 +0200 Subject: revert "configure: fix setting abs_srcdir on MSYS2/MINGW" (#911) (#914) This reverts commit 7b02418ec508af9e340cad5e93ab06e8f1fb84c8. --- configure | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 23b40b1f8..a67d6bb54 100755 --- a/configure +++ b/configure @@ -146,12 +146,11 @@ fi case $srcdir in /*) abs_srcdir=$srcdir;; *) - # Use a Windows path when not on MSYS2/MINGW. - if [ -z "$MSYSTEM" ]; then - curdir=`pwd -W 2>/dev/null || pwd` - else - curdir=`pwd` - fi + # Use a Windows path on windows. + case "$OS" in + Windows_NT) curdir=`pwd -W 2>/dev/null || pwd` ;; + *) curdir=`pwd` ;; + esac abs_srcdir=$curdir/$srcdir ;; esac -- cgit v1.2.3