提交 8837d3c7 编写于 作者: E Eric Blake

build: allow autoconf 2.59 again

Autoconf 2.59 doesn't define ${localedir}, so libvirt was failing
to compile due to a missing LOCALEDIR until today's configmake fix.

* .gnulib: Update to latest for configmake fix.
* configure.ac (libpcap): Avoid AS_CASE.
上级 4c6f6892
.gnulib @ ce083ca0
Subproject commit 980f9d2ceb43f9d86ea57db0367e569267c8571b
Subproject commit ce083ca023ca1e479dc48ee9934878f42e81cb79
......@@ -1211,11 +1211,11 @@ LIBPCAP_FOUND="no"
AC_ARG_WITH([libpcap], AC_HELP_STRING([--with-libpcap=@<:@PFX@:>@], [libpcap location]))
if test "$with_qemu" = "yes"; then
AS_CASE(["x$with_libpcap"],
[xno], [LIBPCAP_CONFIG=""],
[x|xyes], [LIBPCAP_CONFIG="pcap-config"],
[LIBPCAP_CONFIG="$with_libpcap/bin/pcap-config"]
)
case $with_libpcap in
no) LIBPCAP_CONFIG= ;;
''|yes) LIBPCAP_CONFIG="pcap-config" ;;
*) LIBPCAP_CONFIG="$with_libpcap/bin/pcap-config" ;;
esac
AS_IF([test "x$LIBPCAP_CONFIG" != "x"], [
AC_MSG_CHECKING(libpcap $LIBPCAP_CONFIG >= $LIBPCAP_REQUIRED )
if ! $LIBPCAP_CONFIG --libs > /dev/null 2>&1 ; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册