summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-03-15 15:32:36 +0100
committerraveit65 <[email protected]>2020-04-08 01:32:39 +0200
commit7d6ad4310f02b29e980d29c3d1cf9b4a09faf483 (patch)
tree303e9bfbf45fa7b50832c9f8ea377a21096a0475
parent8bdf0d013359d295e7b26b46d553c9525d7ed0cb (diff)
downloadmate-calc-7d6ad4310f02b29e980d29c3d1cf9b4a09faf483.tar.bz2
mate-calc-7d6ad4310f02b29e980d29c3d1cf9b4a09faf483.tar.xz
build: Remove redundant LDFLAGS
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am20
2 files changed, 4 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac
index b9b521d..060d6b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,8 +44,6 @@ GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
AC_SUBST(GLIB_MKENUMS)
AC_CHECK_LIB(m, log)
-AC_CHECK_LIB(gmp, log)
-AC_CHECK_LIB(mpfr, log)
AC_CHECK_LIB(mpc, log)
dnl ###########################################################################
diff --git a/src/Makefile.am b/src/Makefile.am
index e9e9490..d78bc29 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -72,7 +72,7 @@ mate_calc_SOURCES = \
utility.h
mate_calc_LDADD = \
- $(MATE_CALC_LIBS)
+ $(MATE_CALC_LIBS)
mate_calc_cmd_SOURCES = \
mate-calc-cmd.c \
@@ -105,11 +105,7 @@ mate_calc_cmd_SOURCES = \
parser.h
mate_calc_cmd_LDADD = \
- $(MATE_CALC_CMD_LIBS) \
- -lm \
- -lgmp \
- -lmpfr \
- -lmpc
+ $(MATE_CALC_CMD_LIBS)
test_mp_SOURCES = \
test-mp.c \
@@ -123,11 +119,7 @@ test_mp_SOURCES = \
mp-trigonometric.c
test_mp_LDADD = \
- $(MATE_CALC_CMD_LIBS) \
- -lm \
- -lgmp \
- -lmpfr \
- -lmpc
+ $(MATE_CALC_CMD_LIBS)
test_mp_equation_SOURCES = \
test-mp-equation.c \
@@ -160,11 +152,7 @@ test_mp_equation_SOURCES = \
parser.h
test_mp_equation_LDADD = \
- $(MATE_CALC_CMD_LIBS) \
- -lm \
- -lgmp \
- -lmpfr \
- -lmpc
+ $(MATE_CALC_CMD_LIBS)
CLEANFILES = \
mp-enums.c \