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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <02b901c0ad61$e69fd000$0200a8c0@lifelesswks> From: "Robert Collins" To: "Akim Demaille" Cc: , References: <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks><022001c0accf$29b724d0$0200a8c0 AT lifelesswks><007f01c0ad2e$f3dc5d20$0200a8c0 AT lifelesswks><00a301c0ad32$57ad0220$0200a8c0 AT lifelesswks><00c801c0ad36$01ec3370$0200a8c0 AT lifelesswks><011a01c0ad41$c0fbc9a0$0200a8c0 AT lifelesswks><01b801c0ad4b$9b2f1380$0200a8c0 AT lifelesswks><01c401c0ad4c$7e469ad0$0200a8c0 AT lifelesswks><000001c0ad53$b37dc9b0$9865fea9 AT edward> <3AB0C6A2 DOT 8AFE126C AT yahoo DOT com><023d01c0ad57$68af41d0$0200a8c0 AT lifelesswks><026c01c0ad5b$4a2a76e0$0200a8c0 AT lifelesswks><029701c0ad60$66becd60$0200a8c0 AT lifelesswks> Subject: Re: win32 compiler test V3a Date: Fri, 16 Mar 2001 02:09:09 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: "Robert Collins" Cc: ; 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