configure: use new libtool syntax.

This now requires libtool >= 2.2 to regenerate the configure script.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
Javier Jardón 2012-06-28 00:22:03 +09:00 committed by Gwenole Beauchesne
parent 5157a01942
commit 749fab61b9

View 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],