NO_X11 ends being defined when cross-compiling to x86, breaking build

NEW
Unassigned

Status

()

Core
Build Config
4 years ago
2 years ago

People

(Reporter: cjones, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

On Fedora 19 x86-64, cross-compiling to x86.  configure succeeds, but linking fails with

/home/cjones/rr/mozilla-central/dom/plugins/test/testplugin/nptest_gtk2.cpp:111: error: undefined reference to 'XGetWindowAttributes'
[...etc...]

It turns out that -DNO_X11=1 is being set in autoconf.mk, which has the build not link agains -lX11, which provides these symbols.

So it appears that we're erroenously falling back on NO_X11=1, when instead we should have fail-stopped.
You need to log in before you can comment on or make changes to this bug.