Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix Xft/Freetype/Fontconfig check #956

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,11 @@ AH_TEMPLATE([HAVE_XFT_UTF8],[Define if Xft library can handle utf8 encoding])
AC_SUBST(Xft_LIBS)
AC_SUBST(Xft_CFLAGS)

if test x"$with_xft" = "no" || test x"$with_fontconfig" = "xno" || \
test x"$have_freetype" = "xno"; then
AC_MSG_ERROR(["*** XFT/Fontconfig/Freetype not found. ***])
fi

# ********* xpm
problem_xpm=": Xpm library or header not found"

Expand Down
10 changes: 5 additions & 5 deletions dev-docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ system in use.
## Core dependencies

* libevent-dev (>= 2.0)
* libfontconfig-dev
* libfreetype6-dev
* libx11-dev
* libxext-dev
* libxft-dev
* libxrandr-dev (>= 1.5)
* libxrender-dev
* libxt-dev
* libxft-dev

## Optional dependencies

* asciidoctor
* libfontconfig-dev
* libfreetype6-dev
* libfribidi-dev
* libncurses5-dev
* libpng-dev
* libreadline-dev
* librsvg-dev
* libsm-dev
* libxcursor-dev
* libxext-dev
* libxi-dev
* libxpm-dev
* sharutils
Expand Down Expand Up @@ -77,4 +77,4 @@ Release tarballs will come bundled with `./configure` already, hence:
```

As with most things, if the default options `./configure` chooses isn't
appropriate for your needs, see `./configure --help` for appropriate options.
appropriate for your needs, see `./configure --help` for appropriate options.
Loading