Re: *simple* example using Autotest

2012-02-08 Thread Robert Boehne
On 02/07/12 16:46, Eric Blake wrote: On 02/07/2012 03:08 PM, Robert Boehne wrote: All, I'd like to start using Autotest in a project (that needs is badly) but the full-featured GNU M4 example is a bit hard to wrap my head around. Can anyone suggest another project I could look at as an examp

Re: *simple* example using Autotest

2012-02-07 Thread Eric Blake
On 02/07/2012 03:08 PM, Robert Boehne wrote: > All, > > I'd like to start using Autotest in a project (that needs is badly) but > the full-featured GNU M4 example is a bit hard to wrap my head around. > Can anyone suggest another project I could look at as an example, that > has more basic/rudime

*simple* example using Autotest

2012-02-07 Thread Robert Boehne
All, I'd like to start using Autotest in a project (that needs is badly) but the full-featured GNU M4 example is a bit hard to wrap my head around. Can anyone suggest another project I could look at as an example, that has more basic/rudimentary Autotest use? Thanks, Robert

Re: simple example

2004-11-26 Thread Leonardo Boiko
Michael Cook wrote: Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' [...] but what about the others? in particular, automake tells me to add AC_PROC_CC to configure.in, but if i do that, autoconf complains: It's AC_PROG_CC, not AC_PROC_CC ;) ^ -- Leonardo Boiko

Re: simple example

2004-11-26 Thread Kevin P. Fleming
Kevin P. Fleming wrote: Gotta watch that typing :-) Oh foo, my attempt to use fancy arrows failed... You put in AC_PROC_CC, when it's supposed to be AC_PROG_CC. The original error message had it spelled correctly, but the second one shows the incorrect spelling.

Re: simple example

2004-11-26 Thread Kevin P. Fleming
Michael Cook wrote: Makefile.am: C source seen but `CC' is undefined Makefile.am: Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' ^ Makefile.am: to `configure.in' and run `autoconf' again. $ autoconf configure.in:3: err

simple example

2004-11-26 Thread Michael Cook
i'm trying to follow the "simple example, start to finish" from the automake manual (http://www.gnu.org/software/automake/manual/html_node/Complete.html). and it's not working out. $ ls -l total 16 -rw-r--r-- 1 cook cook 21 Nov 26 17:33 Makefile.am -rw-r--r-- 1 cook c

Re: Seeking simple example for "shallow" tree

2002-04-13 Thread Tom Tromey
> "Ian" == Ian Pilcher <[EMAIL PROTECTED]> writes: Ian> Here is the simplest example I can come up with. Thanks. I made this into a test case and it worked fine with 1.6.1. >> Also, what version of automake are you using? Ian> automake-1.4p5-2 on Red Hat 7.2. This is the problem. This s

RE: Seeking simple example for "shallow" tree

2002-04-12 Thread Robert Collins
> -Original Message- > From: Bruce Korb [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 13, 2002 10:03 AM > To: Ian Pilcher > Cc: [EMAIL PROTECTED] > Subject: Re: Seeking simple example for "shallow" tree > > > Ian Pilcher wrote: > > >

Re: Seeking simple example for "shallow" tree

2002-04-12 Thread Bruce Korb
Ian Pilcher wrote: > > I am trying to set up a simple project for automake/autoconf. I have a > single source file, main.c, in the top-level directory; all the other > source files are in subdirectories. > > Can anyone point me to a simple example/template for my Makefile.

Re: Seeking simple example for "shallow" tree

2002-04-12 Thread Ian Pilcher
Tom Tromey wrote: > > This sounds like a bug. Do you have a simpler example than your > project? Or could you describe it in more detail? > Here is the simplest example I can come up with. ./configure.in: AC_INIT(foo.c) AM_INIT_AUTOMAKE(foobar, 0) AC_PROG_CC AC_OUTPUT(Makefi

Re: Seeking simple example for "shallow" tree

2002-04-12 Thread Tom Tromey
>>>>> "Ian" == Ian Pilcher <[EMAIL PROTECTED]> writes: Ian> Can anyone point me to a simple example/template for my Ian> Makefile.am(s)? Not readily. Ian> I've tried simply listing all the source files in a single Ian> Makefile.am, but this doesn

Seeking simple example for "shallow" tree

2002-04-12 Thread Ian Pilcher
I am trying to set up a simple project for automake/autoconf. I have a single source file, main.c, in the top-level directory; all the other source files are in subdirectories. Can anyone point me to a simple example/template for my Makefile.am(s)? I've tried simply listing all the s