Re: Testsuite failures on UnixWare 7.1.1

2001-01-25 Thread Alexandre Oliva
u feel better? We'd rather hash out any bugs before the release :-) That's why I suggested you might want to try the CVS tree... -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat

Re: Checking for libraries

2001-01-25 Thread Alexandre Oliva
On Jan 25, 2001, Stephen Torri <[EMAIL PROTECTED]> wrote: > I want to check for the existence of a library not just a function of the > library as AC_CHECK_HEADERS does. Is there a way to do it? How about AC_CHECK_LIB or AC_HAVE_LIBRARY? -- Alexandre Oliva Enjoy Guaran

Re: autoconf 2.49c AC_CACHE_CHECK failure

2001-01-25 Thread Alexandre Oliva
On Jan 25, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: > Should we (i) make sure not to use config.site in the test suite, or > (ii) have this test grep out this message? (ii) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red

Re: Order of arguments when calling the C compiler

2001-01-24 Thread Alexandre Oliva
> LIBS="$LIBS -l$1 $5" Nope. First, you look for libraries that don't depend on any others. Then, you test for libraries that depend on them. Order matters, and autoconf is doing The Right Thing (TM). -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~o

Re: AC_OUTPUT_COMMANDS

2001-01-24 Thread Alexandre Oliva
ter you arrange for INSTALL to be preserved too :-) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist

Re: AC_OUTPUT_COMMANDS

2001-01-24 Thread Alexandre Oliva
(Check out config-ml.in and see how it is Ralf> applied with automake in newlib.) > Where is it? http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config-ml.in -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.c

Re: Please, validate my patches

2001-01-23 Thread Alexandre Oliva
ortant one, IMO. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: Not-really-cross-compilation issues

2001-01-22 Thread Alexandre Oliva
On Jan 22, 2001, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > Alexandre Oliva writes: >> On Jan 22, 2001, Peter Eisentraut <[EMAIL PROTECTED]> wrote: >> >> > No message, just continue. Or maybe some message, but continue anyway. >> >> At the ex

Re: Not-really-cross-compilation issues

2001-01-22 Thread Alexandre Oliva
On Jan 22, 2001, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > No message, just continue. Or maybe some message, but continue anyway. At the expense of having all execution tests fail for the wrong reason? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliv

Re: More exit() troubles - the answer

2001-01-22 Thread Alexandre Oliva
> explicit declarations. > If Alexandre thinks it is OK that stdlib.h be *always* included in > *all the tests*, then it's fine with me. My reasoning is that, if it can be #included twice without error, it can't hurt. I can't think of any problem with it, can you? If not, I

Re: config.h

2001-01-21 Thread Alexandre Oliva
st belongs in. This is in the application-specific domain :-) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Eva

Re: Testsuite failures on UnixWare 7.1.1

2001-01-21 Thread Alexandre Oliva
On Jan 21, 2001, Matthew Schalit <[EMAIL PROTECTED]> wrote: > Is this because I have no CXX or F77 at this point? Quite likely. Would you give CVS autoconf a spin and see how it goes? It should probably handle the lack of these programs more gracefully. -- Alexandre Oliva Enjo

Re: More exit() troubles - the answer

2001-01-19 Thread Alexandre Oliva
other reason. It should work for C and older versions of g++, so it should remain first. A new entry with `#include ' should be added second. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, re

Re: CVS checkouts of *.in and *.am files

2001-01-19 Thread Alexandre Oliva
hink of config.h.in, when the modified configure.in hasn't introduced nor removed any AC_DEFINEs). In this case, it won't be checked in (unless someone pushes for it). Thus, even if CVS were smart enough to retain relative timestamps globally, it would still get this case wrong. -

Re: More exit() troubles - the answer

2001-01-19 Thread Alexandre Oliva
On Jan 19, 2001, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > On Fri, Jan 19, 2001 at 06:30:48PM -0200, Alexandre Oliva wrote: > : I'd rather avoid this, if I could help it. Didn't `#include ' > : work as an ac_declaration of exit? > Sure. And couldn&

Re: More exit() troubles - the answer

2001-01-19 Thread Alexandre Oliva
n't `#include ' work as an ac_declaration of exit? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Eva

Re: More exit() troubles

2001-01-18 Thread Alexandre Oliva
include This would test whether it is safe to #include it twice. The assumption being that any compiler that is picky enough to require a declaration of exit() will have a stdlib.h that can be #included twice. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Ha

