From: Roy Marples Date: Thu, 18 May 2023 10:40:19 +0000 (+0100) Subject: chore: Document building a bit more X-Git-Tag: v10.0.2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a207dc6d86f71e49335c9f954cb6f6a1c74f60;p=thirdparty%2Fdhcpcd.git chore: Document building a bit more And the fact that configure is not GNU. --- diff --git a/BUILDING.md b/BUILDING.md index 8b4e1cea..75aa5f04 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -2,6 +2,17 @@ This attempts to document various ways of building dhcpcd for your platform. +`./configure` is a POSIX shell script that works in a similar way +to GNU configure. +This works fine provided you don't force any exotic options down +which may or may not be silently discarded. + +Some build time warnings are expected - the only platforms with zero +warnings are DragonFlyBSD and NetBSD. +It is expected that the platforms be improvded to support dhcpcd +better. +There maybe some loss of functionality, but for the most part, +dhcpcd can work around these deficiencies. ## Size is an issue To compile small dhcpcd, maybe to be used for installation media where diff --git a/configure b/configure index 8ddd38ec..bc23fca5 100755 --- a/configure +++ b/configure @@ -115,7 +115,7 @@ for x do --statusarg) STATUSARG=$var;; --infodir) ;; # ignore autotools --disable-maintainer-mode|--disable-dependency-tracking) ;; - --disable-silent-rules) ;; + --disable-option-checking|--disable-silent-rules) ;; -V|--version) v=$(sed -ne 's/.*VERSION[[:space:]]*"\([^"]*\).*/\1/p' defs.h); c=$(sed -ne 's/^.*copyright\[\] = "\([^"]*\).*/\1/p' dhcpcd.c);