version 1.61, 2011/06/21 15:26:26
|
version 1.71, 2011/07/22 21:04:37
|
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.0.prerelease.2]) |
AC_INIT([rpl],[4.1.1]) |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
AM_INIT_AUTOMAKE |
AM_INIT_AUTOMAKE |
Line 23 MPFR=mpfr-3.0.1
|
Line 23 MPFR=mpfr-3.0.1
|
NTL=ntl-5.5.2 |
NTL=ntl-5.5.2 |
COCOA=CoCoALib-0.9943 |
COCOA=CoCoALib-0.9943 |
PARI=pari-2.3.5 |
PARI=pari-2.3.5 |
GIAC=giac-0.9.2 |
GIAC=giac-0.9.3 |
|
|
dnl Checks for C compiler |
dnl Checks for C compiler |
AC_PROG_CC(gcc) |
AC_PROG_CC(gcc) |
Line 114 if test "$ac_x_libraries" != "no"; then
|
Line 114 if test "$ac_x_libraries" != "no"; then
|
fi |
fi |
fi |
fi |
|
|
|
dnl 32 bits ABI |
|
AC_ARG_WITH(32bits, |
|
[ --with-32bits-abi force 32bits ABI (multilib)],[ |
|
if test "$with-32bits-abi" = "no"; then |
|
ABI= |
|
else |
|
ABI=-m32 |
|
fi],[ |
|
ABI= |
|
] |
|
) |
|
|
|
if test x$ABI = x; then |
|
AC_ARG_WITH(64bits, |
|
[ --with-64bits-abi force 64bits ABI (multilib)],[ |
|
if test "$with-64bits-abi" = "no"; then |
|
ABI= |
|
else |
|
ABI=-m64 |
|
fi],[ |
|
ABI= |
|
] |
|
) |
|
fi |
|
|
|
dnl RPL/CAS support |
|
AC_ARG_WITH(rplcas, |
|
[ --with-rplcas compile rplcas (default=no)],[ |
|
if test "$with-rplcas" = "no"; then |
|
RPLCAS=-URPLCAS |
|
LIBRPLCAS= |
|
else |
|
RPLCAS=-DRPLCAS |
|
LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a |
|
fi],[ |
|
RPLCAS=-URPLCAS |
|
LIBRPLCAS= |
|
] |
|
) |
|
|
|
AC_SUBST(ABI) |
|
AC_SUBST(RPLCAS) |
|
AC_SUBST(LIBRPLCAS) |
|
|
dnl Options |
dnl Options |
AC_ARG_ENABLE(optimization, |
AC_ARG_ENABLE(optimization, |
[ --enable-optimization set compiler flags [[default=environment variables -O3]]], [ |
[ --enable-optimization set compiler flags [[default=environment variables -O3]]], [ |
Line 897 if test $(uname) = "OS/2"; then
|
Line 941 if test $(uname) = "OS/2"; then
|
bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" |
bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" |
else |
else |
if test "x$with_openssl_arch" = xnone; then |
if test "x$with_openssl_arch" = xnone; then |
(cd tools/$OPENSSL && ./config) |
(cd tools/$OPENSSL && ./config no-asm) |
elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then |
elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then |
(cd tools/$OPENSSL && ./Configure) |
(cd tools/$OPENSSL && ./Configure) |
AC_MSG_ERROR([OS/COMP informations are required!]) |
AC_MSG_ERROR([OS/COMP informations are required!]) |
Line 905 else
|
Line 949 else
|
(cd tools/$OPENSSL && ./Configure) |
(cd tools/$OPENSSL && ./Configure) |
AC_MSG_ERROR([Please specify OS and Architecture]) |
AC_MSG_ERROR([Please specify OS and Architecture]) |
else |
else |
(cd tools/$OPENSSL && ./Configure $with_openssl_arch) |
(cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch) |
fi |
fi |
fi |
fi |
|
|