summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrocky <rocky@gnu.org>2012-09-26 20:16:31 -0400
committerrocky <rocky@gnu.org>2012-09-26 20:16:31 -0400
commitfafd28f60823ea9dcb248f90bb5597a70f4ef946 (patch)
tree1037a54297c817a71aae8335b38f49453de6ef67
parentf47bf5e9f9e64d66192aa2798c23b207a73462ad (diff)
MINGW wants native paths in regression tests bug #37447
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 173d4a88..0d95e0a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -408,6 +408,10 @@ int has_timeout=sizeof(test.timeout);],
defined as a variable. In cygwin it is a function too])
;;
mingw*)
+ # regression tests need native-style absolute paths.
+ # ac_pwd is used to build top_abs_srcdir.
+ ac_pwd=$(cd $srcdir; builtin pwd -W)
+
AC_CHECK_HEADERS(windows.h)
AC_DEFINE([MINGW32], [1],
[Define 1 if you are compiling using MinGW])