diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0da8f287c..d6a9e10d8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2014-08-15 Corinna Vinschen + + * winsup.h (_GNU_SOURCE): Define. Explain why. + * configure.ac: Convert to new AC_INIT style. + * configure: Regenerate. + 2014-08-15 Corinna Vinschen * cygerrno.h (seterrno): Define as (always) inline function. diff --git a/winsup/cygwin/configure b/winsup/cygwin/configure index 6dc655e30..522fae6df 100755 --- a/winsup/cygwin/configure +++ b/winsup/cygwin/configure @@ -1,6 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69. +# Generated by GNU Autoconf 2.69 for Cygwin DLL 0. +# +# Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -263,10 +265,11 @@ fi $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." + $as_echo "$0: Please tell bug-autoconf@gnu.org and cygwin@cygwin.com +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." fi exit 1 fi @@ -574,12 +577,12 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= +PACKAGE_NAME='Cygwin DLL' +PACKAGE_TARNAME='cygwin' +PACKAGE_VERSION='0' +PACKAGE_STRING='Cygwin DLL 0' +PACKAGE_BUGREPORT='cygwin@cygwin.com' +PACKAGE_URL='https://cygwin.com' ac_unique_file="Makefile.in" ac_no_link=no @@ -734,7 +737,7 @@ sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' @@ -1234,7 +1237,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. +\`configure' configures Cygwin DLL 0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1282,7 +1285,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1299,7 +1302,9 @@ _ACEOF fi if test -n "$ac_init_help"; then - + case $ac_init_help in + short | recursive ) echo "Configuration of Cygwin DLL 0:";; + esac cat <<\_ACEOF Optional Features: @@ -1330,7 +1335,8 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to the package provider. +Report bugs to . +Cygwin DLL home page: . _ACEOF ac_status=$? fi @@ -1393,7 +1399,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -configure +Cygwin DLL configure 0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1523,7 +1529,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by $as_me, which was +It was created by Cygwin DLL $as_me 0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -1871,6 +1877,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_config_headers="$ac_config_headers config.h" ac_aux_dir= @@ -4974,7 +4981,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by $as_me, which was +This file was extended by Cygwin DLL $as_me 0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -5030,13 +5037,14 @@ $config_files Configuration headers: $config_headers -Report bugs to the package provider." +Report bugs to . +Cygwin DLL home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -config.status +Cygwin DLL config.status 0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/winsup/cygwin/configure.ac b/winsup/cygwin/configure.ac index 9d16e4edd..fc7697b3b 100644 --- a/winsup/cygwin/configure.ac +++ b/winsup/cygwin/configure.ac @@ -1,5 +1,19 @@ +dnl Autoconf configure script for Cygwin. +dnl Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +dnl 2006, 2008, 2009, 2011, 2012, 2013, 2014 Red Hat, Inc. +dnl +dnl This file is part of Cygwin. +dnl +dnl This software is a copyrighted work licensed under the terms of the +dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for +dnl details. +dnl +dnl Process this file with autoconf to produce a configure script. + AC_PREREQ(2.59)dnl -AC_INIT(Makefile.in) +AC_INIT([Cygwin DLL], 0, + cygwin@cygwin.com, cygwin, https://cygwin.com) +AC_CONFIG_SRCDIR(Makefile.in) AC_CONFIG_HEADER(config.h) AC_CONFIG_AUX_DIR(..) diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 770d4bb1c..2be96f8ef 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -26,6 +26,11 @@ details. */ #define _NO_W32_PSEUDO_MODIFIERS +/* Newlib's guarding functions more diligently based on their origin, starting + since 2013. To be sure to get everything and the kitchen sink, we have to + define _GNU_SOURCE. */ +#define _GNU_SOURCE 1 + #include #include