From 174ca0477dc5977483bca53a726243f1cbf20de7 Mon Sep 17 00:00:00 2001
From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>
Date: Wed, 16 Oct 2019 17:16:51 +0200
Subject: [PATCH] Delete conftest.dSYM at configure time to avoid annoying
 messages on MacOS.

---
 configure.ac | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c7429a68e..aeb671e20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,9 +28,12 @@ AM_MAINTAINER_MODE([disable])
 
 # Check building environment
 AC_PROG_CC_C99
+dnl The check above forgets to delete the following directory
+dnl generated by the MacOS linker, which results in multiple
+dnl annoying messages from the rm utility:
+rm -rf conftest.dSYM
 dnl verify the setup supports POSIX 2001
 ACX_PROG_CC_POSIX([2001])
-AM_PROG_CC_C_O
 AC_C_RESTRICT
 AC_PROG_FC
 AS_IF([test -n "$FC" && test "X$FC" != Xno],
-- 
GitLab