>>> "Harlan" == Harlan Stenn <[EMAIL PROTECTED]> writes:

 > On Fri, Aug 02, 2002 at 07:55:43PM -0400, Harlan Stenn wrote:
 
 > > I tried to write a test case for automake (debugging the AM_CONDITIONAL
 > > slowdown problem I'm seeing) and I wrote a top-level configure.ac that 
 > > only specified the following outputs:
 > > 
 > >  AC_CONFIG_FILE(a/Makefile)
 > >  AC_CONFIG_FILE(b/Makefile)
 > >  AC_OUTPUT
 > > 
 > > and when I ran automake on this I never got either of those Makefile.in's
 > > generated.
 > 
 > s/AC_CONFIG_FILE/AC_CONFIG_FILES/

 Harlan> I typed it correctly in configure.ac and incorrectly in my email.

The following works fine for me.

AC_INIT([foo], [0.1])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([a/Makefile])
AC_CONFIG_FILES([b/Makefile])
AC_OUTPUT


By `test case', did you mean a real Automake test case for the
test suite?  If you are doing something like

  . $srcdir/defs
  cat >>configure.in <<EOF
  AC_CONFIG_FILES(a/Makefile)
  AC_CONFIG_FILES(b/Makefile)
  AC_OUTPUT
  EOF

then that explains it all.  $srcdir/defs builds a configure.in that
already contains AC_CONFIG_FILE(Makefile).

-- 
Alexandre Duret-Lutz


Reply via email to