]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
regen
authorAlexandre Duret-Lutz <adl@gnu.org>
Tue, 5 Mar 2002 15:20:10 +0000 (15:20 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Tue, 5 Mar 2002 15:20:10 +0000 (15:20 +0000)
aclocal.m4

index 02da7f75626e58d3d4c0846acc0cd7a922d374a9..09b92c9da06e839e285a13cc70e3a6482b7ece21 100644 (file)
@@ -570,7 +570,7 @@ AC_SUBST([AMDEPBACKSLASH])
 
 # Generate code to set up dependency tracking.   -*- Autoconf -*-
 
-# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -595,10 +595,10 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 [for mf in $CONFIG_FILES; do
   # Strip MF so we end up with the name of the file.
   mf=`echo "$mf" | sed -e 's/:.*$//'`
-  if (head -1 $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
+  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
     dirpart=`AS_DIRNAME("$mf")`
   else
-    dirpart=
+    dirpart=.
   fi
   grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
   # Extract the definition of DEP_FILES from the Makefile without