From b43e11eeb8b96aa87da910991da8b005d9847783 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 5 Jan 2024 18:03:03 -0800 Subject: [PATCH] configure.ac: updates to quiet obsolete macro warnings Clears autoconf warnings: configure.ac:47: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:47: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:47: the top level configure.ac:52: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:52: the top level Signed-off-by: Alan Coopersmith --- configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index b3e6486..93d09eb 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,9 @@ AC_CONFIG_HEADERS([config.h]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-xz]) +# Initialize libtool +LT_INIT([disable-static]) + DRIVER_NAME=void AC_SUBST([DRIVER_NAME]) @@ -42,14 +45,10 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -# Checks for programs. -AC_DISABLE_STATIC -AC_PROG_LIBTOOL - AH_TOP([#include "xorg-server.h"]) AC_ARG_WITH(xorg-module-dir, - AC_HELP_STRING([--with-xorg-module-dir=DIR], + AS_HELP_STRING([--with-xorg-module-dir=DIR], [Default xorg module directory [[default=$libdir/xorg/modules]]]), [moduledir="$withval"], [moduledir="$libdir/xorg/modules"])