Blob Blame History Raw
diff -up eclib-20120830/src/configure.ac.orig eclib-20120830/src/configure.ac
--- eclib-20120830/src/configure.ac.orig	2013-01-26 11:03:20.780923900 -0200
+++ eclib-20120830/src/configure.ac	2013-01-26 11:04:16.600926037 -0200
@@ -78,6 +78,8 @@ AC_SUBST(PARI_LIBS)
 AC_SUBST(PARI_CFLAGS)
 
 dnl Find the NTL Library
+save_LIBS=$LIBS
+LIBS="$LIBS -lstdc++"
 AC_ARG_WITH(ntl,
   [AS_HELP_STRING([--with-ntl=<path>],
                   [prefix of NTL installation. e.g. /usr/local or /usr])],
@@ -88,6 +90,7 @@ AC_ARG_WITH(ntl,
     This tells configure where to find the NTL library and headers.
     e.g. --with-ntl=/usr/local or --with-ntl=/usr]),[${GMP_LIBS}])]
 )
+LIBS=$save_LIBS
 case "$with_ntl" in
   ""|yes)
     NTL_LIBS=""