diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2015-02-03 14:26:58 -0800 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-02-06 15:52:50 -0800 |
| commit | 371a9e0aefcc2bdef9c044a59d613ce6c175ed73 (patch) | |
| tree | fd49a71a50ecd5ffaa63450a32bbb6246aa6d618 /tests/cpp-compile-test.cpp | |
| parent | tests: Fix FAIL in sanity-test (*timeout*) when Yama LSM enabled (diff) | |
| download | wayland-371a9e0aefcc2bdef9c044a59d613ce6c175ed73.tar wayland-371a9e0aefcc2bdef9c044a59d613ce6c175ed73.tar.gz wayland-371a9e0aefcc2bdef9c044a59d613ce6c175ed73.tar.bz2 wayland-371a9e0aefcc2bdef9c044a59d613ce6c175ed73.tar.lz wayland-371a9e0aefcc2bdef9c044a59d613ce6c175ed73.tar.xz wayland-371a9e0aefcc2bdef9c044a59d613ce6c175ed73.tar.zst wayland-371a9e0aefcc2bdef9c044a59d613ce6c175ed73.zip | |
configure.ac: Fallback to older detection code if pkg-config can't find expat
This paritally reverts commit a4afd90f9f0c27ed5f3f313b915c260673f8be34.
On older expat versions (ie the one on Ubuntu 12.04) there is no pkg-config
file, so fall back to a test for the header and library. In addition the
source for expat does not seem to be in a git repository but in cvs instead
and it seems preferrable to not require cvs to build wayland.
The restored test has been updated to use AC_SEARCH_LIBS. This version
uses empty square brackets for the unused branches, similar to many other
if statements in configure.ac.
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Andrew Oakley <aoakley@espial.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
