delorie.com/archives/browse.cgi | search |
>>>>> "Robert" == Robert Collins <robert DOT collins AT itdomain DOT com DOT au> writes: Robert> I cat'd the sources so you could see... (One coffee later). Well, I reread your previous message, and indeed _now_ there are sources in there. How did you do that? :) | $ 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 Try this: AC_DEFUN([AC_PROG_CXX_WIN32], [AC_REQUIRE([AC_PROG_CXX])]) # High level interface for finding out compiler support for win32. AC_DEFUN([AC_API_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) ]) ])
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |