From: Alexander Barton Date: Sun, 17 Mar 2024 18:51:43 +0000 (+0100) Subject: INSTALL.md: Add info for macOS systems X-Git-Tag: rel-27-rc1~40 X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=7efda4168f5154f42e2c5cf8f1acace71980e265;p=ngircd-alex.git INSTALL.md: Add info for macOS systems --- diff --git a/INSTALL.md b/INSTALL.md index ac9eff40..9718db92 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -232,6 +232,27 @@ So the resulting command looks like this: make pam pkg-config zlib ``` +#### macOS with Homebrew + +To build ngIRCd on Apple macOS, you need either Xcode or the command line +development tools. You can install the latter with the `xcode-select --install` +command. + +Additional tools and libraries that are not part of macOS itself are best +installed with the [Homebrew](https://brew.sh) package manager: + +``` shell + brew install autoconf automake gnutls libident pkg-config +``` + +Note: To actually use the GnuTLS and IDENT libraries installed by Homebrew, you +need to pass the installation path to the `./configure` command (see below). For +example like this: + +``` shell + ./configure --with-gnutls=$(brew --prefix) --with-ident=$(brew --prefix) [...] +``` + ### `./autogen.sh` The first step, to run `./autogen.sh`, is *only* necessary if the `configure`