diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2002-05-19 12:50:47 +0000 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2002-05-19 12:50:47 +0000 |
commit | 0fa4be4e9d80d9870104252d04e49975367f64a3 (patch) | |
tree | 922021dccd93e556f9be5b95bcce9697dc5cb2c2 /stepmake | |
parent | c89de2a770104af7b014bd4674e871957951e8fb (diff) |
* stepmake/aclocal.m4: Bugfix: complain if program not found.
* scripts/update-lily.py (next_version, prev_version, diff_name):
New function. Patches now named name-prev-latest.diff.gz.
Bugfix: import shutil.
Diffstat (limited to 'stepmake')
-rw-r--r-- | stepmake/aclocal.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index cf2176ed43..b32e9fcc99 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -55,11 +55,11 @@ AC_DEFUN(STEPMAKE_OPTIONAL_REQUIRED, [ # Return if tested proram ($1) was found (true) or not (false). AC_DEFUN(STEPMAKE_CHECK_SEARCH_RESULT, [ r="`eval echo '$'"$1"`" - if test -n "$r" -a "$r" != "error" -a "$r" != "no" && ! expr '`eval echo '$'"$1"`' : '.*\(echo\)' > /dev/null; then + if test -n "$r" -a "$r" != "error" -a "$r" != "no" && expr '`eval echo '$'"$1"`' : '.*\(echo\)' > /dev/null; then + true + else ##STEPMAKE_WARN(cannot find $2. $3) false - else - true fi ]) @@ -596,8 +596,9 @@ AC_DEFUN(STEPMAKE_INIT, [ AC_SUBST(INSTALL) AC_DEFINE_UNQUOTED(DIRSEP, '${DIRSEP}') AC_DEFINE_UNQUOTED(PATHSEP, '${PATHSEP}') - AC_SUBST(PATHSEP) AC_SUBST(DIRSEP) + AC_SUBST(PATHSEP) + AC_SUBST(ROOTSEP) STEPMAKE_DATADIR ]) |