diff --git a/configure.ac b/configure.ac index d064345b..a987eabb 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_LANG(C++) CXXFLAGS="-O3 $CXXFLAGS" AC_PROG_CXX +AC_PROG_RANLIB ############ openmp ############### AC_OPENMP @@ -22,9 +23,6 @@ AM_CXXFLAGS="$OPENMP_CXXFLAGS $AM_CXXFLAGS" AM_LDFLAGS="$OPENMP_CXXFLAGS $AM_LDFLAGS" fi -############ libtool ############### -LT_INIT - ############### Checks for header files AC_CHECK_HEADERS(stdint.h) AC_CHECK_HEADERS(mm_malloc.h) diff --git a/lib/Makefile.am b/lib/Makefile.am index a7ef229a..bc752af5 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -17,8 +17,8 @@ endif include Make.inc include Eigen.inc -lib_LTLIBRARIES = libGrid.la +lib_LIBRARIES = libGrid.a -libGrid_la_SOURCES = $(CCFILES) $(extra_sources) -libGrid_ladir = $(pkgincludedir) +libGrid_a_SOURCES = $(CCFILES) $(extra_sources) +libGrid_adir = $(pkgincludedir) nobase_dist_pkginclude_HEADERS = $(HFILES) $(eigen_files) Config.h