source: scripts/untested/autotools/patches/automake-1.5-target_hook.patch @ d1afb9e

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d1afb9e was d1afb9e, checked in by Jim Gifford <clfs@…>, 18 years ago

r587@server (orig r585): ryan | 2005-08-05 21:51:35 -0700
Add a sane autotools build to the mix.
Blatantly stolen from gentoo...



  • Property mode set to 100644
File size: 1.0 KB
  • automake.in

    diff -uNr automake-1.5-orig/automake.in automake-1.5/automake.in
    old new  
    19401940        }
    19411941
    19421942        # Let the language do some special magic if required.
    1943         $lang->target_hook ($aggregate, $object, $full);
     1943        if (defined $lang) {
     1944                $lang->target_hook ($aggregate, $object, $full);
     1945        }
    19441946
    19451947        if ($derived_source)
    19461948        {
  • m4/depout.m4

    diff -uNr automake-1.5-orig/m4/depout.m4 automake-1.5/m4/depout.m4
    old new  
    1212test x"$AMDEP_TRUE" != x"" ||
    1313for mf in $CONFIG_FILES; do
    1414  case "$mf" in
    15   Makefile) dirpart=.;;
    16   */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
     15  Makefile|GNUmakefile) dirpart=.;;
     16  */Makefile|*/GNUmakefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
    1717  *) continue;;
    1818  esac
    1919  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
Note: See TracBrowser for help on using the repository browser.