From: Stefano Lattarini Date: Sat, 24 Nov 2012 12:20:59 +0000 (+0100) Subject: Merge branch 'master' into ng/master X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d396d841c5e172eb5cc852ccfb36c2a7624c8e53;p=thirdparty%2Fautomake.git Merge branch 'master' into ng/master * master: (38 commits) tests: fix a spurious failure with older flex versions tests: avoid a failure due to m4 builtin 'sinclude' in package name tests: fix a spurious failure when $PYTHON is in the environment python tests: support PEP-3147 installation layout python: uninstall cater to PEP-3147 tests: more explicative names for few aclocal tests tests: improve coverage on Texinfo + silent rules build: fix rebuild rules for Makefile.in and aclocal.m4 hacking: release procedure: fix order of some steps maint: post-release minor version bump release: stable release 1.12.5 maintcheck: avoid failures, sync with 'ng/master' more maintcheck: remove 'sc_perl_syntax' sync: update files from upstream with "make fetch" maint: get rid of $perllibdir environment variable hack configure: respect the '-q' option better cosmetics: de-tabify configure.ac fixup: Automake installation works again tests: AC_CONFIG_MACRO_DIRS: ignore inevitable failures with old autoconf recursion: remove _AM_EXTRA_RECURSIVE_TARGETS indirection ... Signed-off-by: Stefano Lattarini --- d396d841c5e172eb5cc852ccfb36c2a7624c8e53 diff --cc aclocal.in index cb50e429f,05b89e7e3..653528a9e --- a/aclocal.in +++ b/aclocal.in @@@ -44,6 -46,19 +45,16 @@@ use File::Path () # Some globals. + # Support AC_CONFIG_MACRO_DIRS also with older autoconf. + # FIXME: To be removed in Automake 1.14, once we can assume autoconf + # 2.70 or later. + # FIXME: keep in sync with 'internal/ac-config-macro-dirs.m4'. + my $ac_config_macro_dirs_fallback = + 'm4_ifndef([AC_CONFIG_MACRO_DIRS], [' . + 'm4_defun([_AM_CONFIG_MACRO_DIRS], [])' . + 'm4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])' . + '])'; + -# We do not operate in threaded mode. -$perl_threads = 0; - # Include paths for searching macros. We search macros in this order: # user-supplied directories first, then the directory containing the # automake macros, and finally the system-wide directories for diff --cc automake.in index 660685398,3194c9948..5820c5171 --- a/automake.in +++ b/automake.in @@@ -29,8 -29,18 +29,9 @@@ package Language BEGIN { - my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@-@APIVERSION@'; - unshift @INC, (split '@PATH_SEPARATOR@', $perllibdir); + @Automake::perl_libdirs = ('@datadir@/@PACKAGE@-@APIVERSION@') + unless @Automake::perl_libdirs; + unshift @INC, @Automake::perl_libdirs; - - # Override SHELL. This is required on DJGPP so that system() uses - # bash, not COMMAND.COM which doesn't quote arguments properly. - # Other systems aren't expected to use $SHELL when Automake - # runs, but it should be safe to drop the "if DJGPP" guard if - # it turns up other systems need the same thing. After all, - # if SHELL is used, ./configure's SHELL is always better than - # the user's SHELL (which may be something like tcsh). - $ENV{'SHELL'} = '@SHELL@' if exists $ENV{'DJDIR'}; } use Class::Struct (); @@@ -4174,8 -5129,9 +4175,8 @@@ sub scan_autoconf_traces ($ AC_REQUIRE_AUX_FILE => 1, AC_SUBST_TRACE => 1, AM_AUTOMAKE_VERSION => 1, - AM_PROG_MKDIR_P => 0, # FIXME: to be removed in 1.14 AM_CONDITIONAL => 2, - _AM_EXTRA_RECURSIVE_TARGETS => 1, + AM_EXTRA_RECURSIVE_TARGETS => 1, AM_GNU_GETTEXT => 0, AM_GNU_GETTEXT_INTL_SUBDIR => 0, AM_INIT_AUTOMAKE => 0, diff --cc configure.ac index 8c19d1000,de218daa9..9cd6aeb35 --- a/configure.ac +++ b/configure.ac @@@ -601,9 -628,10 +597,10 @@@ am_release_type=`AS_ECHO(["$PACKAGE_VER /^$am_beta_version_rx$/ { print \"beta version\"; exit(0); } { print \"development snapshot\"; }"]` - test "$am_release_type" = stable || cat < $$tmp; test $$? -eq 1 || exit 1; \ diff --cc t/python-virtualenv.sh index e16ee2b02,9c0ffcc00..dad88a688 --- a/t/python-virtualenv.sh +++ b/t/python-virtualenv.sh @@@ -161,17 -178,13 +178,11 @@@ $MAKE distclea # Overriding pythondir and pyexecdir at make time should be enough. ./configure --prefix="$cwd/bad-prefix" -pythondir=$py_site pyexecdir=$py_site -export pythondir pyexecdir -check_install -e + - xMAKE () { $MAKE pythondir="$py_site" pyexecdir="$py_site" "$@"; } - - export pythondir pyexecdir - xMAKE install ++check_install pythondir="$py_site" pyexecdir="$py_site" test ! -e bad-prefix - xMAKE test-install - xMAKE test-run - xMAKE uninstall - xMAKE test-uninstall -$MAKE test-run -check_uninstall -e --unset pythondir pyexecdir ++$MAKE test-run pythondir="$py_site" pyexecdir="$py_site" ++check_uninstall pythondir="$py_site" pyexecdir="$py_site" # Also check that the distribution is self-contained, for completeness. $MAKE distcheck