From cb5f5973c4e4b9800911b51c352d2b82d3122e8e Mon Sep 17 00:00:00 2001 From: Leon Ho Date: Wed, 29 Sep 2004 18:32:31 +0000 Subject: [PATCH] fix on the libasprintf for automake --- gettext.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gettext.spec b/gettext.spec index 761e2c7..d5ac143 100644 --- a/gettext.spec +++ b/gettext.spec @@ -57,13 +57,9 @@ rm -rf %{buildroot} [ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || : # Rerun autotools for new version -for i in . gettext-runtime/libasprintf; do - pushd $i aclocal --force automake autoconf - popd -done for i in autoconf-lib-link gettext-tools gettext-runtime; do pushd $i aclocal --force -I m4/ -I ../config/m4/ -I ../gettext-runtime/m4/ -I ../gettext-tools/m4/ -I ../autoconf-lib-link/m4/ @@ -72,6 +68,12 @@ for i in autoconf-lib-link gettext-tools gettext-runtime; do popd done +pushd gettext-runtime/libasprintf +aclocal --force -I ../../config/m4/ -I ../../gettext-runtime/m4/ -I ../../gettext-tools/m4/ -I ../../autoconf-lib-link/m4/ +automake +autoconf +popd + %configure --without-included-gettext --enable-nls \ --enable-shared --with-pic-=yes make @@ -162,7 +164,6 @@ fi %doc gettext-runtime/intl/COPYING* /bin/* /usr/bin/* -/usr/share/doc/* # These aren't in glibc... %dir /usr/share/locale/en@boldquot