diff options
Diffstat (limited to 'po/po-configure.ac.in')
-rw-r--r-- | po/po-configure.ac.in | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/po/po-configure.ac.in b/po/po-configure.ac.in new file mode 100644 index 00000000..9f7e8b03 --- /dev/null +++ b/po/po-configure.ac.in | |||
@@ -0,0 +1,39 @@ | |||
1 | AC_INIT([@PACKAGE_NAME@],[@PACKAGE_VERSION@],[@PACKAGE_BUGREPORT@]) | ||
2 | CONFIG_STATUS='./po-config.status' | ||
3 | |||
4 | AC_CONFIG_AUX_DIR([build-aux]) | ||
5 | AC_CONFIG_MACRO_DIR([m4]) | ||
6 | AC_PRESERVE_HELP_ORDER | ||
7 | |||
8 | AC_MSG_NOTICE([ | ||
9 | This special $as_me is designed to be run only internally as part of distribution tarball building process. | ||
10 | The only purpose of the $as_me is a preparion of the files to update ${PACKAGE_TARNAME}.pot | ||
11 | |||
12 | $as_me is not meant to be started by the user and is not needed to build ${PACKAGE_NAME} library. | ||
13 | ]) | ||
14 | AC_MSG_NOTICE([Check src/examples/msgs_i18n.c for inspiration how to use ${PACKAGE_TARNAME}.pot]) | ||
15 | AS_VAR_SET_IF([enable_nls], [], [[enable_nls=no]]) | ||
16 | AM_GNU_GETTEXT([external],[need-ngettext]) | ||
17 | |||
18 | m4_divert_text([HELP_ENABLE], [[ | ||
19 | ############################################################################### | ||
20 | This special po-configure is designed to be run only internally as part of | ||
21 | distribution tarball building process. | ||
22 | The only purpose of the po-configure is a preparion of the files to update | ||
23 | libmicrohttpd.pot | ||
24 | |||
25 | po-configure is not meant to be started by the user and is not needed to build | ||
26 | @PACKAGE_NAME@ library. | ||
27 | ############################################################################### | ||
28 | ]]) | ||
29 | |||
30 | AC_CONFIG_FILES([po/Makefile.in]) | ||
31 | |||
32 | AS_IF([test -z "${XGETTEXT}" || test "x${XGETTEXT}" = "x:"], [AC_MSG_ERROR([Cannot find xgettext. xgettext is required to update distribution tarball files.])]) | ||
33 | AC_SUBST([PACKAGE],["${PACKAGE_TARNAME}"]) | ||
34 | AC_SUBST([VERSION],["${PACKAGE_VERSION}"]) | ||
35 | AC_SUBST([CROSS_COMPILING],["${cross_compiling}"]) | ||
36 | AC_SUBST([mkdir_p],['$(MKDIR_P)']) | ||
37 | AC_SUBST([install_sh],['false']) | ||
38 | |||
39 | AC_OUTPUT \ No newline at end of file | ||