Skip to content
Snippets Groups Projects
Commit 6c32673e authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

config: revert double-checking for netcdf_meta.h

parent 4bbb7d94
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!33Pre-release fixups
...@@ -111,7 +111,7 @@ AC_ARG_WITH([netcdf], ...@@ -111,7 +111,7 @@ AC_ARG_WITH([netcdf],
[AS_CASE(["$with_netcdf"], [AS_CASE(["$with_netcdf"],
[no],[AC_MSG_CHECKING([for NetCDF library]) [no],[AC_MSG_CHECKING([for NetCDF library])
AC_MSG_RESULT([suppressed])], 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_MSG_ERROR([Could not find netcdf.h])],
[AC_INCLUDES_DEFAULT]) [AC_INCLUDES_DEFAULT])
AC_SEARCH_LIBS([nc_open], AC_SEARCH_LIBS([nc_open],
...@@ -125,7 +125,7 @@ AC_ARG_WITH([netcdf], ...@@ -125,7 +125,7 @@ AC_ARG_WITH([netcdf],
[NETCDF_ROOT=$with_netcdf [NETCDF_ROOT=$with_netcdf
LDFLAGS="-L$NETCDF_ROOT/lib $LDFLAGS" LDFLAGS="-L$NETCDF_ROOT/lib $LDFLAGS"
CPPFLAGS="-I$NETCDF_ROOT/include $CPPFLAGS" 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_MSG_ERROR([Could not find netcdf.h])],
[AC_INCLUDES_DEFAULT]) [AC_INCLUDES_DEFAULT])
AC_SEARCH_LIBS([nc_open], AC_SEARCH_LIBS([nc_open],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment