]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/aclocal.m4
Fix build with Autoconf 2.64
[lilypond.git] / stepmake / aclocal.m4
index 27dfb0b511786545fbac52cf8655f89f56b79b1b..3786968be37961ffde0fdf15a9a6aa21b4dd50ab 100644 (file)
@@ -205,7 +205,6 @@ AC_DEFUN(STEPMAKE_COMPILE, [
        OPTIMIZE="$OPTIMIZE -g"
     fi
  
-    AC_PROG_CC
     STEPMAKE_OPTIONAL_REQUIRED(CC, cc, $1)
     LD='$(CC)'
     AC_SUBST(LD)
@@ -401,6 +400,7 @@ EOF
 print 'depth=' + ('../' * ( $d-1 ) )
 print 'include \$(depth)/config\$(if \$(conf),-\$(conf),).make'
 print 'include \$(configure-srcdir)/$mf'
+print 'MODULE_INCLUDES += \$(src-dir)/\$(outbase)'
 EOF
            done
            for mf in `cd $srcdir ; find -maxdepth $d -mindepth $d -name '*.make' | grep -v config.make `; do