File: [local] / OpenXM / src / ox_toolkit / configure.in (download)
Revision 1.5, Sun Mar 23 21:50:56 2003 UTC (21 years, 3 months ago) by ohara
Branch: MAIN
Changes since 1.4: +2 -2
lines
A bug fixed: AC_ARG_ENABLE -> AC_ARG_WITH
|
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
AC_INIT(mysocket.c)
AC_PROG_CC
AC_PROG_RANLIB
dnl AC_PROG_LN_S
dnl AC_PROG_INSTALL
AC_PATH_XTRA
AC_ARG_WITH([gmp],
[ --with-gmp with the GNU MP library [[no]]],
[with_gmp=yes],[with_gmp=no])
if test ${with_gmp:=no} != no ; then
AC_DEFINE([WITH_GMP])
GMPLIB="-lgmp"
fi
AC_SUBST([GMPLIB])
dnl for Solaris 2.x
AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
AC_OUTPUT(Makefile)