ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/15/18:19:38

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: <027401c0ada3$bb7845f0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin-apps AT sources DOT redhat DOT com>
Cc: "Akim Demaille" <akim AT epita DOT fr>, <autoconf AT gnu DOT org>
References: <035401c0ac91$3ba21fd0$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><02b901c0ad61$e69fd000$0200a8c0 AT lifelesswks> <mv4itlb11vc DOT fsf AT nostromo DOT lrde DOT epita DOT fr> <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
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" <earnie_boyd AT yahoo DOT com>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
Cc: "Akim Demaille" <akim AT epita DOT fr>; <cygwin-apps AT sources DOT redhat DOT com>;
<autoconf AT gnu DOT org>
Sent: Friday, March 16, 2001 9:20 AM
Subject: Re: win32 compiler test V3a


> Robert Collins wrote:
> >
> > ----- 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: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




- Raw text -


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