From: Guy Harris Date: Fri, 23 Dec 2011 20:07:32 +0000 (-0800) Subject: If config.status changes, rebuild pcap-config. X-Git-Tag: libpcap-1.3-bp~3^2 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/02d7ed17b6d8bf1a461f9794781f45785e25623c If config.status changes, rebuild pcap-config. The config.status script is used to generate pcap-config from pcap-config.in, so if you've re-run the configure script and it's produced different results, changing the config.status script, pcap-config should be rebuilt. --- diff --git a/Makefile.in b/Makefile.in index 37c9d3ba..912b7e3d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -502,7 +502,7 @@ bpf_filter.o: bpf_filter.c # # Therefore, instead of using $<, we explicitly put in $(srcdir)/pcap-config.in. # -pcap-config: $(srcdir)/pcap-config.in +pcap-config: $(srcdir)/pcap-config.in ./config.status @rm -f $@ $@.tmp ./config.status --file=$@.tmp:$(srcdir)/pcap-config.in mv $@.tmp $@