diff --git a/ChangeLog b/ChangeLog index 796f59aec3..c59d7020f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 10 04:54:01 2009 Nobuyoshi Nakada + + * configure.in (Makefile): info-program needs common.mk. + Fri Apr 10 03:46:44 2009 Nobuyoshi Nakada * configure.in (RUBY_INSTALL_NAME): use --program-transform-name. diff --git a/configure.in b/configure.in index 2752419e22..ba640992be 100644 --- a/configure.in +++ b/configure.in @@ -2508,14 +2508,15 @@ AC_CONFIG_FILES(Makefile, [{ fi sed '/^MISSING/s/\$U\././g;/^VCS *=/s#@VCS@#'"$VCS"'#;/^VCSUP *=/s#@VCSUP@#'"$VCSUP"'#' Makefile echo; test x"$EXEEXT" = x || echo 'miniruby: miniruby$(EXEEXT)' - ${MAKE-make} info-program | grep '^PROGRAM=ruby$' > /dev/null || echo 'ruby: $(PROGRAM)' if test "$gnumake" != yes; then echo ['$(MKFILES): $(srcdir)/common.mk'] sed ['s/{\$([^(){}]*)[^{}]*}//g'] ${srcdir}/common.mk else echo 'distclean-local::; @$(RM) GNUmakefile uncommon.mk' fi - } >> confmk$$.tmp && mv -f confmk$$.tmp Makefile], + } > confmk$$.tmp && mv -f confmk$$.tmp Makefile && + ${MAKE-make} info-program | grep '^PROGRAM=ruby$' > /dev/null || + echo 'ruby: $(PROGRAM)' >> Makefile], [EXEEXT=$EXEEXT gnumake=$gnumake]) AC_OUTPUT dnl }