aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5fc7688..e675c63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,11 @@ LT_PREREQ([2.2.4])
AC_INIT([zexy], [2.2.5], [zmoelnig@iem.at], [zexy], [http://get.puredata.info/zexy])
AM_INIT_AUTOMAKE([1.10 foreign])
-LT_INIT([win32-dll shared disable-static])
+m4_ifdef([LT_INIT],
+ [LT_INIT([enable-shared disable-static win32-dll])],
+ [AC_ENABLE_SHARED
+ AC_DISABLE_STATIC
+ AC_LIBTOOL_WIN32_DLL])
AC_CONFIG_MACRO_DIR([m4])
@@ -18,6 +22,7 @@ IEM_OPERATING_SYSTEM
ARCH=$(uname -m)
KERN=$(uname -s)
+m4_ifdef([AC_LIB_RPATH], [AC_LIB_RPATH])
dnl Checks for programs.
AC_PROG_CC