Re: howto identify os

2005-01-25 Thread Ralf Corsepius
On Mon, 2005-01-24 at 20:53 +0100, Francesco Zappa Nardelli wrote: > Hello. > > I am a novice user of autoconf, and I am sorry if my question is > really silly. > > I am looking for a way to tell configure that the makefile it > eventually generates should include the file "linux.mak" if we are >

Re: automake/autoreconf: Incomprehensible error messages bugs

2005-01-25 Thread Noah Misch
On Sun, Jan 23, 2005 at 09:28:36AM -0800, Bruce Korb wrote: > > $ autoreconf > > autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not > > AM_GNU_GETTEXT_VERSION > 1. The automake example of AM_GNU_GETTEXT does not show > AM_GNU_GETTEXT_VERSION being used in conjunction with it. > I

Re: howto identify os

2005-01-25 Thread Nic Ferrier
Francesco Zappa Nardelli <[EMAIL PROTECTED]> writes: > Hello. > > I am a novice user of autoconf, and I am sorry if my question is > really silly. > > I am looking for a way to tell configure that the makefile it > eventually generates should include the file "linux.mak" if we are > building the s

Re: multiline output variables.

2005-01-25 Thread Stepan Kasal
Hello Dan, thank you very much for your work. It sounds like a very useful cleanup. On Mon, Jan 24, 2005 at 05:00:59PM -0500, Dan Manthey wrote: > I realized that not only needn't config.status do the job of breaking the > sed program up into fragments, it needn't do the job of escaping the > re

wierd problem

2005-01-25 Thread Jonas Geiregat
I'm using gentoo, I've tried the following code with autoconf version 2.13 and 2.59 configure.in Code: AC_INIT ([main.c]) AM_INIT_AUTOMAKE([wewa], [0.0.1]) AC_PROG_CC AC_PROG_INSTALL dnl == Requirements === LIBGLADE_REQUIRED=2.3.6

Re: wierd problem

2005-01-25 Thread Stepan Kasal
Hi, On Tue, Jan 25, 2005 at 03:18:30PM +0100, Jonas Geiregat wrote: > I've tried the following code with autoconf version 2.13 and 2.59 please use 2.59, which is the current version. > AC_INIT ([main.c]) ... > ./configure: line 523: main.c: command not found Use: AC_INIT([main.c]) (no space),

Re: wierd problem

2005-01-25 Thread Jonas Geiregat
On Tue, 25 Jan 2005 16:19:33 +0100, Stepan Kasal <[EMAIL PROTECTED]> wrote: > Hi, > > On Tue, Jan 25, 2005 at 03:18:30PM +0100, Jonas Geiregat wrote: > > I've tried the following code with autoconf version 2.13 and 2.59 > > please use 2.59, which is the current version. > > > AC_INIT ([main.c])

Re: wierd problem

2005-01-25 Thread Stepan Kasal
Hi, On Tue, Jan 25, 2005 at 05:15:37PM +0100, Jonas Geiregat wrote: > I have an other problem not really autoconf related more automake I > think but far from sure. I'd also day it's an automake problem, as the depcomp script is distributed with automake. Try going to automake@gnu.org, mentioning

Re: wierd problem

2005-01-25 Thread Jonas Geiregat
> So the gcc ... are in fact parameters to the depcomp script. > Try running the whole > source='main.c' ... /bin/sh ./depcomp ... > > Does it create main.o? If notm try to debug the shell script. Yes it does , there's no ./depcomp file ! ___

Re: automake/autoreconf: Incomprehensible error messages bugs

2005-01-25 Thread Bruce Korb
On Tuesday 25 January 2005 01:37 am, Noah Misch wrote: > On Sun, Jan 23, 2005 at 09:28:36AM -0800, Bruce Korb wrote: > > > $ autoreconf > > > autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not > > > AM_GNU_GETTEXT_VERSION > > > 1. The automake example of AM_GNU_GETTEXT does not show > >

Re: howto identify os

2005-01-25 Thread Chris Albertson
In general you do not want to do this. As an example my code needs to run on various versions of Solaris. Newer versions have the C library functin "strlcpy" both versions have "strncpy". I want to use the "l' version if it is available. So rather then testing for the Solaris version I test if

Re: multiline output variables.

2005-01-25 Thread Dan Manthey
On Tue, 25 Jan 2005, Stepan Kasal wrote: > > Rather than counting the delimiters to just _notice_ when an output > > variable containing the delimiter would foul up the escaping mechanism, I > > use it to instead modify the delimiter and redo the whole process. It's > > now guaranteed to alway

Re: wierd problem

2005-01-25 Thread Ralf Wildenhues
* Jonas Geiregat wrote on Tue, Jan 25, 2005 at 05:50:15PM CET: > > So the gcc ... are in fact parameters to the depcomp script. > > Try running the whole > > source='main.c' ... /bin/sh ./depcomp ... > > > > Does it create main.o? If notm try to debug the shell script. > Yes it does , the

Re: wierd problem

2005-01-25 Thread Jonas Geiregat
On Tue, 25 Jan 2005 19:29:45 +0100, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Try running > automake --add > once. I already fixed it with automake -af But thanks anyway, also the --add option isn't in automake --help nor is there a automake man page ?! is this normal ? ___

Re: wierd problem

2005-01-25 Thread Ralf Wildenhues
* Jonas Geiregat wrote on Tue, Jan 25, 2005 at 07:54:59PM CET: > On Tue, 25 Jan 2005 19:29:45 +0100, Ralf Wildenhues > <[EMAIL PROTECTED]> wrote: > > > Try running > > automake --add > > once. > > I already fixed it with automake -af > But thanks anyway, also the --add option isn't in automake

Re: wierd problem

2005-01-25 Thread Jonas Geiregat
On Tue, 25 Jan 2005 20:04:53 +0100, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: I actually forgot that its name is --add-missing (short: -a). > This option is documented. But no man page ? I forgot to mention an other question when running aclocal I get alot of warnings, what does this mean ? /us

Re: wierd problem

2005-01-25 Thread Ralf Wildenhues
* Jonas Geiregat wrote on Tue, Jan 25, 2005 at 08:09:21PM CET: > On Tue, 25 Jan 2005 20:04:53 +0100, Ralf Wildenhues > <[EMAIL PROTECTED]> wrote: > > I actually forgot that its name is --add-missing (short: -a). > > This option is documented. > > But no man page ? Well, this depends, actually.

Re: automake/autoreconf: Incomprehensible error messages bugs

2005-01-25 Thread Alexandre Duret-Lutz
>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes: Bruce> On Tuesday 25 January 2005 01:37 am, Noah Misch wrote: >> On Sun, Jan 23, 2005 at 09:28:36AM -0800, Bruce Korb wrote: >> > > $ autoreconf >> > > autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not >> > > AM_GNU_GETTEXT_VERSIO

Re: automake/autoreconf: Incomprehensible error messages bugs

2005-01-25 Thread Bruce Korb
On Tuesday 25 January 2005 01:47 pm, Alexandre Duret-Lutz wrote: > Bruce> Um, okay, but if automake is going to emit the message, then it only > Bruce> makes sense (to me) that automake include the documentation. > > That would make sense to me too. However automake is not > emitting the mess

Re: multiline output variables.

2005-01-25 Thread Dan Manthey
Here's what I hope is a final solution to multiline output variables and the related rework of _AC_OUTPUT_FILES. I needed to change the delimeter to not contain @, since I now escape all @ in output variable values as |[EMAIL PROTECTED]@#|. No, there's no really good reason that I chose this str