I've added AC_LIBTOOL_WIN32_DLL which enables DLL support in libtool (but shouldn't affect any other platform).
I've added AM_PROG_CC_STDC which appears to be required by the above.I've added AC_C_CONST which is needed because libvirt uses 'const' without taking any special precautions for ancient compilers which don't support it.
Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
Index: configure.in =================================================================== RCS file: /data/cvs/libvirt/configure.in,v retrieving revision 1.97 diff -u -r1.97 configure.in --- configure.in 27 Nov 2007 14:39:42 -0000 1.97 +++ configure.in 29 Nov 2007 16:40:05 -0000 @@ -26,34 +26,20 @@ GNUTLS_REQUIRED="1.0.25" AVAHI_REQUIRED="0.6.0" -dnl Checks for programs. +dnl Checks for C compiler. AC_PROG_CC +AM_PROG_CC_STDC +AC_C_CONST AC_PROG_INSTALL AC_PROG_CPP -AC_PATH_PROG(RM, rm, /bin/rm) -AC_PATH_PROG(MV, mv, /bin/mv) -AC_PATH_PROG(TAR, tar, /bin/tar) -AC_PATH_PROG(XMLLINT, xmllint, /usr/bin/xmllint) -AC_PATH_PROG(XSLTPROC, xsltproc, /usr/bin/xsltproc) - -dnl External programs that we can use if they are available. -dnl We will hard-code paths to these programs unless we cannot -dnl detect them, in which case we'll search for the program -dnl along the $PATH at runtime and fail if it's not there. -AC_PATH_PROG(DNSMASQ, dnsmasq, dnsmasq, - [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) -AC_PATH_PROG(BRCTL, brctl, brctl, - [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) - -AC_DEFINE_UNQUOTED([DNSMASQ],["$DNSMASQ"], - [Location or name of the dnsmasq program]) -AC_DEFINE_UNQUOTED([BRCTL],["$BRCTL"], - [Location or name of the brctl program (see bridge-utils)]) dnl Make sure we have an ANSI compiler AM_C_PROTOTYPES test "x$U" != "x" && AC_MSG_ERROR(Compiler not ANSI compliant) +dnl Support building Win32 DLLs (must appear *before* AM_PROG_LIBTOOL) +AC_LIBTOOL_WIN32_DLL + AM_PROG_LIBTOOL AM_PROG_CC_C_O @@ -78,6 +72,27 @@ [$ac_cv_path_RPCGEN -t </dev/null >/dev/null 2>&1]) fi +dnl Miscellaneous external programs. +AC_PATH_PROG(RM, rm, /bin/rm) +AC_PATH_PROG(MV, mv, /bin/mv) +AC_PATH_PROG(TAR, tar, /bin/tar) +AC_PATH_PROG(XMLLINT, xmllint, /usr/bin/xmllint) +AC_PATH_PROG(XSLTPROC, xsltproc, /usr/bin/xsltproc) + +dnl External programs that we can use if they are available. +dnl We will hard-code paths to these programs unless we cannot +dnl detect them, in which case we'll search for the program +dnl along the $PATH at runtime and fail if it's not there. +AC_PATH_PROG(DNSMASQ, dnsmasq, dnsmasq, + [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) +AC_PATH_PROG(BRCTL, brctl, brctl, + [/sbin:/usr/sbin:/usr/local/sbin:$PATH]) + +AC_DEFINE_UNQUOTED([DNSMASQ],["$DNSMASQ"], + [Location or name of the dnsmasq program]) +AC_DEFINE_UNQUOTED([BRCTL],["$BRCTL"], + [Location or name of the brctl program (see bridge-utils)]) + dnl Specific dir for HTML output ? AC_ARG_WITH(html-dir, AC_HELP_STRING([--with-html-dir=path], [path to base html directory, default $datadir/doc/html]),
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list