mailing list netiquette (was: [automake] Dependency question with _LDADD)

2008-10-09 Thread Ralf Wildenhues
Hello, guys, let's please cut this off at this point. I don't like top-posting, I don't like it if people don't trim their replies to only quote what they address. I spend very little time reading most messages, and am very likely to just drop those that are sloppily written, unreadable, un-unde

Re: [automake] Dependency question with _LDADD

2008-10-09 Thread Michel Briand
I'll enforce top-posting from this side of Atlantic ;) Don't worry. Bob Friesenhahn <[EMAIL PROTECTED]> - Wed, 8 Oct 2008 14:56:39 -0500 (CDT) >It seems that some folks on this list just can't help but retain all >previous content from the discussion thread and put their few lines at >the bott

Re: [automake] Dependency question with _LDADD

2008-10-08 Thread Bob Friesenhahn
It seems that some folks on this list just can't help but retain all previous content from the discussion thread and put their few lines at the bottom of the new email. This requires paging down five or six screens of text just to find the tiny tidbit which was added. There is only so much ti

Re: [automake] Dependency question with _LDADD

2008-10-08 Thread Peter Johansson
Michel Briand wrote: Sorry for the confusion ! Its my fault I would not have chosen "VERSION" for my variable in Makefile.am since it duplicates one predefined variable (configure). I should have named it "MY_VERSION", or better "TRAINING_PROGRAM_VERSION" The variable is dynamic. Make w

Re: [automake] Dependency question with _LDADD

2008-10-08 Thread Michel Briand
Peter Johansson <[EMAIL PROTECTED]> - Wed, 08 Oct 2008 14:39:26 -0400 >Michel Briand wrote: >> Hi all, >> >> I implemented a new idea for program's version. >> >> In src/bin/Makefile.am: >> >> internal_version.c: ${top_srcdir}/PROGRAM_VERSION >> ${top_srcdir}/vtem

Re: [automake] Dependency question with _LDADD

2008-10-08 Thread Peter Johansson
Michel Briand wrote: Hi all, I implemented a new idea for program's version. In src/bin/Makefile.am: internal_version.c: ${top_srcdir}/PROGRAM_VERSION ${top_srcdir}/vtempl.pl $(component) $(VERSION) < $(templ) > $@ training_SOURCES = training.c internal_version.c The vtempl.pl Perl p

Re: [automake] Dependency question with _LDADD

2008-10-08 Thread Michel Briand
Peter Johansson <[EMAIL PROTECTED]> - Wed, 08 Oct 2008 10:41:42 -0400 >Hi Michel, > >Michel Briand wrote: >> Peter Johansson <[EMAIL PROTECTED]> - Tue, 07 Oct 2008 11:21:26 -0400 >> >> >>> Hello Michel, >>> >>> Michel Briand wrote: >>> Hi all, I implemented a new idea for p

Re: [automake] Dependency question with _LDADD

2008-10-08 Thread Peter Johansson
Hi Michel, Michel Briand wrote: Peter Johansson <[EMAIL PROTECTED]> - Tue, 07 Oct 2008 11:21:26 -0400 Hello Michel, Michel Briand wrote: Hi all, I implemented a new idea for program's version. In src/bin/Makefile.am: internal_version.c: ${top_srcdir}/PROGRAM_VERSION ${top_

Re: [automake] Dependency question with _LDADD

2008-10-08 Thread Michel Briand
Peter Johansson <[EMAIL PROTECTED]> - Tue, 07 Oct 2008 11:21:26 -0400 >Hello Michel, > >Michel Briand wrote: >> Hi all, >> >> I implemented a new idea for program's version. >> >> In src/bin/Makefile.am: >> >> internal_version.c: ${top_srcdir}/PROGRAM_VERSION >> ${top_srcdir}/vtempl.pl $(com

Re: [automake] Dependency question with _LDADD

2008-10-07 Thread Peter Johansson
Hello Michel, Michel Briand wrote: Hi all, I implemented a new idea for program's version. In src/bin/Makefile.am: internal_version.c: ${top_srcdir}/PROGRAM_VERSION ${top_srcdir}/vtempl.pl $(component) $(VERSION) < $(templ) > $@ training_SOURCES = training.c internal_version.c The v

