aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-06-01 09:59:39 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-06-01 09:59:39 +0200
commit3a4870b7b731a72a2355eb5085b6eac3108c39f5 (patch)
tree3cb4d5497c9c0d6eabff51cc38c2d40853c27172
parent0c7f7eee9df7274c293c80171c80ea8506d10950 (diff)
fix build system again (now it creates a .la file)
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a9a5971..b1ca3d8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,5 +6,5 @@ lib_LTLIBRARIES = \
libbrandt_la_SOURCES = \
smc.c
-libbrandt_la_LDADD = \
+libbrandt_la_LIBADD = \
-lpari
diff --git a/configure.ac b/configure.ac
index 23012e9..307a391 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([smc.c])
# Checks for programs.
AC_PROG_CC_C99
-#AX_APPEND_COMPILE_FLAGS([-std=c99])
+LT_INIT([pic-only])
# Checks for libraries.
AC_SEARCH_LIBS([pari_init], [pari], [], [AC_MSG_ERROR([unable to find the pari_init() function from libpari])])