Re: @BKL@, @BKR@, etc.

2000-02-29 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Paul> No. E.g. grep's configure.in says: Paul> LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'` Paul> and bison's aclocal.m4 says: Paul> echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e Paul> 's%[^/]*$%%'`stamp-h$

Re: xemacs configure script doesn't have AC_DEFINE

2000-02-29 Thread Akim Demaille
> "Olly" == Olly Betts <[EMAIL PROTECTED]> writes: Olly> If you ask someone in the UK to draw you a `pound sign' you'll Olly> get one of these: `£' (that's the British currency symbol in Olly> case something is eating high bits or you aren't reading this in Olly> latin1). And in fact the HTM

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-01 Thread Akim Demaille
| Hi, Hi! CCed to Autoconf because there is an issue which we'll need to discuss (again). | the appended patch fixes some tests to produce correct results even | if compiled with the stricter checking of g++ >= 2.95. OK, you do speak of a C++ compiler and C tests :) Are you using CC=g++? U

Re: Argh. config.guess breaks things

2000-03-01 Thread Akim Demaille
> "Eric" == Eric Christopher <[EMAIL PROTECTED]> writes: Eric> This problem pretty much happens on any machine without a Eric> compiler installed. What would be ideal is if config.guess Eric> didn't require a compiler. Can it happen that one needs the information given by config.guess if sh

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-01 Thread Akim Demaille
> "Assar" == Assar Westerlund <[EMAIL PROTECTED]> writes: Assar> :pserver:[EMAIL PROTECTED]:/home/cvs module `config'. Thanks!

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> Any chance my little "m4_noquote"-macro will make it into Lars> autoconf? I like it. Send a patch! Akim

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> define([m4_noquote],[changequote(,)$1changequote([,])]) Actually there's a flow in your macro (untested, but it seems clear): just try with $1=foo, and I'll bet you'll get a nice foochangequote in the output. The solution, of course,

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
>>>>> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> On Wed, Mar 01, 2000 at 06:43:41PM +0100, Akim Demaille wrote: : Lars> >>>>> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : : Lars> Lars> define([m4_noquote]

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> It would be nice to have a couple of m4 push/popquote macros... The idea seduced René, I've been faster than you on this one :P

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-07 Thread Akim Demaille
| Am Mon, 06 Mar 2000 schrieb Akim Demaille: | >| OK, how about this one? | > | >Sorry, I don't mean to be pain, but I still have some comments :) Do | >the other people consider I am being painful? (Real question) | | A real pein :-). :) | >Still, my comment would be t

Re: Autoconf --trace

2000-03-07 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >> I have implemented support for $.@, which is [$1].[$2]. etc. (`.' >> is the separator, defaults to comma), and for $.*, which is >> smash($1).smash($2). etc., where `.' defaults to `:', and `smash' >> singles out all the white sp

Re: #if vs. #ifdef

2000-03-07 Thread Akim Demaille
>>>>> "Glenn" == Glenn Chambers <[EMAIL PROTECTED]> writes: Glenn> Akim Demaille writes: >> #ifdef and #ifndef are banished from Autoconf, use only #if and#if >> !. Glenn> Interesting trivium: unless I mis-remember, the variant of the Glenn&

Re: Autoconf --trace

2000-03-07 Thread Akim Demaille
| On Tue, Mar 07, 2000 at 10:37:29AM +0100, Akim Demaille wrote: | : In fact, can someone teach me (point me to a good example) how to | : split strings such as | : | : list="'first element' 'second' 'third one'" | : for elt in $list | | I managed to mak

Re: DOS paths v2

2000-03-07 Thread Akim Demaille
Could you send a patch for this one too? Akim

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-08 Thread Akim Demaille
I'm OK with this patch. I'll apply the changes for the headers at checkin if Franz doesn't have time to. One yes is still expected. Akim

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-08 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> You got it :-) Well, finally I have a little problem: when you look at the full context, there is already unistd.h above. I moved the #include block which was discussed above the GETPAGESIZE one (originally it was below

Re: Autoconf --trace

