Skip to content

Commit

Permalink
If config.status changes, rebuild pcap-config.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
guyharris committed Dec 23, 2011
1 parent 9caf322 commit 02d7ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Expand Up @@ -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 $@
Expand Down

0 comments on commit 02d7ed1

Please sign in to comment.