summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-04 00:44:41 -0700
committerGuy Harris <guy@alum.mit.edu>2011-04-04 00:44:41 -0700
commite6933ca1435d352ccb4355aeac8d468f7fd65c87 (patch)
tree0deb8335e2810854b252aae8c6c33644663f8c53 /Makefile.in
parent1aaedce9e77af060e92f2152acde923fd11eae60 (diff)
downloadtcpdump-e6933ca1435d352ccb4355aeac8d468f7fd65c87.tar.gz
Check for uudecode at make time by uudecoding a uuencoded empty file.
Doing it at make time means you don't have to re-run the configure script if you add uudecode to your system, and doing it by uudecoding a uuencoded empty file means we don't depend on uudecode supporting "--help".
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 236ac60f..a1a693ad 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -279,6 +279,7 @@ EXTRA_DIST = \
tests/eapon1.out \
tests/eapon1.puu \
tests/eapon2.puu \
+ tests/empty.uu \
tests/esp-secrets.txt \
tests/esp0.out \
tests/esp1.gdbinit \
@@ -420,7 +421,7 @@ distclean:
rm -rf autom4te.cache
check: tcpdump
- @@CHECK_UUDECODE@
+ uudecode <tests/empty.uu >/dev/null || (echo "No uudecode program found, not running tests"; echo "apt-get/rpm install sharutils?"; exit 1)
(cd tests && ./TESTrun.sh)
tags: $(TAGFILES)