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