$abs_srcdir expansion

2010-07-08 Thread Stefano Sabatini
Hi all, $ autoconf --version autoconf (GNU Autoconf) 2.65 I'm using the $abs_srcdir var in an m4 file included by configure.ac, and I'm observing that $abs_srcdir is expanded to the empty string, in both Linux and MinGW. I wonder if this is the right behavior, according to the manual: -- Variab

Re: $abs_srcdir expansion

2010-07-08 Thread Stefano Sabatini
On date Thursday 2010-07-08 18:00:56 +0200, Peter Breitenlohner wrote: > On Thu, 8 Jul 2010, Stefano Sabatini wrote: > > >-- Variable: srcdir > >The name of the directory that contains the source code for that > >makefile. > > > >-- Variable: abs_sr

Re: $abs_srcdir expansion

2010-07-09 Thread Stefano Sabatini
On date Thursday 2010-07-08 18:41:48 +0200, Peter Breitenlohner wrote: > On Thu, 8 Jul 2010, Stefano Sabatini wrote: > > >No, this will not work, because I need LDFLAGS to be defined during > >configuration, ... > > in that case you'll have to save CFLAGS, LDFL

[newbie] How to check for an "install" program

2007-02-13 Thread Stefano Sabatini
ich mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. So which is the right way to check for a

Re: [newbie] How to check for an "install" program

2007-02-13 Thread Stefano Sabatini
On date Tuesday 2007-02-13 21:02:57 +0100, Ralf Wildenhues configured this message: > Hello Stefano, > > * Stefano Sabatini wrote on Tue, Feb 13, 2007 at 10:56:06AM CET: > > > > I'm trying to use autoconf for a project of mine. I would like to > > insert a chec

How to substitute variables in script files? (Why is $prefix set to NONE?)

2007-03-01 Thread Stefano Sabatini
file I get: my $system_config_file= "NONE/etc/pac.conf"; What am I missing? Another question: in the case it's possible to get this working, is it a standard/recommended technique (I see examples using simply sed translations in the Makefile to achieve the same effect

Re: How to substitute variables in script files? (Why is $prefix set to NONE?)

2007-03-01 Thread Stefano Sabatini
Hi Keith, and thanks for the fast reply! On date Thursday 2007-03-01 13:25:42 +, Keith MARSHALL configured this message: > Stefano Sabatini wrote: > > I'm working on a project when I have a Perl script, call it "script", > > which contains some installation de

Re: How to substitute variables in script files? (Why is $prefix set to NONE?)

2007-03-02 Thread Stefano Sabatini
On date Thursday 2007-03-01 23:15:30 +0100, Andreas Schwab configured this message: > Stefano Sabatini <[EMAIL PROTECTED]> writes: > [CUT] > These substitutions are designed to be used in a makefile where the > variables are recursively expanded. > > > Unfortunately

How to dinamically set VERSION for AC_INIT

2007-12-14 Thread Stefano Sabatini
y to assign the AC_PACKAGE_VERSION to an autoconfigured package? Many thanks in advance. Best regards. -- Stefano Sabatini Linux user number 337176 (see http://counter.li.org) ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: How to dinamically set VERSION for AC_INIT

2007-12-14 Thread Stefano Sabatini
On date Friday 2007-12-14 15:56:49 +0100, Andreas Schwab wrote: > Stefano Sabatini <[EMAIL PROTECTED]> writes: > > > Hi all autoconfers, > > > > I have a package managed by SVN, and I would like to assign the > > AC_PACKAGE_VERSION using the current SVN version

Integration of autoconf and pkg-config

2007-12-18 Thread Stefano Sabatini
I hope to have expressed clearly the problem, sorry for the very likely misunderstanding I'm eventually showing about autoconf/pkg-config. Many thanks in advance for any suggestion/idea. Regards. -- Stefano Sabatini Linux user number 337

Re: Integration of autoconf and pkg-config

2007-12-19 Thread Stefano Sabatini
On date Tuesday 2007-12-18 18:28:30 +0100, Baurzhan Ismagulov wrote: > Hello Stefano, > > On Tue, Dec 18, 2007 at 02:40:31PM +0100, Stefano Sabatini wrote: > > A solution could be then to write a little test program to run during > > configuration which uses the flags prov

Re: Integration of autoconf and pkg-config

2007-12-19 Thread Stefano Sabatini
On date Wednesday 2007-12-19 14:38:31 +, Patrick Welche wrote: > On Wed, Dec 19, 2007 at 10:31:16AM +0100, Stefano Sabatini wrote: > > Just another little newbie question, am I supposed to copy the pkg.m4 > > file containing the macro somewhere into my package (e.g. in > >