> > So you want 'AC_REQUIRE([AC_PROG_CXX])'; in order to look only for
> > certain compilers, simply place the 'AC_PROG_CXX(CC g++ gcc)' call
> > before the AC_REQUIRE'ing macro in configure.ac.
> 
> The problem is that I'm not sure that  the proper 
> AC_PROG_CXX(CC g++ gcc)
> will be called from configure.ac.  The AC_REQUIRE'ing macro is being
> used in a developer environment (with developers that are 
> just  learning to use
> autoconf).

You might get away with putting

CXX=
AC_PROG_CXX(CC g++ gcc)

in your macro.
But that does make it impossible for users to override the choice
of compiler by setting CXX, which is probably not a good thing.


Reply via email to