automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake dependencies, missing *.Plo files


From: Alexandre Duret-Lutz
Subject: Re: automake dependencies, missing *.Plo files
Date: Tue, 09 Apr 2002 17:25:12 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

>>>   <address@hidden> writes:

[...]

 > You will find our acsite.m4 and the configure.in attached to this email.

In LAB_RECONFIGURE you run 

  perl scripts/am_edit >/dev/null 2>&1

I understand it is meant to patch Automake generated Makefile.in's.

Does it happen to change the first line of these files?

config.status expects Automake Makefiles to have 
"generated by automake" in the first comment line.  From the
config.status log you sent, it seems that's not the case.

Indeed, this trace:
+ mf=kernel/framework/Makefile
+ continue

comes from this part of config.status:
|  mf=`echo "$mf" | sed -e 's/:.*$//'`
|  if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
|    dirpart=`(dirname "$mf") 2>/dev/null ||
|$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|         X"$mf" : 'X\(//\)[^/]' \| \
|         X"$mf" : 'X\(//\)$' \| \
|         X"$mf" : 'X\(/\)' \| \
|         .     : '\(.\)' 2>/dev/null ||
|echo X"$mf" |
|    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|          /^X\(\/\/\)$/{ s//\1/; q; }
|          /^X\(\/\).*/{ s//\1/; q; }
|          s/.*/./; q'`
|  else
|    continue
|  fi

I guess it could fails for other reasons, like not having fgrep
installed.

[...]
-- 
Alexandre Duret-Lutz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]