]> git.ipfire.org Git - thirdparty/lldpd.git/commit - configure.ac
Rework autoconf stuff.
authorVincent Bernat <bernat@luffy.cx>
Tue, 29 Sep 2009 14:44:59 +0000 (16:44 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 29 Sep 2009 14:54:59 +0000 (16:54 +0200)
commitd38eae28a90e1de54087e4cacac32f76d014ef9a
tree140101066619eaf4023d41ecc74b098436696027
parentf0824c4aa5ec5d5d265c5276d7ecec4177b70a78
Rework autoconf stuff.

Update to autoconf 2.64.

Use custom macro for ethtool, netsnmp and argument handling to shorten
main configure.ac file.

Use less verbose build process by default.

For headers, missing header is fatal for now because we don't know how
to replace them. Better handling will be done later. We only target
Linux for now with GNU LibC: portability issues are narrow.

Display results at the end of configure process.

AC_C_CONST is obsolete

See:
 http://www.nabble.com/fix-AC_C_CONST-to-work-with-CFLAGS--O2--Wall--Werror-td17164627.html
 http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fC_005fCONST-790

Some useful documentation about autoconf:
 http://sources.redhat.com/autobook/ (a bit outdated)
 http://www.freesoftwaremagazine.com/books/autotools_a_guide_to_autoconf_automake_libtool
 http://www.flameeyes.eu/autotools-mythbuster/
configure.ac
m4/args.m4 [new file with mode: 0644]
m4/ethtool.m4 [new file with mode: 0644]
m4/snmp.m4 [new file with mode: 0644]
src/Makefile.am
src/compat.h
src/lldpd.h
src/malloc.c [new file with mode: 0644]
src/priv.c
src/realloc.c [new file with mode: 0644]
tests/Makefile.am