Annotation of OpenXM/src/ox_python/configure.in, Revision 1.3
1.3 ! takayama 1: dnl $OpenXM: OpenXM/src/ox_python/configure.in,v 1.2 2021/12/31 07:43:48 takayama Exp $
1.1 takayama 2:
3: AC_INIT
4: AC_PREREQ(2.61)
5: AC_CANONICAL_TARGET
6:
7: AC_PROG_CC
8: AC_PROG_INSTALL
9: AC_PROG_LN_S
10: AC_PATH_XTRA
11:
12: TARGET=ox_python
13: case "${host}" in
14: *-apple-darwin*)
15: LIBS="-L../../lib -L/usr/local/lib -lox -lmpfr -lgmp -lgc"
16: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include"
17: ;;
1.2 takayama 18: *-linux-gnu*)
19: LIBS_GCC=" "
20: LIBS_OX="-L../../lib -lox -lmpfr -lgmp -lgc"
1.3 ! takayama 21: LIBS="${LIBS_GCC} ${LIBS_OX}"
1.2 takayama 22: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include "
23: ;;
1.1 takayama 24: *)
25: LIBS_GCC="-L/usr/local/lib -L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49"
26: LIBS_OX="-L../../lib -lox -lmpfr -lgmp -lgc"
27: LIBS="${LIBS_GCC} ${LIBS_OX}"
28: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include "
29: ;;
30: esac
31:
32: AC_SUBST([TARGET])
33: AC_SUBST([LIBS])
34: AC_CONFIG_FILES([Makefile])
35: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>