AC_ARG_ENABLE(rr-semantics,
AS_HELP_STRING([--disable-rr-semantics], [disable the v6 Route Replace semantics]))
-if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
- CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
- CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
- CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code"
- CFLAGS="${CFLAGS} -Wpacked -Wpadded"
+AC_CHECK_HEADERS(json-c/json.h)
+AC_CHECK_LIB(json-c, json_object_get, LIBS="$LIBS -ljson-c")
+if test $ac_cv_lib_json_c_json_object_get = no; then
+ AC_MSG_ERROR([lib json is needed to compile])
fi
+ AC_CHECK_HEADERS(json-c/json.h)
+ AC_CHECK_LIB(json-c, json_object_get, LIBS="$LIBS -ljson-c")
+ if test $ac_cv_lib_json_c_json_object_get = no; then
+ AC_MSG_ERROR([lib json is needed to compile])
+ fi
+
if test x"${enable_gcc_rdynamic}" != x"no" ; then
if test x"${enable_gcc_rdynamic}" = x"yes" -o x"$COMPILER" = x"GCC"; then
LDFLAGS="${LDFLAGS} -rdynamic"
%{!?quagga_gid: %global quagga_gid 92 }
%{!?vty_gid: %global vty_gid 85 }
-%define daemon_list zebra ripd ospfd bgpd isisd ripngd ospfd6d
+%define daemon_list zebra ripd ospfd bgpd isisd pimd ripngd ospfd6d
-
%if %{with_watchquagga}
%define daemon_watchquagga watchquagga
%else