[libinput] AC_PROG_CXX missing in libinput/configure.ac

William Di Luigi williamdiluigi at gmail.com
Sat Mar 29 06:23:52 PDT 2014


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.

William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140329/81cc39c5/attachment.html>


More information about the wayland-devel mailing list