Re: A message for Jules Colding (sorry to bother everyone else).

2008-10-01 Thread Jules Colding
Hi Craig, On 01/10/2008, at 16.22, Craig Sanders wrote: Hello Jules. In one of your posts to this mailing list earlier in the year, you mentioned that you had developed an Autoconf macro to detect if the ACE library was installed on any particular system. In this same post you also provid

How do I avoid a specific variable in the Makefile?

2007-03-15 Thread Jules Colding
Hi, I've got a multiline configure.in variable like this: RPM_BUILDREQUIRES='BuildRequires: package_1 BuildRequires: package_2' AC_SUBST(RPM_BUILDREQUIRES) I'm using this in my spec.in file: @RPM_BUILDREQUIRES@ to produce the following spec file: BuildRequires: package_1 BuildR

Re: How do I avoid a specific variable in the Makefile?

2007-03-19 Thread Jules Colding
Hi, > On Fri, 2007-03-16 at 10:58 +0100, Ralf Wildenhues wrote: > > > I do not see any use for the macro, besides working around this > > > Automake bug. > > > > ... I beg to disagree here. I may simply not want to have some macro > > to be defined in Makefiles, but have its variable substituted

Re: How do I avoid a specific variable in the Makefile?

2007-03-19 Thread Jules Colding
On Mon, 2007-03-19 at 11:03 +0100, Stepan Kasal wrote: > Hello, > > On Mon, Mar 19, 2007 at 10:25:39AM +0100, Jules Colding wrote: > > If using _AM_SUBST_NOTMAKE isn't the "officially sanctioned" way of > > doing what I want to do, then what is the recomm

Re: How do I avoid a specific variable in the Makefile?

2007-03-19 Thread Jules Colding
Hi Ralf, On Thu, 2007-03-15 at 13:29 +0100, Ralf Wildenhues wrote: > [ Cc:ing bug-automake for an documentation request ] > > Hello Jules, > > * Jules Colding wrote on Thu, Mar 15, 2007 at 12:10:54PM CET: > > > > I've got a multiline

Why if test "xSTRING1= "xSTRING2" (the 'x') ?

2007-03-26 Thread Jules Colding
Hi, I'm wondering why I keep seeing the if test "xSTRING1" = "xSTRING2"; then else fi construction when you want to compare the strings STRING1 and STRING2. The thing that I'm wondering about is the "x" in front of the two strings. Probably something entirely fundamental that I just forgot...

Re: Why if test "xSTRING1= "xSTRING2" (the 'x') ?

2007-03-26 Thread Jules Colding
On Mon, 2007-03-26 at 07:18 -0600, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Jules Colding on 3/26/2007 7:10 AM: > > if test "xSTRING1" = "xSTRING2"; then > > else > > fi > > > &

shell pwd: non-POSIX variable name ??

2007-03-29 Thread Jules Colding
Hi, Using automake 1.10 I get the above warning (or a variance of it) whenever using, say: CWD = $(shell pwd) BARE_NAMES = $(notdir $(IDL_FILES)) LOCAL_IDL_FILES = $(addprefix $(CWD)/,$(BARE_NAMES)) OBJS= $(patsubst %.c,%.o,$(STUB_SRC)) in my "Makefile.am

config.h variable substitution

2008-02-06 Thread Jules Colding
Hi, I want to specify a default location for a configuration file so that my program can find it from a define in config.h. I want to install the file as "/etc/lorica.conf". So I'll like to do something like this to get a defined value that can be used at compile time: AC_DEFINE([LORICA_CONF_FIL

Re: config.h variable substitution

2008-02-06 Thread Jules Colding
es me: /* Full path to Lorica configuration file */ #define LORICA_CONF_FILE "${prefix}/etc/lorica.conf" I'm sure that I'm doing something stupid, but what? Thanks, jules > -- Sent from my iPod > > On 6 Feb 2008, at 22:55, Jules Colding <[EMAIL PROTECTED]

Re: config.h variable substitution

2008-02-07 Thread Jules Colding
On Thu, 2008-02-07 at 08:57 +0100, Ralf Wildenhues wrote: > Hello Jules, > > * Jules Colding wrote on Thu, Feb 07, 2008 at 08:32:54AM CET: > > > > AC_DEFINE_UNQUOTED([LORICA_CONF_FILE], > > ["$sysconfdir/lorica.conf"], [Full path to Lorica configu

Which variable expands to /var?

2008-02-07 Thread Jules Colding
Hi, I'm trying to find the autoconf variable that would expand to "/var". Which one might that be? Thanks, jules ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Which variable expands to /var?

2008-02-07 Thread Jules Colding
On Thu, 2008-02-07 at 12:37 +0200, Bernd Jendrissek wrote: > On Feb 7, 2008 11:40 AM, Jules Colding <[EMAIL PROTECTED]> wrote: > > I'm trying to find the autoconf variable that would expand to "/var". > > Which one might that be? > > Typically that would

Re: Which variable expands to /var?

2008-02-07 Thread Jules Colding
On Thu, 2008-02-07 at 05:31 -0700, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Jules Colding on 2/7/2008 3:41 AM: > |> Note that ./configure defaults this to ${prefix}/var, but if you're > |> building a binary package

How do I check for "-iquote"?

2008-02-21 Thread Jules Colding
Hi, I want to check if the (C++) compiler supports "-iquote" instead of "- I-" or "-I". Do an autoconf macro exists that can do that? Thanks, jules ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Autoconf macros for various libraries.

2008-06-23 Thread Jules Colding
On 23/06/2008, at 03.10, Craig Sanders wrote: Hello all. Does anyone know if any Autoconf macros exist for checking if the following libraries are installed on a system? - Crypto++ C++ encryption library - ACE (Adaptive Communications Environment) C++ library I have had a bit of a look

Re: Autoconf macros for various libraries.

2008-06-23 Thread Jules Colding
On 23/06/2008, at 09.44, Ralf Wildenhues wrote: * Jules Colding wrote on Mon, Jun 23, 2008 at 09:40:03AM CEST: I've written these two meager macros that checks for ACE and TAO: http://trac.42tools.net/lorica/browser/trunk/m4/acetao.m4 In these macros, you check for several dozen he