From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Sat, 28 Oct 2006 18:41:03 +0000 (+0000)
Subject: new file.
X-Git-Tag: release/2.10.0-2~53^2~3
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9b3f63b4f853487192047c84364d53fff0ebf137;p=lilypond.git

new file.
---

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000..af8a828429
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+config.hh
+config.make
+config.status
+config.log
+*~
+GNUmakefile
+aclocal.m4
+autom4te.cache
+configure
+
diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4
index 813b830977..be97fa96de 100644
--- a/stepmake/aclocal.m4
+++ b/stepmake/aclocal.m4
@@ -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