From 4919622d4c6266a0a38bd3c4e77c5d29ddd54175 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 16 Sep 2004 11:36:15 +0000 Subject: show error message if libhz is not found git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2198 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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) $@;\ -- cgit v1.2.3