po-configure.ac.in (1959B)
1 AC_INIT([@PACKAGE_NAME@],[@PACKAGE_VERSION@],[@PACKAGE_BUGREPORT@]) 2 CONFIG_STATUS='./po-config.status' 3 4 AC_CONFIG_AUX_DIR([@MHD_AUX_DIR@]) 5 AC_CONFIG_MACRO_DIR([m4]) 6 7 AC_PRESERVE_HELP_ORDER 8 9 AC_MSG_NOTICE([ 10 This special $as_me is designed to be run only internally as part of distribution tarball building process. 11 The only purpose of the $as_me is a preparation of the files to update ${PACKAGE_TARNAME}.pot 12 13 $as_me is not meant to be started by the user and is not needed to build ${PACKAGE_NAME} library. 14 ]) 15 AC_MSG_NOTICE([Check src/examples/msgs_i18n.c for inspiration how to use ${PACKAGE_TARNAME}.pot]) 16 17 AM_PROG_INSTALL_SH 18 AC_PROG_MKDIR_P 19 20 AS_VAR_SET_IF([enable_nls], [], [[enable_nls=no]]) 21 AM_GNU_GETTEXT([external],[need-ngettext]) 22 AM_GNU_GETTEXT_REQUIRE_VERSION([0.18]) 23 24 m4_divert_text([HELP_VAR_END], [[ 25 ############################################################################### 26 This special po-configure is designed to be run only internally as part of 27 distribution tarball building process. 28 The only purpose of the po-configure is a preparation of the files to update 29 @PACKAGE_TARNAME@.pot 30 31 po-configure is not meant to be started by the user and is not needed to build 32 @PACKAGE_NAME@ library. 33 ############################################################################### 34 ]]) 35 36 # Hacks for libmicrohttpd 37 AC_CONFIG_FILES([po/stamp-m],[echo 'timestamp' > po/stamp-m]) 38 AC_SUBST([POMAKEFILEDEPS],["POTFILES.in stamp-m"]) 39 AM_SUBST_NOTMAKE([POMAKEFILEDEPS]) 40 AC_SUBST([MHD_CONFIG_SHELL],["${CONFIG_SHELL}"]) 41 AC_SUBST([MHD_AUX_DIR],['@MHD_AUX_DIR@']) 42 43 AC_CONFIG_FILES([po/Makefile.in]) 44 AS_IF([test -z "${XGETTEXT}" || test "x${XGETTEXT}" = "x:"], [AC_MSG_ERROR([Cannot find xgettext. xgettext is required to update distribution tarball files.])]) 45 AC_SUBST([PACKAGE],["${PACKAGE_TARNAME}"]) 46 AC_SUBST([VERSION],["${PACKAGE_VERSION}"]) 47 AC_SUBST([CROSS_COMPILING],["${cross_compiling}"]) 48 AC_SUBST([MKDIR_P]) 49 AC_SUBST([mkdir_p],['$(MKDIR_P)']) 50 51 AC_OUTPUT