Annotation of OpenXM/src/ox_math/configure.in, Revision 1.2
1.2 ! ohara 1: dnl $OpenXM: OpenXM/src/ox_math/configure.in,v 1.1 2000/02/08 21:14:01 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
10:
11: AC_CHECK_FUNC(socket)
12: if test "$ac_cv_func_socket" = no ; then
13: AC_CHECK_LIB(socket,socket)
14: fi
15: AC_CHECK_FUNC(gethostbyname)
16: if test "$ac_cv_func_gethostbyname" = no ; then
17: AC_CHECK_LIB(nsl,gethostbyname)
18: fi
19:
20: AC_CANONICAL_HOST
21: case "$host_os" in
22: linux*|freebsd*)
23: ml_system=Linux
1.2 ! ohara 24: static_link_flags=-static
1.1 ohara 25: ;;
26: osf)
27: ml_system=DEC-AXP
1.2 ! ohara 28: static_link_flags=
1.1 ohara 29: ;;
30: solaris2*)
31: ml_system=Solaris
1.2 ! ohara 32: static_link_flags=
1.1 ohara 33: ;;
34: *)
1.2 ! ohara 35: static_link_flags=
1.1 ohara 36: ;;
37: esac
38: AC_SUBST(ml_system)
1.2 ! ohara 39: AC_SUBST(static_link_flags)
1.1 ohara 40:
41: AC_OUTPUT(Makefile)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>