From 84a9cf9f8bdc7a81e742ae95cd76446d5926ef70 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 11 Apr 2019 01:28:40 +0200 Subject: Configure: Support building as static library --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4b6c31cb..9de32908 100644 --- a/configure.ac +++ b/configure.ac @@ -77,6 +77,7 @@ AC_ARG_WITH([iproutedir], AC_ARG_VAR([FLEX], [location of the Flex program]) AC_ARG_VAR([BISON], [location of the Bison program]) AC_ARG_VAR([M4], [location of the M4 program]) +AC_ARG_VAR([AR], [location of the AR program]) if test "$enable_debug_expensive" = yes; then enable_debug=yes @@ -182,10 +183,12 @@ AC_PROG_RANLIB AC_CHECK_PROG([FLEX], [flex], [flex]) AC_CHECK_PROG([BISON], [bison], [bison]) AC_CHECK_PROGS([M4], [gm4 m4]) +AC_CHECK_PROGS([AR], [ar]) test -z "$FLEX" && AC_MSG_ERROR([Flex is missing.]) test -z "$BISON" && AC_MSG_ERROR([Bison is missing.]) test -z "$M4" && AC_MSG_ERROR([M4 is missing.]) +test -z "$AR" && AC_MSG_ERROR([AR is missing.]) AC_MSG_CHECKING([bison version]) BIRD_CHECK_BISON_VERSION(BISON_VERSION) -- cgit v1.2.3