[PATCH] use AC_USE_SYSTEM_EXTENSIONS instead
Mike Frysinger
vapier at gentoo.org
Sat Mar 23 15:06:09 WST 2013
# HG changeset patch
# User Mike Frysinger <vapier at gentoo.org>
# Date 1364022293 14400
# Node ID 07c3eff1abdaf14173330e3b17657ad46474064c
# Parent 63f8d6c469cf51624c9a48dbac1f2ae9b4cd82b6
use AC_USE_SYSTEM_EXTENSIONS instead
The current scp code uses vasprintf which is a GNU extension, but doesn't
define _GNU_SOURCE for it. Instead of getting into that mess though, use
the autoconf AC_USE_SYSTEM_EXTENSIONS macro to automatically enable all
the extra fun stuff for us.
diff -r 63f8d6c469cf -r 07c3eff1abda configure.in
--- a/configure.in Thu May 17 00:26:12 2012 +0800
+++ b/configure.in Sat Mar 23 03:04:53 2013 -0400
@@ -24,7 +24,7 @@
fi
# large file support is useful for scp
-AC_SYS_LARGEFILE
+AC_USE_SYSTEM_EXTENSIONS
# Host specific options
# this isn't a definitive list of hosts, they are just added as required
More information about the Dropbear
mailing list