[openssh-commits] [openssh] 01/01: Remove _XOPEN_SOURCE from wide char detection.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Feb 3 14:15:53 AEDT 2017

This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch V_7_4
in repository openssh.

commit fc1fca18547cf2bc50229d356ad512e08895f95d
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Fri Feb 3 14:10:34 2017 +1100

    Remove _XOPEN_SOURCE from wide char detection.
    Having _XOPEN_SOURCE unconditionally causes problems on some platforms
    and configurations, notably Solaris 64-bit binaries.  It was there for
    the benefit of Linux put the required bits in the *-*linux* section.
    Patch from yvoinov at gmail.com.
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index eb9f45d..0911e7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -740,6 +740,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
+	dnl Target SUSv3/POSIX.1-2001 plus BSD specifics.
+	dnl _DEFAULT_SOURCE is the new name for _BSD_SOURCE
 		[Work around problematic Linux PAM modules handling of PAM_TTY])
@@ -1771,11 +1774,8 @@ AC_CHECK_FUNCS([ \
 	warn \
-dnl Wide character support.  Linux man page says it needs _XOPEN_SOURCE.
+dnl Wide character support.
 AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth])
 AC_MSG_CHECKING([for utf8 locale support])

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list