]> git.donarmstrong.com Git - lilypond.git/commitdiff
more robust srcdir check
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 28 Oct 2006 15:54:03 +0000 (17:54 +0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 28 Oct 2006 15:54:03 +0000 (17:54 +0200)
stepmake/aclocal.m4

index 813b8309775e6c9f7b0fa021b305a336473cb0fb..be97fa96de6dc2b1ff96b03d69f21050b5efa6e9 100644 (file)
@@ -668,7 +668,11 @@ AC_DEFUN(STEPMAKE_INIT, [
 
        AC_MSG_CHECKING(builddir)
        ugh_ugh_autoconf250_builddir="`pwd`"
-       if test "$srcdir" = "."; then
+
+       here_dir=$(cd . && pwd)
+       full_src_dir=$(cd $srcdir && pwd)
+
+       if test "$full_src_dir" = "$here_dir"; then
            srcdir_build=yes
        else
            srcdir_build=no