Annotation of OpenXM/src/ox_gsl/configure.in, Revision 1.3
1.3 ! ohara 1: dnl $OpenXM: OpenXM/src/ox_gsl/configure.in,v 1.2 2018/04/07 03:39:45 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_gsl
13: case "${host}" in
14: *-apple-darwin*)
15: LIBS="-L../../lib -L/usr/local/lib -lgsl -lox -lmpfr -lgmp -lgc"
16: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include"
17: ;;
18: *)
1.3 ! ohara 19: # LIBS="-L../../lib -L/usr/local/lib -L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49 -lgsl -lcblas -lblas -lm -lox -lmpfr -lgmp -lgc"
! 20: LIBS_GCC="-L/usr/local/lib -L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49"
! 21: LIBS_GSL=`gsl-config --libs`
! 22: LIBS_OX="-L../../lib -lox -lmpfr -lgmp -lgc"
! 23: LIBS="${LIBS_GCC} ${LIBS_GSL} ${LIBS_OX}"
! 24: # CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include"
! 25: CFLAGS_GSL=`gsl-config --cflags`
! 26: CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include ${CFLAGS_GSL}"
1.1 takayama 27: ;;
28: esac
29:
30: AC_SUBST([TARGET])
31: AC_SUBST([LIBS])
32: AC_CONFIG_FILES([Makefile])
33: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>