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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f118837 was d1afb9e, checked in by Jim Gifford <clfs@…>, 19 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.