Annotation of OpenXM/src/ox_toolkit/configure.in, Revision 1.9
1.9 ! ohara 1: dnl $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.8 2004/02/28 16:54:55 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)
1.8 ohara 6: AC_CANONICAL_SYSTEM
1.9 ! ohara 7: dnl AC_CANONICAL_HOST
1.1 ohara 8: AC_PROG_CC
1.9 ! ohara 9: AC_PROG_INSTALL
1.1 ohara 10: AC_PROG_RANLIB
1.3 ohara 11: dnl AC_PROG_LN_S
1.1 ohara 12: AC_PATH_XTRA
13:
1.5 ohara 14: AC_ARG_WITH([gmp],
1.4 ohara 15: [ --with-gmp with the GNU MP library [[no]]],
16: [with_gmp=yes],[with_gmp=no])
17:
18: if test ${with_gmp:=no} != no ; then
19: AC_DEFINE([WITH_GMP])
20: GMPLIB="-lgmp"
1.6 ohara 21: USE_GMP='#'
1.1 ohara 22: fi
1.4 ohara 23: AC_SUBST([GMPLIB])
1.6 ohara 24: AC_SUBST([USE_GMP])
1.8 ohara 25:
26: case "${host}" in
27: [i[3-6]86-*-interix*])
28: AC_DEFINE([_ALL_SOURCE])
29: ;;
30: *)
31: ;;
32: esac
1.4 ohara 33:
34: dnl for Solaris 2.x
35: AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
36: AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
1.7 takayama 37: dnl for Redhat 8.0
38: AC_CHECK_FUNC(dlopen, , [AC_CHECK_LIB(dl,dlopen)])
1.1 ohara 39:
1.4 ohara 40: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>