From d2f3405ab6a8b9a85b4aeef6afaf05903c9a10f3 Mon Sep 17 00:00:00 2001 From: maverick0815 <47518745+maverick0815@users.noreply.github.com> Date: Mon, 29 Apr 2024 18:56:14 +0200 Subject: [PATCH] Use yacc and lex as detected by autoconf to build restconf Setup YACC and LEX via autoconf On opensuse tumbleweed I had a build error because the wrong lex variant was used without this. This is the same as in lib/src/Makefile.in --- apps/restconf/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/restconf/Makefile.in b/apps/restconf/Makefile.in index 58436994..8b580e45 100644 --- a/apps/restconf/Makefile.in +++ b/apps/restconf/Makefile.in @@ -83,6 +83,9 @@ LIBDEPS = $(top_srcdir)/lib/src/$(CLIXON_LIB) LIBS = -L$(top_srcdir)/lib/src $(top_srcdir)/lib/src/$(CLIXON_LIB) @LIBS@ +YACC = @YACC@ +LEX = @LEX@ + CPPFLAGS = @CPPFLAGS@