[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again
From: |
Bruno Haible |
Subject: |
Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again |
Date: |
Thu, 14 Jun 2001 19:47:45 +0200 (CEST) |
> One more (final?) revision of the patch to make AM_WITH_NLS work with
> autoconf 2.50 ...
Thanks for your attempts to make gettext.m4 work with autoconf 2.50.
Your patch was not entirely correct (it wouldn't work in packages
which have multiple PO directories and different hierarchy depths,
because $ac_top_srcdir depends on the last AC_OUTPUTted file).
Therefore here is the patch which I recommend.
Note also that I cannot unconditionally recommend the use of
autoconf-2.50 at this point because
- autoconf-2.50 doesn't work with libtool-1.3.5 or libtool-1.4,
it requires a patched version of libtool-1.4, which itself
requires automake-1.4-p2,
- autoconf-2.50 doesn't work with some automake-1.4-p2 macros,
such as AM_TYPE_PTRDIFF_T.
In other words, since other tools are not yet ready for use with
autoconf-2.50, you are on your own.
2001-06-14 Bruno Haible <address@hidden>
* gettext.m4 (AM_WITH_NLS): Add support for autoconf-2.50.
*** gettext-0.10.38/m4/gettext.m4.bak Thu May 17 15:35:37 2001
--- gettext-0.10.38/m4/gettext.m4 Thu Jun 14 14:37:43 2001
***************
*** 181,186 ****
--- 181,187 ----
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
case "$ac_given_srcdir" in
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
/*) top_srcdir="$ac_given_srcdir" ;;
***************
*** 188,196 ****
esac
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
rm -f "$ac_dir/POTFILES"
! echo creating "$ac_dir/POTFILES"
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/&
\\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" >
"$ac_dir/POTFILES"
! echo creating "$ac_dir/Makefile"
sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" >
"$ac_dir/Makefile"
fi
;;
--- 189,197 ----
esac
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
rm -f "$ac_dir/POTFILES"
! test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/&
\\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" >
"$ac_dir/POTFILES"
! test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" >
"$ac_dir/Makefile"
fi
;;
- AM_GNU_GETTEXT working with autoconf 2.50, yet again, karl, 2001/06/11
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Akim Demaille, 2001/06/11
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Akim Demaille, 2001/06/11
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Bruno Haible, 2001/06/14
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Akim Demaille, 2001/06/15
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Paul Eggert, 2001/06/15
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Eli Zaretskii, 2001/06/16
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Akim Demaille, 2001/06/19
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again,
Bruno Haible <=
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, karl, 2001/06/12
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Akim Demaille, 2001/06/12
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Tim Van Holder, 2001/06/12
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Ulrich Drepper, 2001/06/12
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, Bruno Haible, 2001/06/14
- Re: AM_GNU_GETTEXT working with autoconf 2.50, yet again, karl, 2001/06/13