mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 21:47:15 +02:00
configure: exclude some checks not needed on clippy host build
from David Lamparter Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
parent
db33b83b1d
commit
c71b85570e
|
@ -40,7 +40,7 @@ AS_IF([test "$host" != "$build"], [
|
|||
( CPPFLAGS="$HOST_CPPFLAGS"; \
|
||||
CFLAGS="$HOST_CFLAGS"; \
|
||||
LDFLAGS="$HOST_LDFLAGS"; \
|
||||
cd hosttools; "${abssrc}/configure" "--host=$build" "--build=$build"; )
|
||||
cd hosttools; "${abssrc}/configure" "--host=$build" "--build=$build" "--enable-clippy-only" "--disable-nhrpd" "--disable-vtysh"; )
|
||||
|
||||
AC_MSG_NOTICE([...])
|
||||
AC_MSG_NOTICE([... cross-compilation: finished self-configuring for build platform tools])
|
||||
|
@ -392,7 +392,10 @@ AC_ARG_ENABLE([oldvpn_commands],
|
|||
AS_HELP_STRING([--enable-oldvpn-commands], [Keep old vpn commands]))
|
||||
AC_ARG_ENABLE(rpki,
|
||||
AS_HELP_STRING([--enable-rpki], [enable RPKI prefix validation support]))
|
||||
AC_ARG_ENABLE([clippy-only],
|
||||
AS_HELP_STRING([--enable-clippy-only], [Only build clippy]))
|
||||
|
||||
AS_IF([test "${enable_clippy_only}" != "yes"], [
|
||||
AC_CHECK_HEADERS(json-c/json.h)
|
||||
AC_CHECK_LIB(json-c, json_object_get, LIBS="$LIBS -ljson-c", [], [-lm])
|
||||
if test $ac_cv_lib_json_c_json_object_get = no; then
|
||||
|
@ -401,6 +404,7 @@ if test $ac_cv_lib_json_c_json_object_get = no; then
|
|||
AC_MSG_ERROR([lib json is needed to compile])
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
AC_ARG_ENABLE([dev_build],
|
||||
AS_HELP_STRING([--enable-dev-build], [build for development]))
|
||||
|
|
Loading…
Reference in a new issue