Commit 5ec8b921 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Missing math library during linking [Bug #9856].

parent fe40c2f1
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
2020-08-16 Matthew Krupcale 2020-08-16 Matthew Krupcale
* Missing math library during linking [Bug #9856]
* Fix incorrect detection and usage of netcdf_par.h during configure [Bug #9855] * Fix incorrect detection and usage of netcdf_par.h during configure [Bug #9855]
2020-08-09 Uwe Schulzweida 2020-08-09 Uwe Schulzweida
......
...@@ -144,6 +144,9 @@ AC_DEFINE_UNQUOTED(COMP_VERSION, ["$COMP_VERSION"], [Compiler version]) ...@@ -144,6 +144,9 @@ AC_DEFINE_UNQUOTED(COMP_VERSION, ["$COMP_VERSION"], [Compiler version])
# Check for system type # Check for system type
AC_DEFINE_UNQUOTED([SYSTEM_TYPE],["$ac_cv_build"], [System type]) AC_DEFINE_UNQUOTED([SYSTEM_TYPE],["$ac_cv_build"], [System type])
AC_SUBST([SYSTEM_TYPE],["$ac_cv_build"]) AC_SUBST([SYSTEM_TYPE],["$ac_cv_build"])
# -----------------------------------------------------------------------
# Check for math library and add -lm to LIBS
AC_SEARCH_LIBS(floor, m)
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Add basic configure options # Add basic configure options
ACX_CDI_OPTIONS ACX_CDI_OPTIONS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment