SHA256
1
0
forked from pool/automake
automake/automake-require_file.patch
Philipp Thomas e6bf630680 - Update to 1.12:
* Changes to Yacc and Lex support:
  - C source and header files derived from non-distributed Yacc
    and/or Lex sources are now removed by a simple "make clean"
    (while they were previously removed only by "make
    maintainer-clean").
  - Slightly backward-incompatible change, relevant only for use of
    Yacc with C++: the extensions of the header files produced by the
    Yacc rules are now modelled after the extension of the
    corresponding sources.  For example, yacc files named "foo.y++"
    and "bar.yy" will produce header files named "foo.h++" and
    "bar.hh" respectively, where they would have previously produced
    header files named simply "foo.h" and "bar.h".  This change
    offers better compatibility with 'bison -o'.
  * Miscellaneous changes:
  - The AM_PROG_VALAC macro now causes configure to exit with status
    77, rather than 1, if the vala compiler found is too old.
  - The build system of Automake itself now avoids the use of make
    recursion as much as possible.
  - Automake now prefers to quote 'like this' or "like this", rather
    than `like this', in diagnostic message and generated Makefiles,
    to accommodate the new GNU Coding Standards recommendations.
  - Automake has a new option '--print-libdir' that prints the path
    of the directory containing the Automake-provided scripts and
    data files.
  - The 'dist' and 'dist-all' targets now can run compressors in
  - parallel.
  - The rules to create pdf, dvi and ps output from Texinfo files now
    works better with modern 'texi2dvi' script, by explicitly passing
    it the '--clean' option to ensure stray auxiliary files are not

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=12
2012-04-26 14:51:31 +00:00

21 lines
643 B
Diff

Index: automake.in
===================================================================
--- automake.in.orig 2012-04-21 16:38:05.000000000 +0200
+++ automake.in 2012-04-26 16:31:55.925021393 +0200
@@ -7709,12 +7709,14 @@ sub required_file_check_or_copy ($$$)
my $fullfile = "$dir/$file";
my $found_it = 0;
my $dangling_sym = 0;
+ my $thisdir = dirname ($fullfile);
+ my $thisfile = basename ($fullfile);
if (-l $fullfile && ! -f $fullfile)
{
$dangling_sym = 1;
}
- elsif (dir_has_case_matching_file ($dir, $file))
+ elsif (dir_has_case_matching_file ($thisdir, $thisfile))
{
$found_it = 1;
}