summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-11-30 19:38:22 -0600
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-11-30 19:38:22 -0600
commit559ed2998921b1271c21da3bf28f67445d7555b1 (patch)
tree474e48fbd452ca2086024e679bc7b7f4cfeeff96
parent0b97a1aa1d54ad16b27ae6e299c3b210f5b58ecd (diff)
downloadcygwin-filesystem-559ed2998921b1271c21da3bf28f67445d7555b1.tar.gz
cygwin-filesystem-559ed2998921b1271c21da3bf28f67445d7555b1.tar.xz
cygwin-filesystem-559ed2998921b1271c21da3bf28f67445d7555b1.zip
Define AUTOPOINT if cygwin-gettext is installed
The autopoint script in cygwin-gettext is patched to accept the -V flag to override the version passed to AM_GNU_GETTEXT_VERSION. This is necessary because gettext 0.17+ is required for compatibility with libtool 2.2+.
-rw-r--r--macros.cygwin4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros.cygwin b/macros.cygwin
index a9a6ae3..e49430a 100644
--- a/macros.cygwin
+++ b/macros.cygwin
@@ -96,6 +96,10 @@ package or when debugging this package.\
x=`basename $i|tr "a-z+-\." "A-ZX__"`; \
declare -x $x="$i" ; export $x; \
done; \
+ if [ -x %{_cygwin_bindir}/autopoint ]; then \
+ eval gettext_`grep '^version=' %{_cygwin_bindir}/autopoint`; \
+ AUTOPOINT="%{_cygwin_bindir}/autopoint -V $gettext_version" ; export AUTOPOINT; \
+ fi; \
if [ -x %{_cygwin_bindir}/libtoolize ]; then \
LIBTOOLIZE=%{_cygwin_bindir}/libtoolize; export LIBTOOLIZE; \
fi; \