This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: win32 compiler test V3a





----- Original Message -----
From: "Akim Demaille" <akim@epita.fr>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin-apps@sources.redhat.com>; <autoconf@gnu.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.

Rob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]