summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 18:03:03 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 18:03:03 -0800
commitb43e11eeb8b96aa87da910991da8b005d9847783 (patch)
tree6ece9b7e6a4868b591371126afdaa6006df5ff3b
parent21bf65ae74827845e22167f388875e10e6d05605 (diff)
configure.ac: updates to quiet obsolete macro warningsHEADmaster
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 <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac9
1 files 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"])