-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
41 lines (33 loc) · 824 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
AC_PREREQ([2.68])
AC_INIT([JAGS-WFCOMBOPACK], [0.9.0], [[email protected]], [JAGS-WFCOMBOPACK-MODULE])
JAGS_MAJOR=4
JAGS_MINOR=0
AC_SUBST(JAGS_MAJOR)
AC_SUBST(JAGS_MINOR)
AC_CANONICAL_HOST
AC_CONFIG_SRCDIR([src/functions/TTB.cc])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
LT_PREREQ(2.2.6)
LT_CONFIG_LTDL_DIR([libltdl])
LT_INIT([dlopen disable-static win32-dll])
LTDL_INIT([recursive])
AC_PROG_CXX
AC_DEFINE(MATHLIB_STANDALONE, 1, [Define if you have standalone R math library])
case "${host_os}" in
mingw*)
win=true;;
*)
win=false;;
esac
AM_CONDITIONAL(WINDOWS, test x$win = xtrue)
jagsmoddir=${libdir}/x86_64-linux-gnu/JAGS/modules-${JAGS_MAJOR}
AC_SUBST(jagsmoddir)
AC_CONFIG_FILES([
Makefile
libltdl/Makefile
src/Makefile
src/functions/Makefile
])
AC_OUTPUT