Skip to content
Snippets Groups Projects
Commit a07bb23f authored by Thomas Jahns's avatar Thomas Jahns :cartwheel: Committed by Sergey Kosukhin
Browse files

Also account for eccodes when testing grib_api.

parent 30051478
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!13Consolidation with CDI-PIO (develop)
......@@ -158,7 +158,8 @@ AC_SEARCH_LIBS(floor, m)
ACX_CDI_OPTIONS
AM_CONDITIONAL([ENABLE_NETCDF],[test x$ENABLE_NETCDF = xyes])
AC_CHECK_FUNCS([grib_get_length])
AS_IF([test "x$with_grib_api" != 'x' -a "x$with_grib_api" != 'xno' ],
AS_IF([test x"$with_grib_api" != x -a "x$with_grib_api" != xno \
-o x"$with_eccodes" != x -a x"$with_eccodes" != xno],
[ENABLE_LIBGRIB_API=yes],[ENABLE_LIBGRIB_API=no])
AC_SUBST([ENABLE_LIBGRIB_API])
AM_SUBST_NOTMAKE([ENABLE_LIBGRIB_API])
......
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