[Chinese-commits] [manpages-zh] 121/131: configure.ac: rename configure.in to configure.ac

Boyuan Yang hosiet-guest at moszumanska.debian.org
Tue Dec 13 19:59:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

hosiet-guest pushed a commit to branch master
in repository manpages-zh.

commit 5513736566200d671a3a18abc9d0486461144220
Author: Boyuan Yang <073plan at gmail.com>
Date:   Mon Aug 8 08:42:52 2016 +0800

    configure.ac: rename configure.in to configure.ac
    
    To fit the requirements of modern autotools.
---
 configure.ac | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.in | 103 -----------------------------------------------------------
 2 files changed, 103 insertions(+), 103 deletions(-)

diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..e911266
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,103 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.61])
+AC_INIT([manpages-zh],[1.5.2],[https://github.com/lidaobing/manpages-zh/issues])
+AM_INIT_AUTOMAKE([dist-bzip2])
+AM_MAINTAINER_MODE
+
+AC_ARG_ENABLE([utf8],
+              [AS_HELP_STRING([--disable-utf8],
+                              [don't generate manpages in utf8 encoding,
+                               use gbk and big5 encoding])],
+              [case "${enableval}" in
+                       yes) utf8=true ;;
+                no) utf8=false ;;
+                *) AC_MSG_ERROR([bad value ${enableval} for --enable-utf8]) ;;
+                esac],
+              [utf8=true])
+AM_CONDITIONAL([UTF8], [test x$utf8 = xtrue])
+
+AC_ARG_ENABLE([zhtw],
+              [AS_HELP_STRING([--disable-zhtw],
+                              [do not generate manpages for zh_TW])],
+              [case "${enableval}" in
+                       yes) zhtw=true ;;
+                no) zhtw=false ;;
+                *) AC_MSG_ERROR([bad value ${enableval} for --enable-zhtw]) ;;
+                esac],
+              [zhtw=true]
+              )
+if test x$zhtw = xtrue; then
+AC_PATH_PROG([AUTOB5], [autob5])
+if test x$AUTOB5 = x; then
+        AC_MSG_ERROR([cannot find autob5, you can install zh-autoconvert from http://ftp.debian.org/debian/pool/main/z/zh-autoconvert, or use --disable-zhtw])
+fi
+AC_PATH_PROG([ICONV], [iconv])
+if test x$ICONV = x; then
+        AC_MSG_ERROR([cannot find iconv, you can use --disable-zhtw])
+fi
+AC_PATH_PROG([PERL], [perl])
+if test x$PERL = x; then
+        AC_MSG_ERROR([cannot find perl, you can use --disable-zhtw])
+fi
+zh_TW=zh_TW
+AC_SUBST(zh_TW)
+fi
+
+AC_ARG_ENABLE([zhcn],
+              [AS_HELP_STRING([--disable-zhcn],
+                              [do not generate manpage for zh_CN])],
+              [case "${enableval}" in
+                yes) zhcn=true ;;
+                no) zhcn=false ;;
+                *) AC_MSG_ERROR([bad value ${enableval} for --enable-zhcn]) ;;
+                esac],
+              [zhcn=true]
+              )
+if test x$zhcn = xtrue; then
+        zh_CN=zh_CN
+        AC_SUBST(zh_CN)
+fi
+
+AC_CONFIG_FILES([Makefile
+                 DOCS/Makefile
+                 src/Makefile
+                 src/man1/Makefile
+                 src/man1/zh_CN/Makefile
+                 src/man1/zh_TW/Makefile
+                 src/man2/Makefile
+                 src/man2/zh_CN/Makefile
+                 src/man2/zh_TW/Makefile
+                 src/man3/Makefile
+                 src/man3/zh_CN/Makefile
+                 src/man3/zh_TW/Makefile
+                 src/man4/Makefile
+                 src/man4/zh_CN/Makefile
+                 src/man4/zh_TW/Makefile
+                 src/man5/Makefile
+                 src/man5/zh_CN/Makefile
+                 src/man5/zh_TW/Makefile
+                 src/man6/Makefile
+                 src/man6/zh_CN/Makefile
+                 src/man6/zh_TW/Makefile
+                 src/man7/Makefile
+                 src/man7/zh_CN/Makefile
+                 src/man7/zh_TW/Makefile
+                 src/man8/Makefile
+                 src/man8/zh_CN/Makefile
+                 src/man8/zh_TW/Makefile
+                 src/mann/Makefile
+                 src/mann/zh_CN/Makefile
+                 src/mann/zh_TW/Makefile
+                 utils/Makefile
+                 ])
+AC_OUTPUT
+
+echo
+echo "manpages-zh configure summary"
+echo "============================="
+echo "UTF-8 : $utf8"
+echo "zh_CN : $zhcn"
+echo "zh_TW : $zhtw"
+echo
diff --git a/configure.in b/configure.in
deleted file mode 100644
index 674e66c..0000000
--- a/configure.in
+++ /dev/null
@@ -1,103 +0,0 @@
-#                                               -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.61)
-AC_INIT([manpages-zh],[1.5.2],[http://code.google.com/p/manpages-zh/issues/list])
-AM_INIT_AUTOMAKE
-AM_MAINTAINER_MODE
-
-AC_ARG_ENABLE([utf8],
-	      [AS_HELP_STRING([--disable-utf8],
-			      [don't generate manpages in utf8 encoding,
-			       use gbk and big5 encoding])],
-	      [case "${enableval}" in
-	       	yes) utf8=true ;;
-		no) utf8=false ;;
-		*) AC_MSG_ERROR([bad value ${enableval} for --enable-utf8]) ;;
-		esac],
-	      [utf8=true])
-AM_CONDITIONAL([UTF8], [test x$utf8 = xtrue])
-
-AC_ARG_ENABLE([zhtw],
-	      [AS_HELP_STRING([--disable-zhtw],
-			      [do not generate manpages for zh_TW])],
-              [case "${enableval}" in
-	       	yes) zhtw=true ;;
-		no) zhtw=false ;;
-		*) AC_MSG_ERROR([bad value ${enableval} for --enable-zhtw]) ;;
-		esac],
-	      [zhtw=true]
-              )
-if test x$zhtw = xtrue; then            
-AC_PATH_PROG([AUTOB5], [autob5])
-if test x$AUTOB5 = x; then
-	AC_MSG_ERROR([cannot find autob5, you can install zh-autoconvert from http://ftp.debian.org/debian/pool/main/z/zh-autoconvert, or use --disable-zhtw])
-fi
-AC_PATH_PROG([ICONV], [iconv])
-if test x$ICONV = x; then
-	AC_MSG_ERROR([cannot find iconv, you can use --disable-zhtw])
-fi
-AC_PATH_PROG([PERL], [perl])
-if test x$PERL = x; then
-	AC_MSG_ERROR([cannot find perl, you can use --disable-zhtw])
-fi
-zh_TW=zh_TW
-AC_SUBST(zh_TW)
-fi
-
-AC_ARG_ENABLE([zhcn],
-	      [AS_HELP_STRING([--disable-zhcn],
-			      [do not generate manpage for zh_CN])],
-	      [case "${enableval}" in
-	       	yes) zhcn=true ;;
-		no) zhcn=false ;;
-		*) AC_MSG_ERROR([bad value ${enableval} for --enable-zhcn]) ;;
-		esac],
-	      [zhcn=true]
-              )
-if test x$zhcn = xtrue; then
-	zh_CN=zh_CN
-	AC_SUBST(zh_CN)
-fi
-
-AC_CONFIG_FILES([Makefile
-		 DOCS/Makefile
-		 src/Makefile
-		 src/man1/Makefile
-		 src/man1/zh_CN/Makefile
-		 src/man1/zh_TW/Makefile
-		 src/man2/Makefile
-		 src/man2/zh_CN/Makefile
-		 src/man2/zh_TW/Makefile
-		 src/man3/Makefile
-		 src/man3/zh_CN/Makefile
-		 src/man3/zh_TW/Makefile
-		 src/man4/Makefile
-		 src/man4/zh_CN/Makefile
-		 src/man4/zh_TW/Makefile
-		 src/man5/Makefile
-		 src/man5/zh_CN/Makefile
-		 src/man5/zh_TW/Makefile
-		 src/man6/Makefile
-		 src/man6/zh_CN/Makefile
-		 src/man6/zh_TW/Makefile
-		 src/man7/Makefile
-		 src/man7/zh_CN/Makefile
-		 src/man7/zh_TW/Makefile
-		 src/man8/Makefile
-		 src/man8/zh_CN/Makefile
-		 src/man8/zh_TW/Makefile
-		 src/mann/Makefile
-		 src/mann/zh_CN/Makefile
-		 src/mann/zh_TW/Makefile
-		 utils/Makefile
-		 ])
-AC_OUTPUT
-
-echo
-echo "manpages-zh configure summary"
-echo "============================="
-echo "UTF-8 : $utf8"
-echo "zh_CN : $zhcn"
-echo "zh_TW : $zhtw"
-echo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/manpages-zh.git



More information about the Chinese-commits mailing list