Return to configure.in CVS log | Up to [local] / OpenXM / src / ox_math |
File: [local] / OpenXM / src / ox_math / configure.in (download)
Revision 1.2, Mon Mar 13 06:27:48 2000 UTC (24 years, 6 months ago) by ohara
On Solaris, static binaries cannot run well. |
dnl $OpenXM: OpenXM/src/ox_math/configure.in,v 1.2 2000/03/13 06:27:48 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 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)