Re: Change request: file names

2001-01-18 Thread Alexandre Oliva
es for templates (name + .in). > Agreed, _because_ of the last argument. Ditto. .sh and .pl should be scripts, not files that have to be preprocessed to become scripts. These should be .shin and .plin Of course, on DOS, these will become m4i, shi and pli, but this is no big deal. -- Ale

Re: 10-forbidden-tokens-in-comments.patch

2001-01-18 Thread Alexandre Oliva
On Jan 18, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: > I'd be OK with making this a warning, at least that's much more > conventional and understandable. And WARNINGS=error restores the old > behavior. Agreed. > -W forbidden-tokens > -W forbidden-tokens-i

Re: More exit() troubles

2001-01-18 Thread Alexandre Oliva
On Jan 18, 2001, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > I've attached a config.log that shows more problems with exit(). We should probably move the '' case first. This will probably work with VC++, and will be fine for most existing C++ compilers. -

Re: 10-forbidden-tokens-in-comments.patch

2001-01-18 Thread Alexandre Oliva
thin comments? It would be disabled by default, but we'd use it in our own testsuite. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.uni

Re: list of descriptions for all available macros

2001-01-14 Thread Alexandre Oliva
x27;s no such macro in autoconf. But you can easily build one using AC_CHECK_HEADER. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br

Re: Moving to Automake 1.4a

2001-01-13 Thread Alexandre Oliva
ke 1.4a ourselves, but it's not ok if our package doesn't work with a released version of automake. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampol

Re: Ultrix problem

2000-12-29 Thread Alexandre Oliva
On Dec 29, 2000, Harlan Stenn <[EMAIL PROTECTED]> wrote: > Still doesn't work, and should the second problem be forked into a thread > for autoconf while this one stays on automake? Yep, the latter is certainly a problem in autoconf. What if you take the quotes off "$

Re: Ultrix problem

2000-12-29 Thread Alexandre Oliva
supports the `--run' switch relies upon `:'. Does missing work if, instead of: "$@" && exit 0 the missing script did: prog=$1 shift "$prog" ${1+"$@"} && exit 0 ? -- Alexandre Oliva Enjoy Guarana', see http://www

Re: AC_CONFIG_AUX_DIR

2000-12-23 Thread Alexandre Oliva
lude these files in the distribution, as long as there is a Makefile.am in the directory containing them. Is there such a Makefile.am? Or did you add the `config' directory to EXTRA_DIST in the top-level Makefile.am? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~ol

Re: AC_CONFIG_AUX_DIR

2000-12-21 Thread Alexandre Oliva
luded in the distribution tarball? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mail

Re: AC_OBJEXT revisited

2000-12-20 Thread Alexandre Oliva
. We've just release 2.49b, there's the CVS version, and there won't be that many people in activity during the holidays, so I see no reason why 2.49c couldn't wait for mid-January or even February. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/

Re: configure.ac

2000-12-18 Thread Alexandre Oliva
our use of `4' instead of `a' is just a technical detail to make it slightly different from the trademark Automate, that I've held for a while ;-) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.

Re: Problem with exit() and new version of gcc.

2000-12-17 Thread Alexandre Oliva
OS :-( > Otherwise we should check what declaration if preferred for the given > compiler and use it. It seems to me that the only safe way to go is to test first :-( Fortunately, we don't have to worry about std::exit(int), since stdlib.h, unlike cstdlib, must bring std::exit(int) into the gl

Re: Problem with exit() and new version of gcc.

2000-12-17 Thread Alexandre Oliva
On Dec 18, 2000, Pavel Roskin <[EMAIL PROTECTED]> wrote: > #ifdef __cplusplus > #undef exit > #define exit(x) return (x) > #endif But what if a hand-coded test calls exit() from some function other than main()? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.uni

Re: Expanded rules for scripts

2000-12-16 Thread Alexandre Oliva
configure.in'', not ``build %.sh out of %, with the additional dependency on configure.in''. I think :-) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp

Re: configure.ac

2000-12-16 Thread Alexandre Oliva
her way round, in case both exist. Or should we just print an error and abort in this case? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.un

Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)

2000-12-16 Thread Alexandre Oliva
On Dec 16, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >>>>>> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> --- Akim Demaille <[EMAIL PROTECTED]> wrote: >>> >>>>> "Alexandre" == Alexandre Oli

Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.)

