version 1.205, 2018/01/01 10:34:06
|
version 1.230, 2018/12/27 12:18:20
|
Line 1
|
Line 1
|
dnl Process this file with autoconf to produce a configure script. |
dnl Process this file with autoconf to produce a configure script. |
AC_INIT([rpl],[4.1.28]) |
AC_INIT([rpl],[4.1.30]) |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AM_INIT_AUTOMAKE(silent-rules) |
AM_INIT_AUTOMAKE(silent-rules) |
Line 10 AC_CONFIG_HEADERS([rplconfig.h])
|
Line 10 AC_CONFIG_HEADERS([rplconfig.h])
|
dnl Libraries |
dnl Libraries |
NCURSES=ncurses-6.0 |
NCURSES=ncurses-6.0 |
READLINE=readline-7.0 |
READLINE=readline-7.0 |
UNITS=units-2.14 |
UNITS=units-2.16 |
GSL=gsl-2.4 |
GSL=gsl-2.5 |
GPP=gpp-3.0 |
GPP=gpp-3.0 |
GNUPLOT=gnuplot-5.0.6 |
GNUPLOT=gnuplot-5.2.5 |
FILE=file-5.31 |
FILE=file-5.33 |
ICONV=libiconv-1.15 |
ICONV=libiconv-1.15 |
SQLITE=sqlite-3.19.3 |
SQLITE=sqlite-3.26.0 |
OPENSSL=openssl-1.1.0g |
OPENSSL=openssl-1.1.1a |
OPENMOTIF=openmotif-2.3.7 |
OPENMOTIF=motif-2.3.8 |
LIBXPM=libXpm-3.5.12 |
LIBXPM=libXpm-3.5.12 |
SIGSEGV=libsigsegv-2.11 |
SIGSEGV=libsigsegv-2.12 |
ZLIB=zlib-1.2.8 |
ZLIB=zlib-1.2.11 |
|
|
GMP=gmp-6.1.2 |
GMP=gmp-6.1.2 |
MPFR=mpfr-3.1.5 |
MPFR=mpfr-4.0.1 |
MPFI=mpfi-1.5.1 |
MPFI=mpfi-1.5.3 |
NTL=ntl-9.11.0 |
NTL=ntl-11.0.0 |
COCOA=CoCoALib-0.99542 |
COCOA=CoCoALib-0.99600 |
PARI=pari-2.7.6 |
PARI=pari-2.9.5 |
GIAC=giac-1.2.2 |
GIAC=giac-1.4.9 |
|
|
dnl 32 bits ABI |
dnl 32 bits ABI |
AC_ARG_WITH(gcc_version, |
AC_ARG_WITH(gcc_version, |
Line 194 if test "$enableval" = "no"; then
|
Line 194 if test "$enableval" = "no"; then
|
INCRPLCAS= |
INCRPLCAS= |
else |
else |
RPLCAS=-DRPLCAS |
RPLCAS=-DRPLCAS |
LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a |
LIBRPLCAS="\$(top_builddir)/rplcas/lib/librplcas.a" |
|
LIBS+="-lcurl" |
INCRPLCAS="-I\$(top_builddir)/rplcas/include/giac \ |
INCRPLCAS="-I\$(top_builddir)/rplcas/include/giac \ |
-I\$(top_builddir)/rplcas/include" |
-I\$(top_builddir)/rplcas/include" |
fi],[ |
fi],[ |
Line 298 AC_LINK_IFELSE(
|
Line 299 AC_LINK_IFELSE(
|
[SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; AC_MSG_RESULT(no)] |
[SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; AC_MSG_RESULT(no)] |
) |
) |
LDFLAGS=$LIBS |
LDFLAGS=$LIBS |
REG="" |
LIBS=$REG |
else |
else |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
fi |
fi |
Line 465 if test ! -d "$srcdir"/tools/$NCURSES; t
|
Line 466 if test ! -d "$srcdir"/tools/$NCURSES; t
|
for i in $(ls ../$NCURSES*.patch.gz); |
for i in $(ls ../$NCURSES*.patch.gz); |
do echo Applying patch $i && \ |
do echo Applying patch $i && \ |
gunzip -c $i | patch -p1; |
gunzip -c $i | patch -p1; |
|
done; |
|
for i in $(ls ../ncurses-6.1*.patch.gz); |
|
do echo Applying patch $i && \ |
|
gunzip -c $i | patch -p1; |
done); |
done); |
fi |
fi |
if test ! -d "$srcdir"/tools/$READLINE; then |
if test ! -d "$srcdir"/tools/$READLINE; then |
Line 1155 AC_MSG_CHECKING([whether CC supports -ma
|
Line 1160 AC_MSG_CHECKING([whether CC supports -ma
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], |
[AC_MSG_RESULT([yes]); FPCFLAGS="$FPCFLAGS -malign-double"], |
[AC_MSG_RESULT([yes]); FPCFLAGS="$FPCFLAGS -malign-double"], |
[AC_MSG_RESULT([no])]) |
[AC_MSG_RESULT([no])]) |
CFLAGS=-mieee-fp |
#CFLAGS=-mieee-fp |
AC_MSG_CHECKING([whether CC supports -mieee-fp]) |
#AC_MSG_CHECKING([whether CC supports -mieee-fp]) |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], |
#AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], |
[AC_MSG_RESULT([yes]); FPCFLAGS="$FPCFLAGS -mieee-fp"], |
# [AC_MSG_RESULT([yes]); FPCFLAGS="$FPCFLAGS -mieee-fp"], |
[AC_MSG_RESULT([no])]) |
# [AC_MSG_RESULT([no])]) |
CFLAGS=-mieee |
CFLAGS=-mieee |
AC_MSG_CHECKING([whether CC supports -mieee]) |
AC_MSG_CHECKING([whether CC supports -mieee]) |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], |