Annotation of OpenXM/src/ox_math/configure.in, Revision 1.4
1.4 ! ohara 1: dnl $OpenXM: OpenXM/src/ox_math/configure.in,v 1.3 2003/03/23 21:56:11 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(math2ox.c)
5: AC_PROG_CC
6: AC_PROG_LN_S
7: AC_PROG_RANLIB
8: AC_PROG_INSTALL
9: AC_PATH_XTRA
1.3 ohara 10:
11: dnl for Solaris 2.x
12: AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
13: AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
1.1 ohara 14:
1.3 ohara 15: AC_CANONICAL_SYSTEM
1.1 ohara 16: case "$host_os" in
17: linux*|freebsd*)
18: ml_system=Linux
1.2 ohara 19: static_link_flags=-static
1.1 ohara 20: ;;
21: osf)
22: ml_system=DEC-AXP
1.2 ohara 23: static_link_flags=
1.1 ohara 24: ;;
25: solaris2*)
26: ml_system=Solaris
1.2 ohara 27: static_link_flags=
1.1 ohara 28: ;;
29: *)
1.2 ohara 30: static_link_flags=
1.1 ohara 31: ;;
32: esac
33: AC_SUBST(ml_system)
1.2 ohara 34: AC_SUBST(static_link_flags)
1.1 ohara 35:
36: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>