goaccess/build-dynamic.sh
Adam Weinberger 40a80fc6e6 Fix spelling errors as reported by the spellcheck action
Only comments and display strings are changed here.

Notable here is the correction of referer => referrer.
"Referrer" is the actual spelling; "referer" was a misspelling
that made it into RFC 1945 (see 1).

It makes the most sense to use "referer" when referring to the
HTTP header, and "referrer" when referring to an actual referring
page.

[1]: https://en.wikipedia.org/wiki/HTTP_referer
2023-03-02 10:22:49 -05:00

13 lines
477 B
Bash
Executable File

#!/usr/bin/env sh
# Build dynamic linked binaries on Debian.
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
# should be either of "mmdb" or "legacy"
geoip=${1:-"mmdb"}
autoreconf -fi > /dev/null 2>&1
./configure CFLAGS=-Werror --enable-utf8 --with-openssl --with-getline --enable-geoip="$geoip" >/dev/null
make -j > /dev/null
cat goaccess