diff options
author | 2012-09-05 16:27:42 -0600 | |
---|---|---|
committer | 2012-09-06 10:08:47 -0600 | |
commit | ccaf0beec84b3f55f5206a71e2f1b768cc58cdda (patch) | |
tree | 6d0ab687855e0560f5c83c10ee36aa51d3f20ab3 /.gnulib | |
parent | build: avoid tabs that failed syntax-check (diff) | |
download | libvirt-ccaf0beec84b3f55f5206a71e2f1b768cc58cdda.tar.gz libvirt-ccaf0beec84b3f55f5206a71e2f1b768cc58cdda.tar.bz2 libvirt-ccaf0beec84b3f55f5206a71e2f1b768cc58cdda.zip |
build: improved handling of <execinfo.h>, BSD <net/if.h>
FreeBSD and OpenBSD have a <net/if.h> that is not self-contained;
and mingw lacks the header altogether. But gnulib has just taken
care of that for us, so we might as well simplify our code. In
the process, I got a syntax-check failure if we don't also take
the gnulib execinfo module.
* .gnulib: Update to latest, for execinfo and net_if.
* bootstrap.conf (gnulib_modules): Add execinfo and net_if modules.
* configure.ac: Let gnulib check for headers. Simplify check for
'struct ifreq', while also including enough prereq headers.
* src/internal.h (IF_NAMESIZE): Drop, now that gnulib guarantees it.
* src/nwfilter/nwfilter_learnipaddr.h: Use correct header for
IF_NAMESIZE.
* src/util/virnetdev.c (includes): Assume <net/if.h> exists.
* src/util/virnetdevbridge.c (includes): Likewise.
* src/util/virnetdevtap.c (includes): Likewise.
* src/util/logging.c (includes): Assume <execinfo.h> exists.
(virLogStackTraceToFd): Handle gnulib's fallback implementation.
Diffstat (limited to '.gnulib')
m--------- | .gnulib | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/.gnulib b/.gnulib -Subproject 271dd74fdf54ec2a03e73a5173b0b5697f6088f +Subproject 440a1dbe523e37f206252cb034c3a62f26867e4 |