Re: Why doesn't this quote properly?

2004-11-22 Thread Stepan Kasal
Hi, On Sun, Nov 21, 2004 at 12:23:13AM -0800, Noah Misch wrote: > In general, always double-quote a macro argument that you wish to make a > literal; that is, an argument in which m4 should not expand quotation or macro > calls. Quote an argument only once to simply protect internal commas and >

Re: Why doesn't this quote properly?

2004-11-22 Thread Stepan Kasal
Hello, On Mon, Nov 22, 2004 at 07:57:10AM -0800, Bruce Korb wrote: > Stepan Kasal wrote: > > (I'm writing a patch to the autoconf manual which would mention this.) well, I was wrong. The patch is already submitted and I don't plan to work on it any more. You can get it from http://lists.gnu.org

Header template file

2004-11-22 Thread Markus Moeller
Hi, I am new to autoconf,autoheader, etc and I'd like to use a predefined header template like: my_tool.h.in /* My header input file */ #include my.h #undef HAVE_FEATURE_1 #undef HAVE_FEATURE_2 #ifdef HAVE_FEATURE_1 #include my_1.h #endif /* Some comment */ The configure.in I imagine l

Re: Header template file

2004-11-22 Thread Andreas Schwab
Markus Moeller <[EMAIL PROTECTED]> writes: > If I do so my predefined my_tool.h gets overwritten. Is there a way to use a > predefined template file ? You can use AH_TOP, AH_BOTTOM, etc. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 N

Re: Header template file

2004-11-22 Thread Markus Moeller
I thought they are also deprecated like acconfig.h or is AH_TOP ,etc something different ? How does it work ? from autoheader: Using auxiliary files such as \`acconfig.h\', \`config.h.bot\' and \`config.h.top\', to define templates for \`config.h.in\' is deprecated and discouraged. T

Re: Header template file

2004-11-22 Thread Andreas Schwab
Markus Moeller <[EMAIL PROTECTED]> writes: > I thought they are also deprecated like acconfig.h or is AH_TOP ,etc something > different ? Only acconfig.h is deprecated. AH_TOP, etc. have replaced it. > How does it work ? See

Re: Header template file

2004-11-22 Thread Markus Moeller
Andreas, Yes that works, but if I use [EMAIL PROTECTED] it always drops the @host. is @ a special character ? How do I escape it ? Thank you very much Markus On Mon Nov 22 23:41 , Andreas Schwab <[EMAIL PROTECTED]> sent: >Markus Moeller [EMAIL PROTECTED]> writes: > >> I thought they are also d

Re: Why doesn't this quote properly?

2004-11-22 Thread Bruce Korb
Stepan Kasal wrote: > Please note that there is a trap: the ``description texts'', like in > AS_HELP_STRING or AC_DEFINE. These strings are subject to line breaking, so > they > are not ``literal strings'' and you may not double-quote them. Yes. Thank you. My missive came about because I was

Header template file

2004-11-22 Thread moeller
Hi, I am new to autoconf,autoheader, etc and I'd like to use a predefined header template like: my_tool.h.in /* My header input file */ #include my.h #undef HAVE_FEATURE_1 #undef HAVE_FEATURE_2 #ifdef HAVE_FEATURE_1 #include my_1.h #endif /* Some comment */ The configure.in I imagine

RE: Header template file

2004-11-22 Thread Guus Leeuw jr.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:autoconf- > [EMAIL PROTECTED] On Behalf Of Markus Moeller > Sent: mardi 23 novembre 2004 00:49 > To: Andreas Schwab > Cc: [EMAIL PROTECTED] > Subject: Re: Header template file > > Yes that works, but if I use [EMAIL PROTECTED] it alway