Re: no config.sub/guess copied

2005-11-15 Thread Stepan Kasal
Hello, On Tue, Nov 15, 2005 at 08:07:01AM +, Vincent Torri wrote: AC_CANONICAL_TARGET AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE AC_CONFIG_AUX_DIR has to be called before AC_CANONICAL_TARGET. I mention that I use the autotools in such a way that there is no Makefile.am. I have already my

Re: no config.sub/guess copied

2005-11-15 Thread Ralf Wildenhues
* Stepan Kasal wrote on Tue, Nov 15, 2005 at 12:35:15PM CET: But you mean another distribution: something like CVS or other version management system's repository. But such repository usually contains a script which calls autotools to initialte the build. This script might be called

How to write a Makefile letting 'ld' print a link map?

2005-11-15 Thread Steven Woody
the 'ld' has an option letting me print a link map, but this option need an file name as argument. so i can not simply specify a LDFLAGS since that is different map file name for each object or executable. What do i do? thanks. -- steven woody (id: narke)

automatic linker dependencies for helper-libs to solve undefined references?

2005-11-15 Thread Christian Nolte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am really struggling on migrating a M$-VC project to an automake based one. This project has a deep folder-structure and really ugly dependencies over boundaries of the subfolders. For example: - --- ./project project/utils

Re: How to write a Makefile letting 'ld' print a link map?

2005-11-15 Thread Ralf Wildenhues
Hi Steven, * Steven Woody wrote on Tue, Nov 15, 2005 at 02:23:50PM CET: the 'ld' has an option letting me print a link map, but this option need an file name as argument. so i can not simply specify a LDFLAGS since that is different map file name for each object or executable. What do i do?

Re: no config.sub/guess copied

2005-11-15 Thread Vincent Torri
On Tue, 15 Nov 2005, Stepan Kasal wrote: Hello, On Tue, Nov 15, 2005 at 08:07:01AM +, Vincent Torri wrote: AC_CANONICAL_TARGET AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE AC_CONFIG_AUX_DIR has to be called before AC_CANONICAL_TARGET. ok, that should be the main problem, I think.

Re: useful bug reports

2005-11-15 Thread Harald Dunkel
PS: Sorry, I pasted the wrong Makefile.am into the EMail, see below. Harald Dunkel wrote: Hi Ralf, Ralf Wildenhues wrote: Harald, please consider *providing more and useful information* if you want help. I for one can't read your mind, and almost every first post of yours leaves me wanting

Re: How to write a Makefile letting 'ld' print a link map?

2005-11-15 Thread Steven Woody
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Steven, * Steven Woody wrote on Tue, Nov 15, 2005 at 02:23:50PM CET: the 'ld' has an option letting me print a link map, but this option need an file name as argument. so i can not simply specify a LDFLAGS since that is different map file name

Re: how to make _DEPENDENCIES appear earlier in prerequisite

2005-11-15 Thread Ralf Wildenhues
* n.g. wrote on Mon, Nov 14, 2005 at 11:46:07AM CET: it seems that if something appeared in the same place in a Makefile, they are not ordered. ex. if they are both dependencies of a target. Yes, in general. There are some exceptions to this rule. currently, the problem is solved by using

Re: automatic linker dependencies for helper-libs to solve undefined references?

2005-11-15 Thread Ralf Wildenhues
Hi Christian, * Christian Nolte wrote on Tue, Nov 15, 2005 at 02:53:48PM CET: I am really struggling on migrating a M$-VC project to an automake based one. This project has a deep folder-structure and really ugly dependencies over boundaries of the subfolders. For example: - ---

Re: how to make _DEPENDENCIES appear earlier in prerequisite

2005-11-15 Thread n.g.
for example, in gnome/ORBit2, there something like this bin_PROGRAMS = foo foo_SOURCES = foo.c bar.h where `bar.h' is only available at compile time, it is produced by one program called `idl-compiler', the command to produce `bar.h' is: idl-compiler bar.idl automake dont know how to

Re: useful bug reports

2005-11-15 Thread Ralf Wildenhues
* Harald Dunkel wrote on Tue, Nov 15, 2005 at 05:12:33PM CET: Here is a sample. *snip* Thank you! Autoconf is 2.59, plus Stepan's patch for c.m4, see attachment Automake is 1.9.6 platform is Linux build platform is Windows, using MSVC 7.1. OK. The installation of the `compile' script

Re: useful bug reports

2005-11-15 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Tue, Nov 15, 2005 at 11:46:45PM CET: * Harald Dunkel wrote on Tue, Nov 15, 2005 at 05:12:33PM CET: The patch provided by Stepan some months ago fixes AM_PROG_CC_C_O for Windows and MSVC, i.e. configure recognizes that -c -o doesn't work as expected for Bill

AMLOCAL_AMFLAGS and the dist recipe

2005-11-15 Thread David Byron
I've defined some macros that I'd like to share across projects. Seems to me I've got two choices for getting them in my dist tarball: 1. include the macros I wrote in the files I wrote 2. include the macros I wrote in aclocal.m4 From what I can tell, automake chooses #1 when ACLOCAL_AMFLAGS is

Re: AMLOCAL_AMFLAGS and the dist recipe

2005-11-15 Thread Ralf Wildenhues
Hi David, * David Byron wrote on Wed, Nov 16, 2005 at 12:40:42AM CET: I've defined some macros that I'd like to share across projects. Seems to me I've got two choices for getting them in my dist tarball: 1. include the macros I wrote in the files I wrote 2. include the macros I wrote in