X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=cf0591d4d3adbdc7f569b6afb9b362d9198fc544;hb=5b3452e99992ffb2cee7e6353243b553cdc74a46;hp=28514b623fdecc25e3fd6be990cc2479a28a2e64;hpb=2f1a50d81671810256dce0852e6b1e0810ac44af;p=libguestfs.git diff --git a/configure.ac b/configure.ac index 28514b6..cf0591d 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # major/minor/release must be numbers m4_define([libguestfs_major], [1]) m4_define([libguestfs_minor], [0]) -m4_define([libguestfs_release], [65]) +m4_define([libguestfs_release], [66]) # extra can be any string m4_define([libguestfs_extra], []) @@ -138,6 +138,17 @@ AC_ARG_WITH([drive-if], [with_drive_if=ide]) AC_DEFINE_UNQUOTED([DRIVE_IF],["$with_drive_if"],[Default drive interface.]) +dnl Set interface used by the network. Normally you should +dnl leave this at the default (virtio) but you can use the +dnl alternative (ne2k_pci) because of bugs in virtio networking +dnl eg. https://bugzilla.redhat.com/show_bug.cgi?id=516022 +AC_ARG_WITH([net-if], + [AS_HELP_STRING([--with-net-if], + [set default net driver (virtio|ne2k_pci) @<:@default=virtio@:>@])], + [], + [with_net_if=virtio]) +AC_DEFINE_UNQUOTED([NET_IF],["$with_net_if"],[Default network interface.]) + dnl Check for febootstrap etc. AC_CHECK_PROG([FEBOOTSTRAP], [febootstrap],[febootstrap],[no])