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: <027401c0ada3$bb7845f0$0200a8c0@lifelesswks> From: "Robert Collins" To: Cc: "Akim Demaille" , References: <035401c0ac91$3ba21fd0$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><02b901c0ad61$e69fd000$0200a8c0 AT lifelesswks> <002401c0ad9b$e3526d60$0200a8c0 AT lifelesswks> <3AB14033 DOT 1FFE5CE0 AT yahoo DOT com> Subject: Re: win32 compiler test V3a Date: Fri, 16 Mar 2001 10:00:27 +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 22:54:38.0150 (UTC) FILETIME=[E9946E60:01C0ADA2] ----- Original Message ----- From: "Earnie Boyd" To: "Robert Collins" Cc: "Akim Demaille" ; ; Sent: Friday, March 16, 2001 9:20 AM Subject: Re: win32 compiler test V3a > Robert Collins wrote: > > > > ----- Original Message ----- > > From: "Akim Demaille" > > To: "Robert Collins" > > Cc: ; > > Sent: Friday, March 16, 2001 2:35 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 fine for me. > > > > > > /tmp % cat configure.ac > > nostromo Err 1 > > > AC_INIT > > > 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)]) > > > /tmp % ace > > nostromo 16:35 > > > autoconf: warning: both `configure.ac' and `configure.in' are present. > > > autoconf: warning: proceeding with `configure.ac'. > > > configure.ac:6: error: NIah? Never heard of C > > > configure.ac:6: the top level > > > > > > > It must have been a side effect of one of the other syntax errors. I > > just retired and it works now. > > > > Well hopefully retiring isn't what made it work. I want to be lazy when > I retire. ;^) > > LOL, > Earnie. > Grin. And to make it worse, I just found out that I "retired" early! anyone care to try this? administrator AT LIFELESSWKS /usr/src/threadtestb $ aclocal && autoconf configure:1206: error: undefined macro: AC_FATAL configure:1206: error: undefined macro: _AC_LANG administrator AT LIFELESSWKS /usr/src/threadtestb $ cat ./acinclude.m4 AC_DEFUN([AC_PROG_CXX_WIN32], [ AC_REQUIRE([AC_PROG_CXX])dnl ]) AC_DEFUN([AC_API_WIN32], [ dnl high level interface for finding out compiler support for win32. AC_LANG_CASE( dnl [C], [CFLAGS="$WIN32FLAGS $CFLAGS" dnl CPPFLAGS="$WIN32FLAGS $CPPFLAGS"], [C++], AC_PROG_CXX_WIN32 [CXXFLAGS="$WIN32FLAGS $CXXFLAGS" CPPFLAGS="$WIN32FLAGS $CPPFLAGS"], [AC_FATAL([No macro support for WIN32 with ] _AC_LANG) ]) ]) administrator AT LIFELESSWKS /usr/src/threadtestb $ cat configure.in AC_INIT AC_API_WIN32 administrator AT LIFELESSWKS /usr/src/threadtestb $ aclocal && autoconf configure:1206: error: undefined macro: AC_FATAL configure:1206: error: undefined macro: _AC_LANG Which is the error I eas seeing before.. Rob