The problem with automake-1.5, and I've posted this info to the automake
list (without response), is that depout.m4 assumes that makefiles are
called "Makefile", while AbiWord uses "GNUmakefile" which probably ought
to be valid.

Either use the attached patch on depout.m4 in /usr/share/aclocal (?)
or copy depout.m4 to abi/ac-helpers and patch it...

Regards, Frank

Francis James Franklin
[EMAIL PROTECTED]

Deep in the human unconsciousness is a pervasive need for a logical
universe that makes sense. But the real universe is always one step
beyond logic.
          --- from `The Sayings of Muad'dib' by the Princess Irulan

---------- Forwarded message ----------
Date: Fri, 19 Oct 2001 14:32:05 +0100 (BST)
From: F J Franklin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Myopic depout.m4

Hi, I don't know whether this is common knowledge or intended behaviour
but:

The AbiWord build system which uses 'Makefile' for a custom (non-automake)
build and 'GNUmakefile[.{in|am}]' for building with automake+autoconf

automake-1.5 is incompatible with this because it assumes (in depout.m4)
that makefiles are called 'Makefile' and not 'GNUmakefile'.

Also, it would be nice if a little message popped up, e.g.

      echo Initiating dependencies in $dirpart

because AbiWord has a lot of directories and autoconf is quiet for so long
while creating dependencies that one could be forgiven for pressing ^C and
cursing the fates...

Regards, Frank

Francis James Franklin
[EMAIL PROTECTED]

Deep in the human unconsciousness is a pervasive need for a logical
universe that makes sense. But the real universe is always one step
beyond logic.
          --- from `The Sayings of Muad'dib' by the Princess Irulan
--- depout.m4   Fri Oct 19 14:20:15 2001
+++ depout.abi  Fri Oct 19 14:21:44 2001
@@ -13,7 +13,9 @@
 for mf in $CONFIG_FILES; do
   case "$mf" in
   Makefile) dirpart=.;;
+  GNUmakefile) dirpart=.;;
   */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
+  */GNUmakefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
   *) continue;;
   esac
   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue

Reply via email to