Skip to content

Commit

Permalink
configure.ac: Clean up the code for unifont detection for easier futu…
Browse files Browse the repository at this point in the history
…re modifications and more verbose output on failure:

checking for /usr/local/share/fonts/truetype/unifont/unifont.ttf... no
checking for /usr/local/share/fonts/opentype/unifont/unifont.otf... no
checking for /usr/local/share/fonts/truetype/unifont/unifont_upper.ttf... no
checking for /usr/local/share/fonts/opentype/unifont/unifont_upper.otf... no
checking for /usr/local/share/fonts/truetype/unifont/unifont_csur.ttf... no
checking for /usr/local/share/fonts/opentype/unifont/unifont_csur.otf... no
configure: error: Unable to locate unifont.ttf/unifont.otf (needed by X11, SDL1.x and SDL2). Following paths were tested:
${with_unifontdir_ttf}/unifont.ttf => ${datarootdir}/fonts/truetype/unifont/unifont.ttf => ${prefix}/share/fonts/truetype/unifont/unifont.ttf => /usr/local/share/fonts/truetype/unifont/unifont.ttf
${with_unifontdir_otf}/unifont.otf => ${datarootdir}/fonts/opentype/unifont/unifont.otf => ${prefix}/share/fonts/opentype/unifont/unifont.otf => /usr/local/share/fonts/opentype/unifont/unifont.otf
Please use --with-unifontdir-ttf=/dir/ or
           --with-unifontdir-otf=/dir/ or
           --with-unifont-ttf=/dir/file or
           --with-unifont-otf=/dir/file or
           maybe adjust --prefix or --datarootdir
  • Loading branch information
mywave82 committed Aug 17, 2023
1 parent e169772 commit 96286b7
Show file tree
Hide file tree
Showing 2 changed files with 359 additions and 250 deletions.
Loading

0 comments on commit 96286b7

Please sign in to comment.