summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e94a522e..eb78b74d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,12 @@ BBSHOME?=$(HOME)
OSTYPE!=uname
all install clean:
+.if !exists(/usr/local/lib/libhz.so) && !exists(/usr/lib/libhz.so)
+ @echo "sorry, libhz not found."
+ @echo "above FreeBSD, please install /usr/ports/chinese/autoconvert"
+ @echo "above Debian/Linux, please install package libhz0"
+ @exit 1
+.endif
@for i in $(SUBDIR); do\
cd $$i;\
$(MAKE) BBSHOME=$(BBSHOME) $@;\