delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/15/11:02:23

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <02b901c0ad61$e69fd000$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Akim Demaille" <akim AT epita DOT fr>
Cc: <cygwin-apps AT sources DOT redhat DOT com>, <autoconf AT gnu DOT org>
References: <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks><022001c0accf$29b724d0$0200a8c0 AT lifelesswks><orelvz60mr DOT fsf AT guarana DOT lsd DOT ic DOT unicamp DOT br><007f01c0ad2e$f3dc5d20$0200a8c0 AT lifelesswks><00a301c0ad32$57ad0220$0200a8c0 AT lifelesswks><mv4elvz5pma DOT fsf AT nostromo DOT lrde DOT epita DOT fr><00c801c0ad36$01ec3370$0200a8c0 AT lifelesswks><mv466hb5ohw DOT fsf AT nostromo DOT lrde DOT epita DOT fr><011a01c0ad41$c0fbc9a0$0200a8c0 AT lifelesswks><mv4snkf43ot DOT fsf AT nostromo DOT lrde DOT epita DOT fr><01b801c0ad4b$9b2f1380$0200a8c0 AT lifelesswks><mv4k85r42vu DOT fsf AT nostromo DOT lrde DOT epita DOT fr><01c401c0ad4c$7e469ad0$0200a8c0 AT lifelesswks><mv4bsr341z1 DOT fsf AT nostromo DOT lrde DOT epita DOT fr><000001c0ad53$b37dc9b0$9865fea9 AT edward> <3AB0C6A2 DOT 8AFE126C AT yahoo DOT com><023d01c0ad57$68af41d0$0200a8c0 AT lifelesswks><026c01c0ad5b$4a2a76e0$0200a8c0 AT lifelesswks><mv4zoen1456 DOT fsf AT nostromo DOT lrde DOT epita DOT fr><029701c0ad60$66becd60$0200a8c0 AT lifelesswks> <mv4n1an12rz DOT fsf AT nostromo DOT lrde DOT epita DOT fr>
Subject: Re: win32 compiler test V3a
Date: Fri, 16 Mar 2001 02:09:09 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 15 Mar 2001 15:03:22.0441 (UTC) FILETIME=[13F1A390:01C0AD61]


----- Original Message -----
From: "Akim Demaille" <akim AT epita DOT fr>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
Cc: <cygwin-apps AT sources DOT redhat DOT com>; <autoconf AT gnu DOT org>
Sent: Friday, March 16, 2001 2:16 AM
Subject: Re: win32 compiler test V3a


>
> | > | 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 a certain
> | amount, or use heirarchical indenting on them..
>
> See the documentation.
>
> #if
> # if
> ...
> # else
> ...
> # fi
> #else
> #fi
>
> | I had a problem with _AC_LANG not being found by autoconf with your
> | suggested code. In fact I'm not sure that $_AC_LANG will be found
> | either.
>
> What code, how did you write it?
>
> /tmp % cat configure.ac
nostromo Err 1
> AC_DEFUN([Rob],
> [AC_LANG([$1])
> AC_LANG_CASE([C], [# Nada],
>              [C++], [# Niente],
>              [AC_FATAL([no support for: ]_AC_LANG)])])
>
> AC_INIT
> Rob([C])
> Rob([C++])
> Rob([Fortran 77])
> /tmp % ace
nostromo 16:15
> autoconf: warning: both `configure.ac' and `configure.in' are present.
> autoconf: warning: proceeding with `configure.ac'.
> configure.ac:10: error: no support for: Fortran 77
> configure.ac:5: Rob is expanded from...
> configure.ac:5: Rob is expanded from...
> configure.ac:5: Rob is expanded from...
> configure.ac:10: the top level
>


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)])
--
I'll try this tomorrow.. thanks for the great help - I'm off to get some
sleep.

Rob

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019