2000-12-16 Thread Alexandre Oliva
rectory at the end. Better rm -rf it up-front, unconditionally. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: is $* the complete path?

2000-12-15 Thread Alexandre Oliva
eave that as an exercise for the reader :-) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)

2000-12-15 Thread Alexandre Oliva
ning configure, it will overwrite some files in the build tree anyway (config.h, Makefile, etc), and, if you have a.exe in the build tree, built off your Makefile, it's probably easy enough to rebuild it. But saving and restoring doesn't sound bad either... -- Alexandre Oliva Enjoy Gu

Re: is $* the complete path?

2000-12-14 Thread Alexandre Oliva
On Dec 15, 2000, Assar Westerlund <[EMAIL PROTECTED]> wrote: > And is using basename a reasonably solution in this case? basename is not portable. You should use sed instead. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat

Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)

2000-12-14 Thread Alexandre Oliva
On Dec 14, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > On Thu, Dec 14, 2000 at 03:26:51PM -0200, Alexandre Oliva wrote: > : Maybe we should just rule the user shouldn't have a program named `a' > : and be done with it? > I want to have a program call

Re: Expanded rules for scripts

2000-12-14 Thread Alexandre Oliva
. Doesn't it even report the fact that it doesn't know how to build foo.o? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.b

Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)

2000-12-14 Thread Alexandre Oliva
ead of a.out. The problem is that a.out and a.exe are outside the file name space of autoconf. The user might well have an a.exe program in their tree that they wouldn't want configure to overwrite/remove. Maybe we should just rule the user shouldn't have a program named `a' and be d

Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)

2000-12-14 Thread Alexandre Oliva
let them receive our signal: we are > setting a standard they have to follow :) This doesn't fit in very well with autoconf's standards :-) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, re

Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)

2000-12-13 Thread Alexandre Oliva
a patch for GCC that fixed the extension conventions, but it can't be applied because it breaks the build because of autoconf-related issues. Catch 22 :-( I guess we'll have to retain the host checking of Cygwin, Mingw and OS2 and explicitly set EXEEXT to .exe if host is any of these

Re: AC_CYGWIN etc. (Was: AC_OBJEXT again)

2000-12-13 Thread Alexandre Oliva
macro. Since it's supplied only for backware-compatibility issues, and its use is strongly discouraged, I think we can go with that. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com

Re: OBJ and EXE and cross-compilation (Was: AC_OBJEXT again)

2000-12-12 Thread Alexandre Oliva
On Dec 12, 2000, Earnie Boyd <[EMAIL PROTECTED]> wrote: > --- Alexandre Oliva <[EMAIL PROTECTED]> wrote: >> On Dec 12, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: >> >> > I guess the question is, should we try to compile something and the >> &g

Re: OBJ and EXE and cross-compilation (Was: AC_OBJEXT again)

2000-12-12 Thread Alexandre Oliva
x27;t it tell cygwin from mingw? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: AC_OBJEXT again

2000-12-12 Thread Alexandre Oliva
ut or a.exe, which is out of autoconf's file namespace. > There remains just one question: what shall we do out of AC_CYGWIN etc. > simply AU define them as [...] Yep. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer ao

Re: AC_OBJEXT again

2000-12-12 Thread Alexandre Oliva
ns used by the compiler. Fine. Yep. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: AC_OBJEXT again

2000-12-12 Thread Alexandre Oliva
oss-compilers, so this point is moot. > Why isn't `install' which takes care of this on the *host* machine? Because install isn't part of a cross-build environment, so it knows only about the build machine, not the host machine? -- Alexandre Oliva Enjoy Guarana',

Re: AC_OBJEXT again

2000-12-12 Thread Alexandre Oliva
On Dec 12, 2000, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > Akim Demaille writes: >> * host or build characteristic? > It's neither, nor should it matter. It's a feature of the compiler. I wholeheartedly agree. -- Alexandre Oliva Enjoy Guarana', see htt

Re: AC_OBJEXT again

2000-12-08 Thread Alexandre Oliva
t; That's what I call a build characteristic. Wrong. The compiler is supposed to follow conventions of the host, not of the build machine. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS

Re: config.guess Linux overhaul

2000-12-06 Thread Alexandre Oliva
7; on GNU/Linux, at least for the architecture. WRT object file format and C library version, is there any reason why testing for __ELF__ and __GLIBC__ isn't enough? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cyg

