version 1.231, 2019/01/04 10:31:15
|
version 1.255, 2021/12/07 17:07:02
|
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.30]) |
AC_INIT([rpl],[4.1.33]) |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AM_INIT_AUTOMAKE(silent-rules) |
AM_INIT_AUTOMAKE(silent-rules) |
AM_SILENT_RULES([yes]) |
AM_SILENT_RULES([yes]) |
Line 7 AC_SUBST(target_cpu)
|
Line 7 AC_SUBST(target_cpu)
|
AC_CONFIG_HEADERS([rplconfig.h]) |
AC_CONFIG_HEADERS([rplconfig.h]) |
|
|
dnl Libraries |
dnl Libraries |
NCURSES=ncurses-6.0 |
NCURSES=ncurses-6.1 |
READLINE=readline-7.0 |
READLINE=readline-8.0 |
UNITS=units-2.16 |
UNITS=units-2.19 |
GSL=gsl-2.5 |
GSL=gsl-2.7.1 |
GPP=gpp-3.0 |
GPP=gpp-3.0 |
GNUPLOT=gnuplot-5.2.5 |
GNUPLOT=gnuplot-5.2.8 |
FILE=file-5.33 |
dnl ftp://ftp.astron.com/pub/file/ |
ICONV=libiconv-1.15 |
FILE=file-5.37 |
SQLITE=sqlite-3.26.0 |
ICONV=libiconv-1.16 |
OPENSSL=openssl-1.1.1a |
SQLITE=sqlite-3.31.1 |
|
OPENSSL=openssl-1.1.1g |
OPENMOTIF=motif-2.3.8 |
OPENMOTIF=motif-2.3.8 |
LIBXPM=libXpm-3.5.12 |
LIBXPM=libXpm-3.5.12 |
SIGSEGV=libsigsegv-2.12 |
SIGSEGV=libsigsegv-2.12 |
ZLIB=zlib-1.2.11 |
ZLIB=zlib-1.2.11 |
|
|
GMP=gmp-6.1.2 |
GMP=gmp-6.2.0 |
MPFR=mpfr-4.0.1 |
MPFR=mpfr-4.0.2 |
MPFI=mpfi-1.5.3 |
MPFI=mpfi-1.5.4 |
NTL=ntl-11.0.0 |
NTL=ntl-11.4.3 |
COCOA=CoCoALib-0.99600 |
PARI=pari-2.11.4 |
PARI=pari-2.9.5 |
GIAC=giac-1.5.0 |
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
|
else |
else |
RPLCAS=-DRPLCAS |
RPLCAS=-DRPLCAS |
LIBRPLCAS="\$(top_builddir)/rplcas/lib/librplcas.a" |
LIBRPLCAS="\$(top_builddir)/rplcas/lib/librplcas.a" |
LIBS="$LIBS $LIBCURL -lcurl" |
dnl LIBS="$LIBS $LIBCURL -lcurl" |
|
LIBGIAC="$LIBCURL -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 208 AC_SUBST(ABI)
|
Line 209 AC_SUBST(ABI)
|
AC_SUBST(RPLCAS) |
AC_SUBST(RPLCAS) |
AC_SUBST(LIBRPLCAS) |
AC_SUBST(LIBRPLCAS) |
AC_SUBST(INCRPLCAS) |
AC_SUBST(INCRPLCAS) |
|
AC_SUBST(LIBGIAC) |
|
|
dnl Options |
dnl Options |
AC_ARG_ENABLE(optimization, |
AC_ARG_ENABLE(optimization, |
Line 316 AC_ARG_ENABLE(final-encoding,
|
Line 318 AC_ARG_ENABLE(final-encoding,
|
[ --enable-final-encoding force final encoding [[default=guessed]]], [ |
[ --enable-final-encoding force final encoding [[default=guessed]]], [ |
if test "$enableval" = "no"; then |
if test "$enableval" = "no"; then |
FINAL_ENCODING="\$(shell locale charmap | \ |
FINAL_ENCODING="\$(shell locale charmap | \ |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" |
\$(AWK) '/=/ { print \$\$3;} !/=/ { print \$\$1;}')" |
FORCED_FINAL_ENCODING=0 |
FORCED_FINAL_ENCODING=0 |
else |
else |
FINAL_ENCODING="$enable_final_encoding" |
FINAL_ENCODING="$enable_final_encoding" |
Line 324 else
|
Line 326 else
|
fi], [ |
fi], [ |
FORCED_FINAL_ENCODING=0 |
FORCED_FINAL_ENCODING=0 |
FINAL_ENCODING="\$(shell locale charmap | \ |
FINAL_ENCODING="\$(shell locale charmap | \ |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"]) |
\$(AWK) '/=/ { print \$\$3;} !/=/ { print \$\$1;}')"]) |
|
|
AC_ARG_ENABLE(tex, |
AC_ARG_ENABLE(tex, |
[ --enable-tex provide the TeX support [[default=guessed]]], [ |
[ --enable-tex provide the TeX support [[default=guessed]]], [ |
Line 572 if test ! -d rplcas/$NTL; then
|
Line 574 if test ! -d rplcas/$NTL; then
|
gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \ |
gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \ |
(cd rplcas && tar -xf -) |
(cd rplcas && tar -xf -) |
fi |
fi |
if test ! -d rplcas/$COCOA; then |
|
gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \ |
|
(cd rplcas && tar -xf -) |
|
fi |
|
if test ! -d rplcas/$PARI; then |
if test ! -d rplcas/$PARI; then |
gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \ |
gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \ |
(cd rplcas && tar -xf -) |
(cd rplcas && tar -xf -) |
Line 1455 AC_SUBST(GMP)
|
Line 1453 AC_SUBST(GMP)
|
AC_SUBST(MPFR) |
AC_SUBST(MPFR) |
AC_SUBST(MPFI) |
AC_SUBST(MPFI) |
AC_SUBST(NTL) |
AC_SUBST(NTL) |
AC_SUBST(COCOA) |
|
AC_SUBST(PARI) |
AC_SUBST(PARI) |
AC_SUBST(GIAC) |
AC_SUBST(GIAC) |
AC_SUBST(INCMOTIF) |
AC_SUBST(INCMOTIF) |