-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
50 lines (41 loc) · 1.08 KB
/
configure.ac
File metadata and controls
50 lines (41 loc) · 1.08 KB
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
42
43
44
45
46
47
48
49
50
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([JAGS-PWEXP],[0.2],[jdanielnd@gmail.com],[JAGS-PWEXP-MODULE])
JAGS_MAJOR=4
JAGS_MINOR=0
AC_SUBST(JAGS_MAJOR)
AC_SUBST(JAGS_MINOR)
AC_CANONICAL_HOST
AC_CONFIG_SRCDIR([src/distributions/DPwexp.cc])
AC_CONFIG_SRCDIR([src/functions/PPwexp.cc])
AC_CONFIG_SRCDIR([src/functions/DPwexp.cc])
AC_CONFIG_SRCDIR([src/functions/QPwexp.cc])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([subdir-objects])
dnl libtool and ltdl configuration
LT_PREREQ(2.2.6)
LT_CONFIG_LTDL_DIR([libltdl])
LT_INIT([dlopen disable-static win32-dll])
LTDL_INIT([recursive])
dnl C++
AC_PROG_CXX
dnl Rmath stuff
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}/JAGS/modules-${JAGS_MAJOR}
AC_SUBST(jagsmoddir)
AC_CONFIG_FILES([
Makefile
libltdl/Makefile
src/Makefile
src/distributions/Makefile
src/functions/Makefile
])
AC_OUTPUT