2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([manpages-zh],[1.5.1-rc2],[http://code.google.com/p/manpages-zh/issues/list])
9 AC_PATH_PROG([ICONV], [iconv])
10 if test x$ICONV = x; then
11 AC_MSG_ERROR([can not find iconv])
14 AC_PATH_PROG([AUTOB5], [autob5])
15 if test x$AUTOB5 = x; then
16 AC_MSG_ERROR([can not find autob5, you can install zh-autoconvert])
19 AC_PATH_PROG([PERL], [perl])
20 if test x$PERL = x; then
21 AC_MSG_ERROR([please install perl first])
24 AC_CONFIG_FILES([Makefile
28 src/man1/zh_CN/Makefile
29 src/man1/zh_TW/Makefile
31 src/man2/zh_CN/Makefile
32 src/man2/zh_TW/Makefile
34 src/man3/zh_CN/Makefile
35 src/man3/zh_TW/Makefile
37 src/man4/zh_CN/Makefile
38 src/man4/zh_TW/Makefile
40 src/man5/zh_CN/Makefile
41 src/man5/zh_TW/Makefile
43 src/man6/zh_CN/Makefile
44 src/man6/zh_TW/Makefile
46 src/man7/zh_CN/Makefile
47 src/man7/zh_TW/Makefile
49 src/man8/zh_CN/Makefile
50 src/man8/zh_TW/Makefile
52 src/mann/zh_CN/Makefile
53 src/mann/zh_TW/Makefile