Re: Escaping a ',' in autoconf

2005-10-26 Thread Ralf Wildenhues
Hi Kristis, * Kristis Makris wrote on Wed, Oct 26, 2005 at 03:07:47AM CEST: > Hello, > > I'm having a hard time escaping a comma (',') in autoconf. I'm trying to > set to a variable the regular expression: [,\s#]. I can set almost > everything, except the comma: > > DEVEL_CONFIG_TEMPLATE_BUGID_S

Re: Escaping a ',' in autoconf

2005-10-26 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Wed, Oct 26, 2005 at 08:53:26AM CEST: > * Kristis Makris wrote on Wed, Oct 26, 2005 at 03:07:47AM CEST: > > > > I'm having a hard time escaping a comma (',') in autoconf. I'm trying to > > set to a variable the regular expression: [,\s#]. I can set almost > > everything,

Re: compile with VC++

2005-10-26 Thread Harald Dunkel
Stepan Kasal wrote: > > I looked at /usr/share/automake-1.9/compile and I cannot understand > how this could happen. > I think that the parametr to compile should look like > some/path/main.c > which becomes cfile, and then cofile is assigned as > > cofile=`echo "$cfile" | sed -e 's|^.*/||'

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-26 Thread Eli Zaretskii
> Date: Wed, 26 Oct 2005 08:17:52 +0200 > From: Stepan Kasal <[EMAIL PROTECTED]> > Cc: autoconf@gnu.org, autoconf-patches@gnu.org > > the problem is this: ./configure runs > $CC -c -o conftst2.$ac_objext conftest.c > and then checks whether the compiler created conftst2.$ac_objext or > conft

Defining Macros With Literal Values

2005-10-26 Thread Eric Lemings
Greetings, I have a tricky little problem I was hoping someone could help me with. I am trying to write an Autotools macro that extracts the value of a macro from a system header file and defines another preprocessor macro with the same value. Take the following short program for example.

Re: Defining Macros With Literal Values

2005-10-26 Thread Andreas Schwab
Eric Lemings <[EMAIL PROTECTED]> writes: > Greetings, > > I have a tricky little problem I was hoping someone could > help me with. I am trying to write an Autotools macro that > extracts the value of a macro from a system header file > and defines another preprocessor macro with the same value.

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-26 Thread Stepan Kasal
Hello. On Wed, Oct 26, 2005 at 09:11:09PM +0200, Eli Zaretskii wrote: > > the problem is this: ./configure runs > > $CC -c -o conftst2.$ac_objext conftest.c > > and then checks whether the compiler created conftst2.$ac_objext or > > conftest$ac_objext > > > > If it were "conftest2.$ac_objext"