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

Do not link to -lm if it is not required.

parent d6d1f544
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ AC_DEFINE_UNQUOTED([SYSTEM_TYPE],["$ac_cv_build"], [System type])
AC_SUBST([SYSTEM_TYPE],["$ac_cv_build"])
# ----------------------------------------------------------------------
# Check for math library
AC_CHECK_LIB(m, floor)
AC_SEARCH_LIBS([floor], [m])
# ----------------------------------------------------------------------
# Add basic configure options
ACX_OPTIONS
......
......@@ -72,7 +72,7 @@ pio_write_deco2d_LDADD = $(LDADD) $(UUID_C_LIB)
test_resource_copy_mpi_LDADD = $(LDADD) $(UUID_C_LIB)
endif
LDADD = ../src/libcdi.la -lm
LDADD = ../src/libcdi.la
AM_CPPFLAGS = -I$(top_srcdir)/src
#
EXTRA_DIST = test_cdf_write.c test_cdf_read.c
......
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