From: Jelte Jansen Date: Fri, 7 Jul 2006 13:07:00 +0000 (+0000) Subject: added autoreconf for examples in makedist X-Git-Tag: release-1.1.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbc2393570a69d8802a67e7cc8dd5305d312b15f;p=thirdparty%2Fldns.git added autoreconf for examples in makedist removed 'philosophy', all info is also in doc/style --- diff --git a/ProgrammingPhilosophy b/ProgrammingPhilosophy deleted file mode 100644 index c351eec5..00000000 --- a/ProgrammingPhilosophy +++ /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 diff --git a/doc/CodingStyle b/doc/CodingStyle index ed69c4dc..a326e5c3 100644 --- a/doc/CodingStyle +++ b/doc/CodingStyle @@ -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); diff --git a/makedist.sh b/makedist.sh index a00ff717..cb38b00b 100755 --- a/makedist.sh +++ b/makedist.sh @@ -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