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

Annotation of OpenXM/src/ox_math/configure.in, Revision 1.3

1.3     ! ohara       1: dnl  $OpenXM: OpenXM/src/ox_math/configure.in,v 1.2 2000/03/13 06:27:48 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:
1.3     ! ohara      11: AC_ARG_WITH([gmp],
        !            12: [  --with-gmp              with the GNU MP library [[no]]],
        !            13: [with_gmp=yes],[with_gmp=no])
        !            14:
        !            15: if test ${with_gmp:=no} != no ; then
        !            16:     AC_DEFINE([WITH_GMP])
        !            17:     GMPLIB="-lgmp"
1.1       ohara      18: fi
1.3     ! ohara      19: AC_SUBST([GMPLIB])
        !            20:
        !            21: dnl for Solaris 2.x
        !            22: AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
        !            23: AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
1.1       ohara      24:
1.3     ! ohara      25: AC_CANONICAL_SYSTEM
1.1       ohara      26: case "$host_os" in
                     27: linux*|freebsd*)
                     28:        ml_system=Linux
1.2       ohara      29:        static_link_flags=-static
1.1       ohara      30:        ;;
                     31: osf)
                     32:        ml_system=DEC-AXP
1.2       ohara      33:        static_link_flags=
1.1       ohara      34:        ;;
                     35: solaris2*)
                     36:        ml_system=Solaris
1.2       ohara      37:        static_link_flags=
1.1       ohara      38:        ;;
                     39: *)
1.2       ohara      40:        static_link_flags=
1.1       ohara      41:        ;;
                     42: esac
                     43: AC_SUBST(ml_system)
1.2       ohara      44: AC_SUBST(static_link_flags)
1.1       ohara      45:
                     46: AC_OUTPUT(Makefile)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>