Re: Call for testing CVS Autoconf

2000-11-30 Thread Alexandre Oliva
On Nov 30, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > | +./configure: 24794 Alarm call > This is why it failed: the shell complains of the signal it received. > I don't know how to address this issue. `grep -v "Alarm call"' before comparing the o

Re: More on fopen() problem on Cygwin

2000-11-30 Thread Alexandre Oliva
On Nov 29, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > * aclang.m4 (AC_LANG_INT_SAVE): Don't add any trailing new line, > and close the file. Ok -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer

Re: tips for configuring in the source directory?

2000-11-28 Thread Alexandre Oliva
ir}/../.. fi`) (note that this is similar to the sample snippet in config-ml.in about how to add it to configure.in, but there's one additional `..' in each set, because libsupc++ is a sub-directory of libstdc++-v3) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~o

Re: Problem with latest CVS autoconf

2000-11-28 Thread Alexandre Oliva
ION, 2.49b) >> > >> > gmake[1]: *** [autoconf.m4f] Error 1 >> >> I could not reproduce the problem on RedHat Linux 6.2. Give us more >> information about the OS you are using and the commands you are running. > My bad - sorry. Solaris 2.8. Which version

Re: Putting exact text in a define

2000-11-27 Thread Alexandre Oliva
hing alike in the autoconf macro archive. http://research.cys.de/autoconf-archive/ -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} F

Re: generic argument

2000-11-24 Thread Alexandre Oliva
On Nov 23, 2000, Johan Rydberg <[EMAIL PROTECTED]> wrote: > Is it posible to add an generic argument (not an --enable-* or > --with-* argument) to the configure script? Nope. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red

Re: Where did the Cygwin and Mingw checks go?

2000-11-22 Thread Alexandre Oliva
On Nov 20, 2000, Ralf Corsepius <[EMAIL PROTECTED]> wrote: >> I suppose a compiler that targets Cygwin will create .obj object files >> regardless of its host platform. > Hmm, I don't think so. I stand corrected. Anyone can tell I keep off MS-Windows as much as p

Re: Where did the Cygwin and Mingw checks go?

2000-11-18 Thread Alexandre Oliva
gardless of its host platform. I.e., when using a Cygwin compiler (such that --host=cygwin), you'd get OBJEXT=.obj, regardless of the build platform, on which the compiler runs. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer

Re: autoconf 2.49 on UNICOS

2000-11-18 Thread Alexandre Oliva
f char charchar[2]'? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: Where did the Cygwin and Mingw checks go?

2000-11-18 Thread Alexandre Oliva
On Nov 17, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > I always assumed that EXEEXT and OBJEXT were based on the > host. After all, they should depend on the output of the compiler, > right? Agreed. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br

Re: Portability of fopen (foo, "wb") (Was: bug in AC_COMPUTE_INT)

2000-11-16 Thread Alexandre Oliva
On Nov 16, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > Does anybody know whether using fopen (foo, "wb") is portable? I recall having read about it in ``The C Primer'', when I first learned C back in 198x (for a small value of x). -- Alexandre Oli

Re: ${var="$val" } and Ultrix (Was: Success (mostly) with the testsuite)

2000-11-15 Thread Alexandre Oliva
On Nov 14, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Nov 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >>> My bet is that IFS splitting is not p

Re: ${var="$val" } and Ultrix (Was: Success (mostly) with the testsuite)

2000-11-11 Thread Alexandre Oliva
27;s no difference between the quoted and unquoted versions. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Eva

Re: AS_DIRNAME and expr

2000-11-10 Thread Alexandre Oliva
length. I'm inclined to think we should support prefixes as long as the user wants, unless we have a very good reason not to do so. I mean, it's not like it would be too costly to add a sed-based fallback here. Or would it? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unic

Re: autoconf option fun

2000-11-10 Thread Alexandre Oliva
On Nov 9, 2000, Pavel Roskin <[EMAIL PROTECTED]> wrote: > Hello, Peter! >> Exactly where do the GNU standards say anything about long option >> abbreviation? > Well, whenever I don't check something I'm punished for that :-) Oops. Ditto :-) -- Alexandr

Re: [autoconf] hacking with config.status

