[newlib-cygwin] Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET, fix AC_INIT usage

Corinna Vinschen corinna@sourceware.org
Wed Mar 30 12:09:00 GMT 2016


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6436024c4cba0bf938983a005bad2e16f1af5e8e

commit 6436024c4cba0bf938983a005bad2e16f1af5e8e
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Mar 30 14:09:19 2016 +0200

    Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET, fix AC_INIT usage
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygserver/configure    | 1 -
 winsup/cygserver/configure.ac | 7 +++----
 winsup/cygwin/configure       | 1 -
 winsup/cygwin/configure.ac    | 7 +++----
 winsup/doc/configure          | 1 -
 winsup/doc/configure.ac       | 5 ++---
 winsup/lsaauth/configure      | 1 -
 winsup/lsaauth/configure.ac   | 5 ++---
 winsup/testsuite/configure.ac | 3 +--
 winsup/utils/configure        | 1 -
 winsup/utils/configure.ac     | 2 +-
 11 files changed, 12 insertions(+), 22 deletions(-)

diff --git a/winsup/cygserver/configure b/winsup/cygserver/configure
index a4feae1..37caf57 100755
--- a/winsup/cygserver/configure
+++ b/winsup/cygserver/configure
@@ -2106,7 +2106,6 @@ test -n "$target_alias" &&
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
 
-
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff --git a/winsup/cygserver/configure.ac b/winsup/cygserver/configure.ac
index 4e2cb45..5d1464b 100644
--- a/winsup/cygserver/configure.ac
+++ b/winsup/cygserver/configure.ac
@@ -9,9 +9,8 @@ dnl details.
 dnl
 dnl Process this file with autoconf to produce a configure script.
 
-AC_PREREQ(2.59)dnl
-AC_INIT([Cygwin Cygserver], 0,
-	cygwin@cygwin.com, cygwin, https://cygwin.com)
+AC_PREREQ(2.59)
+AC_INIT([Cygwin Cygserver],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
 AC_CONFIG_SRCDIR(cygserver.cc)
 AC_CONFIG_AUX_DIR(..)
 
@@ -19,7 +18,7 @@ AC_CONFIG_AUX_DIR(..)
 
 AC_PROG_INSTALL
 AC_NO_EXECUTABLES
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 
 AC_PROG_CC
 AC_PROG_CXX
diff --git a/winsup/cygwin/configure b/winsup/cygwin/configure
index 522fae6..aa26015 100755
--- a/winsup/cygwin/configure
+++ b/winsup/cygwin/configure
@@ -2117,7 +2117,6 @@ test -n "$target_alias" &&
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
 
-
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff --git a/winsup/cygwin/configure.ac b/winsup/cygwin/configure.ac
index fc7697b..fe8e038 100644
--- a/winsup/cygwin/configure.ac
+++ b/winsup/cygwin/configure.ac
@@ -10,9 +10,8 @@ dnl details.
 dnl
 dnl Process this file with autoconf to produce a configure script.
 
-AC_PREREQ(2.59)dnl
-AC_INIT([Cygwin DLL], 0,
-	cygwin@cygwin.com, cygwin, https://cygwin.com)
+AC_PREREQ(2.59)
+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(..)
@@ -21,7 +20,7 @@ AC_CONFIG_AUX_DIR(..)
 
 AC_PROG_INSTALL
 AC_NO_EXECUTABLES
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 
 AC_PROG_CC
 AC_PROG_CXX
diff --git a/winsup/doc/configure b/winsup/doc/configure
index 6e053bd..e4c3831 100755
--- a/winsup/doc/configure
+++ b/winsup/doc/configure
@@ -2030,7 +2030,6 @@ test -n "$target_alias" &&
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
 
-
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
diff --git a/winsup/doc/configure.ac b/winsup/doc/configure.ac
index b461750..d583286 100644
--- a/winsup/doc/configure.ac
+++ b/winsup/doc/configure.ac
@@ -10,15 +10,14 @@ dnl details.
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.59])
-AC_INIT([Cygwin Documentation], 0,
-	cygwin@cygwin.com, cygwin, https://cygwin.com)
+AC_INIT([Cygwin Documentation],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
 AC_CONFIG_SRCDIR(cygwin-api.xml)
 AC_CONFIG_AUX_DIR(../..)
 
 AC_PROG_INSTALL
 AC_CHECK_PROGS([DOCBOOK2XTEXI], [docbook2x-texi db2x_docbook2texi], [true])
 AC_NO_EXECUTABLES
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 
 LIB_AC_PROG_CC
 
diff --git a/winsup/lsaauth/configure b/winsup/lsaauth/configure
index b83cc33..4342da2 100755
--- a/winsup/lsaauth/configure
+++ b/winsup/lsaauth/configure
@@ -1900,7 +1900,6 @@ test -n "$target_alias" &&
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
 
-
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
diff --git a/winsup/lsaauth/configure.ac b/winsup/lsaauth/configure.ac
index 2bcb43c..55922fc 100644
--- a/winsup/lsaauth/configure.ac
+++ b/winsup/lsaauth/configure.ac
@@ -13,14 +13,13 @@ dnl Changed for lsa subdir by Corinna Vinschen <corinna@vinschen.de>
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([Cygwin Lsaauth], 0,
-	cygwin@cygwin.com, cygwin, https://cygwin.com)
+AC_INIT([Cygwin Lsaauth],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
 AC_CONFIG_SRCDIR(Makefile.in)
 
 AC_CONFIG_AUX_DIR(../..)
 
 AC_NO_EXECUTABLES
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 
 LIB_AC_PROG_CC
 
diff --git a/winsup/testsuite/configure.ac b/winsup/testsuite/configure.ac
index dc7cd21..746e69c 100755
--- a/winsup/testsuite/configure.ac
+++ b/winsup/testsuite/configure.ac
@@ -10,8 +10,7 @@ dnl
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([Cygwin Testsuite], 0,
-	cygwin@cygwin.com, cygwin, https://cygwin.com)
+AC_INIT([Cygwin Testsuite],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
 AC_CONFIG_SRCDIR(Makefile.in)
 
 AC_PROG_CC
diff --git a/winsup/utils/configure b/winsup/utils/configure
index 5cf181e..32f75d6 100755
--- a/winsup/utils/configure
+++ b/winsup/utils/configure
@@ -1963,7 +1963,6 @@ test -n "$target_alias" &&
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
 
-
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff --git a/winsup/utils/configure.ac b/winsup/utils/configure.ac
index d90c3fc..f54d5b6 100644
--- a/winsup/utils/configure.ac
+++ b/winsup/utils/configure.ac
@@ -20,7 +20,7 @@ AC_NO_EXECUTABLES
 
 . ${srcdir}/../configure.cygwin
 
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 
 AC_PROG_CC



More information about the Cygwin-cvs mailing list