Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Add asnprintf() to the AC_CHECK_DECLS list.



details:   https://anonhg.NetBSD.org/src/rev/150de929f668
branches:  trunk
changeset: 828345:150de929f668
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sat Dec 09 04:22:53 2017 +0000

description:
Add asnprintf() to the AC_CHECK_DECLS list.
Resolves conflict when cross compiling on Cygwin the provided implementation
does not get picked up.

Closes PR toolchain/52797

diffstat:

 tools/compat/configure.ac |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 247d62ca8d8e -r 150de929f668 tools/compat/configure.ac
--- a/tools/compat/configure.ac Sat Dec 09 03:22:33 2017 +0000
+++ b/tools/compat/configure.ac Sat Dec 09 04:22:53 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: configure.ac,v 1.88 2017/10/02 22:19:45 christos Exp $
+#      $NetBSD: configure.ac,v 1.89 2017/12/09 04:22:53 sevan Exp $
 #
 # Autoconf definition file for libnbcompat.
 #
@@ -140,7 +140,7 @@
 AC_CHECK_MEMBERS(struct tm.tm_gmtoff,,, [#include <time.h>])
 
 # Global variable decls.
-AC_CHECK_DECLS([asprintf, vasprintf, vasnprintf, vsnprintf, fgetln, fparseln,
+AC_CHECK_DECLS([asprintf, asnprintf, vasprintf, vasnprintf, vsnprintf, fgetln, fparseln,
        fpurge, getdelim, getline, snprintf],,, [
 #include <stdio.h>
 ])



Home | Main Index | Thread Index | Old Index