*** automake	Thu Nov 15 15:18:26 2001
--- automake.fixed	Mon Nov 19 10:27:00 2001
***************
*** 1912,1918 ****
                  push (@{$lang_specific_files{$lang->name}}, $val);
              }
          }
!         elsif ($extension eq 'o')
          {
              # This is probably the result of a direct suffix rule.
              # In this case we just accept the rewrite.  FIXME:
--- 1912,1918 ----
                  push (@{$lang_specific_files{$lang->name}}, $val);
              }
          }
!         elsif ($extension eq 'o' || $extension eq 'lo')
          {
              # This is probably the result of a direct suffix rule.
              # In this case we just accept the rewrite.  FIXME:
***************
*** 1940,1946 ****
          }
  
  	# Let the language do some special magic if required.
! 	$lang->target_hook ($aggregate, $object, $full);
  
  	if ($derived_source)
  	{
--- 1940,1946 ----
          }
  
  	# Let the language do some special magic if required.
! 	if (defined $lang) { $lang->target_hook ($aggregate, $object, $full); }
  
  	if ($derived_source)
  	{
