as-libtool: Use modern libtool initialization
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 13 Apr 2012 11:35:21 +0000 (13:35 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 13 Apr 2012 11:35:53 +0000 (13:35 +0200)
m4/as-libtool.m4

index 25de9d1..3b16095 100644 (file)
@@ -41,5 +41,6 @@ AC_DEFUN([AS_LIBTOOL],
   fi
   AC_SUBST([$1]_LT_LDFLAGS)
 
-  AC_LIBTOOL_DLOPEN
+  LT_PREREQ([2.2.6])
+  LT_INIT([dlopen win32-dll disable-static])
 ])