2000-11-08 Thread Alexandre Oliva
On Nov 8, 2000, Benoit Hudson <[EMAIL PROTECTED]> wrote: > Where in autoconf would I look to do this consistently? In the autoconf CVS tree. I believe both issues have already been addressed :-) -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat

Re: autoconf option fun

2000-11-07 Thread Alexandre Oliva
> additional tedious maintenance nightmare. Agreed. But beware that this decision goes against the GNU Coding Standards. I guess we should have an m4sh (or m4sugar?) macro to expand: m4_case_longopt([foo]) to --foo | --fo | --f and m4_case_longoptarg([foo]) to --foo=* | --fo=* | --f=* --

Re: ac_cv_prog_gcc

2000-11-07 Thread Alexandre Oliva
g_gxx, ac_cv_prog_g77): >> Be AU_DEFUN'd, not AU_ALIAS'd. > I'm afraid you are fixing the symptoms, not the cause. I agree. When $# is 0, we shouldn't add parentheses. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer

Re: Forbidden strings

2000-11-06 Thread Alexandre Oliva
On Nov 6, 2000, Earnie Boyd <[EMAIL PROTECTED]> wrote: > Why not just prefix the reserved autoconf variables with a `_' > character? autoconf used to use just AC_/ac_. Now, it's claiming ownership of all of A?_. That looks a little bit exagerated to me. -- Alexandre

Re: Raw Arguments - last call for comment

2000-11-03 Thread Alexandre Oliva
ffi, available at sources.redhat.com -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write

Re: Forbidden strings

2000-11-03 Thread Alexandre Oliva
On Nov 3, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >>> What should we do? Pavel> Return to A[CHMSTU] Agreed. > I'd rather take almost the full range and except AR if we need to. I'd prefer that the maintainers of autoconf weren't so greedy abo

Re: [Fwd: More APR fun (was Re: undefined reference to `pthread_mutexattr_init' in apr?)]

2000-10-30 Thread Alexandre Oliva
ing for pthreads.h (search in configure.in, acinclude.m4 and aclocal.m4) and add an `echo $CC' around that, to tell whether -pthread has been added to CC. > So the point: [end of message] I see. Problem solved :-) :-) -- Alexandre Oliva Enjoy Guarana', see http://www.i

Re: Success (mostly) with the testsuite

2000-10-27 Thread Alexandre Oliva
27;, I get the expected output. > default="a b c" > : list1=${list1=$default} > : list2=${list2="$default"} > echo "$list1" | cat -v > echo "$list2" | cat -v This works on Ultrix both with and without `:'. -- Alexandre Oliva

Re: Why is srcdir passed as .

2000-10-26 Thread Alexandre Oliva
I remove the special case for '.' then it > still works with no modification to the subpackages configuration > scripts. Try `cd build; ../configure' after removing the `.' special case and note that it won't work. You're just barking up the wrong tree. -- Al

Re: Why is srcdir passed as .

2000-10-26 Thread Alexandre Oliva
On Oct 26, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > They will want to run: > ./configure ; make install > and expect it to work, and why shouldn't they? Works for me. When doesn't it work for you? Did you read my other message in this thread? -- Alexandre Ol

Re: Success (mostly) with the testsuite

2000-10-26 Thread Alexandre Oliva
{Two} + echo {lines} {lines} -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to m

Re: Success (mostly) with the testsuite

2000-10-26 Thread Alexandre Oliva
;ve been unable to log into it yet. I'm looking into it. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software

Re: Success (mostly) with the testsuite

2000-10-26 Thread Alexandre Oliva
On Oct 26, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > Yep, I did. I think we are going to drop the `expr' branch. Yep. We've had too much trouble with `expr' so far. Maybe we could test whether `expr' works for us, and set `expr=false' if it doesn&#

Re: Why is srcdir passed as .

2000-10-26 Thread Alexandre Oliva
level directory, you'd have to adjust every sub-package so as to ``know'' it's been packaged differently. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC

Re: Success (mostly) with the testsuite

2000-10-26 Thread Alexandre Oliva
inglequote upfront, and use it in error messages instead? > Maybe we should go to using `read' What do you mean? In what sense would this help? > Is xargs portable? Nope. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer

Re: Adding new machines to config.sub

