dnl Template file for GNU Autoconf
-dnl Copyright (C) 1995, 1996, 1997, 2001, 2007, 2008, 2009 Free Software
-dnl Foundation, Inc.
+dnl Copyright (C) 1995, 1996, 1997, 2001, 2007, 2008, 2009, 2010 Free
+dnl Software Foundation, Inc.
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl
AC_INIT([wget],
- [1.12.1-devel],
+ [m4_esyscmd([build-aux/bzr-version-gen])],
[bug-wget@gnu.org])
AC_PREREQ(2.61)
dnl Deal with specific hosts
case $host_os in
*mingw32* )
- AC_SUBST(W32LIBS, '-lwsock32')
+ AC_SUBST(W32LIBS, '-lwsock32 -lws2_32')
AC_LIBOBJ([mswindows])
;;
esac