]> Savannah Git Hosting - gnulib.git/commitdiff
canonicalize: Fix a problem of the autoconf test on MSVC/clang.
authorBruno Haible <bruno@clisp.org>
Sat, 15 Aug 2020 16:59:30 +0000 (18:59 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 15 Aug 2020 16:59:30 +0000 (18:59 +0200)
* m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Remove undesired file
from dependency analysis first.

ChangeLog
m4/canonicalize.m4

index e23e06dd43341849db8be26b50ada9bb9951b04f..86b512991833d337b78cb61d57f68b8e33ff7625 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-08-15  Bruno Haible  <bruno@clisp.org>
+
+       canonicalize: Fix a problem of the autoconf test on MSVC/clang.
+       * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Remove undesired file
+       from dependency analysis first.
+
 2020-08-15  Bruno Haible  <bruno@clisp.org>
 
        Determine asm output option and filename suffix for MSVC/clang.
index de64cf7ab067f23809f7b6629504cfb7ffef93f2..14ea3e12fa0d6f99e2f9227152e74476b50f1ee6 100644 (file)
@@ -1,4 +1,4 @@
-# canonicalize.m4 serial 32
+# canonicalize.m4 serial 33
 
 dnl Copyright (C) 2003-2007, 2009-2020 Free Software Foundation, Inc.
 
@@ -79,6 +79,7 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS],
   AC_CHECK_FUNCS_ONCE([realpath])
   AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
   AC_CACHE_CHECK([whether realpath works], [gl_cv_func_realpath_works], [
+    rm -rf conftest.a conftest.d
     touch conftest.a
     mkdir conftest.d
     AC_RUN_IFELSE([