Re: [automake] Dependency question with _LDADD

2008-10-07 Thread Michel Briand
Hi all, I implemented a new idea for program's version. In src/bin/Makefile.am: internal_version.c: ${top_srcdir}/PROGRAM_VERSION ${top_srcdir}/vtempl.pl $(component) $(VERSION) < $(templ) > $@ training_SOURCES = training.c internal_version.c The vtempl.pl Perl program takes a template

Re: [automake] Dependency question with _LDADD

2008-09-30 Thread Michel Briand
Ralf Wildenhues <[EMAIL PROTECTED]> - Mon, 29 Sep 2008 13:19:32 +0200 ... >* Michel Briand wrote on Mon, Sep 29, 2008 at 10:34:20AM CEST: >> Ralf Wildenhues <[EMAIL PROTECTED]> - Mon, 29 Sep 2008 08:34:09 +0200 >> >* Michel Briand wrote on Sun, Sep 28, 2008 at 11:04:36AM CEST: >> >> $ make >> >>

Re: [automake] Dependency question with _LDADD

2008-09-28 Thread Ralf Wildenhues
Hello Michel, * Michel Briand wrote on Sun, Sep 28, 2008 at 11:04:36AM CEST: > an error that's wonder me : > > $ make > cd . && /bin/bash /home/michel/svn/exc/autotraining/config/missing --run > aclocal-1.10 -I m4 > aclocal-1.10: couldn't open directory `m4': Aucun fichier ou répertoire de ce >

Re: [automake] Dependency question with _LDADD

2008-09-28 Thread Michel Briand
Ralf Wildenhues <[EMAIL PROTECTED]> - Wed, 27 Aug 2008 20:13:11 +0200 >Hi Braden, > >* Braden McDaniel wrote on Wed, Aug 27, 2008 at 08:48:45AM CEST: >> On Wed, 2008-08-27 at 07:41 +0200, Ralf Wildenhues wrote: >> > * Michel Briand wrote on Wed, Aug 27, 2008 at 03:19:24AM CEST: >> > > Ralf Wilden

Re: [automake] Dependency question with _LDADD

2008-09-26 Thread Peter Johansson
Hello Michael, Michel Briand wrote: Peter Johansson <[EMAIL PROTECTED]> - Wed, 27 Aug 2008 10:50:48 -0400 Michel Briand wrote: :: src/lib/Makefile.am :: # Library: libtraining # Generates its own pkg-config definition file AM_CPPFLAGS = -DLIBRARY_VERSION=\"$(L

Re: [automake] Dependency question with _LDADD

2008-09-26 Thread Michel Briand
Peter Johansson <[EMAIL PROTECTED]> - Wed, 27 Aug 2008 10:50:48 -0400 >Michel Briand wrote: >> :: src/lib/Makefile.am :: # Library: libtraining # Generates its own pkg-config definition file AM_CPPFLAGS = -DLIBRARY_VERSION=\"$(LIBRARY_VER

Re: [automake] Dependency question with _LDADD

2008-08-28 Thread Ralf Wildenhues
* Braden McDaniel wrote on Wed, Aug 27, 2008 at 08:45:56PM CEST: > Ralf Wildenhues wrote: >> * Braden McDaniel wrote on Wed, Aug 27, 2008 at 08:48:45AM CEST: >>> ... which brings up a question I have: Why doesn't AC_CONFIG_MACRO_DIR >>> eliminate the need for setting ACLOCAL_AMFLAGS as such? >> >>

Re: [automake] Dependency question with _LDADD

2008-08-27 Thread Braden McDaniel
Ralf Wildenhues wrote: Hi Braden, * Braden McDaniel wrote on Wed, Aug 27, 2008 at 08:48:45AM CEST: On Wed, 2008-08-27 at 07:41 +0200, Ralf Wildenhues wrote: * Michel Briand wrote on Wed, Aug 27, 2008 at 03:19:24AM CEST: Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 Wh

Re: [automake] Dependency question with _LDADD

2008-08-27 Thread Ralf Wildenhues
Hi Braden, * Braden McDaniel wrote on Wed, Aug 27, 2008 at 08:48:45AM CEST: > On Wed, 2008-08-27 at 07:41 +0200, Ralf Wildenhues wrote: > > * Michel Briand wrote on Wed, Aug 27, 2008 at 03:19:24AM CEST: > > > Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 > > > >Why '-I conf

Re: [automake] Dependency question with _LDADD

2008-08-27 Thread Peter Johansson
Michel Briand wrote: :: src/lib/Makefile.am :: # Library: libtraining # Generates its own pkg-config definition file AM_CPPFLAGS = -DLIBRARY_VERSION=\"$(LIBRARY_VERSION)\" Why not put AC_DEFINE([LIBRARY_VERSION], ...) in configure.ac, so you don't need the abo

Re: Dependency question with _LDADD

2008-08-27 Thread Michel Briand
Olly Betts <[EMAIL PROTECTED]> - Wed, 27 Aug 2008 02:39:36 + (UTC) >On 2008-08-27, Michel Briand <[EMAIL PROTECTED]> wrote: >> Last, but not the least: autotools documentation that can be found on >> the web seems to obsoletes rapidly. There is the famous autobook that's >> not maintained any

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Braden McDaniel
On Wed, 2008-08-27 at 07:41 +0200, Ralf Wildenhues wrote: > * Michel Briand wrote on Wed, Aug 27, 2008 at 03:19:24AM CEST: > > Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 [snip] > > >Why '-I config -I m4'? AFAICS you do not use AC_CONFIG_MACRO_DIR([m4]) > > >in configur

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Ralf Wildenhues
* Michel Briand wrote on Wed, Aug 27, 2008 at 03:19:24AM CEST: > Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 > >* Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: > >> > >> What do you think of my example ? Is it useful for other people > >> to learn autotools

Re: Dependency question with _LDADD

2008-08-26 Thread Olly Betts
On 2008-08-27, Michel Briand <[EMAIL PROTECTED]> wrote: > Last, but not the least: autotools documentation that can be found on > the web seems to obsoletes rapidly. There is the famous autobook that's > not maintained anymore [1] and some info2www documentation [2], [3]. You've missed probably th

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Michel Briand
Great answer Ralf, thank you very much. My updates / discussion below :). Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 26 Aug 2008 17:43:13 +0200 >Hello Michel, > >can we limit followups to the automake list only, please? > >* Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: >> >> as

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Ralf Wildenhues
> * Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: > > libtraining_la_LDFLAGS = -version-info ${LIBRARY_VERSION} You could add -no-undefined here, so that your library will also be built shared on w32 systems. Of course, that requires that your library doesn't use undefined symbols.

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Ralf Wildenhues
Hello Michel, can we limit followups to the automake list only, please? * Michel Briand wrote on Tue, Aug 26, 2008 at 05:09:34PM CEST: > > as an exercise I decided to learn the maximum about automake and > libtool, and write a complete example. Thanks. Some nits below. > What do you think of

Re: [automake] Dependency question with _LDADD

2008-08-26 Thread Michel Briand
Ralf Wildenhues <[EMAIL PROTECTED]> - Tue, 19 Aug 2008 21:43:07 +0200 >Hello Michel, > >* Michel Briand wrote on Tue, Aug 19, 2008 at 05:03:29PM CEST: >> >> Referring to GNU Automake manual §8.1.2, I'm using the _LDADD >> variable in my Makfile.am to link it with my library built in the same >>

Re: [automake] Dependency question with _LDADD

2008-08-19 Thread Ralf Wildenhues
Hello Michel, * Michel Briand wrote on Tue, Aug 19, 2008 at 05:03:29PM CEST: > > Referring to GNU Automake manual §8.1.2, I'm using the _LDADD > variable in my Makfile.am to link it with my library built in the same > package (but in a different directory). > > But every time I rebuild the libra

[automake] Dependency question with _LDADD

2008-08-19 Thread Michel Briand
Hello, Referring to GNU Automake manual §8.1.2, I'm using the _LDADD variable in my Makfile.am to link it with my library built in the same package (but in a different directory). But every time I rebuild the library (without having changed any .h) the program is relinked. I'd like to have a Mak