win32 compiler test V3a

2001-03-15 Thread Robert Collins
Hopefully this is it (barring a rename on the high level interface. I missed the CPPFLAGS in the last version.. If you're code is portable this is effective with a simple AC_API_WIN32 Rob acinclude.m4

Re: win32 compiler test V3a

2001-03-15 Thread Akim Demaille
| Hopefully this is it (barring a rename on the high level interface. | I missed the CPPFLAGS in the last version.. | If you're code is portable this is effective with a simple | AC_API_WIN32 You should really read the CVS Autoconf documentation. Your quotation is dangerous at some points, and

Re: win32 compiler test V3a

2001-03-15 Thread Akim Demaille
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> And in fact, just factor AC_PROG_CXX_WIN32 as an AC_REQUIRE of Akim> this macros. Irrelevant, I had not paid attention, and missed the fact there were two different macro invocations.

Re: win32 compiler test V3a

2001-03-15 Thread Robert Collins
- Original Message - From: "Akim Demaille" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 1:46 AM Subject: Re: win32 compiler test V3a > > | Hopefu

Re: win32 compiler test V3a

2001-03-15 Thread Akim Demaille
| > | AC_REQUIRE([AC_PROG_CC]) | > | > dnl at the end | | what do you mean by this? AC_REQUIRE([AC_PROG_CC])dnl | The curse of reading other peoples code : I got this from a | /usr/share/aclocal/ routine Send fixes to the authors :) | I'm not quite sure whether you meant indent all of them

Re: win32 compiler test V3a

2001-03-15 Thread Thomas E. Dickey
On Fri, 16 Mar 2001, Robert Collins wrote: > The curse of reading other peoples code : I got this from a > /usr/share/aclocal/ routine > > > > > | WIN32FLAGS= > > | AC_TRY_COMPILE(,[#ifndef WIN32 > > | #ifndef _WIN32 > > | #error WIN32 or _WIN32 not defined > > | #endif > > | #endif], > > > > #e

Re: win32 compiler test V3a

2001-03-15 Thread Robert Collins
- Original Message - From: "Akim Demaille" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 2:16 AM Subject: Re: win32 compiler test V3a > > | >

Re: win32 compiler test V3a

2001-03-15 Thread Akim Demaille
AC_LANG_CASE( dnl[C], AC_PROG_CC_WIN32 [CFLAGS="$CFLAGS $WIN32FLAGS], dnl [C++],[CXXFLAGS="$CXXFLAGS $WIN32FLAGS], dnl [Fortran 77], [FFLAGS="$FFLAGS $WIN32FLAGS], [AC_FATAL([NIah? Never heard of] _AC_LANG)]) What problem do you have? It works

Re: win32 compiler test V3a

2001-03-15 Thread Robert Collins
- Original Message - From: "Akim Demaille" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 2:35 AM Subject: Re: win32 compiler test V3a > > AC_

Re: win32 compiler test V3a

2001-03-15 Thread Earnie Boyd
Robert Collins wrote: > > - Original Message - > From: "Akim Demaille" <[EMAIL PROTECTED]> > To: "Robert Collins" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, March 16, 2001 2:35 AM

Re: win32 compiler test V3a

2001-03-15 Thread Robert Collins
- Original Message - From: "Earnie Boyd" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: "Akim Demaille" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 9:20 AM S

Re: win32 compiler test V3a

2001-03-16 Thread Akim Demaille
| Which is the error I eas seeing before.. Without the sources we can't do anything for you but asking a stupid question: what version of Autoconf are you using?

Re: win32 compiler test V3a

2001-03-16 Thread Robert Collins
;Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 8:28 PM Subject: Re: win32 compiler test V3a > > | Which is the error I eas seeing before.. > > Without the sources we can't do anything for you but asking a stupid > question: what version of Autoconf are you using? >

Re: win32 compiler test V3a

2001-03-16 Thread Akim Demaille
> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes: Robert> I cat'd the sources so you could see... (One coffee later). Well, I reread your previous message, and indeed _now_ there are sources in there. How did you do that? :) | $ cat ./acinclude.m4 | AC_DEFUN([AC_PROG_CXX_WIN32], [

Re: win32 compiler test V3a

2001-03-16 Thread Robert Collins
- Original Message - From: "Akim Demaille" <[EMAIL PROTECTED]> To: "Robert Collins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 8:40 PM Subject: Re: win32 compiler test V3a > >>>

Re: win32 compiler test V3a

2001-03-16 Thread Akim Demaille
> "Robert" == Robert Collins <[EMAIL PROTECTED]> writes: Robert> That works. I take it that putting the [ around the Robert> AC_PROG_CXX_WIN32 is ok? No, it is mandatory. Actually that was the meaning of my `quote' comments in your first draft. Read the CVS Autoconf doc about quotation.