[gegl] configure.ac: Use new libtool syntax



commit 7046e83e6013d1c7c4c6527809a5e6a7596cf69e
Author: Javier JardÃn <jjardon gnome org>
Date:   Mon Oct 17 13:10:53 2011 +0100

    configure.ac: Use new libtool syntax

 configure.ac |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 30e98cd..00ffa60 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,15 +129,6 @@ AC_SUBST(LUA_REQUIRED_VERSION)
 dnl ==========================================================================
 
 AM_INIT_AUTOMAKE(no-define no-dist-gzip -Wno-portability)
-
-dnl Initialize libtool
-AC_LIBTOOL_DLOPEN
-AC_PROG_CC
-AC_PROG_CXX
-AM_DISABLE_STATIC
-AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
-
 dnl Initialize maintainer mode
 AM_MAINTAINER_MODE([enable])
 
@@ -147,13 +138,18 @@ AM_MAINTAINER_MODE([enable])
 ###############
 
 dnl Checks for programs.
-#AM_PROG_CC_STDC
+AC_PROG_CC
+AC_PROG_CXX
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 
 dnl Large file support.
 AC_SYS_LARGEFILE
 
+dnl Initialize libtool
+LT_PREREQ([2.2])
+LT_INIT([disable-static win32-dll dlopen])
+
 GEGL_VARIADIC_MACROS
 
 AC_MSG_CHECKING([whether to turn on debugging])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]