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

2000-10-03 Thread Akim Demaille
| 2000-10-02 Morten Eriksen <[EMAIL PROTECTED]> | | * aclang.m4 (AC_LANG_SOURCE(C++)): don't define exit(), it'll | mismatch with the native exit() definition on some platforms | (happens at least with g++ 2.96 and glibc 2.1.92 on Red Hat Linux | v7). | | Index:

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

2000-10-03 Thread Morten Eriksen
Akim Demaille <[EMAIL PROTECTED]> writes: > | Index: aclang.m4 > | === > | RCS file: /cvs/autoconf/aclang.m4,v > | retrieving revision 1.68 > | diff -u -r1.68 aclang.m4 > | --- aclang.m4 2000/10/02 13:11:28 1.68 > | +++ acl

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

2000-10-03 Thread Lars J. Aas
On Tue, Oct 03, 2000 at 01:04:12PM +0200, Morten Eriksen wrote: : Akim Demaille <[EMAIL PROTECTED]> writes: : > | define([AC_LANG_SOURCE(C++)], : > | [#line __oline__ "configure" : > | #include "confdefs.h" : > | -#ifdef __cplusplus : > | -extern "C" void exit (int); : > | -#endif : > | $1]) :

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

2000-10-03 Thread Akim Demaille
| On Tue, Oct 03, 2000 at 01:04:12PM +0200, Morten Eriksen wrote: | : Akim Demaille <[EMAIL PROTECTED]> writes: | : > | define([AC_LANG_SOURCE(C++)], | : > | [#line __oline__ "configure" | : > | #include "confdefs.h" | : > | -#ifdef __cplusplus | : > | -extern "C" void exit (int); | : > | -#en

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

2000-10-03 Thread Akim Demaille
| Akim Demaille <[EMAIL PROTECTED]> writes: | > | Index: aclang.m4 | > | === | > | RCS file: /cvs/autoconf/aclang.m4,v | > | retrieving revision 1.68 | > | diff -u -r1.68 aclang.m4 | > | --- aclang.m4 2000/10/02 13:11:28 1.68

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

2000-10-03 Thread Alexandre Oliva
On Oct 2, 2000, Morten Eriksen <[EMAIL PROTECTED]> wrote: > * aclang.m4 (AC_LANG_SOURCE(C++)): don't define exit(), it'll > mismatch with the native exit() definition on some platforms > (happens at least with g++ 2.96 and glibc 2.1.92 on Red Hat Linux > v7). The problem

Patch for autoconfig-2.13: AC_TRY_COMPILE plus F77.

2000-10-03 Thread Wolfgang Glas
I'm using autoconfig-2.13 at an IRIX6.5 workstation using gcc-2.95.2. I recognized, that AC_TRY_COMPILE doesn't run with f77 programs, because the conftest.f program, which is implicitly created by the shell script with cat > conftest.f << EOF program main endEOF contains mor th

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

2000-10-03 Thread Bernard Dautrevaux
> -Original Message- > From: Alexandre Oliva [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 03, 2000 2:34 PM > To: Morten Eriksen > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PATCH] Serious problem with Autoconf on RedHat 7 > > > On Oct 2, 2000, Morten Eriksen <[EMAIL

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

2000-10-03 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Oct 2, 2000, Morten Eriksen <[EMAIL PROTECTED]> wrote: >> * aclang.m4 (AC_LANG_SOURCE(C++)): don't define exit(), it'll >> mismatch with the native exit() definition on some platforms >> (happens at least with g++ 2.96

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

2000-10-03 Thread Alexandre Oliva
On Oct 3, 2000, Bernard Dautrevaux <[EMAIL PROTECTED]> wrote: > Anyway, this test should be a standard C++ test, defining > CXX_NEEDS_EXIT_DECL in config.h, so that I can test it in my own programs; > for now I've always assumed "exit()" to be available after #including > and if you're right I

Re: Patch for autoconfig-2.13: AC_TRY_COMPILE plus F77.

2000-10-03 Thread Pavel Roskin
Hello, Wolfgang! > cat > conftest.f << EOF > program main > > endEOF The Fortran 77 support has been rewritten in the CVS version of Autoconf. I couldn't reproduce your problem. "end" is always followed by a newline in the configure scripts. > I'd appreciate, if you checked in

AC_CHECK_FILE and cross-compilation

2000-10-03 Thread Peter Eisentraut
Why can't I use AC_CHECK_FILE when cross-compiling? If I need to look for a file that is used during the build then that has nothing to do with what the compiler does. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/