]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/aclocal.m4
patch::: 1.3.121.jcn1
[lilypond.git] / stepmake / aclocal.m4
index 110ee942eb7e9e15ac729179c2c96c8a70a89834..1a095357e64a53fd58aef1b4fc1b3fe4ca16f08d 100644 (file)
@@ -1,31 +1,6 @@
 dnl aclocal.m4   -*-shell-script-*-
 dnl StepMake subroutines for configure.in
 
-function base ()
-{
-    expr "$1" : "\(/[^/]*\)"
-}
-
-function unbase ()
-{
-    expr "$1" : "/[^/]*\(.*\)"
-}
-
-function walk ()
-{
-    from=`(cd "$1" && pwd)`
-    to=`pwd`
-    t=`base "$to"`
-    f=`base "$from"`
-    while [ -n "$t" -a "$t" = "$f" ]; do
-       to=`unbase "$to"`
-       from=`unbase "$from"`
-       t=`base "$to"`
-       f=`base "$from"`
-    done
-    echo ..$to
-}
-
 AC_DEFUN(AC_STEPMAKE_BIBTEX2HTML, [
     AC_CHECK_PROGS(BIBTEX2HTML, bibtex2html bib2html, error)
     if test "$BIBTEX2HTML" = "bib2html"; then