From 6c32673e6e1ef5994275376937d6a169d8bf5be7 Mon Sep 17 00:00:00 2001
From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>
Date: Thu, 23 Feb 2023 20:34:31 +0100
Subject: [PATCH] config: revert double-checking for netcdf_meta.h

---
 m4/acx_options.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/acx_options.m4 b/m4/acx_options.m4
index 701afbb01..74e75c0f7 100644
--- a/m4/acx_options.m4
+++ b/m4/acx_options.m4
@@ -111,7 +111,7 @@ AC_ARG_WITH([netcdf],
             [AS_CASE(["$with_netcdf"],
                      [no],[AC_MSG_CHECKING([for NetCDF library])
                            AC_MSG_RESULT([suppressed])],
-                     [yes],[AC_CHECK_HEADERS([netcdf.h netcdf_meta.h],,
+                     [yes],[AC_CHECK_HEADERS([netcdf.h],,
                                              [AC_MSG_ERROR([Could not find netcdf.h])],
                                              [AC_INCLUDES_DEFAULT])
                             AC_SEARCH_LIBS([nc_open],
@@ -125,7 +125,7 @@ AC_ARG_WITH([netcdf],
                                 [NETCDF_ROOT=$with_netcdf
                                  LDFLAGS="-L$NETCDF_ROOT/lib $LDFLAGS"
                                  CPPFLAGS="-I$NETCDF_ROOT/include $CPPFLAGS"
-                                 AC_CHECK_HEADERS([netcdf.h netcdf_meta.h],,
+                                 AC_CHECK_HEADERS([netcdf.h],,
                                                   [AC_MSG_ERROR([Could not find netcdf.h])],
                                                   [AC_INCLUDES_DEFAULT])
                                  AC_SEARCH_LIBS([nc_open],
-- 
GitLab