Fri Nov 30 11:04:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com>

* python/libvir.c, python/libvir.py: Make Python aware that
	  the C bindings module is called cygvirtmod.dll when compiled
	  by CYGWIN.
	* python/Makefile.am: Remove symlink libvirtmod.dll -> cygvirtmod.dll
	  no longer necessary because of the above.
	* configure.in: Remove AM_CONDITIONAL(CYGWIN).
This commit is contained in:
Richard W.M. Jones
2007-11-30 11:10:53 +00:00
parent d63034c018
commit 2ac691d60e
5 changed files with 33 additions and 13 deletions
-3
View File
@@ -539,13 +539,11 @@ fi
dnl Extra link-time flags for Cygwin.
dnl Copied from libxml2 configure.in, but I removed mingw changes
dnl for now since I'm not supporting mingw at present. - RWMJ
cygwin=
CYGWIN_EXTRA_LDFLAGS=
CYGWIN_EXTRA_LIBADD=
CYGWIN_EXTRA_PYTHON_LIBADD=
case "$host" in
*-*-cygwin*)
cygwin=yes
CYGWIN_EXTRA_LDFLAGS="-no-undefined"
CYGWIN_EXTRA_LIBADD="${INTLLIBS}"
if test "x$PYTHON_VERSION" != "x"; then
@@ -556,7 +554,6 @@ esac
AC_SUBST(CYGWIN_EXTRA_LDFLAGS)
AC_SUBST(CYGWIN_EXTRA_LIBADD)
AC_SUBST(CYGWIN_EXTRA_PYTHON_LIBADD)
AM_CONDITIONAL(CYGWIN,[test "x$cygwin" = "xyes"])
# very annoying
rm -f COPYING