Annotation of OpenXM/src/ox_python/configure.in, Revision 1.2
1.2 ! takayama 1: dnl $OpenXM: OpenXM/src/ox_python/configure.in,v 1.1 2018/09/08 00:16:19 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"
! 21: LIBS_P38="-lpython3.8"
! 22: LIBS="${LIBS_GCC} ${LIBS_P38} ${LIBS_OX}"
! 23: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include "
! 24: ;;
1.1 takayama 25: *)
26: LIBS_GCC="-L/usr/local/lib -L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49"
27: LIBS_OX="-L../../lib -lox -lmpfr -lgmp -lgc"
28: LIBS="${LIBS_GCC} ${LIBS_OX}"
29: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include "
30: ;;
31: esac
32:
33: AC_SUBST([TARGET])
34: AC_SUBST([LIBS])
35: AC_CONFIG_FILES([Makefile])
36: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>