[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.1, Tue Feb 8 21:14:01 2000 UTC (24 years, 3 months ago) by ohara
Branch: MAIN

I have deleted old configure and added configure.in etc.
Here, config.guess, config.sub, and install-sh are imported
from autoconf/automake.

dnl  $OpenXM: OpenXM/src/ox_math/configure.in,v 1.1 2000/02/08 21:14:01 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

AC_CHECK_FUNC(socket)
if test "$ac_cv_func_socket" = no ; then
  AC_CHECK_LIB(socket,socket)
fi
AC_CHECK_FUNC(gethostbyname)
if test "$ac_cv_func_gethostbyname" = no ; then
  AC_CHECK_LIB(nsl,gethostbyname)
fi

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

AC_OUTPUT(Makefile)