[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_CXX warning
From: |
Tim Van Holder |
Subject: |
Re: AC_PROG_CXX warning |
Date: |
Tue, 18 Sep 2001 11:49:22 +0200 |
> > 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.