Annotation of OpenXM/src/ox_pari/configure.ac, Revision 1.3
1.3 ! ohara 1: dnl $OpenXM: OpenXM/src/ox_pari/configure.ac,v 1.2 2016/09/22 17:12:51 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
1.3 ! ohara 12: AC_PROG_LN_S
1.1 ohara 13:
14: AC_ARG_ENABLE([shared],
15: [ --enable-shared enable linking with shared libraries. [[yes]]],
16: [],[enable_shared=yes])
17:
18: if test "${enable_shared:=yes}" != no ; then
19: true
20: fi
21:
1.2 ohara 22: OXLIBS='-lox -lmpfr -lgmp -lgc -lpari'
1.1 ohara 23: if test "${enable_shared}" = no ; then
1.2 ohara 24: OXLIBS='${libdir}/libox.a ${libdir}/libmpfr.a ${libdir}/libgmp.a ${libdir}/libgc.a ${libdir}/libpari.a'
1.1 ohara 25: fi
1.2 ohara 26: AC_SUBST([OXLIBS])
1.1 ohara 27:
28: AC_DEFINE([_POSIX_C_SOURCE])
29:
30: AC_CHECK_FUNCS(sigaction)
1.2 ohara 31: dnl dnl for Solaris 2.x
32: dnl AC_CHECK_FUNC(socket, , [AC_CHECK_LIB(socket,socket)])
33: dnl AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl,gethostbyname)])
1.1 ohara 34:
35: AC_CONFIG_FILES([Makefile])
36: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>