[BACK]Return to configure.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math

File: [local] / OpenXM / src / ox_math / configure.in (download)

Revision 1.4, Thu Mar 3 06:48:15 2005 UTC (19 years, 2 months ago) by ohara
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, KNOPPIX_2006, HEAD, DEB_REL_1_2_3-9
Changes since 1.3: +1 -11 lines

Removed an option --with-gmp of configure.

dnl  $OpenXM: OpenXM/src/ox_math/configure.in,v 1.4 2005/03/03 06:48:15 ohara Exp $
dnl  If you change this file, do not forget to run autoconf and rm .configure_done

AC_INIT(math2ox.c)
AC_PROG_CC
AC_PROG_LN_S
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PATH_XTRA

dnl for Solaris 2.x
AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])

AC_CANONICAL_SYSTEM
case "$host_os" in
linux*|freebsd*)
	ml_system=Linux
	static_link_flags=-static
	;;
osf)
	ml_system=DEC-AXP
	static_link_flags=
	;;
solaris2*)
	ml_system=Solaris
	static_link_flags=
	;;
*)
	static_link_flags=
	;;
esac
AC_SUBST(ml_system)
AC_SUBST(static_link_flags)

AC_OUTPUT(Makefile)