aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in29
1 files changed, 28 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7039c47ff..0d05528bf 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,21 @@
+dnl Configure script for GnuPG
+dnl Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
dnl
-dnl Configure template for GNUPG
+dnl This file is part of GnuPG.
+dnl
+dnl GnuPG 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 the Free Software Foundation; either version 2 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl GnuPG is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
dnl
dnl (Process this file with autoconf to produce a configure script.)
AC_REVISION($Revision$)dnl
@@ -693,6 +709,17 @@ GNUPG_DO_LINK_FILES
GNUPG_CHECK_GNUMAKE
+# add some extra libs here so that previous tests don't fail for
+# mysterious reasons - the final link step shoudl bail out.
+case "${target}" in
+ *-*-mingw32*)
+ LIBS="$LIBS -lwsock32"
+ ;;
+ *)
+ ;;
+esac
+
+
if test "$GCC" = yes; then
if test "$MAINTAINER_MODE" = "yes"; then
CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"