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



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


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