aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-10-03 08:13:26 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-10-03 08:13:26 +0000
commit1f689ee176d1a224ebdd6cc74b9c79086438a494 (patch)
treee96dd2f6e05cf2b84fc7cf8403f8baa83f35c2ee
parente593ce693c7479d21a90b7e1c912d4e7345c8d89 (diff)
added LT_INIT and moved AC_SUBST to the end
svn path=/trunk/externals/zexy/; revision=15476
-rw-r--r--configure.ac18
1 files changed, 10 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 4c77790..47e3b58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,8 +2,8 @@ dnl Process this file with autoconf to produce a configure script.
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])
-AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
@@ -22,12 +22,6 @@ AC_PROG_CC
AC_PROG_LN_S
AC_LIBTOOL_WIN32_DLL
-AC_SUBST(CFLAGS)
-AC_SUBST(CPPFLAGS)
-AC_SUBST(DEFS)
-AC_SUBST(INCLUDES)
-
-AC_SUBST(EXTENSION)
AC_ARG_WITH(pd, [ --with-pd=</path/to/pd> where to look for pd-headers and and -libs])
AC_ARG_WITH(extension,[ --with-extension=<ext> enforce a certain extension for the dynamic library (e.g. dll)])
@@ -99,7 +93,6 @@ AC_FUNC_MMAP
AC_CHECK_FUNCS(select socket strerror)
IEM_CHECK_FAT(ARCH_FLAG)
-AC_SUBST(ARCH_FLAG)
IEM_CHECK_CFLAGS([-mms-bitfields])
IEM_CHECK_SIMD
@@ -149,4 +142,13 @@ AC_ERROR([m_pd.h is desperately needed!
"--with-pd=</path/to/pd/>"])
fi
+AC_SUBST(CFLAGS)
+AC_SUBST(CPPFLAGS)
+AC_SUBST(DEFS)
+AC_SUBST(INCLUDES)
+AC_SUBST(ARCH_FLAG)
+AC_SUBST([LIBTOOL_DEPS])
+
+AC_SUBST(EXTENSION)
+
AC_OUTPUT()