2000-10-26 Thread Alexandre Oliva
> See the module `config' on subversions.gnu.org ... or get the latest version from ftp://ftp.gnu.org/pub/gnu/config/ -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-U

Re: Success (mostly) with the testsuite

2000-10-26 Thread Alexandre Oliva
le> I had no problem until now. I hadn't compiled textutils until Daniele> 20 minutes ago, but now I did and it all went smoothly. > That's a clear sign we have to maintain your architecture alive :) Yup -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.b

Re: autoconf compliance

2000-10-24 Thread Alexandre Oliva
ising, since it's just a set of shell-scripts and m4 macros. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Sof

Re: FreeBSD and QNX - first results

2000-10-24 Thread Alexandre Oliva
g other sed's Good point. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: No, I *don't* HAVE_IO_H!

2000-10-24 Thread Alexandre Oliva
On Oct 23, 2000, David Andrew Michael Noelle <[EMAIL PROTECTED]> wrote: > Can anyone tell me what might cause this? A config.cache or config.site that incorrectly sets cache variables. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat

Re: Success (mostly) with the testsuite

2000-10-22 Thread Alexandre Oliva
On Oct 20, 2000, David Morgan <[EMAIL PROTECTED]> wrote: >> test s${CONFIG_FILES+et} = set || CONFIG_FILES=$config_files >> > This works How about: CONFIG_FILES=${CONFIG_FILES-$config_files} ? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unic

Re: Fwd: Re: modlogan once more

2000-10-18 Thread Alexandre Oliva
On Oct 18, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > * acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work, > fall back to `cp'. Ok -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer

Re: Success (mostly) with the testsuite

2000-10-13 Thread Alexandre Oliva
e is precisely to detect this kind of problem. Might I ask you to please investigate why it gets in an infinite loop? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at I

Re: AC_PROG_CC not working

2000-10-09 Thread Alexandre Oliva
ou think it would be to allow for AC_REQUIRE to accept arguments for the macro to be called? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.

Re: bug report

2000-10-05 Thread Alexandre Oliva
[AC_TRY_COMPILE([#include ], [toto()], TOTO=true, TOTO=false)]) ^ ^ -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD stud

Re: Checking for global variables

2000-10-05 Thread Alexandre Oliva
ght be a macro able to do what you want. The problem is that you'd have to supply the right type for the variable, and any headers required to declare the types (and maybe the variable itself), so it's not too much different from using AC_TRY_LINK directly. -- Alexandre Oliva Enjoy Gua

Re: Files on host vs build

2000-10-04 Thread Alexandre Oliva
r this problem is to have both VAR_FOR_HOST and VAR_FOR_BUILD, instead of just VAR. When not cross-compiling, both would default from just VAR, if VAR is set, but for programs that support cross-compilation, this distinction is important, and AC_PATH_PROG just isn't enough :-( -- Alexandre Ol

Re: AC_CHECK_FILE and cross-compilation

2000-10-04 Thread Alexandre Oliva
CK_FILE to get rid of the warning, without understanding the real consequences of doing it. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unic

Re: [PATCH] Serious problem with Autoconf on RedHat 7

2000-10-03 Thread Alexandre Oliva
ompiler happens to just use the stdlib.h offered by the OS? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: [PATCH] Serious problem with Autoconf on RedHat 7

2000-10-03 Thread Alexandre Oliva
extern "C" void exit (int); #endif #include The first program we'd attempt to compile would determine wehther CXX_NEEDS_EXIT_DECL, and #define it in confdefs.h, so that further compilations would be able to tell whether to declare it or not. -- Alexandre Oliva Enjoy Guarana',

Libtool update (checking in)

2000-09-29 Thread Alexandre Oliva
run configure again. Thanks to David Taylor <[EMAIL PROTECTED]> for reporting the problem! -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me

Re: [patch] autoconf.sh

2000-09-27 Thread Alexandre Oliva
-9]*($pattern)[_A-Za-z0-9]*)/) ^^^ I don't think we can start macro names with digits. How about: - match (\$0, /($pattern)[_A-Za-z0-9]*/) + match (\$0, /([_A-Za-z][_A-Za-z0-9]*($pattern)[_A-Za-z0-9]*)/) ? -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unica

[Autoconf] Re: [autoconf-patches] _AC_OUTPUT_SUBDIRS: check for configure.gnu as well

2000-09-15 Thread Alexandre Oliva
for configure.gnu. * doc/autoconf.texi: Document checking for configure.gnu when recursing subdirectories. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Uni

<    1   2   3   4   5   6   >