cygwin/mingw: Fix version script handling
cygwin/mingw: Fix version script handling

Let configure detect ld instead of hardcoding /usr/bin/ld, because
MinGW may have ld in /bin.

Only use a .def file to export symbols on MinGW. Cygwin's ld supports
the normal .syms file used on Linux.

siboulet/libvirt-openvz,agx/libvirt,danwent/libvirt-ovs,trainstack/libvirt,rmarwaha/libvirt1,rmarwaha/libvirt1,nertpinx/libvirt,iam-TJ/libvirt,foomango/libvirt,trainstack/libvirt,VenkatDatta/libvirt,novel/fbsd-libvirt,nertpinx/libvirt,amery/libvirt-vserver,elmarco/libvirt,nertpinx/libvirt,wiedi/libvirt,trainstack/libvirt,libvirt/libvirt,jfehlig/libvirt,soulxu/libvirt-xuhj,iam-TJ/libvirt,amery/libvirt-vserver,warewolf/libvirt,jeckersb/libvirt,taget/libvirt,agx/libvirt,jeckersb/libvirt,datto/libvirt,elmarco/libvirt,kantai/libvirt-vfork,emaste/libvirt,jeckersb/libvirt,VenkatDatta/libvirt,trainstack/libvirt,jfehlig/libvirt,zippy2/libvirt,soulxu/libvirt-xuhj,fabianfreyer/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,jfehlig/libvirt,rmarwaha/libvirt1,bjzhang/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,amery/libvirt-vserver,trainstack/libvirt,leilihh/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,rbu/libvirt,soulxu/libvirt-xuhj,zhlcindy/libvirt-1.1.4-maintain,cbosdo/libvirt,zhlcindy/libvirt-1.1.4-maintain,sshah-solarflare/Libvirt-PCI-passthrough-,shugaoye/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,wiedi/libvirt,elmarco/libvirt,bjzhang/libvirt,warewolf/libvirt,emaste/libvirt,emaste/libvirt,iam-TJ/libvirt,rbu/libvirt,emaste/libvirt,taget/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,rlaager/libvirt,libvirt/libvirt,zhlcindy/libvirt-1.1.4-maintain,crobinso/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,warewolf/libvirt,rmarwaha/libvirt,eskultety/libvirt,danwent/libvirt-ovs,datto/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,leilihh/libvirt,danwent/libvirt-ovs,siboulet/libvirt-openvz,kantai/libvirt-vfork,novel/fbsd-libvirt,zippy2/libvirt,elmarco/libvirt,jeckersb/libvirt,rlaager/libvirt,olafhering/libvirt,leilihh/libvirt,shugaoye/libvirt,siboulet/libvirt-openvz,cbosdo/libvirt,foomango/libvirt,crobinso/libvirt,jardasgit/libvirt,warewolf/libvirt,novel/fbsd-libvirt,leilihh/libvirt,leilihh/libvirt,rmarwaha/libvirt,crobinso/libvirt,soulxu/libvirt-xuhj,datto/libvirt,cbosdo/libvirt,bjzhang/libvirt,andreabolognani/libvirt,dumbbell/libvirt,iam-TJ/libvirt,bjzhang/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,eskultety/libvirt,rlaager/libvirt,leilihh/libvirt,jardasgit/libvirt,rbu/libvirt,fabianfreyer/libvirt,rbu/libvirt,zippy2/libvirt,usc-isi/libvirt,foomango/libvirt,novel/fbsd-libvirt,datto/libvirt,rmarwaha/libvirt1,taget/libvirt,crobinso/libvirt,rmarwaha/libvirt,eskultety/libvirt,olafhering/libvirt,iam-TJ/libvirt,datto/libvirt,VenkatDatta/libvirt,soulxu/libvirt-xuhj,warewolf/libvirt,libvirt/libvirt,rmarwaha/libvirt,jardasgit/libvirt,trainstack/libvirt,iam-TJ/libvirt,cbosdo/libvirt,jeckersb/libvirt,rlaager/libvirt,novel/fbsd-libvirt,wiedi/libvirt,warewolf/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,rmarwaha/libvirt1,shugaoye/libvirt,iam-TJ/libvirt,usc-isi/libvirt,taget/libvirt,wiedi/libvirt,wiedi/libvirt,VenkatDatta/libvirt,foomango/libvirt,wiedi/libvirt,taget/libvirt,novel/fbsd-libvirt,amery/libvirt-vserver,dumbbell/libvirt,wiedi/libvirt,dumbbell/libvirt,foomango/libvirt,nertpinx/libvirt,jardasgit/libvirt,usc-isi/libvirt,danwent/libvirt-ovs,trainstack/libvirt,olafhering/libvirt,olafhering/libvirt,rbu/libvirt,jardasgit/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,rmarwaha/libvirt1,rlaager/libvirt,usc-isi/libvirt,bjzhang/libvirt,emaste/libvirt,andreabolognani/libvirt,rmarwaha/libvirt,danwent/libvirt-ovs,libvirt/libvirt,jeckersb/libvirt,agx/libvirt,usc-isi/libvirt,dumbbell/libvirt,eskultety/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt,novel/fbsd-libvirt,elmarco/libvirt,emaste/libvirt,warewolf/libvirt,zippy2/libvirt,kantai/libvirt-vfork,amery/libvirt-vserver,agx/libvirt,dumbbell/libvirt,emaste/libvirt,andreabolognani/libvirt,kantai/libvirt-vfork,agx/libvirt,dumbbell/libvirt,jeckersb/libvirt,fabianfreyer/libvirt,cbosdo/libvirt,eskultety/libvirt