]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
added autoreconf for examples in makedist
authorJelte Jansen <jeltejan@NLnetLabs.nl>
Fri, 7 Jul 2006 13:07:00 +0000 (13:07 +0000)
committerJelte Jansen <jeltejan@NLnetLabs.nl>
Fri, 7 Jul 2006 13:07:00 +0000 (13:07 +0000)
removed 'philosophy', all info is also in doc/style

ProgrammingPhilosophy [deleted file]
doc/CodingStyle
makedist.sh

diff --git a/ProgrammingPhilosophy b/ProgrammingPhilosophy
deleted file mode 100644 (file)
index c351eec..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-This short document is intended to shed some light on
-the philosophy behind ldns.
-
-Closely match the api/interface of Perl's Net::DNS; make it easy to 
-toss around RR sets, DNS packets, Resolvers, etc. etc.
-
-* Everything by is called by reference. If data in the structures must
-  be copied an optional _clone() function is provided.
-  This is mirrored in the free() functions, a ldns_*_free() frees the
-  structures' pointer. A ldns_*_deep_free() looks into a structure
-  an frees everything.
-
-Also see doc/CodingStyle
index ed69c4dc402fb71c551fabbe98363e151958f062..a326e5c3f9995151b106ae46039fe88e6c2f6166 100644 (file)
@@ -16,6 +16,7 @@ The libdns coding style guide
 
 
 * Return values:
+       - status code (structure to fill is usually passed as a first argument)
        - new/pointer: return pointer or NULL on error
        - 'read' functions: ldns_status wire2thing(uint8_t *p, size_t max,
                                                   size_t pos, *thing);
index a00ff717accaebdbd2808edb54fb0989bd77fa0a..cb38b00baf8abb7ba7d1d6c06ea87889e30fc104 100755 (executable)
@@ -125,6 +125,9 @@ libtoolize -c || error_cleanup "Libtoolize failed."
 info "Building configure script (autoconf)."
 autoreconf || error_cleanup "Autoconf failed."
 
+info "Building configure script for examples (autoconf)."
+cd examples && autoreconf && cd .. || error_cleanup "Autoconf failed."
+
 rm -r autom4te* || error_cleanup "Failed to remove autoconf cache directory."
 
 # custom removes