From 1e97032b43ef5bf98fb568e284c35b806f253601 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 17 Jan 2024 11:38:11 -0800 Subject: configure: clear up obsolete macro warnings from autoconf configure.ac:48: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:48: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:48: the top level configure.ac:67: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:67: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:67: the top level Signed-off-by: Alan Coopersmith --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 7c9eaa7..b4300e2 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,7 @@ AC_PREREQ([2.60]) AC_INIT([xf86-input-elographics], [1.4.3], [https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues], - xf86-input-elographics) + [xf86-input-elographics]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_AUX_DIR(.) AC_CONFIG_HEADERS([config.h]) @@ -45,8 +45,8 @@ LT_INIT([disable-static]) AH_TOP([#include "xorg-server.h"]) 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 @@ -64,7 +64,6 @@ XORG_CFLAGS="$CWARNFLAGS $XORG_CFLAGS" # Checks for libraries. # Checks for header files. -AC_HEADER_STDC DRIVER_NAME=elographics AC_SUBST([DRIVER_NAME]) -- cgit v1.2.3