summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-12-02 11:07:35 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-12-02 20:12:38 +0000
commitf3510885b26683f98fe8b1fb285a748f1ba7fb5a (patch)
tree7b7f81a7aa8e7d17bd60720d849cdf40976a6e95
parentced00875062dce0d18d09c101991c580511f21f6 (diff)
configure.ac: updates to quiet obsolete macro warnings
Clears autoconf warnings: configure.ac:38: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:38: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:38: the top level configure.ac:51: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:51: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 0f71ce3..a805720 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,8 +34,7 @@ AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE([foreign dist-xz])
# Initialize libtool
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
+LT_INIT([disable-static])
# Initialize X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
@@ -48,8 +47,8 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10] xproto inputproto)
# Define a configure option for an alternate input module directory
AC_ARG_WITH(xorg-module-dir,
- AC_HELP_STRING([--with-xorg-module-dir=DIR],
- [Default xorg module directory [[default=$libdir/xorg/modules]]]),
+ AS_HELP_STRING([--with-xorg-module-dir=DIR],
+ [Default xorg module directory [default=$libdir/xorg/modules]]),
[moduledir="$withval"],
[moduledir="$libdir/xorg/modules"])
inputdir=${moduledir}/input