[libinput] AC_PROG_CXX missing in libinput/configure.ac

Jonas Ådahl jadahl at gmail.com
Sat Mar 29 06:44:13 PDT 2014


On Sat, Mar 29, 2014 at 02:23:52PM +0100, William Di Luigi wrote:
> On Sat, Mar 29, 2014 at 1:59 PM, Jonas Ådahl <jadahl at gmail.com> wrote:
> 
> > On Sat, Mar 29, 2014 at 12:59:18PM +0100, William Di Luigi wrote:
> > > Currently in libinput/configure.ac there are these lines:
> > >
> > > # Check for programs
> > > AC_PROG_CC_C99
> > >
> > > In order to make the configure phase of jhbuild work, they should become:
> > >
> > > # Check for programs
> > > AC_PROG_CC_C99
> > > AC_PROG_CXX
> >
> > AC_PROG_CXX should only be needed if tests are built, and its checked
> > only in that case here[0]. Is that not working for you?
> >
> > [0] http://cgit.freedesktop.org/wayland/libinput/tree/configure.ac#n79
> >
> 
> That won't work, if tests are disabled: automake sees that c++ is available
> through the trace, and assumes the macro is called unconditionally, so if
> one does not enable tests the build fails.

Ah, thats unfortunate. I pushed a commit that unconditionally invokes
A_PROG_CXX now. Thanks for the report.

Jonas

> 
> William


More information about the wayland-devel mailing list