]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
chore: Document building a bit more
authorRoy Marples <roy@marples.name>
Thu, 18 May 2023 10:40:19 +0000 (11:40 +0100)
committerRoy Marples <roy@marples.name>
Thu, 18 May 2023 10:40:19 +0000 (11:40 +0100)
And the fact that configure is not GNU.

BUILDING.md
configure

index 8b4e1ceae09262243b51fcc52b40b8f1b697b479..75aa5f04e0f37fe04dede86ce458977d1b89f4f2 100644 (file)
@@ -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
index 8ddd38ec417a49c4500f37f4bbd7343f2c50827b..bc23fca521f4142d88b2614507eaed0813548205 100755 (executable)
--- 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);