From 979ae4f3613e66cca5c9fe249508907283fe00bb Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 2 Dec 2023 14:49:01 -0800 Subject: configure: pass noyywrap to AC_PROG_LEX if using autoconf 2.70 or later Raises minimum autoconf version from 2.60 to 2.64 for m4_version_prereq Clears autoconf warning: configure.ac:39: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from... configure.ac:39: the top level Signed-off-by: Alan Coopersmith --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index be89e03..1421791 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ dnl dnl Process this file with autoconf to create configure. # Initialize Autoconf -AC_PREREQ([2.60]) +AC_PREREQ([2.64]) AC_INIT([xgc], [1.0.6], [https://gitlab.freedesktop.org/xorg/app/xgc/-/issues], [xgc]) AC_CONFIG_SRCDIR([Makefile.am]) @@ -36,7 +36,7 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -AC_PROG_LEX +m4_version_prereq([2.70], [AC_PROG_LEX(noyywrap)], [AC_PROG_LEX]) AC_PROG_YACC AC_PATH_PROG([YACC_INST], $YACC) if ! test -f "$srcdir/gram.c"; then -- cgit v1.2.3