]> git.donarmstrong.com Git - lilypond.git/commitdiff
Bugfix: complain if program not found.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 19 May 2002 14:49:46 +0000 (14:49 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 19 May 2002 14:49:46 +0000 (14:49 +0000)
aclocal.m4

index 9fc06207b97b648d4a90c6491bab7c5d4ccf1ff0..e8b82b56e054d51cf857a036683be4b54960eeb2 100644 (file)
@@ -58,11 +58,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
 ])
 
@@ -599,8 +599,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
 ])