Skip to content
Snippets Groups Projects
Commit 7c159024 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cleanup

parent b4b0652c
No related branches found
No related tags found
No related merge requests found
...@@ -158,14 +158,13 @@ AC_ARG_WITH([netcdf], ...@@ -158,14 +158,13 @@ AC_ARG_WITH([netcdf],
[AC_MSG_CHECKING([netcdf's nc2 support]) [AC_MSG_CHECKING([netcdf's nc2 support])
AS_IF([test "x$($NC_CONFIG --has-nc2)" = "xyes"], AS_IF([test "x$($NC_CONFIG --has-nc2)" = "xyes"],
[AC_DEFINE([HAVE_NETCDF2],[1],[Define to 1 for NETCDF2 support]) [AC_DEFINE([HAVE_NETCDF2],[1],[Define to 1 for NETCDF2 support])
AC_MSG_RESULT([yes]) ENABLE_NC2=yes
ENABLE_NC2=yes], AC_MSG_RESULT([yes])],[AC_MSG_RESULT([no])])
[AC_MSG_RESULT([no])])
AC_MSG_CHECKING([netcdf's nc4 support]) AC_MSG_CHECKING([netcdf's nc4 support])
AS_IF([test "x$($NC_CONFIG --has-nc4)" = "xyes"], AS_IF([test "x$($NC_CONFIG --has-nc4)" = "xyes"],
[AC_DEFINE([HAVE_NETCDF4],[1],[Define to 1 for NETCDF4 support]) [AC_DEFINE([HAVE_NETCDF4],[1],[Define to 1 for NETCDF4 support])
ENABLE_NC4=yes ENABLE_NC4=yes
AC_MSG_RESULT([yes])],[AC_MSG_RESULT([no])])], AC_MSG_RESULT([yes])],[AC_MSG_RESULT([no])])],
[AS_ECHO([Could not find nc-config! go on with default configuration])])], [AS_ECHO([Could not find nc-config! go on with default configuration])])],
[*],[AS_IF([test -d "$with_netcdf"], [*],[AS_IF([test -d "$with_netcdf"],
[NETCDF_ROOT=$with_netcdf [NETCDF_ROOT=$with_netcdf
......
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