Annotation of OpenXM/src/ox_toolkit/configure.in, Revision 1.6
1.6 ! ohara 1: dnl $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.5 2003/03/23 21:50:56 ohara Exp $
1.1 ohara 2: dnl If you change this file, do not forget to run autoconf and rm .configure_done
3:
4:
5: AC_INIT(mysocket.c)
6: AC_PROG_CC
7: AC_PROG_RANLIB
1.3 ohara 8: dnl AC_PROG_LN_S
1.1 ohara 9: dnl AC_PROG_INSTALL
10: AC_PATH_XTRA
11:
1.5 ohara 12: AC_ARG_WITH([gmp],
1.4 ohara 13: [ --with-gmp with the GNU MP library [[no]]],
14: [with_gmp=yes],[with_gmp=no])
15:
16: if test ${with_gmp:=no} != no ; then
17: AC_DEFINE([WITH_GMP])
18: GMPLIB="-lgmp"
1.6 ! ohara 19: USE_GMP='#'
1.1 ohara 20: fi
1.4 ohara 21: AC_SUBST([GMPLIB])
1.6 ! ohara 22: AC_SUBST([USE_GMP])
1.4 ohara 23:
24: dnl for Solaris 2.x
25: AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
26: AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
1.1 ohara 27:
1.4 ohara 28: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>