]> git.pld-linux.org Git - packages/gettext.git/blobdiff - gettext-gettext.m4-fix.patch
- reordered auto* regeneration to avoid aclocal errors with autoconf >2.60
[packages/gettext.git] / gettext-gettext.m4-fix.patch
index b8074a9d482917c74dfea81ff7de842e504fc447..25b3cbe13779efaeceb4c3ccb4ea4e40fd8db8e6 100644 (file)
@@ -1,12 +1,19 @@
-diff -Nru gettext-0.10.36/m4/gettext.m4 gettext-0.10.36.new/m4/gettext.m4
---- gettext-0.10.36/m4/gettext.m4      Sat Mar 24 01:51:31 2001
-+++ gettext-0.10.36.new/m4/gettext.m4  Wed Apr  4 01:17:27 2001
-@@ -159,7 +159,7 @@
-       POSUB=po
-     fi
-     AC_OUTPUT_COMMANDS(
--     [case " $CONFIG_FILES " in *" po/Makefile.in "* | *" po/Makefile.in:"*)
-+     [case " $CONFIG_FILES " in *"po/Makefile.in"*)
-         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
-       esac])
+diff -Nur gettext-0.16.orig/gettext-runtime/m4/gettext.m4 gettext-0.16.gettext.m4-fix/gettext-runtime/m4/gettext.m4
+--- gettext-0.16.orig/gettext-runtime/m4/gettext.m4    2006-10-24 20:56:52.000000000 +0000
++++ gettext-0.16.gettext.m4-fix/gettext-runtime/m4/gettext.m4  2006-10-31 21:05:10.000000000 +0000
+@@ -137,12 +137,12 @@
+         dnl to fall back to GNU NLS library.
  
+         if test $gt_api_version -ge 3; then
+-          gt_revision_test_code='[[
++          gt_revision_test_code='
+ #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
+ #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
+ #endif
+-typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
+-]]'
++typedef int array [[2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]];
++'
+         else
+           gt_revision_test_code=
+         fi
This page took 0.129838 seconds and 4 git commands to generate.