Re: FYI: loop in libtool m4 macros

2005-06-21 Thread Stepan Kasal
karound id no longer needed. Have a nice day, Stepan Kasal 2005-06-21 Stepan Kasal <[EMAIL PROTECTED]> * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty, expand to the empty list. Don't use two pairs of m4_changequote,

Re: FYI: loop in libtool m4 macros

2005-06-27 Thread Stepan Kasal
Hi, On Wed, Jun 22, 2005 at 06:45:35PM +0200, Ralf Wildenhues wrote: > [ Unintentional private reply? ] yes, sorry. Thank you for citing it here. > > m4_quote doesn't do what it should, as it uses [$*]. > > That means that all whitespace after commas is stripped. > > Is this a bug in m4_quote?

Re: FYI: loop in libtool m4 macros

2005-06-27 Thread Stepan Kasal
that it encourages the wrong convention. AC_FOREACH was never documented, so there is no problem if you replace it by three other undocumented macros. ;-) Have a nice day, Stepan 2005-06-27 Stepan Kasal <[EMAIL PROTECTED]> * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS)

Re: FYI: loop in libtool m4 macros

2005-06-27 Thread Stepan Kasal
Hi Ralf, On Mon, Jun 27, 2005 at 04:55:18PM +0200, Ralf Wildenhues wrote: > > So I propose the following patch. > > I agree, and have committed it to HEAD and branch-2-0. thank you for committing this patch. (And also the other one I posted today.) Stepan

Re: FYI: loop in libtool m4 macros

2005-06-28 Thread Stepan Kasal
d, including: > mentioned in autoconf.texi, but not defined: > m4_default > not defined in autoconf.texi, but listed in m4.texi (renamed m4 builtins): > m4_ifdef > m4_pushdef These are documented implicitly, and in the latest CVS version they even go to the index, search for [EMAIL PROTECTED]''. So these are OK. Have a nice day, Stepan Kasal

Re: documenting m4sugar.m4 [WAS: loop in libtool m4 macros]

2005-06-28 Thread Stepan Kasal
Hello Gary, On Tue, Jun 28, 2005 at 10:58:05AM +0100, Gary V. Vaughan wrote: > In order to hide some of our internal macros from aclocal, they are > defined with m4_defun. Thanks for explanation. Interesting. Since aclocal doesn't do any tracing, the following could work too: m4_copy([AC_DEFUN]

A few tiny patches

2005-06-28 Thread Stepan Kasal
Hi all, the following three tiny patches still waited on my disk. Stepan 2005-06-28 Stepan Kasal <[EMAIL PROTECTED]> * clcommit.m4sh: "grep|sed" can be replaced by mere "sed". * m4/libtool.m4 (_LT_LIBTOOL_TAGS): Remove unnnecessary "[]&quo

Re: reorganized config.status

2005-08-03 Thread Stepan Kasal
Hello Ralf and all, On Tue, Aug 02, 2005 at 03:30:34PM +0200, Ralf Wildenhues wrote: > | m4_ifset([AC_LIST_HEADERS], > | [CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ > :]].*$,,'`], > | [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])]) > | AC_SUBST([CONFIG_H]) > > We comp

Re: reorganized config.status

2005-08-10 Thread Stepan Kasal
Hello Ralf, no, I don't think using ac_config_headers is a good idea. First, let me return to your original code: | m4_ifset([AC_LIST_HEADERS], | [CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`], | [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])]) I think th

Re: reorganized config.status

2005-08-13 Thread Stepan Kasal
Hello, On Sat, Aug 13, 2005 at 12:00:13AM +0200, Ralf Wildenhues wrote: > Other way round. I tried to make you do the work for me and did not > succeed at first. :) thank you very much. You did most of the work, so I won. I'll look at the patch soon. But two comments now, in a hurry: > > Hmm

SP2NL cleanup

2005-08-16 Thread Stepan Kasal
Hello, attached please find a patch, which changes the check for EBCDIC. 1) I added a comment which explains why \n isn't portable enough. 2) space is space, no need to use \040 3) Change the logic, so that it potentially works even for other charsets. Stepan Kasal 2005-08-16 Stepan

Re: SP2NL cleanup

2005-08-16 Thread Stepan Kasal
or some such. :-( For now, I returned to \100 in EBCDIC version. Here is a patch with fixes for the problems you pointed out. Stepan 2005-08-16 Stepan Kasal <[EMAIL PROTECTED]> * config/general.m4sh (SP2NL, NL2SP): Sim

Re: Fix LT_WITH_LTDL: AU_ALIAS bug

2005-10-25 Thread Stepan Kasal
Hello, On Sat, Sep 10, 2005 at 04:17:52PM +0100, Gary V. Vaughan wrote: > :-( Can you document in HACKING that because of our use of AU_ALIAS to > maintain backwards compatibility with earlier libtool interfaces we must > not use $# in m4. actually, I'd prefer if you could put it this way: The

Re: Tru64/OSF: BIN_SH revisited

2006-03-17 Thread Stepan Kasal
g patch; OK to commit? Have a nice day, Stepan 2006-03-17 Stepan Kasal <[EMAIL PROTECTED]> * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4, moved DUALCASE=1 ... (AS_SHELL_SANITIZE): ... here. Index: lib/m4sugar/m4sh.m4 ==

Re: Tru64/OSF: BIN_SH revisited

2006-03-17 Thread Stepan Kasal
Hello, On Fri, Mar 17, 2006 at 06:10:10PM +0100, Ralf Wildenhues wrote: > * Stepan Kasal wrote on Fri, Mar 17, 2006 at 04:27:09PM CET: > > > > Second, if this change > > > > > 0b) Additionally, prepend /usr/bin/posix/ to the path walk of > > > _AS_DETECT_B

Re: Tru64/OSF: BIN_SH revisited

2006-03-17 Thread Stepan Kasal
Hello, On Fri, Mar 17, 2006 at 11:20:49AM -0800, Paul Eggert wrote: > Yes, except you need to modify the Autoconf documentation accordingly. I checked in the version attached to this mail. Stepan 2006-03-17 Stepan Kasal <[EMAIL PROTECTED]> * lib/m4sugar/m4sh.m4 (AS_BOURNE_C