Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET, fix AC_INIT usage

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-03-30 14:09:19 +02:00
parent cf41355aba
commit 6436024c4c
11 changed files with 12 additions and 22 deletions

View File

@ -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'

View File

@ -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

View File

@ -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'

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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'

View File

@ -20,7 +20,7 @@ AC_NO_EXECUTABLES
. ${srcdir}/../configure.cygwin
AC_CANONICAL_SYSTEM
AC_CANONICAL_TARGET
AC_PROG_CC