Diff of /configure.ac [05f613] .. [69cd79]  Maximize  Restore

Switch to side-by-side view

--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,14 @@
 AC_INIT([JAGS], [1.0.3], [martyn_plummer@users.sourceforge.net], [JAGS])
 AC_CANONICAL_HOST
 AC_CONFIG_SRCDIR(src/lib/Console.cc)
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE
+
+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])
 
 AC_PROG_CC
 AC_PROG_CXX
@@ -28,13 +35,13 @@
 AM_CONDITIONAL(WINDOWS, test x$win = xtrue)
 
 dnl libtool dynamic loading
-AC_DISABLE_STATIC
-AC_LIBTOOL_DLOPEN
-AC_LIBLTDL_CONVENIENCE
-AC_PROG_LIBTOOL
-AC_CONFIG_SUBDIRS(libltdl)
-AC_SUBST(INCLTDL)
-AC_SUBST(LIBLTDL)
+dnl AC_DISABLE_STATIC
+dnl AC_LIBTOOL_DLOPEN
+dnl AC_LIBLTDL_CONVENIENCE
+dnl AC_PROG_LIBTOOL
+dnl AC_CONFIG_SUBDIRS(libltdl)
+dnl AC_SUBST(INCLTDL)
+dnl AC_SUBST(LIBLTDL)
 
 dnl fortran stuff
 ACX_F77_WRAPPERS
@@ -83,12 +90,13 @@
 jagsmoddir=${libdir}/JAGS/modules
 AC_SUBST(jagsmoddir)
 
-AC_CONFIG_HEADERS([src/include/config.h])
+AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([
   Makefile
   m4/Makefile
   etc/Makefile
   etc/jags.pc
+  libltdl/Makefile
   src/Makefile
   src/lib/Makefile
   src/lib/util/Makefile

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks