]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
configure.ac: fix cross-compilation without dejavu 263/head
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 13 Jul 2020 21:02:50 +0000 (23:02 +0200)
committerFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 14 Jul 2020 09:50:18 +0000 (11:50 +0200)
commit6ad1ed8b7939bf75079b0a770e234bfee7d33dbb
tree8b483e0913d5b0322fd6478dd8c60d15cf3d78d6
parentdde2c61f5b8942fe73900f55af8590d9b43b313d
configure.ac: fix cross-compilation without dejavu

Cross-compilation is broken since commit 1d66106. Indeed, when
cross-compiling, dejavu font won't be installed in /usr/share/fonts. The
path (e.g. $(TARGET_DIR)/usr/share/fonts/dejavu/DejaVuSans.ttf) could be
provided through --with-test-font-path which will fix the build failure
but will result in broken test programs.

So when cross-compiling don't try to check if the test-font-path is
valid or not and just use the one provided by the user or the default
one (e.g. /usr/share/fonts/dejavu/DejaVuSans.ttf)

Fix #262

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
configure.ac