From 42818a2aee21146debf6455b414d1a41ee5f7315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 3 Oct 2011 08:44:59 +0000 Subject: only use LT_INIT if defined svn path=/trunk/externals/zexy/; revision=15481 --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1