Mercurial > hg > octave-kai > gnulib-hg
comparison gnulib-tool @ 10969:4c304a656b87
Fix a gnulib-tool failure.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 25 Dec 2008 16:07:35 +0100 |
parents | 4e7233d13083 |
children | d54e63808f25 |
comparison
equal
deleted
inserted
replaced
10968:2692e4e28041 | 10969:4c304a656b87 |
---|---|
4030 # Do not use "${AUTORECONF} --force --install", because it may invoke | 4030 # Do not use "${AUTORECONF} --force --install", because it may invoke |
4031 # autopoint, which brings in older versions of some of our .m4 files. | 4031 # autopoint, which brings in older versions of some of our .m4 files. |
4032 if test -f $m4base/gettext.m4; then | 4032 if test -f $m4base/gettext.m4; then |
4033 func_execute_command ${AUTOPOINT} --force || func_exit 1 | 4033 func_execute_command ${AUTOPOINT} --force || func_exit 1 |
4034 for f in $m4base/*.m4~; do | 4034 for f in $m4base/*.m4~; do |
4035 mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 | 4035 if test -f $f; then |
4036 mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 | |
4037 fi | |
4036 done | 4038 done |
4037 fi | 4039 fi |
4038 func_execute_command ${ACLOCAL} -I $m4base || func_exit 1 | 4040 func_execute_command ${ACLOCAL} -I $m4base || func_exit 1 |
4039 if ! test -d build-aux; then | 4041 if ! test -d build-aux; then |
4040 func_execute_command mkdir build-aux || func_exit 1 | 4042 func_execute_command mkdir build-aux || func_exit 1 |
4049 # Do not use "${AUTORECONF} --force --install", because it may invoke | 4051 # Do not use "${AUTORECONF} --force --install", because it may invoke |
4050 # autopoint, which brings in older versions of some of our .m4 files. | 4052 # autopoint, which brings in older versions of some of our .m4 files. |
4051 if test -f ../$m4base/gettext.m4; then | 4053 if test -f ../$m4base/gettext.m4; then |
4052 func_execute_command ${AUTOPOINT} --force || func_exit 1 | 4054 func_execute_command ${AUTOPOINT} --force || func_exit 1 |
4053 for f in ../$m4base/*.m4~; do | 4055 for f in ../$m4base/*.m4~; do |
4054 mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 | 4056 if test -f $f; then |
4057 mv -f $f `echo $f | sed -e 's,~$,,'` || func_exit 1 | |
4058 fi | |
4055 done | 4059 done |
4056 fi | 4060 fi |
4057 func_execute_command ${ACLOCAL} -I ../$m4base || func_exit 1 | 4061 func_execute_command ${ACLOCAL} -I ../$m4base || func_exit 1 |
4058 if ! test -d ../build-aux; then | 4062 if ! test -d ../build-aux; then |
4059 func_execute_command mkdir ../build-aux | 4063 func_execute_command mkdir ../build-aux |