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
| 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
> "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.
- 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
| > | 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
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
- 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
>
> | >
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
- 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_
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
- 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
| 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?
;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?
>
> "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], [
- 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
> >>>
> "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.
16 matches
Mail list logo