diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-16 19:36:15 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-16 19:36:15 +0800 |
commit | 4919622d4c6266a0a38bd3c4e77c5d29ddd54175 (patch) | |
tree | 91c029e92a2b82f907145fa8b5e78f4ea6488e7a | |
parent | 99b0a1a8c53a7eef4347c7d9be8c425abaa4efbf (diff) | |
download | pttbbs-4919622d4c6266a0a38bd3c4e77c5d29ddd54175.tar pttbbs-4919622d4c6266a0a38bd3c4e77c5d29ddd54175.tar.gz pttbbs-4919622d4c6266a0a38bd3c4e77c5d29ddd54175.tar.bz2 pttbbs-4919622d4c6266a0a38bd3c4e77c5d29ddd54175.tar.lz pttbbs-4919622d4c6266a0a38bd3c4e77c5d29ddd54175.tar.xz pttbbs-4919622d4c6266a0a38bd3c4e77c5d29ddd54175.tar.zst pttbbs-4919622d4c6266a0a38bd3c4e77c5d29ddd54175.zip |
show error message if libhz is not found
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2198 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) $@;\ |