configure: use new libtool syntax.
authorJavier Jardón <jjardon@gnome.org>
Wed, 27 Jun 2012 15:22:03 +0000 (00:22 +0900)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 27 Aug 2012 08:13:39 +0000 (10:13 +0200)
This now requires libtool >= 2.2 to regenerate the configure script.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
configure.ac

index 8138ccc..1f98001 100644 (file)
@@ -102,7 +102,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], [
 dnl Check for tools
 AC_PROG_CC
 AM_PROG_CC_C_O
-AC_PROG_LIBTOOL
+
+dnl Initialize libtool
+LT_PREREQ([2.2])
+LT_INIT
 
 AC_ARG_ENABLE(drm,
     AS_HELP_STRING([--enable-drm],