diff -urN scslib-1.4.1/configure.in scslib-1.4.1.shared/configure.in --- scslib-1.4.1/configure.in 2003-05-05 11:54:03.000000000 +0200 +++ scslib-1.4.1.shared/configure.in 2011-02-19 14:46:42.504939624 +0100 @@ -40,6 +40,7 @@ AC_PROG_CXX AC_PROG_INSTALL AC_PROG_RANLIB +AC_PROG_LIBTOOL dnl Checks for header files. AC_HEADER_STDC diff -urN scslib-1.4.1/Makefile.am scslib-1.4.1.shared/Makefile.am --- scslib-1.4.1/Makefile.am 2003-05-28 17:57:25.000000000 +0200 +++ scslib-1.4.1.shared/Makefile.am 2011-02-19 14:47:21.120790899 +0100 @@ -1,13 +1,13 @@ ## Process this file with automake to produce Makefile.in -lib_LIBRARIES = libscs.a +lib_LTLIBRARIES = libscs.la # shared libraries need libtool. We'll do it later. #lib_LTLIBRARIES = libscs.la -libscs_a_SOURCES = scs.h scs_private.h \ +libscs_la_SOURCES = scs.h scs_private.h \ double2scs.c print_scs.c \ addition_scs.c multiplication_scs.c division_scs.c\ rand_scs.c poly_fct.c\ diff -urN scslib-1.4.1/tests/Makefile.am scslib-1.4.1.shared/tests/Makefile.am --- scslib-1.4.1/tests/Makefile.am 2003-05-05 11:54:03.000000000 +0200 +++ scslib-1.4.1.shared/tests/Makefile.am 2011-02-22 00:15:52.325385619 +0100 @@ -2,12 +2,12 @@ bin_PROGRAMS = scs_test_timing scs_test_accuracy -LDADD= $(top_builddir)/libscs.a +LDADD= $(top_builddir)/libscs.la INCLUDES=-I$(top_srcdir) -../libscs.a: - cd $(top_srcdir); make libscs.a +../libscs.la: + cd $(top_srcdir); make libscs.la scs_test_timing_SOURCES = test_timing.c tbx_timing.h -scs_test_accuracy_SOURCES = test_accuracy.c \ Kein Zeilenumbruch am Dateiende. +scs_test_accuracy_SOURCES = test_accuracy.c diff -urN scslib-1.4.1/tests/test_accuracy.c scslib-1.4.1.shared/tests/test_accuracy.c --- scslib-1.4.1/tests/test_accuracy.c 2003-06-16 15:49:42.000000000 +0200 +++ scslib-1.4.1.shared/tests/test_accuracy.c 2011-02-19 15:52:38.436293776 +0100 @@ -25,9 +25,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include #include "scs.h" #include "scs_private.h" -#include #include #include @@ -37,6 +37,9 @@ #include +#ifndef _GMP_H_HAVE_FILE +# error mpfr_out_str not available +#endif void (* test_scs_fct) () = NULL; int (* test_mpfr_fct) () = NULL;