mirror of
https://github.com/allinurl/goaccess.git
synced 2025-06-18 06:25:33 -04:00

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
13 lines
477 B
Bash
Executable File
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
|