]> sjero.net Git - wget/blobdiff - configure.ac
Use a script to generate the version string.
[wget] / configure.ac
index 4eb42d2668540ca4a00b063d232506f352289b8e..4928c46d8f5c8dd832e5cd8327da5413b01593eb 100644 (file)
@@ -1,6 +1,6 @@
 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
@@ -31,7 +31,7 @@ dnl Process this file with autoconf to produce a configure script.
 dnl
 
 AC_INIT([wget],
-       [1.12.1-devel],
+  [m4_esyscmd([build-aux/bzr-version-gen])],
        [bug-wget@gnu.org])
 AC_PREREQ(2.61)
 
@@ -231,7 +231,7 @@ WGET_NSL_SOCKET
 dnl Deal with specific hosts
 case $host_os in
   *mingw32* )
-    AC_SUBST(W32LIBS, '-lwsock32')
+    AC_SUBST(W32LIBS, '-lwsock32 -lws2_32')
     AC_LIBOBJ([mswindows])
     ;;
 esac