2000-03-08 Thread Akim Demaille
| On Tue, Mar 07, 2000 at 11:50:46AM +0100, Akim Demaille wrote: | : | eval set $list | : | while test $# -gt 0; do | : | echo $1 | : | shift | : | done | : | : Excellent, thanks! I think this is the best means to handle the list | : here. | | The most elegant solution I found (can't

Re: Autoconf --trace

2000-03-08 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> Actually, I was informed by John W. Eaton through private email Lars> that the 'in "$@"' part is the default and can therefore be Lars> dropped. My opinion on this (which is influenced by my personal Lars> sh-scripting conventions) is

Re: Autoconf --trace

2000-03-08 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> You can 'shift' out the dummy at once, though, and leave out the Lars> case for it (I assume you'll have a switch/case inside the for Lars> loop), but then you must use the ${1+"$@"} approach. That's what I meant, dummy could be anythi

PACKAGE and VERSION

2000-03-08 Thread Akim Demaille
I would like to suggest again something which has been rejected the first time... I would like Autoconf to know PACKAGE and VERSION too. Of course it is not essential to it as it is for Automake, but I would like it for several small issues, each time for esthetic purposes. 1. It would allow t

Re: problem configuring a2ps 4.13 w/ autoconf 2.14a on IRIX 5.3

2000-03-08 Thread Akim Demaille
this works too, but is has the potential danger of an Ralf> endless loop if the replacement triggers another match (eg: add Ralf> `;t t' to the last line, too). Oh, yes, yes, that's why I had changed it :( This is no risk with #undef -> #define, but there is that danger with #de

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-02 Thread Akim Demaille
>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Mar 1, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> | BTW, config.guess and config.sub need synchronizing with the main >> repository. >> I think so to,

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-03 Thread Akim Demaille
That's fine with me, but I still would like to know why you didn't prefer using the right includes. Akim

Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
Hi! Let's raise this question again, I'm really puzzled, and I'd like to be explained what is going on. Below is the current AC_TRY_CPP, but other AC_TRY have more or less the same code. In particular, pay attention to the various `rm conftest'. | # AC_TRY_CPP(INCLUDES, [ACTION-IF-TRUE], [AC

Re: passing command-line switches to compiler

2000-03-03 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Mar 2, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: >> define([m4_noquote], >> [changequote(-=<{,}>=-)$1-=<{}>=-changequote([,])]) >> That's my final offer :) Alexandre> I must say that I find this extremely ugly (

Re: DOS paths v2

2000-03-03 Thread Akim Demaille
eneral.m4 (AC_OUTPUT_FILES): Treat DOS-style paths (?:*') as + absolute. + (AC_OUTPUT_SUBDIRS): Likewise. + (AC_PATH_PROG): Make pattern for matching DOS-style paths the same + as that used in AC_OUTPUT_FILES and AC_OUTPUT_SUBDIRS. + 2000-02-21 Akim Demaille <[EMAIL PROTECTED]> *

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> My vote would be to remove conftest at the front of the Earnie> script, if that's even necessary, and leave it for the user to Earnie> look at when script exists. Then let `make clean' handle the Earnie> removal of conftest. We m

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> config.log doesn't contain the compilers failure if I remember Earnie> correctly. Only where in configure that it is. Hm, what do you mean? /tmp % cat configure.in AC_INIT AC_PROG_CC AC_TRY_COMPILE([int main () { syntax error}])

Re: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I want to use diverts in some macros, and wonder if there is any Lars> divert management system for reserving/freeing divert numbers in Lars> autoconf (couldn't find any with a quick grep at least). The Lars> point is, if other macros

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-03 Thread Akim Demaille
> "Franz" == Franz Sirl <[EMAIL PROTECTED]> writes: Franz> If you tell me how to do it right and platform-independent, I Franz> will happily come up with another patch. Just look for the right header on a sane system, and include it under the condition HAVE_foo_H. It is better to AC_CHECK_H

Re: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> In my book, this would be Lars> m4_diversion_reserve([AC_DIVERSION_KILL], -1) ... Currently diversion are so little used that it'd be an overkill. Lars> Something along these lines would make me sleep better at night Lars> ;) How

Re: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I'm just thinking of Autoconf - that's where my own macros have Lars> to cooperate with macros I don't know anything about. Overkill Lars> or not, such a resource management system wouldn't have to be Lars> very advanced... Right. Bu

Re: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I don't, yet. It was just something I was pondering on. I Lars> actually figured out a couple of other ways to do essentially Lars> the same thing, so I guess I won't be needing diversions... Right, diversions are not that powerful,

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> I'll investigate further. Most of my experience with autoconf Earnie> is with Cygwin and MinGW and I don't remember seeing anything Earnie> that detailed. Something I'd like to call a flaw with config.log is that it is cleared ea

Re: DOS paths v2

2000-03-03 Thread akim demaille
> > On Mar 3, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > > > | [/\\*] | [A-z]:[/\\*] > > > You probably mean > > > [/\\]* | [A-z]:[/\\]* ) > > Actually > > [/\\]* | [A-Za-z]:[/\\]* ) > My understanding was that Mark says the

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread akim demaille
> > On Mar 3, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > > > I would like to understand why there are three `rm' while one seems > > way enough. It seems like the author took a special care to remove > > the conftest files before the user can touch

Re: latest testing

2000-03-03 Thread akim demaille
> > Akim, I checked today and found out that there have been updates to the > autoconf cvs. When will the cvs-commit mailing list move to the new site so > we can get notified immediately? I just don't know. The subversions team, AFAIK, is working on it, but there is nothing yet running. > An

Re: latest testing

2000-03-06 Thread Akim Demaille
The patch is in the queue, and will probably be applied today. Akim

Re: Help understanding AC_TRY_CPP

2000-03-06 Thread Akim Demaille
> "Ian" == Ian Lance Taylor <[EMAIL PROTECTED]> writes: Akim> I would like to understand why there are three `rm' while one Akim> seems way enough. It seems like the author took a special care Akim> to remove the conftest files before the user can touch them. Ian> I don't know. This is a g

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-06 Thread Akim Demaille
| OK, how about this one? Sorry, I don't mean to be pain, but I still have some comments :) Do the other people consider I am being painful? (Real question) Still, my comment would be that | #ifdef __cplusplus | -extern "C" { void *malloc(unsigned); } | +# ifdef HAVE_STDLIB_H | +# include |

Re: macro invocation count

2000-03-06 Thread Akim Demaille
| AC_DEFUN([SIM_AC_ITERATOR], | [AC_DIVERT_PUSH([AC_DIVERSION_INIT])dnl You should avoid playing with Autoconf's diversions. They are internals only, and there is no guarantee they won't change. As a matter of fact, there is a patch in the queue which removes AC_DIVERSION_INIT (renames actuall

Re: PACKAGE and VERSION

2000-03-09 Thread Akim Demaille
| Hello! | > I would like Autoconf to know PACKAGE and VERSION too. Of course it | > is not essential to it as it is for Automake, but I would like it for | > several small issues, each time for esthetic purposes. | > | > 3. It would allow to solve parts of the wishes for a deep --help: each |

Portability of `?' in sed

2000-03-09 Thread Akim Demaille
Does someone know how `\?' is portable in sed? Akim

Re: adding commands to config.status

2000-03-09 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I'd like to add a few commands to config.status to be executed Lars> before configu.status creates any files (to run mkdir to Lars> facilitate some multi- level SUBDIRS directories). There's a Lars> diversion that would let me do this,

Re: Portability of `?' in sed

2000-03-09 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> Are you asking about the metacharacter ? which indicates Earnie> "matches zero or one occurences of the preceding regular Earnie> expression" or the quoted metacharacter \? which indicates a Earnie> literal `?'? The meta char. E

Re: Portability of `?' in sed

2000-03-10 Thread Akim Demaille
>>>>> "Greg" == Greg A Woods <[EMAIL PROTECTED]> writes: Greg> [ On , March 9, 2000 at 19:33:12 (+0100), Akim Demaille wrote: ] >> Subject: Re: Portability of `?' in sed >> >> I think the answer from Nicolas Joly demonstrate it is not. &

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
The Autoconf test suite is filter in two different places: once to avoid testing all the macros, since some of them are already run by other tests etc., and once to check that the configure scripts do stay within their name space (it does think by saving the env, and comparing it later, filteri

Re: PACKAGE and VERSION

2000-03-10 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >> I'd like to avoid the Automake third arg trick to disable >> AC_DEFINE, there are probably more esthetic means to achieve this. Alexandre> How about simply not defining it at all? People can always Alexandre> AC_DEFINE or AC_SU

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
| On Mar 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: | > and it turns out that his sed (the very same bloody sed which makes | > writing config.status a real challenge) doesn't seem to support the | > alternation at all | | Yup, that's right. Alternatio

Re: PACKAGE and VERSION

2000-03-10 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >> Hm, right, but it is so common, that providing a means to shorten >> the configure.in would be welcome. Alexandre> As long as there's a way to avoid having them defined, I'm Alexandre> all for it. OK. >> AC_SUBST is cost les

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
>>>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> Indeed, but I bet anchors cannot portably be embedded in Akim> alternations. I was probably too pessimistic, > echo "toto" | egrep -e 'bar|^toto$' toto > uname -a I

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >> Indeed, but I bet anchors cannot portably be embedded in >> alternations. Alexandre> Does this apply to egrep too? In fact I've thought all the RE engines were the same, so a failing sed would be a failing egrep. But actually

Autoconf, Emacs and C-x 4 a

2000-03-10 Thread Akim Demaille
This might be useful for some: better support of Autoconf in C-x 4 a: --- /tmp/zshb9hLGx Fri Mar 10 13:21:59 2000 +++ add-log.el Wed Mar 1 18:16:05 2000 @@ -649,6 +649,10 @@ (if (re-search-backward "^sub[ \t]+\\([^ \t\n]+\\)" nil t) (buffer-substring

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
> "Felix" == Felix Lee <[EMAIL PROTECTED]> writes: Felix> yes, afaik it's only sed /\(^foo$\)/ that isn't portable. Felix> egrep '(^foo$)' and '^foo|bar$' should be fine. Good news, thanks. Hey, I have an obscure idea :-] There is one regexp engine I know very well, and will always be the

patch wrapper

2000-03-10 Thread Akim Demaille
Would someone have already written a small wrapper around patch which would take care of guessing the -p, and the special case of ChangeLogs? Something which would update the date, and insert the entry at the top of ChangeLog, instead of letting patch try to find the place thanks to context (whi

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
| On Mar 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: | > Hey, I have an obscure idea :-] | ^ :-) | | > How about using m4 to filter out those guys :) | | Yep, I had thought of that. But if we can make egrep work, m4 is | overkill. Nah, you

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
Nicolas, how about the following patch? Akim Index: tests/Makefile.am === RCS file: /cvs/autoconf/tests/Makefile.am,v retrieving revision 1.16 diff -u -r1.16 Makefile.am --- tests/Makefile.am 2000/03/08 16:12:10 1.16 +++ tes

Re: Autoconf, Emacs and C-x 4 a

2000-03-10 Thread Akim Demaille
>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Mar 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> This might be useful for some: better support of Autoconf in C-x 4 >> a: Alexandre> Great! Make sure y

Re: problem with multiple -e flags for egrep

2000-03-10 Thread Akim Demaille
Arg, sorry, I sent an incomplete patch, forget it. Akim Index: tests/Makefile.am === RCS file: /cvs/autoconf/tests/Makefile.am,v retrieving revision 1.16 diff -u -r1.16 Makefile.am --- tests/Makefile.am 2000/03/08 16:12:10 1

Re: patch wrapper

2000-03-10 Thread Akim Demaille
Great, Alexandre. Thanks!

Re: Autoconf security - AC_SYS_LONG_FILE_NAMES

2000-03-13 Thread Akim Demaille
> "Joseph" == Joseph S Myers <[EMAIL PROTECTED]> writes: Joseph> The problems with temporary file security in autoconf's shell Joseph> scripts (predictable file names in /tmp, opened without Joseph> O_EXCL) have been well known for a long time, though it seems Joseph> still not fixed in CVS.

Re: More shell variables that change: LINENO and RANDOM

2000-03-13 Thread Akim Demaille
> "John" == John David Anglin <[EMAIL PROTECTED]> writes: John> The following patch adds LINENO and RANDOM to shell variables John> that change in actest.m4. Thanks, will soon be installed.

Re: problem with multiple -e flags for egrep

2000-03-13 Thread Akim Demaille
>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: >>>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> I just noticed that Automake replaces all the \-continuation Akim> lines with a single space, so I can to

Re: Standard macro for OpenGL check?

2000-03-13 Thread Akim Demaille
| AC_DEFUN(SIM_CHECK_OPENGL,[ | dnl Autoconf is a developer tool, so don't bother to support older versions. | AC_PREREQ([2.14.1]) Please, don't depend on this, it does not exist. | case "$host_os" in Where does this come from? | for i in -lMesaGL -lGL "-lMesaGLU -lMesaGL" "-lGLU -lG

Re: Standard macro for OpenGL check?

2000-03-13 Thread Akim Demaille
> "Morten" == Morten Eriksen <[EMAIL PROTECTED]> writes: >> Please, don't depend on this, it does not exist. Morten> Guys, get your ass in gear and release a new version of Morten> Autoconf, please -- so we don't have to live on the bleeding Morten> edge. :) Morten> (Hey, just kidding.) :^

Re: Autoconf security - AC_SYS_LONG_FILE_NAMES

2000-03-13 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> Yep, that's a very important concern. We don't want people Alexandre> to start spreading word that autoconf introduces security Alexandre> holes in your software. Definitely. And actually working on Autoconf had become

Re: Standard macro for OpenGL check?

2000-03-13 Thread Akim Demaille
>>>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> | case "$host_os" in Akim> Where does this come from? Morten> Hmm, from libtool's ltconfig. Could a host OS identifier be Morten> found somewhere by using "standard&q

Re: Autoconf security - AC_SYS_LONG_FILE_NAMES

2000-03-13 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >> Gosh, I love this tortured way to do simple things. Just give them >> a couple a weeks, and the Debian guys will come up requiring that >> we use mktemp :) Alexandre> Good idea :-) :-) (indeed, this would be perfect way to Alex

Re: sys/stat.h

2000-03-15 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Akim> sys/stat.h: Portable or not? Paul> I think it's portable to all targets of interest to GNU Paul> applications. Many GNU applications include Paul> without checking for its inclusion. has been Paul> supported by every Unix-like sy

Re: Standard macro for OpenGL check?

2000-03-15 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Paul> There are other portable approaches to forcing an error based on Paul> preprocessor computations (e.g. one can declare an array with a Paul> negative size), but ` #error "foo"' is the cleanest one I know. So I am very much in favor of

Re: sys/stat.h

2000-03-15 Thread Akim Demaille
|From: Akim Demaille <[EMAIL PROTECTED]> |Date: 15 Mar 2000 09:44:55 +0100 | |Akim> sys/stat.h: Portable or not? | |Paul> I think it's portable to all targets of interest to GNU applications. | |OK, thanks. Shall we include it in the set of default inc

Re: sys/stat.h

2000-03-15 Thread Akim Demaille
>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Mar 15, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> Shall we include it in the set of default includes? Alexandre> Not without `#if HAVE_SYS_STAT_H'.

Re: sys/stat.h

2000-03-15 Thread Akim Demaille
> "T" == T E Dickey <[EMAIL PROTECTED]> writes: >> Also, the above set of default includes is traditional, but is >> there any reason not to use elif? Lemme bet, not KnR? T> yes (HP's bundled compiler silently truncates the file). Bwa ha ha! Man, [EMAIL PROTECTED] is much better than al

Re: libtool /tmp security

2000-03-15 Thread Akim Demaille
| On Mar 13, 2000, "Gary V. Vaughan" <[EMAIL PROTECTED]> wrote: | > I would still like to see {auto{conf,make},libtool} use Ralf | > Engelschall's shtool (or a variant of it) to encapsulate the | > portability issues of things like mkdir -p and mkdir -m 700 into a | > single script rather than sc

Re: More shell variables that change: LINENO and RANDOM

2000-03-14 Thread Akim Demaille
> "John" == John David Anglin <[EMAIL PROTECTED]> writes: John> The following patch adds LINENO and RANDOM to shell variables John> that change in actest.m4. Thanks, applied. Next time, please, include a ChangeLog. What shell changes RANDOM? Bash and zsh both support it, but it changes on

Re: how to use AC_CHECK_PROG?

2000-03-14 Thread Akim Demaille
> "Assar" == Assar Westerlund <[EMAIL PROTECTED]> writes: Assar> Doing it this way seems to work, but is somewhat less that Assar> perfect: Assar> AC_CHECK_PROG(FOO, foo, $ac_dir/foo, foo-fail, Assar> "$PATH:/magic/dir") ac_dir is an internal data which may disapear. Assar> So, what do pe

sys/stat.h

2000-03-14 Thread Akim Demaille
Portable or not? Some acspecific tests check its existence, others don't. Which is right? (Should definitely be documented). Akim

Re: libtool /tmp security

2000-03-15 Thread Akim Demaille
>>>>> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> --- Akim Demaille <[EMAIL PROTECTED]> wrote: -8<- >> As for mkdir -m, it seems to me that >> >> (umask 700 && mkdir /tmp/foo) Grmph, 077. >> >>

Re: libtool /tmp security

2000-03-15 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: >> Let it be for speed issues, I'm in favor of /tmp via TMPDIR. This Earnie> You missed the point; /tmp isn't portable, it doesn't always Earnie> exist (E.G.: MSDOS or WINDOWS). At least with TMPDIR I can Earnie> set it to be whatever I

Re: m4/missing.m4 in CVS

2000-03-13 Thread Akim Demaille
| On Feb 2, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: | >>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: | Alexandre> Only CVS autoconf accepts implicitly quotes backticks in | Alexandre> MSGs. But it complains if backtick is

Re: m4/missing.m4 in CVS

2000-03-13 Thread Akim Demaille
>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Mar 13, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> And again, I shall emphasize that this little comfort is a myth: >> you *need* to update Automake if you

Re: m4/missing.m4 in CVS

2000-03-13 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> I'd really prefer to have a stable release of automake with Alexandre> the many the new features introduced since release 1.4, Alexandre> particularly user-side dependency tracking, before starting Alexandre> to rely on C

Re: [cygnus.egcs.patches] Patch for IFS

2000-03-16 Thread Akim Demaille
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: Tom> Maybe configure should set IFS by default? I agree. I don't understand well why we don't define the IFS to space, tab and nl at the top of configure, and stop providing defaults here and there (AC_PROG_INSTALL for instance has IFS="${IF

Re: [BUG] AC_OUTPUT has wildly different semantics

2000-03-17 Thread Akim Demaille
> "Martin" == Martin Buchholz <[EMAIL PROTECTED]> writes: Martin> It feels like the body of AC_OUTPUT has different quoting Martin> levels between 2.13 and latest CVS. This has been fixed, thanks for the report! Akim

Re: [BUG] AC_INIT_NOTICE legal notice mixed with code

2000-03-17 Thread Akim Demaille
>>>>> "Martin" == Martin Buchholz <[EMAIL PROTECTED]> writes: >>>>> "AD" == Akim Demaille <[EMAIL PROTECTED]> writes: AD> We can introduce a Copyright diversion, where you could easily AD> append your notices. Would that be

Re: More shell variables that change: LINENO and RANDOM

2000-03-17 Thread Akim Demaille
Thanks!

Re: [cygnus.egcs.patches] Patch for IFS

2000-03-17 Thread Akim Demaille
| Akim Demaille <[EMAIL PROTECTED]> wrote | 16 Mar 2000 19:16:48 +0100: | |In fact if someone has broken IFS, typically lacking nl, then the |sanity check from Automake will fail, telling the there is a severe |clock skew, while it's only the | | set X `ls

Re: autoconf 2.13 Japanese texinfo (fwd)

2000-03-17 Thread Akim Demaille
(fwd) | From: Akim Demaille <[EMAIL PROTECTED]> | Date: 27 Dec 1999 12:47:58 +0100 | | >>>>> "itojun" == itojun <[EMAIL PROTECTED]> writes: | | itojun> If I can get cvs access to autoconf repository, that will | itojun> really help me synchronize the docu

Re: [cygnus.egcs.patches] Patch for IFS

2000-03-20 Thread Akim Demaille
> "Linus" == Linus Nordberg <[EMAIL PROTECTED]> writes: Linus> It may look good, but I don't think it's worth it since it Linus> doesn't work with /bin/sh on FreeBSD. ;-) In fact I had completely overlooked your issue. I was not aware of this feature, and didn't understand well what the man

Re: Autoconf and gnu-m4 dependency

2000-03-20 Thread Akim Demaille
> "Marc" == Marc Espie <[EMAIL PROTECTED]> writes: Hi Marc, Marc> I believe this to be of benefit to everybody... Apart from Marc> copyright issues, which autoconf people probably don't really Marc> care about (or probably not in the same direction that we do), Marc> this does mean that auto

Re: Moving/Deleting open files isn't portable

2000-03-20 Thread Akim Demaille
| The following can't be done on DOS/WIN32: | #! /bin/sh | exec > foo | mv foo bar | | | Nor can | | #! /bin/sh | exec > foo | rm -f foo | | | This break autoheader for Win32. What fix do you suggest?

Re: cvs version of autoconf usable??

2000-03-21 Thread Akim Demaille
| Hi, | I have a question about the stability of the current cvs version of | autoconf. Currently I am using autoconf-2.13 under cygwin. | I am trying to bulld libGGI. Unfortunately, autoheader fails because of | the problem described by Eanie Boyd described in a previous posting. | |

Re: cvs version of autoconf usable??

2000-03-21 Thread Akim Demaille
> "John" == John Fortin <[EMAIL PROTECTED]> writes: John> Yes, I can. Unfortunately, I am at work and my log files are at John> home. I'll post them tonight. Thanks! John> autoconf built fine ( except for the man files ). I ran the What problem did you meet with man pages? It's a failu

Re: cvs version of autoconf usable??

2000-03-22 Thread Akim Demaille
| help2man requires perl (which I have), but also requires the POSIX.pm | module, which does not seem to be available. OK, thanks, this will have to be tested. | checking for working help2man... missing Huh? We have a communication problem here, I consider a success that help2man is conside

Re: Autoconf and gnu-m4 dependency

2000-03-23 Thread Akim Demaille
> "Juergen" == Juergen A Erhard <[EMAIL PROTECTED]> writes: Juergen> First of all, undocumented features can't be relied Juergen> upon... if it's not documented, it might not exist in the Juergen> next version. I agree, it's just a matter of struggling with René if needed :) Juergen> Now,

Re: Assigns/disclaims

2000-03-23 Thread Akim Demaille
he situation is. Maintainers are: Akim Demaille Paul Eggert Matthew Langston Jim Meyering Alexandre Oliva Tom Tromey Akim

Re: cvs version of autoconf usable??

2000-03-23 Thread Akim Demaille
| + grep '^#[a-z]*[ ][ ]*GIIPATHTAG[ ]*$' /tmp/ah20650.out | + echo 'autoheader: No template for symbol `GIIPATHTAG'\''' | autoheader: No template for symbol `GIIPATHTAG' | + status=1 Your problem is here. autoheader, when checking if all the symbols have a template has a pattern whi

Autoconf PR/102: ``Generated ...''

2000-03-25 Thread Akim Demaille
Hi! There is this bug report I would however like to make a suggestion: that the line automatically prepended to files generated by configure - e.g. "# Generated automatically from buildNewMakefile.in by configure." is suppressed for files for which the first line is of the fo

Re: Autoconf PR/102: ``Generated ...''

2000-03-27 Thread Akim Demaille
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: Akim> Can we just stop producing automatically this line? There is Akim> still @configure_input@ which should be used to output this Akim> line. Tom> I'd rather we keep producing it for Makefile at least. I'm not strongly opposed to it, but

Re: DOS PATHS

2000-03-27 Thread Akim Demaille
You are right, thanks! Akim

<    1   2   3   4   5   6   7   8   9   10   >