From 8afe8dcff499b11238a2f25d45f9925380f7f42f Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 31 Oct 2012 20:40:29 +0000 Subject: [PATCH] e: Use LT_INIT instead of AC_PROG_LIBTOOL AC_PROG_LIBTOOL is deprecated and in favor of LT_INIT: http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html Add support for the --enable-shared, --disable-shared, --enable-static, --disable-static, --with-pic, and --without-pic configure flags.1 AC_PROG_LIBTOOL and AM_PROG_LIBTOOL are deprecated names for older versions of this macro; autoupdate will upgrade your configure.ac files. With LT_INIT it's possible to shortcut some calls, too. Particularly disabling support for languages is not needed (only the ones enabled through AC_PROG_C* ar enabled) and AC_DISABLE_STATIC is given as an option. SVN revision: 78719 --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 6bfd89c95..686350701 100644 --- a/configure.ac +++ b/configure.ac @@ -46,11 +46,7 @@ AC_C_CONST AC_FUNC_ALLOCA AC_C___ATTRIBUTE__ -define([AC_LIBTOOL_LANG_CXX_CONFIG], [:]) -define([AC_LIBTOOL_LANG_GCJ_CONFIG], [:]) -define([AC_LIBTOOL_LANG_F77_CONFIG], [:]) -AC_DISABLE_STATIC -AC_PROG_LIBTOOL +LT_INIT([disable-static]) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##