version 1.4, 2003/03/23 20:17:35 |
version 1.6, 2003/03/30 08:05:22 |
|
|
dnl $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.3 2000/03/08 05:46:14 ohara Exp $ |
dnl $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.5 2003/03/23 21:50:56 ohara Exp $ |
dnl If you change this file, do not forget to run autoconf and rm .configure_done |
dnl If you change this file, do not forget to run autoconf and rm .configure_done |
|
|
|
|
|
|
dnl AC_PROG_INSTALL |
dnl AC_PROG_INSTALL |
AC_PATH_XTRA |
AC_PATH_XTRA |
|
|
AC_ARG_ENABLE([gmp], |
AC_ARG_WITH([gmp], |
[ --with-gmp with the GNU MP library [[no]]], |
[ --with-gmp with the GNU MP library [[no]]], |
[with_gmp=yes],[with_gmp=no]) |
[with_gmp=yes],[with_gmp=no]) |
|
|
if test ${with_gmp:=no} != no ; then |
if test ${with_gmp:=no} != no ; then |
AC_DEFINE([WITH_GMP]) |
AC_DEFINE([WITH_GMP]) |
GMPLIB="-lgmp" |
GMPLIB="-lgmp" |
|
USE_GMP='#' |
fi |
fi |
AC_SUBST([GMPLIB]) |
AC_SUBST([GMPLIB]) |
|
AC_SUBST([USE_GMP]) |
|
|
dnl for Solaris 2.x |
dnl for Solaris 2.x |
AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)]) |
AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)]) |