]> Savannah Git Hosting - gnulib.git/commitdiff
Ensure that the configuration cleans up conftest.dSYM directories.
authorGrisha Levit <grishalevit@gmail.com>
Wed, 16 Apr 2025 03:34:11 +0000 (23:34 -0400)
committerBruno Haible <bruno@clisp.org>
Sat, 3 May 2025 14:04:09 +0000 (16:04 +0200)
* m4/gnulib-common.m4 (gl_CC_ALLOW_WARNINGS, gl_CXX_ALLOW_WARNINGS):
Remove conftest* files and directories recursively.
* m4/asm-underscore.m4 (gl_ASM_SYMBOL_PREFIX, gl_C_ASM): Likewise.
* m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI): Likewise.
* m4/warnings.m4 (gl_CC_INHIBIT_WARNINGS, gl_CXX_INHIBIT_WARNINGS):
Likewise.

Copyright-paperwork-exempt: Yes

ChangeLog
m4/asm-underscore.m4
m4/gnulib-common.m4
m4/host-cpu-c-abi.m4
m4/warnings.m4

index 03a8c70902329eac91535de4521ff4900f730d24..8486d4cf826a272e11b1355ebb600190e50f3ff2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2025-04-16  Grisha Levit  <grishalevit@gmail.com>  (tiny change)
+
+       Ensure that the configuration cleans up conftest.dSYM directories.
+       * m4/gnulib-common.m4 (gl_CC_ALLOW_WARNINGS, gl_CXX_ALLOW_WARNINGS):
+       Remove conftest* files and directories recursively.
+       * m4/asm-underscore.m4 (gl_ASM_SYMBOL_PREFIX, gl_C_ASM): Likewise.
+       * m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI): Likewise.
+       * m4/warnings.m4 (gl_CC_INHIBIT_WARNINGS, gl_CXX_INHIBIT_WARNINGS):
+       Likewise.
+
 2025-04-15  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool.py: Fix exception during --update with changed macro-prefix.
index 66bb78f99b341750973a99f0f0a734beae7a654d..ffb16826899c0c4dffd18e538c63c86fc6da4ce4 100644 (file)
@@ -1,6 +1,6 @@
 # asm-underscore.m4
-# serial 5
-dnl Copyright (C) 2010-2024 Free Software Foundation, Inc.
+# serial 6
+dnl Copyright (C) 2010-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -36,7 +36,7 @@ EOF
      else
        gl_cv_prog_as_underscore=no
      fi
-     rm -f conftest*
+     rm -fr conftest*
     ])
   if test $gl_cv_prog_as_underscore = yes; then
     USER_LABEL_PREFIX=_
@@ -66,7 +66,7 @@ MicrosoftCompiler
     ],
     [dnl Microsoft's 'cl' and 'clang-cl' produce an .asm file, whereas 'clang'
      dnl produces a .s file. Need to distinguish 'clang' and 'clang-cl'.
-     rm -f conftest*
+     rm -fr conftest*
      echo 'int dummy;' > conftest.c
      AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c) >/dev/null 2>&1
      if test -f conftest.o; then
@@ -76,7 +76,7 @@ MicrosoftCompiler
        gl_asmext='asm'
        gl_c_asm_opt='-c -Fa'
      fi
-     rm -f conftest*
+     rm -fr conftest*
     ],
     [gl_asmext='s'
      gl_c_asm_opt='-S'
index 086e1f5c269f2657e88c4b2fde529c72d782fa2c..6ab235bb3c45e52a23e8b70e1eee18bbf0d1f49f 100644 (file)
@@ -1,6 +1,6 @@
 # gnulib-common.m4
-# serial 96.2
-dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
+# serial 96.3
+dnl Copyright (C) 2007-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -1083,7 +1083,7 @@ AC_DEFUN([gl_CC_ALLOW_WARNINGS],
   AC_REQUIRE([AC_PROG_CC])
   AC_CACHE_CHECK([for C compiler option to allow warnings],
     [gl_cv_cc_wallow],
-    [rm -f conftest*
+    [rm -fr conftest*
      echo 'int dummy;' > conftest.c
      AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err]) >/dev/null
      AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -Wno-error -c conftest.c 2>conftest2.err]) >/dev/null
@@ -1096,7 +1096,7 @@ AC_DEFUN([gl_CC_ALLOW_WARNINGS],
      else
        gl_cv_cc_wallow=none
      fi
-     rm -f conftest*
+     rm -fr conftest*
     ])
   case "$gl_cv_cc_wallow" in
     none) GL_CFLAG_ALLOW_WARNINGS='' ;;
