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