Annotation of OpenXM/src/ox_toolkit/configure.in, Revision 1.10
1.10 ! ohara 1: dnl $OpenXM: OpenXM/src/ox_toolkit/configure.in,v 1.9 2004/02/28 23:39:38 ohara Exp $
1.1 ohara 2: dnl If you change this file, do not forget to run autoconf and rm .configure_done
3:
4: AC_INIT(mysocket.c)
1.10 ! ohara 5: AC_PREREQ(2.53)
! 6: AM_INIT_AUTOMAKE(ox_toolkit, 20040628)
! 7: AM_MAINTAINER_MODE
1.8 ohara 8: AC_CANONICAL_SYSTEM
1.1 ohara 9: AC_PROG_CC
1.9 ohara 10: AC_PROG_INSTALL
1.10 ! ohara 11: AM_PROG_LIBTOOL
1.1 ohara 12: AC_PATH_XTRA
13:
1.10 ! ohara 14: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
! 15: CFLAGS="${CFLAGS} -finline-functions"
! 16: fi
! 17:
1.5 ohara 18: AC_ARG_WITH([gmp],
1.4 ohara 19: [ --with-gmp with the GNU MP library [[no]]],
20: [with_gmp=yes],[with_gmp=no])
21:
22: if test ${with_gmp:=no} != no ; then
23: AC_DEFINE([WITH_GMP])
1.1 ohara 24: fi
1.10 ! ohara 25: AM_CONDITIONAL([USE_GMP],[test "$with_gmp" = yes])
1.8 ohara 26:
27: case "${host}" in
28: [i[3-6]86-*-interix*])
29: AC_DEFINE([_ALL_SOURCE])
30: ;;
31: *)
32: ;;
33: esac
1.4 ohara 34:
35: dnl for Solaris 2.x
36: AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
37: AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
1.7 takayama 38: dnl for Redhat 8.0
39: AC_CHECK_FUNC(dlopen, , [AC_CHECK_LIB(dl,dlopen)])
1.1 ohara 40:
1.4 ohara 41: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>