@@ -1114,7 +1114,7 @@ AC_DEFUN([gl_CXX_ALLOW_WARNINGS],
   if test -n "$CXX" && test "$CXX" != no; then
     AC_CACHE_CHECK([for C++ compiler option to allow warnings],
       [gl_cv_cxx_wallow],
-      [rm -f conftest*
+      [rm -fr conftest*
        echo 'int dummy;' > conftest.cc
        AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>conftest1.err]) >/dev/null
        AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -Wno-error -c conftest.cc 2>conftest2.err]) >/dev/null
@@ -1127,7 +1127,7 @@ AC_DEFUN([gl_CXX_ALLOW_WARNINGS],
        else
          gl_cv_cxx_wallow=none
        fi
-       rm -f conftest*
+       rm -fr conftest*
       ])
     case "$gl_cv_cxx_wallow" in
       none) GL_CXXFLAG_ALLOW_WARNINGS='' ;;
index 1b47f102a322571f06202fecf57a052a14499bd7..bfc2edbd5492f2910f145f23785f3ff3d0e2e139 100644 (file)
@@ -1,5 +1,5 @@
 # host-cpu-c-abi.m4
-# serial 17.1
+# serial 17.2
 dnl Copyright (C) 2002-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -141,7 +141,7 @@ changequote([,])dnl
             else
               gl_cv_host_cpu_c_abi=arm
             fi
-            rm -f conftest*
+            rm -fr conftest*
            ])
          ;;
 
index fe7af01fc500a3aeef916b1010f7da69b109eb2e..67459f0ae03e613a858b0f78873d0032b7814cb6 100644 (file)
@@ -1,6 +1,6 @@
 # warnings.m4
-# serial 20
-dnl Copyright (C) 2008-2024 Free Software Foundation, Inc.
+# serial 21
+dnl Copyright (C) 2008-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -113,7 +113,7 @@ AC_DEFUN([gl_CC_INHIBIT_WARNINGS],
   AC_REQUIRE([AC_PROG_CC])
   AC_CACHE_CHECK([for C compiler option to inhibit all warnings],
     [gl_cv_cc_winhibit],
-    [rm -f conftest*
+    [rm -fr conftest*
      echo 'int dummy;' > conftest.c
      AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err]) >/dev/null
      AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -w -c conftest.c 2>conftest2.err]) >/dev/null
@@ -122,7 +122,7 @@ AC_DEFUN([gl_CC_INHIBIT_WARNINGS],
      else
        gl_cv_cc_winhibit=none
      fi
-     rm -f conftest*
+     rm -fr conftest*
     ])
   case "$gl_cv_cc_winhibit" in
     none) GL_CFLAG_INHIBIT_WARNINGS='' ;;
@@ -145,7 +145,7 @@ AC_DEFUN([gl_CXX_INHIBIT_WARNINGS],
   if test -n "$CXX" && test "$CXX" != no; then
     AC_CACHE_CHECK([for C++ compiler option to inhibit all warnings],
       [gl_cv_cxx_winhibit],
-      [rm -f conftest*
+      [rm -fr conftest*
        echo 'int dummy;' > conftest.cc
        AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>conftest1.err]) >/dev/null
        AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -w -c conftest.cc 2>conftest2.err]) >/dev/null
@@ -154,7 +154,7 @@ AC_DEFUN([gl_CXX_INHIBIT_WARNINGS],
        else
          gl_cv_cxx_winhibit=none
        fi
-       rm -f conftest*
+       rm -fr conftest*
       ])
     case "$gl_cv_cxx_winhibit" in
       none) GL_CXXFLAG_INHIBIT_WARNINGS='' ;;