From: Simon Josefsson Date: Sat, 7 Jan 2012 09:13:28 +0000 (+0100) Subject: Fix for mingw with MSVC9. X-Git-Tag: v0.1~1283 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=1a182c77201d150230842504acc2ff2dfd49887b;p=gnulib.git Fix for mingw with MSVC9. * m4/ld-version-script.m4: Check that compiler rejects version scripts with syntax errors. Reported by Bruno Haible . --- diff --git a/ChangeLog b/ChangeLog index adbab93ca..2cb5f5fd4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-01-07 Simon Josefsson + + Fix for mingw with MSVC9. + * m4/ld-version-script.m4: Check that compiler rejects version + scripts with syntax errors. Reported by Bruno Haible + . + 2012-01-06 Bruno Haible Talk about "native Windows API", not "Woe32". diff --git a/m4/ld-version-script.m4 b/m4/ld-version-script.m4 index fd8c043ea..5ed93efdb 100644 --- a/m4/ld-version-script.m4 +++ b/m4/ld-version-script.m4 @@ -1,4 +1,4 @@ -# ld-version-script.m4 serial 2 +# ld-version-script.m4 serial 3 dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -26,6 +26,12 @@ AC_DEFUN([gl_LD_VERSION_SCRIPT], save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" cat > conftest.map < conftest.map <