]> arthur.barton.de Git - ngircd-alex.git/commitdiff
INSTALL.md: Add info for macOS systems
authorAlexander Barton <alex@barton.de>
Sun, 17 Mar 2024 18:51:43 +0000 (19:51 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 17 Mar 2024 21:42:19 +0000 (22:42 +0100)
INSTALL.md

index ac9eff407bf86070b7b4c0a44223bef7e82459f4..9718db929e71c1bc97ab97e9340880fc946ad9de 100644 (file)
@@ -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`