+2005-07-05 Thomas Graf <tgraf@suug.ch>
+
+ * Build check for GNU Bison
+
2005-06-23 Jamal Hadi Salim <hadi@znyx.com>
* Fix for options process with ipt
LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
-all: Config
+all: flex_check Config
@for i in $(SUBDIRS); \
do $(MAKE) $(MFLAGS) -C $$i; done
+flex_check:
+ @if [ -z "`flex -h | grep '^Usage: flex '`" ]; then \
+ echo "GNU flex required, please install it."; \
+ echo " see http://lex.sourceforge.net"; \
+ exit 1; \
+ fi
+
Config:
sh configure $(KERNEL_INCLUDE)
if (info->tcpi_options & TCPI_OPT_ECN)
printf(" ecn");
}
+
if (tb[TCPDIAG_CONG])
printf("%s", (char *) RTA_DATA(tb[TCPDIAG_CONG]));
printf(" cwnd:%d", info->tcpi_snd_cwnd);
if (info->tcpi_snd_ssthresh < 0xFFFF)
printf(" ssthresh:%d", info->tcpi_snd_ssthresh);
-
+
rtt = (double) info->tcpi_rtt;
if (tb[TCPDIAG_VEGASINFO]) {
const struct tcpvegas_info *vinfo
$(YACC) $(YACCFLAGS) -o $@ $<
%.lex.c: %.l
- $(LEX) $(LEXFLAGS) -o $@ $<
+ $(LEX) $(LEXFLAGS) -o$@ $<