diff options
Diffstat (limited to 'libgphoto2_port/gphoto-m4/gp-gettext-hack.m4')
-rw-r--r-- | libgphoto2_port/gphoto-m4/gp-gettext-hack.m4 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/libgphoto2_port/gphoto-m4/gp-gettext-hack.m4 b/libgphoto2_port/gphoto-m4/gp-gettext-hack.m4 index 3f5dbb72a..4b8cee34d 100644 --- a/libgphoto2_port/gphoto-m4/gp-gettext-hack.m4 +++ b/libgphoto2_port/gphoto-m4/gp-gettext-hack.m4 @@ -19,9 +19,8 @@ dnl dnl You can leave out the GP_GETTEXT_HACK parameters if you want to, dnl GP_GETTEXT_HACK will try fall back to sensible values in that case: dnl - -AC_DEFUN([GP_GETTEXT_HACK], -[ +dnl +AC_DEFUN([GP_GETTEXT_HACK], [dnl AC_BEFORE([$0], [AM_GNU_GETTEXT])dnl AC_BEFORE([$0], [AM_GNU_GETTEXT_VERSION])dnl m4_if([$1],[],[GETTEXT_PACKAGE="${PACKAGE_TARNAME}"],[GETTEXT_PACKAGE="$1"]) @@ -31,13 +30,14 @@ AC_SUBST([GETTEXT_PACKAGE]) sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|" m4_if([$2],[],[],[sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = $2|"]) m4_ifval([$3],[ +m4_pattern_allow([GP_GETTEXT_HACK])dnl if test -n "$PACKAGE_BUGREPORT"; then sed_mb="${PACKAGE_BUGREPORT}" else AC_MSG_ERROR([ *** Your configure.{ac,in} is wrong. *** Either define PACKAGE_BUGREPORT (by using the 4-parameter AC INIT syntax) -*** or give [GP_GETTEXT_HACK] the third parameter. +*** or give GP_GETTEXT_HACK the third parameter. *** ]) fi @@ -53,8 +53,10 @@ if test -f "${srcdir}/po/Makevars.template"; then else AC_MSG_RESULT([no]) fi -]) - +])dnl +dnl +dnl +dnl AC_DEFUN([GP_GETTEXT_FLAGS], [ AC_REQUIRE([AM_GNU_GETTEXT]) @@ -66,7 +68,9 @@ GP_CONFIG_MSG([Use translations],[${USE_NLS}]) if test "x$USE_NLS" = "xyes" && test "${BUILD_INCLUDED_LIBINTL}"; then GP_CONFIG_MSG([Use included libintl],[${BUILD_INCLUDED_LIBINTL}]) fi -]) +])dnl +dnl +dnl dnl Please do not remove this: dnl filetype: 71ff3941-a5ae-4677-a369-d7cb01f92c81 |