VERSION = 4.0.4
PATCHFILE = @abs_srcdir@/patch-$(VERSION)
URL = http://perso.ens-lyon.fr/damien.stehle/fplll/

LICENSEFILES = COPYING
LIBNAME=libfplll
TARFILE=libfplll-$(VERSION).tar.gz # probli
# linking fplll as a shared library is bad, because then under Mac OS X its static constructors
# get run before ours do, and it calls our "operator new", which calls GC_malloc, before we've
# had a chance to initialize it.
CONFIGOPTIONS += --disable-shared

# fplll does not compile with -O3 , therefore following hack; need to fix:
# linking fplll as a shared library is bad, because then under Mac OS X its static constructors
# get run before ours do, and it calls our "operator new", which calls GC_malloc, before we've
# had a chance to initialize it.
# fplll does not compile with -O3 , therefore following hack; need to fix:
#CONFIGOPTIONS += CFLAGS="$(CFLAGS) -O2" CXXFLAGS="$(CXXFLAGS) -O2"


include ../Makefile.library
Makefile: @srcdir@/Makefile.in ; cd ../.. && ./config.status libraries/fplll/Makefile
# End:
