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

Annotation of OpenXM/src/ox_pari/configure.ac, Revision 1.2

1.2     ! ohara       1: dnl $OpenXM: OpenXM/src/ox_pari/configure.ac,v 1.1 2016/09/22 10:20:30 ohara Exp $
1.1       ohara       2:
                      3: AC_INIT(ox_pari,1.15)
                      4: AC_CONFIG_SRCDIR([ox_pari.c])
                      5: AC_PREREQ(2.69)
                      6: AC_CANONICAL_TARGET
                      7: AM_INIT_AUTOMAKE
                      8: AM_MAINTAINER_MODE
                      9:
                     10: AC_PROG_CC
                     11: AC_PROG_INSTALL
                     12:
                     13: AC_ARG_ENABLE([shared],
                     14: [  --enable-shared         enable linking with shared libraries.  [[yes]]],
                     15: [],[enable_shared=yes])
                     16:
                     17: if test "${enable_shared:=yes}" != no ; then
                     18:    true
                     19: fi
                     20:
1.2     ! ohara      21: OXLIBS='-lox -lmpfr -lgmp -lgc -lpari'
1.1       ohara      22: if test "${enable_shared}" = no ; then
1.2     ! ohara      23:     OXLIBS='${libdir}/libox.a ${libdir}/libmpfr.a ${libdir}/libgmp.a ${libdir}/libgc.a ${libdir}/libpari.a'
1.1       ohara      24: fi
1.2     ! ohara      25: AC_SUBST([OXLIBS])
1.1       ohara      26:
                     27: AC_DEFINE([_POSIX_C_SOURCE])
                     28:
                     29: AC_CHECK_FUNCS(sigaction)
1.2     ! ohara      30: dnl dnl for Solaris 2.x
        !            31: dnl AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
        !            32: dnl AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
1.1       ohara      33:
                     34: AC_CONFIG_FILES([Makefile])
                     35: AC_OUTPUT

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