From 1f09d3da01b0dabbba22ea84cead9c2df47d15fa Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 28 Sep 2020 23:46:07 +0200 Subject: [PATCH] build: configure: check for GNU Argp --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 0527cb9..941c52c 100644 --- a/configure.ac +++ b/configure.ac @@ -47,4 +47,11 @@ AC_PROG_YACC AM_PROG_AR AC_PROG_RANLIB +# We need GNU argp for argument parsing +AC_CHECK_HEADERS( + [argp.h], + [], + [AC_MSG_ERROR([GNU Argp is needed to parse arguments])] +) + AC_OUTPUT