From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 89CF538515F7; Wed, 26 Jan 2022 09:11:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89CF538515F7 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: libc: merge machine/ configure scripts up a level X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 8bee45444fde77ff4e965a0edf24035f9a570b10 X-Git-Newrev: 08a55a233d8a90914270a898360f806f7f8f2bdd Message-Id: <20220126091157.89CF538515F7@sourceware.org> Date: Wed, 26 Jan 2022 09:11:57 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2022 09:11:57 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D08a55a233d8= a90914270a898360f806f7f8f2bdd commit 08a55a233d8a90914270a898360f806f7f8f2bdd Author: Mike Frysinger Date: Sun Jan 23 00:23:28 2022 -0500 newlib: libc: merge machine/ configure scripts up a level =20 The machine configure scripts are all effectively stub scripts that pass the higher level options to its own makefile. There were only three doing custom tests. The rest were all effectively the same as the libc/ configure script. =20 So instead of recursively running configure in all of these subdirs, generate their makefiles from the top-level configure. For the few unique ones, deploy a pattern of including subdir logic via m4: m4_include([machine/nds32/acinclude.m4]) =20 Some of the generated machine makefiles have a bunch of extra stuff added to them, but that's because they were inconsistent in their configure libtool calls. The top-level has it, so it exports some new vars to the ones that weren't already. Diff: --- newlib/libc/Makefile.in | 7 +- newlib/libc/argz/Makefile.in | 7 +- newlib/libc/configure | 412 +- newlib/libc/configure.ac | 127 +- newlib/libc/ctype/Makefile.in | 7 +- newlib/libc/errno/Makefile.in | 7 +- newlib/libc/iconv/Makefile.in | 7 +- newlib/libc/iconv/ccs/Makefile.in | 7 +- newlib/libc/iconv/ccs/binary/Makefile.in | 7 +- newlib/libc/iconv/ces/Makefile.in | 7 +- newlib/libc/iconv/lib/Makefile.in | 7 +- newlib/libc/locale/Makefile.in | 7 +- newlib/libc/machine/a29k/Makefile.am | 3 - newlib/libc/machine/a29k/Makefile.in | 142 +- newlib/libc/machine/a29k/aclocal.m4 | 1109 -- newlib/libc/machine/a29k/configure | 4942 --------- newlib/libc/machine/a29k/configure.ac | 13 - newlib/libc/machine/aarch64/Makefile.am | 3 - newlib/libc/machine/aarch64/Makefile.in | 159 +- newlib/libc/machine/aarch64/aclocal.m4 | 1109 -- newlib/libc/machine/aarch64/configure | 4942 --------- newlib/libc/machine/aarch64/configure.ac | 13 - newlib/libc/machine/amdgcn/Makefile.am | 3 - newlib/libc/machine/amdgcn/Makefile.in | 144 +- newlib/libc/machine/amdgcn/aclocal.m4 | 1109 -- newlib/libc/machine/amdgcn/configure | 4942 --------- newlib/libc/machine/amdgcn/configure.ac | 13 - newlib/libc/machine/arc/Makefile.am | 3 - newlib/libc/machine/arc/Makefile.in | 159 +- newlib/libc/machine/arc/aclocal.m4 | 1109 -- newlib/libc/machine/arc/configure | 4942 --------- newlib/libc/machine/arc/configure.ac | 12 - newlib/libc/machine/arm/Makefile.am | 3 - newlib/libc/machine/arm/Makefile.in | 158 +- newlib/libc/machine/arm/aclocal.m4 | 1109 -- newlib/libc/machine/arm/configure | 4945 --------- newlib/libc/machine/arm/configure.ac | 15 - newlib/libc/machine/bfin/Makefile.am | 3 - newlib/libc/machine/bfin/Makefile.in | 152 +- newlib/libc/machine/bfin/aclocal.m4 | 1109 -- newlib/libc/machine/bfin/configure | 4942 --------- newlib/libc/machine/bfin/configure.ac | 13 - newlib/libc/machine/cr16/Makefile.am | 3 - newlib/libc/machine/cr16/Makefile.in | 159 +- newlib/libc/machine/cr16/aclocal.m4 | 1109 -- newlib/libc/machine/cr16/configure | 4942 --------- newlib/libc/machine/cr16/configure.ac | 13 - newlib/libc/machine/cris/Makefile.am | 3 - newlib/libc/machine/cris/Makefile.in | 156 +- newlib/libc/machine/cris/aclocal.m4 | 1109 -- newlib/libc/machine/cris/configure | 4942 --------- newlib/libc/machine/cris/configure.ac | 13 - newlib/libc/machine/crx/Makefile.am | 3 - newlib/libc/machine/crx/Makefile.in | 159 +- newlib/libc/machine/crx/aclocal.m4 | 1109 -- newlib/libc/machine/crx/configure | 4942 --------- newlib/libc/machine/crx/configure.ac | 13 - newlib/libc/machine/csky/Makefile.am | 3 - newlib/libc/machine/csky/Makefile.in | 152 +- newlib/libc/machine/csky/aclocal.m4 | 1109 -- newlib/libc/machine/csky/configure | 4942 --------- newlib/libc/machine/csky/configure.ac | 13 - newlib/libc/machine/d10v/Makefile.am | 3 - newlib/libc/machine/d10v/Makefile.in | 152 +- newlib/libc/machine/d10v/aclocal.m4 | 1109 -- newlib/libc/machine/d10v/configure | 4942 --------- newlib/libc/machine/d10v/configure.ac | 13 - newlib/libc/machine/d30v/Makefile.am | 3 - newlib/libc/machine/d30v/Makefile.in | 152 +- newlib/libc/machine/d30v/aclocal.m4 | 1109 -- newlib/libc/machine/d30v/configure | 4942 --------- newlib/libc/machine/d30v/configure.ac | 13 - newlib/libc/machine/epiphany/Makefile.am | 3 - newlib/libc/machine/epiphany/Makefile.in | 152 +- newlib/libc/machine/epiphany/aclocal.m4 | 1109 -- newlib/libc/machine/epiphany/configure | 4942 --------- newlib/libc/machine/epiphany/configure.ac | 40 - newlib/libc/machine/fr30/Makefile.am | 3 - newlib/libc/machine/fr30/Makefile.in | 152 +- newlib/libc/machine/fr30/aclocal.m4 | 1109 -- newlib/libc/machine/fr30/configure | 4942 --------- newlib/libc/machine/fr30/configure.ac | 13 - newlib/libc/machine/frv/Makefile.am | 3 - newlib/libc/machine/frv/Makefile.in | 152 +- newlib/libc/machine/frv/aclocal.m4 | 1109 -- newlib/libc/machine/frv/configure | 4942 --------- newlib/libc/machine/frv/configure.ac | 13 - newlib/libc/machine/ft32/Makefile.am | 3 - newlib/libc/machine/ft32/Makefile.in | 152 +- newlib/libc/machine/ft32/aclocal.m4 | 1109 -- newlib/libc/machine/ft32/configure | 4942 --------- newlib/libc/machine/ft32/configure.ac | 13 - newlib/libc/machine/h8300/Makefile.am | 3 - newlib/libc/machine/h8300/Makefile.in | 152 +- newlib/libc/machine/h8300/aclocal.m4 | 1109 -- newlib/libc/machine/h8300/configure | 4942 --------- newlib/libc/machine/h8300/configure.ac | 13 - newlib/libc/machine/h8500/Makefile.am | 3 - newlib/libc/machine/h8500/Makefile.in | 159 +- newlib/libc/machine/h8500/aclocal.m4 | 1109 -- newlib/libc/machine/h8500/configure | 4942 --------- newlib/libc/machine/h8500/configure.ac | 13 - newlib/libc/machine/hppa/Makefile.am | 3 - newlib/libc/machine/hppa/Makefile.in | 152 +- newlib/libc/machine/hppa/aclocal.m4 | 1109 -- newlib/libc/machine/hppa/configure | 4942 --------- newlib/libc/machine/hppa/configure.ac | 13 - newlib/libc/machine/i386/Makefile.am | 3 - newlib/libc/machine/i386/Makefile.in | 120 +- newlib/libc/machine/i386/aclocal.m4 | 1178 --- newlib/libc/machine/i386/configure | 14184 ----------------------= ---- newlib/libc/machine/i386/configure.ac | 25 - newlib/libc/machine/i960/Makefile.am | 3 - newlib/libc/machine/i960/Makefile.in | 142 +- newlib/libc/machine/i960/aclocal.m4 | 1109 -- newlib/libc/machine/i960/configure | 4942 --------- newlib/libc/machine/i960/configure.ac | 13 - newlib/libc/machine/iq2000/Makefile.am | 3 - newlib/libc/machine/iq2000/Makefile.in | 152 +- newlib/libc/machine/iq2000/aclocal.m4 | 1109 -- newlib/libc/machine/iq2000/configure | 4942 --------- newlib/libc/machine/iq2000/configure.ac | 13 - newlib/libc/machine/lm32/Makefile.am | 4 - newlib/libc/machine/lm32/Makefile.in | 152 +- newlib/libc/machine/lm32/aclocal.m4 | 1109 -- newlib/libc/machine/lm32/configure | 4942 --------- newlib/libc/machine/lm32/configure.ac | 13 - newlib/libc/machine/m32c/Makefile.am | 3 - newlib/libc/machine/m32c/Makefile.in | 152 +- newlib/libc/machine/m32c/aclocal.m4 | 1109 -- newlib/libc/machine/m32c/configure | 4942 --------- newlib/libc/machine/m32c/configure.ac | 13 - newlib/libc/machine/m32r/Makefile.am | 3 - newlib/libc/machine/m32r/Makefile.in | 152 +- newlib/libc/machine/m32r/aclocal.m4 | 1109 -- newlib/libc/machine/m32r/configure | 4942 --------- newlib/libc/machine/m32r/configure.ac | 13 - newlib/libc/machine/m68hc11/Makefile.am | 3 - newlib/libc/machine/m68hc11/Makefile.in | 152 +- newlib/libc/machine/m68hc11/aclocal.m4 | 1109 -- newlib/libc/machine/m68hc11/configure | 4942 --------- newlib/libc/machine/m68hc11/configure.ac | 13 - newlib/libc/machine/m68k/Makefile.am | 3 - newlib/libc/machine/m68k/Makefile.in | 159 +- newlib/libc/machine/m68k/aclocal.m4 | 1109 -- newlib/libc/machine/m68k/configure | 4942 --------- newlib/libc/machine/m68k/configure.ac | 13 - newlib/libc/machine/m88k/Makefile.am | 3 - newlib/libc/machine/m88k/Makefile.in | 152 +- newlib/libc/machine/m88k/aclocal.m4 | 1109 -- newlib/libc/machine/m88k/configure | 4942 --------- newlib/libc/machine/m88k/configure.ac | 13 - newlib/libc/machine/mep/Makefile.am | 3 - newlib/libc/machine/mep/Makefile.in | 152 +- newlib/libc/machine/mep/aclocal.m4 | 1109 -- newlib/libc/machine/mep/configure | 4942 --------- newlib/libc/machine/mep/configure.ac | 13 - newlib/libc/machine/microblaze/Makefile.am | 3 - newlib/libc/machine/microblaze/Makefile.in | 159 +- newlib/libc/machine/microblaze/aclocal.m4 | 1109 -- newlib/libc/machine/microblaze/configure | 4942 --------- newlib/libc/machine/microblaze/configure.ac | 13 - newlib/libc/machine/mips/Makefile.am | 3 - newlib/libc/machine/mips/Makefile.in | 155 +- newlib/libc/machine/mips/aclocal.m4 | 1109 -- newlib/libc/machine/mips/configure | 4942 --------- newlib/libc/machine/mips/configure.ac | 13 - newlib/libc/machine/mn10200/Makefile.am | 3 - newlib/libc/machine/mn10200/Makefile.in | 152 +- newlib/libc/machine/mn10200/aclocal.m4 | 1109 -- newlib/libc/machine/mn10200/configure | 4942 --------- newlib/libc/machine/mn10200/configure.ac | 13 - newlib/libc/machine/mn10300/Makefile.am | 3 - newlib/libc/machine/mn10300/Makefile.in | 152 +- newlib/libc/machine/mn10300/aclocal.m4 | 1109 -- newlib/libc/machine/mn10300/configure | 4942 --------- newlib/libc/machine/mn10300/configure.ac | 13 - newlib/libc/machine/moxie/Makefile.am | 3 - newlib/libc/machine/moxie/Makefile.in | 152 +- newlib/libc/machine/moxie/aclocal.m4 | 1109 -- newlib/libc/machine/moxie/configure | 4942 --------- newlib/libc/machine/moxie/configure.ac | 13 - newlib/libc/machine/msp430/Makefile.am | 3 - newlib/libc/machine/msp430/Makefile.in | 159 +- newlib/libc/machine/msp430/aclocal.m4 | 1109 -- newlib/libc/machine/msp430/configure | 4970 --------- newlib/libc/machine/msp430/configure.ac | 37 - newlib/libc/machine/mt/Makefile.am | 3 - newlib/libc/machine/mt/Makefile.in | 152 +- newlib/libc/machine/mt/aclocal.m4 | 1109 -- newlib/libc/machine/mt/configure | 4942 --------- newlib/libc/machine/mt/configure.ac | 13 - newlib/libc/machine/nds32/Makefile.am | 3 - newlib/libc/machine/nds32/Makefile.in | 153 +- newlib/libc/machine/nds32/acinclude.m4 | 10 + newlib/libc/machine/nds32/aclocal.m4 | 1173 --- newlib/libc/machine/nds32/configure | 6031 ----------- newlib/libc/machine/nds32/configure.ac | 22 - newlib/libc/machine/necv70/Makefile.am | 3 - newlib/libc/machine/necv70/Makefile.in | 152 +- newlib/libc/machine/necv70/aclocal.m4 | 1109 -- newlib/libc/machine/necv70/configure | 4942 --------- newlib/libc/machine/necv70/configure.ac | 13 - newlib/libc/machine/nios2/Makefile.am | 3 - newlib/libc/machine/nios2/Makefile.in | 151 +- newlib/libc/machine/nios2/aclocal.m4 | 1109 -- newlib/libc/machine/nios2/configure | 4942 --------- newlib/libc/machine/nios2/configure.ac | 13 - newlib/libc/machine/nvptx/Makefile.am | 3 - newlib/libc/machine/nvptx/Makefile.in | 144 +- newlib/libc/machine/nvptx/aclocal.m4 | 1109 -- newlib/libc/machine/nvptx/configure | 4942 --------- newlib/libc/machine/nvptx/configure.ac | 13 - newlib/libc/machine/or1k/Makefile.am | 3 - newlib/libc/machine/or1k/Makefile.in | 152 +- newlib/libc/machine/or1k/aclocal.m4 | 1109 -- newlib/libc/machine/or1k/configure | 4942 --------- newlib/libc/machine/or1k/configure.ac | 13 - newlib/libc/machine/powerpc/Makefile.am | 4 - newlib/libc/machine/powerpc/Makefile.in | 159 +- newlib/libc/machine/powerpc/acinclude.m4 | 10 + newlib/libc/machine/powerpc/aclocal.m4 | 1109 -- newlib/libc/machine/powerpc/configure | 4977 --------- newlib/libc/machine/powerpc/configure.ac | 22 - newlib/libc/machine/pru/Makefile.am | 3 - newlib/libc/machine/pru/Makefile.in | 151 +- newlib/libc/machine/pru/aclocal.m4 | 1109 -- newlib/libc/machine/pru/configure | 4942 --------- newlib/libc/machine/pru/configure.ac | 13 - newlib/libc/machine/riscv/Makefile.am | 3 - newlib/libc/machine/riscv/Makefile.in | 159 +- newlib/libc/machine/riscv/aclocal.m4 | 1109 -- newlib/libc/machine/riscv/configure | 4942 --------- newlib/libc/machine/riscv/configure.ac | 13 - newlib/libc/machine/rl78/Makefile.am | 3 - newlib/libc/machine/rl78/Makefile.in | 152 +- newlib/libc/machine/rl78/aclocal.m4 | 1109 -- newlib/libc/machine/rl78/configure | 4942 --------- newlib/libc/machine/rl78/configure.ac | 13 - newlib/libc/machine/rx/Makefile.am | 3 - newlib/libc/machine/rx/Makefile.in | 152 +- newlib/libc/machine/rx/aclocal.m4 | 1109 -- newlib/libc/machine/rx/configure | 4942 --------- newlib/libc/machine/rx/configure.ac | 13 - newlib/libc/machine/sh/Makefile.am | 3 - newlib/libc/machine/sh/Makefile.in | 146 +- newlib/libc/machine/sh/acinclude.m4 | 9 + newlib/libc/machine/sh/aclocal.m4 | 1173 --- newlib/libc/machine/sh/configure | 6030 ----------- newlib/libc/machine/sh/configure.ac | 20 - newlib/libc/machine/sparc/Makefile.am | 3 - newlib/libc/machine/sparc/Makefile.in | 159 +- newlib/libc/machine/sparc/aclocal.m4 | 1109 -- newlib/libc/machine/sparc/configure | 4942 --------- newlib/libc/machine/sparc/configure.ac | 13 - newlib/libc/machine/spu/Makefile.am | 4 - newlib/libc/machine/spu/Makefile.in | 153 +- newlib/libc/machine/spu/acinclude.m4 | 10 + newlib/libc/machine/spu/aclocal.m4 | 1173 --- newlib/libc/machine/spu/configure | 6034 ----------- newlib/libc/machine/spu/configure.ac | 22 - newlib/libc/machine/tic4x/Makefile.am | 3 - newlib/libc/machine/tic4x/Makefile.in | 152 +- newlib/libc/machine/tic4x/aclocal.m4 | 1109 -- newlib/libc/machine/tic4x/configure | 4942 --------- newlib/libc/machine/tic4x/configure.ac | 13 - newlib/libc/machine/tic6x/Makefile.am | 3 - newlib/libc/machine/tic6x/Makefile.in | 152 +- newlib/libc/machine/tic6x/aclocal.m4 | 1109 -- newlib/libc/machine/tic6x/configure | 4942 --------- newlib/libc/machine/tic6x/configure.ac | 13 - newlib/libc/machine/tic80/Makefile.am | 3 - newlib/libc/machine/tic80/Makefile.in | 152 +- newlib/libc/machine/tic80/aclocal.m4 | 1109 -- newlib/libc/machine/tic80/configure | 4942 --------- newlib/libc/machine/tic80/configure.ac | 13 - newlib/libc/machine/v850/Makefile.am | 3 - newlib/libc/machine/v850/Makefile.in | 152 +- newlib/libc/machine/v850/aclocal.m4 | 1109 -- newlib/libc/machine/v850/configure | 4942 --------- newlib/libc/machine/v850/configure.ac | 13 - newlib/libc/machine/visium/Makefile.am | 3 - newlib/libc/machine/visium/Makefile.in | 159 +- newlib/libc/machine/visium/aclocal.m4 | 1109 -- newlib/libc/machine/visium/configure | 4942 --------- newlib/libc/machine/visium/configure.ac | 13 - newlib/libc/machine/w65/Makefile.am | 3 - newlib/libc/machine/w65/Makefile.in | 159 +- newlib/libc/machine/w65/aclocal.m4 | 1109 -- newlib/libc/machine/w65/configure | 4942 --------- newlib/libc/machine/w65/configure.ac | 13 - newlib/libc/machine/x86_64/Makefile.am | 3 - newlib/libc/machine/x86_64/Makefile.in | 152 +- newlib/libc/machine/x86_64/aclocal.m4 | 1109 -- newlib/libc/machine/x86_64/configure | 4942 --------- newlib/libc/machine/x86_64/configure.ac | 13 - newlib/libc/machine/xc16x/Makefile.am | 3 - newlib/libc/machine/xc16x/Makefile.in | 159 +- newlib/libc/machine/xc16x/aclocal.m4 | 1109 -- newlib/libc/machine/xc16x/configure | 4942 --------- newlib/libc/machine/xc16x/configure.ac | 13 - newlib/libc/machine/xscale/Makefile.am | 3 - newlib/libc/machine/xscale/aclocal.m4 | 1109 -- newlib/libc/machine/xscale/configure | 4942 --------- newlib/libc/machine/xscale/configure.ac | 13 - newlib/libc/machine/xstormy16/Makefile.am | 4 - newlib/libc/machine/xstormy16/Makefile.in | 152 +- newlib/libc/machine/xstormy16/aclocal.m4 | 1109 -- newlib/libc/machine/xstormy16/configure | 4942 --------- newlib/libc/machine/xstormy16/configure.ac | 13 - newlib/libc/machine/z8k/Makefile.am | 3 - newlib/libc/machine/z8k/Makefile.in | 152 +- newlib/libc/machine/z8k/aclocal.m4 | 1109 -- newlib/libc/machine/z8k/configure | 4942 --------- newlib/libc/machine/z8k/configure.ac | 13 - newlib/libc/misc/Makefile.in | 7 +- newlib/libc/posix/Makefile.in | 7 +- newlib/libc/reent/Makefile.in | 7 +- newlib/libc/search/Makefile.in | 7 +- newlib/libc/signal/Makefile.in | 7 +- newlib/libc/ssp/Makefile.in | 7 +- newlib/libc/stdio/Makefile.in | 7 +- newlib/libc/stdio64/Makefile.in | 7 +- newlib/libc/stdlib/Makefile.in | 7 +- newlib/libc/string/Makefile.in | 7 +- newlib/libc/sys/a29khif/Makefile.in | 7 +- newlib/libc/sys/amdgcn/Makefile.in | 7 +- newlib/libc/sys/arm/Makefile.in | 7 +- newlib/libc/sys/d10v/Makefile.in | 7 +- newlib/libc/sys/decstation/Makefile.in | 7 +- newlib/libc/sys/epiphany/Makefile.in | 7 +- newlib/libc/sys/h8300hms/Makefile.in | 7 +- newlib/libc/sys/h8500hms/Makefile.in | 7 +- newlib/libc/sys/m88kbug/Makefile.in | 7 +- newlib/libc/sys/mmixware/Makefile.in | 7 +- newlib/libc/sys/netware/Makefile.in | 7 +- newlib/libc/sys/or1k/Makefile.in | 7 +- newlib/libc/sys/rdos/Makefile.in | 7 +- newlib/libc/sys/rtems/Makefile.in | 7 +- newlib/libc/sys/sh/Makefile.in | 7 +- newlib/libc/sys/sparc64/Makefile.in | 7 +- newlib/libc/sys/sun4/Makefile.in | 7 +- newlib/libc/sys/sysmec/Makefile.in | 7 +- newlib/libc/sys/sysnec810/Makefile.in | 7 +- newlib/libc/sys/sysnecv850/Makefile.in | 7 +- newlib/libc/sys/sysvi386/Makefile.in | 7 +- newlib/libc/sys/sysvnecv70/Makefile.in | 7 +- newlib/libc/sys/tic80/Makefile.in | 7 +- newlib/libc/sys/tirtos/Makefile.in | 7 +- newlib/libc/sys/w65/Makefile.in | 7 +- newlib/libc/sys/z8ksim/Makefile.in | 7 +- newlib/libc/syscalls/Makefile.in | 7 +- newlib/libc/time/Makefile.in | 7 +- newlib/libc/unix/Makefile.in | 7 +- newlib/libc/xdr/Makefile.in | 7 +- 355 files changed, 6795 insertions(+), 380098 deletions(-) diff --git a/newlib/libc/Makefile.in b/newlib/libc/Makefile.in index 5b01b1714..7e29c18e1 100644 --- a/newlib/libc/Makefile.in +++ b/newlib/libc/Makefile.in @@ -102,7 +102,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/dep= stand.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am $(top_srcdir)/configure \ diff --git a/newlib/libc/argz/Makefile.in b/newlib/libc/argz/Makefile.in index b62fa7c78..7bde4da53 100644 --- a/newlib/libc/argz/Makefile.in +++ b/newlib/libc/argz/Makefile.in @@ -100,7 +100,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/dep= stand.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/configure b/newlib/libc/configure index b2e10391b..ba3094e97 100755 --- a/newlib/libc/configure +++ b/newlib/libc/configure @@ -634,10 +634,22 @@ ac_subst_vars=3D'am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +MACH_ADD_SETJMP_FALSE +MACH_ADD_SETJMP_TRUE LIBC_MACHINE_LIB LIBC_MACHINE_DIR HAVE_LIBC_MACHINE_DIR_FALSE HAVE_LIBC_MACHINE_DIR_TRUE +HAVE_SPU_EA_FALSE +HAVE_SPU_EA_TRUE +SH64_FALSE +SH64_TRUE +HAVE_POWERPC_SPE_FALSE +HAVE_POWERPC_SPE_TRUE +HAVE_POWERPC_ALTIVEC_FALSE +HAVE_POWERPC_ALTIVEC_TRUE +IS_NDS32_ISA_V3M_FALSE +IS_NDS32_ISA_V3M_TRUE ENABLE_NEWLIB_ICONV_FALSE ENABLE_NEWLIB_ICONV_TRUE HAVE_LONG_DOUBLE_FALSE @@ -858,66 +870,7 @@ LIBS CPPFLAGS CPP' ac_subdirs_all=3D'sys/linux -sys/phoenix -machine/a29k -machine/aarch64 -machine/amdgcn -machine/arc -machine/arm -machine/bfin -machine/cr16 -machine/cris -machine/crx -machine/csky -machine/d10v -machine/d30v -machine/epiphany -machine/fr30 -machine/frv -machine/ft32 -machine/h8300 -machine/h8500 -machine/hppa -machine/i386 -machine/i960 -machine/iq2000 -machine/lm32 -machine/m32c -machine/m32r -machine/m68hc11 -machine/m68k -machine/m88k -machine/mep -machine/microblaze -machine/mips -machine/riscv -machine/mn10200 -machine/mn10300 -machine/moxie -machine/msp430 -machine/mt -machine/nds32 -machine/necv70 -machine/nios2 -machine/nvptx -machine/or1k -machine/powerpc -machine/pru -machine/rl78 -machine/rx -machine/sh -machine/sparc -machine/spu -machine/tic4x -machine/tic6x -machine/tic80 -machine/v850 -machine/visium -machine/w65 -machine/x86_64 -machine/xc16x -machine/xstormy16 -machine/z8k' +sys/phoenix' =20 # Initialize some variables set by options. ac_init_help=3D @@ -11758,7 +11711,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11761 "configure" +#line 11714 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11864,7 +11817,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11867 "configure" +#line 11820 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -12395,126 +12348,251 @@ else fi =20 =20 +if test "${machine_dir}" =3D "nds32"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __NDS32_ISA_V3M__ +# error "This is nds32_isa_v3m." +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + is_nds32_isa_v3m=3D"no" +else + is_nds32_isa_v3m=3D"yes" +fi +rm -f conftest.err conftest.i conftest.$ac_ext +fi + + if test "$is_nds32_isa_v3m" =3D "yes"; then + IS_NDS32_ISA_V3M_TRUE=3D + IS_NDS32_ISA_V3M_FALSE=3D'#' +else + IS_NDS32_ISA_V3M_TRUE=3D'#' + IS_NDS32_ISA_V3M_FALSE=3D +fi + + +HAVE_POWERPC_ALTIVEC=3Dno +HAVE_POWERPC_SPE=3Dno +if test "${machine_dir}" =3D "powerpc"; then + case $host in + powerpc*-*altivec*) HAVE_POWERPC_ALTIVEC=3Dyes ;; + powerpc*-*spe*) HAVE_POWERPC_SPE=3Dyes ;; + esac +fi + if test "$HAVE_POWERPC_ALTIVEC" =3D yes; then + HAVE_POWERPC_ALTIVEC_TRUE=3D + HAVE_POWERPC_ALTIVEC_FALSE=3D'#' +else + HAVE_POWERPC_ALTIVEC_TRUE=3D'#' + HAVE_POWERPC_ALTIVEC_FALSE=3D +fi + + if test "$HAVE_POWERPC_SPE" =3D yes; then + HAVE_POWERPC_SPE_TRUE=3D + HAVE_POWERPC_SPE_FALSE=3D'#' +else + HAVE_POWERPC_SPE_TRUE=3D'#' + HAVE_POWERPC_SPE_FALSE=3D +fi + + +if test "${machine_dir}" =3D "sh"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if !defined(__SH5__) +# error "not SH5" +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + have_sh64=3Dyes +else + have_sh64=3Dno +fi +rm -f conftest.err conftest.i conftest.$ac_ext +fi + + if test "$have_sh64" =3D yes; then + SH64_TRUE=3D + SH64_FALSE=3D'#' +else + SH64_TRUE=3D'#' + SH64_FALSE=3D +fi + + +if test "${machine_dir}" =3D "spu"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler s= upports __ea" >&5 +$as_echo_n "checking whether the compiler supports __ea... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if !defined (__EA32__) && !defined (__EA64__) +# error "__ea not supported" +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + spu_compiler_has_ea=3Dyes +else + spu_compiler_has_ea=3Dno +fi +rm -f conftest.err conftest.i conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $spu_compiler_has_ea" >= &5 +$as_echo "$spu_compiler_has_ea" >&6; } +fi + if test x${spu_compiler_has_ea} !=3D xno; then + HAVE_SPU_EA_TRUE=3D + HAVE_SPU_EA_FALSE=3D'#' +else + HAVE_SPU_EA_TRUE=3D'#' + HAVE_SPU_EA_FALSE=3D +fi + + + LIBC_MACHINE_LIB=3D if test -n "${machine_dir}"; then case ${machine_dir} in - a29k) subdirs=3D"$subdirs machine/a29k" + a29k) ac_config_files=3D"$ac_config_files machine/a29k/Makefile" ;; - aarch64) subdirs=3D"$subdirs machine/aarch64" + aarch64) ac_config_files=3D"$ac_config_files machine/aarch64/Makefile" ;; - amdgcn) subdirs=3D"$subdirs machine/amdgcn" + amdgcn) ac_config_files=3D"$ac_config_files machine/amdgcn/Makefile" ;; - arc) subdirs=3D"$subdirs machine/arc" + arc) ac_config_files=3D"$ac_config_files machine/arc/Makefile" ;; - arm) subdirs=3D"$subdirs machine/arm" + arm) ac_config_files=3D"$ac_config_files machine/arm/Makefile" ;; - bfin) subdirs=3D"$subdirs machine/bfin" + bfin) ac_config_files=3D"$ac_config_files machine/bfin/Makefile" ;; - cr16) subdirs=3D"$subdirs machine/cr16" + cr16) ac_config_files=3D"$ac_config_files machine/cr16/Makefile" ;; - cris) subdirs=3D"$subdirs machine/cris" + cris) ac_config_files=3D"$ac_config_files machine/cris/Makefile" ;; - crx) subdirs=3D"$subdirs machine/crx" + crx) ac_config_files=3D"$ac_config_files machine/crx/Makefile" ;; - csky) subdirs=3D"$subdirs machine/csky" + csky) ac_config_files=3D"$ac_config_files machine/csky/Makefile" ;; - d10v) subdirs=3D"$subdirs machine/d10v" + d10v) ac_config_files=3D"$ac_config_files machine/d10v/Makefile" ;; - d30v) subdirs=3D"$subdirs machine/d30v" + d30v) ac_config_files=3D"$ac_config_files machine/d30v/Makefile" ;; - epiphany) subdirs=3D"$subdirs machine/epiphany" + epiphany) ac_config_files=3D"$ac_config_files machine/epiphany/Makefil= e" ;; - fr30) subdirs=3D"$subdirs machine/fr30" + fr30) ac_config_files=3D"$ac_config_files machine/fr30/Makefile" ;; - frv) subdirs=3D"$subdirs machine/frv" + frv) ac_config_files=3D"$ac_config_files machine/frv/Makefile" ;; - ft32) subdirs=3D"$subdirs machine/ft32" + ft32) ac_config_files=3D"$ac_config_files machine/ft32/Makefile" ;; - h8300) subdirs=3D"$subdirs machine/h8300" + h8300) ac_config_files=3D"$ac_config_files machine/h8300/Makefile" ;; - h8500) subdirs=3D"$subdirs machine/h8500" + h8500) ac_config_files=3D"$ac_config_files machine/h8500/Makefile" ;; - hppa) subdirs=3D"$subdirs machine/hppa" + hppa) ac_config_files=3D"$ac_config_files machine/hppa/Makefile" ;; - i386) subdirs=3D"$subdirs machine/i386" + i386) ac_config_files=3D"$ac_config_files machine/i386/Makefile" ;; - i960) subdirs=3D"$subdirs machine/i960" + i960) ac_config_files=3D"$ac_config_files machine/i960/Makefile" ;; - iq2000) subdirs=3D"$subdirs machine/iq2000" + iq2000) ac_config_files=3D"$ac_config_files machine/iq2000/Makefile" ;; - lm32) subdirs=3D"$subdirs machine/lm32" + lm32) ac_config_files=3D"$ac_config_files machine/lm32/Makefile" ;; - m32c) subdirs=3D"$subdirs machine/m32c" + m32c) ac_config_files=3D"$ac_config_files machine/m32c/Makefile" ;; - m32r) subdirs=3D"$subdirs machine/m32r" + m32r) ac_config_files=3D"$ac_config_files machine/m32r/Makefile" ;; - m68hc11) subdirs=3D"$subdirs machine/m68hc11" + m68hc11) ac_config_files=3D"$ac_config_files machine/m68hc11/Makefile" ;; - m68k) subdirs=3D"$subdirs machine/m68k" + m68k) ac_config_files=3D"$ac_config_files machine/m68k/Makefile" ;; - m88k) subdirs=3D"$subdirs machine/m88k" + m88k) ac_config_files=3D"$ac_config_files machine/m88k/Makefile" ;; - mep) subdirs=3D"$subdirs machine/mep" + mep) ac_config_files=3D"$ac_config_files machine/mep/Makefile" ;; - microblaze) subdirs=3D"$subdirs machine/microblaze" + microblaze) ac_config_files=3D"$ac_config_files machine/microblaze/Mak= efile" ;; - mips) subdirs=3D"$subdirs machine/mips" + mips) ac_config_files=3D"$ac_config_files machine/mips/Makefile" ;; - riscv) subdirs=3D"$subdirs machine/riscv" + riscv) ac_config_files=3D"$ac_config_files machine/riscv/Makefile" ;; - mn10200) subdirs=3D"$subdirs machine/mn10200" + mn10200) ac_config_files=3D"$ac_config_files machine/mn10200/Makefile" ;; - mn10300) subdirs=3D"$subdirs machine/mn10300" + mn10300) ac_config_files=3D"$ac_config_files machine/mn10300/Makefile" ;; - moxie) subdirs=3D"$subdirs machine/moxie" + moxie) ac_config_files=3D"$ac_config_files machine/moxie/Makefile" ;; - msp430) subdirs=3D"$subdirs machine/msp430" + msp430) ac_config_files=3D"$ac_config_files machine/msp430/Makefile" ;; - mt) subdirs=3D"$subdirs machine/mt" + mt) ac_config_files=3D"$ac_config_files machine/mt/Makefile" ;; - nds32) subdirs=3D"$subdirs machine/nds32" + nds32) ac_config_files=3D"$ac_config_files machine/nds32/Makefile" ;; - necv70) subdirs=3D"$subdirs machine/necv70" + necv70) ac_config_files=3D"$ac_config_files machine/necv70/Makefile" ;; - nios2) subdirs=3D"$subdirs machine/nios2" + nios2) ac_config_files=3D"$ac_config_files machine/nios2/Makefile" ;; - nvptx) subdirs=3D"$subdirs machine/nvptx" + nvptx) ac_config_files=3D"$ac_config_files machine/nvptx/Makefile" ;; - or1k) subdirs=3D"$subdirs machine/or1k" + or1k) ac_config_files=3D"$ac_config_files machine/or1k/Makefile" ;; - powerpc) subdirs=3D"$subdirs machine/powerpc" + powerpc) ac_config_files=3D"$ac_config_files machine/powerpc/Makefile" ;; - pru) subdirs=3D"$subdirs machine/pru" + pru) ac_config_files=3D"$ac_config_files machine/pru/Makefile" ;; - rl78) subdirs=3D"$subdirs machine/rl78" + rl78) ac_config_files=3D"$ac_config_files machine/rl78/Makefile" ;; - rx) subdirs=3D"$subdirs machine/rx" + rx) ac_config_files=3D"$ac_config_files machine/rx/Makefile" ;; - sh) subdirs=3D"$subdirs machine/sh" + sh) ac_config_files=3D"$ac_config_files machine/sh/Makefile" ;; - sparc) subdirs=3D"$subdirs machine/sparc" + sparc) ac_config_files=3D"$ac_config_files machine/sparc/Makefile" ;; - spu) subdirs=3D"$subdirs machine/spu" + spu) ac_config_files=3D"$ac_config_files machine/spu/Makefile" ;; - tic4x) subdirs=3D"$subdirs machine/tic4x" + tic4x) ac_config_files=3D"$ac_config_files machine/tic4x/Makefile" ;; - tic6x) subdirs=3D"$subdirs machine/tic6x" + tic6x) ac_config_files=3D"$ac_config_files machine/tic6x/Makefile" ;; - tic80) subdirs=3D"$subdirs machine/tic80" + tic80) ac_config_files=3D"$ac_config_files machine/tic80/Makefile" ;; - v850) subdirs=3D"$subdirs machine/v850" + v850) ac_config_files=3D"$ac_config_files machine/v850/Makefile" ;; - visium) subdirs=3D"$subdirs machine/visium" + visium) ac_config_files=3D"$ac_config_files machine/visium/Makefile" ;; - w65) subdirs=3D"$subdirs machine/w65" + w65) ac_config_files=3D"$ac_config_files machine/w65/Makefile" ;; - x86_64) subdirs=3D"$subdirs machine/x86_64" + x86_64) ac_config_files=3D"$ac_config_files machine/x86_64/Makefile" ;; - xc16x) subdirs=3D"$subdirs machine/xc16x" + xc16x) ac_config_files=3D"$ac_config_files machine/xc16x/Makefile" ;; - xstormy16) subdirs=3D"$subdirs machine/xstormy16" + xstormy16) ac_config_files=3D"$ac_config_files machine/xstormy16/Makef= ile" ;; - z8k) subdirs=3D"$subdirs machine/z8k" + z8k) ac_config_files=3D"$ac_config_files machine/z8k/Makefile" ;; *) as_fn_error $? "unsupported machine_dir \"${machine_dir}\"" "$LINEN= O" 5 ;; esac @@ -12539,6 +12617,15 @@ fi =20 =20 =20 + if test "x$mach_add_setjmp" =3D "xtrue"; then + MACH_ADD_SETJMP_TRUE=3D + MACH_ADD_SETJMP_FALSE=3D'#' +else + MACH_ADD_SETJMP_TRUE=3D'#' + MACH_ADD_SETJMP_FALSE=3D +fi + + ac_config_files=3D"$ac_config_files Makefile argz/Makefile ctype/Makefile = errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile= stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makef= ile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Ma= kefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile icon= v/lib/Makefile ssp/Makefile xdr/Makefile" =20 cat >confcache <<\_ACEOF @@ -12798,10 +12885,34 @@ if test -z "${ENABLE_NEWLIB_ICONV_TRUE}" && test = -z "${ENABLE_NEWLIB_ICONV_FALSE as_fn_error $? "conditional \"ENABLE_NEWLIB_ICONV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${IS_NDS32_ISA_V3M_TRUE}" && test -z "${IS_NDS32_ISA_V3M_FALSE= }"; then + as_fn_error $? "conditional \"IS_NDS32_ISA_V3M\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_POWERPC_ALTIVEC_TRUE}" && test -z "${HAVE_POWERPC_ALTIV= EC_FALSE}"; then + as_fn_error $? "conditional \"HAVE_POWERPC_ALTIVEC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_POWERPC_SPE_TRUE}" && test -z "${HAVE_POWERPC_SPE_FALSE= }"; then + as_fn_error $? "conditional \"HAVE_POWERPC_SPE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then + as_fn_error $? "conditional \"SH64\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SPU_EA_TRUE}" && test -z "${HAVE_SPU_EA_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SPU_EA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${HAVE_LIBC_MACHINE_DIR_TRUE}" && test -z "${HAVE_LIBC_MACHINE= _DIR_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBC_MACHINE_DIR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${MACH_ADD_SETJMP_TRUE}" && test -z "${MACH_ADD_SETJMP_FALSE}"= ; then + as_fn_error $? "conditional \"MACH_ADD_SETJMP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi =20 : "${CONFIG_STATUS=3D./config.status}" ac_write_fail=3D0 @@ -13666,6 +13777,65 @@ do "sys/tirtos/Makefile") CONFIG_FILES=3D"$CONFIG_FILES sys/tirtos/Makefi= le" ;; "sys/w65/Makefile") CONFIG_FILES=3D"$CONFIG_FILES sys/w65/Makefile" ;; "sys/z8ksim/Makefile") CONFIG_FILES=3D"$CONFIG_FILES sys/z8ksim/Makefi= le" ;; + "machine/a29k/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/a29k/Ma= kefile" ;; + "machine/aarch64/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/aarc= h64/Makefile" ;; + "machine/amdgcn/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/amdgc= n/Makefile" ;; + "machine/arc/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/arc/Make= file" ;; + "machine/arm/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/arm/Make= file" ;; + "machine/bfin/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/bfin/Ma= kefile" ;; + "machine/cr16/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/cr16/Ma= kefile" ;; + "machine/cris/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/cris/Ma= kefile" ;; + "machine/crx/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/crx/Make= file" ;; + "machine/csky/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/csky/Ma= kefile" ;; + "machine/d10v/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/d10v/Ma= kefile" ;; + "machine/d30v/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/d30v/Ma= kefile" ;; + "machine/epiphany/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/epi= phany/Makefile" ;; + "machine/fr30/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/fr30/Ma= kefile" ;; + "machine/frv/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/frv/Make= file" ;; + "machine/ft32/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/ft32/Ma= kefile" ;; + "machine/h8300/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/h8300/= Makefile" ;; + "machine/h8500/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/h8500/= Makefile" ;; + "machine/hppa/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/hppa/Ma= kefile" ;; + "machine/i386/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/i386/Ma= kefile" ;; + "machine/i960/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/i960/Ma= kefile" ;; + "machine/iq2000/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/iq200= 0/Makefile" ;; + "machine/lm32/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/lm32/Ma= kefile" ;; + "machine/m32c/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/m32c/Ma= kefile" ;; + "machine/m32r/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/m32r/Ma= kefile" ;; + "machine/m68hc11/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/m68h= c11/Makefile" ;; + "machine/m68k/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/m68k/Ma= kefile" ;; + "machine/m88k/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/m88k/Ma= kefile" ;; + "machine/mep/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/mep/Make= file" ;; + "machine/microblaze/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/m= icroblaze/Makefile" ;; + "machine/mips/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/mips/Ma= kefile" ;; + "machine/riscv/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/riscv/= Makefile" ;; + "machine/mn10200/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/mn10= 200/Makefile" ;; + "machine/mn10300/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/mn10= 300/Makefile" ;; + "machine/moxie/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/moxie/= Makefile" ;; + "machine/msp430/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/msp43= 0/Makefile" ;; + "machine/mt/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/mt/Makefi= le" ;; + "machine/nds32/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/nds32/= Makefile" ;; + "machine/necv70/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/necv7= 0/Makefile" ;; + "machine/nios2/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/nios2/= Makefile" ;; + "machine/nvptx/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/nvptx/= Makefile" ;; + "machine/or1k/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/or1k/Ma= kefile" ;; + "machine/powerpc/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/powe= rpc/Makefile" ;; + "machine/pru/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/pru/Make= file" ;; + "machine/rl78/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/rl78/Ma= kefile" ;; + "machine/rx/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/rx/Makefi= le" ;; + "machine/sh/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/sh/Makefi= le" ;; + "machine/sparc/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/sparc/= Makefile" ;; + "machine/spu/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/spu/Make= file" ;; + "machine/tic4x/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/tic4x/= Makefile" ;; + "machine/tic6x/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/tic6x/= Makefile" ;; + "machine/tic80/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/tic80/= Makefile" ;; + "machine/v850/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/v850/Ma= kefile" ;; + "machine/visium/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/visiu= m/Makefile" ;; + "machine/w65/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/w65/Make= file" ;; + "machine/x86_64/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/x86_6= 4/Makefile" ;; + "machine/xc16x/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/xc16x/= Makefile" ;; + "machine/xstormy16/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/xs= tormy16/Makefile" ;; + "machine/z8k/Makefile") CONFIG_FILES=3D"$CONFIG_FILES machine/z8k/Make= file" ;; "Makefile") CONFIG_FILES=3D"$CONFIG_FILES Makefile" ;; "argz/Makefile") CONFIG_FILES=3D"$CONFIG_FILES argz/Makefile" ;; "ctype/Makefile") CONFIG_FILES=3D"$CONFIG_FILES ctype/Makefile" ;; diff --git a/newlib/libc/configure.ac b/newlib/libc/configure.ac index 436dd4070..5d4dc7bf5 100644 --- a/newlib/libc/configure.ac +++ b/newlib/libc/configure.ac @@ -215,68 +215,75 @@ AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$ac_cv_type_l= ong_double" =3D x"yes") dnl iconv library will be compiled if --enable-newlib-iconv option is enab= led AM_CONDITIONAL(ENABLE_NEWLIB_ICONV, test x${newlib_iconv} !=3D x) =20 +dnl We have to include these unconditionally since machines might want to = use +dnl AM_CONDITIONAL in their subdirs. +m4_include([machine/nds32/acinclude.m4]) +m4_include([machine/powerpc/acinclude.m4]) +m4_include([machine/sh/acinclude.m4]) +m4_include([machine/spu/acinclude.m4]) + LIBC_MACHINE_LIB=3D if test -n "${machine_dir}"; then case ${machine_dir} in - a29k) AC_CONFIG_SUBDIRS(machine/a29k) ;; - aarch64) AC_CONFIG_SUBDIRS(machine/aarch64) ;; - amdgcn) AC_CONFIG_SUBDIRS(machine/amdgcn) ;; - arc) AC_CONFIG_SUBDIRS(machine/arc) ;; - arm) AC_CONFIG_SUBDIRS(machine/arm) ;; - bfin) AC_CONFIG_SUBDIRS(machine/bfin) ;; - cr16) AC_CONFIG_SUBDIRS(machine/cr16) ;; - cris) AC_CONFIG_SUBDIRS(machine/cris) ;; - crx) AC_CONFIG_SUBDIRS(machine/crx) ;; - csky) AC_CONFIG_SUBDIRS(machine/csky) ;; - d10v) AC_CONFIG_SUBDIRS(machine/d10v) ;; - d30v) AC_CONFIG_SUBDIRS(machine/d30v) ;; - epiphany) AC_CONFIG_SUBDIRS(machine/epiphany) ;; - fr30) AC_CONFIG_SUBDIRS(machine/fr30) ;; - frv) AC_CONFIG_SUBDIRS(machine/frv) ;; - ft32) AC_CONFIG_SUBDIRS(machine/ft32) ;; - h8300) AC_CONFIG_SUBDIRS(machine/h8300) ;; - h8500) AC_CONFIG_SUBDIRS(machine/h8500) ;; - hppa) AC_CONFIG_SUBDIRS(machine/hppa) ;; - i386) AC_CONFIG_SUBDIRS(machine/i386) ;; - i960) AC_CONFIG_SUBDIRS(machine/i960) ;; - iq2000) AC_CONFIG_SUBDIRS(machine/iq2000) ;; - lm32) AC_CONFIG_SUBDIRS(machine/lm32) ;; - m32c) AC_CONFIG_SUBDIRS(machine/m32c) ;; - m32r) AC_CONFIG_SUBDIRS(machine/m32r) ;; - m68hc11) AC_CONFIG_SUBDIRS(machine/m68hc11) ;; - m68k) AC_CONFIG_SUBDIRS(machine/m68k) ;; - m88k) AC_CONFIG_SUBDIRS(machine/m88k) ;; - mep) AC_CONFIG_SUBDIRS(machine/mep) ;; - microblaze) AC_CONFIG_SUBDIRS(machine/microblaze) ;; - mips) AC_CONFIG_SUBDIRS(machine/mips) ;; - riscv) AC_CONFIG_SUBDIRS(machine/riscv) ;; - mn10200) AC_CONFIG_SUBDIRS(machine/mn10200) ;; - mn10300) AC_CONFIG_SUBDIRS(machine/mn10300) ;; - moxie) AC_CONFIG_SUBDIRS(machine/moxie) ;; - msp430) AC_CONFIG_SUBDIRS(machine/msp430) ;; - mt) AC_CONFIG_SUBDIRS(machine/mt) ;; - nds32) AC_CONFIG_SUBDIRS(machine/nds32) ;; - necv70) AC_CONFIG_SUBDIRS(machine/necv70) ;; - nios2) AC_CONFIG_SUBDIRS(machine/nios2) ;; - nvptx) AC_CONFIG_SUBDIRS(machine/nvptx) ;; - or1k) AC_CONFIG_SUBDIRS(machine/or1k) ;; - powerpc) AC_CONFIG_SUBDIRS(machine/powerpc) ;; - pru) AC_CONFIG_SUBDIRS(machine/pru) ;; - rl78) AC_CONFIG_SUBDIRS(machine/rl78) ;; - rx) AC_CONFIG_SUBDIRS(machine/rx) ;; - sh) AC_CONFIG_SUBDIRS(machine/sh) ;; - sparc) AC_CONFIG_SUBDIRS(machine/sparc) ;; - spu) AC_CONFIG_SUBDIRS(machine/spu) ;; - tic4x) AC_CONFIG_SUBDIRS(machine/tic4x) ;; - tic6x) AC_CONFIG_SUBDIRS(machine/tic6x) ;; - tic80) AC_CONFIG_SUBDIRS(machine/tic80) ;; - v850) AC_CONFIG_SUBDIRS(machine/v850) ;; - visium) AC_CONFIG_SUBDIRS(machine/visium) ;; - w65) AC_CONFIG_SUBDIRS(machine/w65) ;; - x86_64) AC_CONFIG_SUBDIRS(machine/x86_64) ;; - xc16x) AC_CONFIG_SUBDIRS(machine/xc16x) ;; - xstormy16) AC_CONFIG_SUBDIRS(machine/xstormy16) ;; - z8k) AC_CONFIG_SUBDIRS(machine/z8k) ;; + a29k) AC_CONFIG_FILES([machine/a29k/Makefile]) ;; + aarch64) AC_CONFIG_FILES([machine/aarch64/Makefile]) ;; + amdgcn) AC_CONFIG_FILES([machine/amdgcn/Makefile]) ;; + arc) AC_CONFIG_FILES([machine/arc/Makefile]) ;; + arm) AC_CONFIG_FILES([machine/arm/Makefile]) ;; + bfin) AC_CONFIG_FILES([machine/bfin/Makefile]) ;; + cr16) AC_CONFIG_FILES([machine/cr16/Makefile]) ;; + cris) AC_CONFIG_FILES([machine/cris/Makefile]) ;; + crx) AC_CONFIG_FILES([machine/crx/Makefile]) ;; + csky) AC_CONFIG_FILES([machine/csky/Makefile]) ;; + d10v) AC_CONFIG_FILES([machine/d10v/Makefile]) ;; + d30v) AC_CONFIG_FILES([machine/d30v/Makefile]) ;; + epiphany) AC_CONFIG_FILES([machine/epiphany/Makefile]) ;; + fr30) AC_CONFIG_FILES([machine/fr30/Makefile]) ;; + frv) AC_CONFIG_FILES([machine/frv/Makefile]) ;; + ft32) AC_CONFIG_FILES([machine/ft32/Makefile]) ;; + h8300) AC_CONFIG_FILES([machine/h8300/Makefile]) ;; + h8500) AC_CONFIG_FILES([machine/h8500/Makefile]) ;; + hppa) AC_CONFIG_FILES([machine/hppa/Makefile]) ;; + i386) AC_CONFIG_FILES([machine/i386/Makefile]) ;; + i960) AC_CONFIG_FILES([machine/i960/Makefile]) ;; + iq2000) AC_CONFIG_FILES([machine/iq2000/Makefile]) ;; + lm32) AC_CONFIG_FILES([machine/lm32/Makefile]) ;; + m32c) AC_CONFIG_FILES([machine/m32c/Makefile]) ;; + m32r) AC_CONFIG_FILES([machine/m32r/Makefile]) ;; + m68hc11) AC_CONFIG_FILES([machine/m68hc11/Makefile]) ;; + m68k) AC_CONFIG_FILES([machine/m68k/Makefile]) ;; + m88k) AC_CONFIG_FILES([machine/m88k/Makefile]) ;; + mep) AC_CONFIG_FILES([machine/mep/Makefile]) ;; + microblaze) AC_CONFIG_FILES([machine/microblaze/Makefile]) ;; + mips) AC_CONFIG_FILES([machine/mips/Makefile]) ;; + riscv) AC_CONFIG_FILES([machine/riscv/Makefile]) ;; + mn10200) AC_CONFIG_FILES([machine/mn10200/Makefile]) ;; + mn10300) AC_CONFIG_FILES([machine/mn10300/Makefile]) ;; + moxie) AC_CONFIG_FILES([machine/moxie/Makefile]) ;; + msp430) AC_CONFIG_FILES([machine/msp430/Makefile]) ;; + mt) AC_CONFIG_FILES([machine/mt/Makefile]) ;; + nds32) AC_CONFIG_FILES([machine/nds32/Makefile]) ;; + necv70) AC_CONFIG_FILES([machine/necv70/Makefile]) ;; + nios2) AC_CONFIG_FILES([machine/nios2/Makefile]) ;; + nvptx) AC_CONFIG_FILES([machine/nvptx/Makefile]) ;; + or1k) AC_CONFIG_FILES([machine/or1k/Makefile]) ;; + powerpc) AC_CONFIG_FILES([machine/powerpc/Makefile]) ;; + pru) AC_CONFIG_FILES([machine/pru/Makefile]) ;; + rl78) AC_CONFIG_FILES([machine/rl78/Makefile]) ;; + rx) AC_CONFIG_FILES([machine/rx/Makefile]) ;; + sh) AC_CONFIG_FILES([machine/sh/Makefile]) ;; + sparc) AC_CONFIG_FILES([machine/sparc/Makefile]) ;; + spu) AC_CONFIG_FILES([machine/spu/Makefile]) ;; + tic4x) AC_CONFIG_FILES([machine/tic4x/Makefile]) ;; + tic6x) AC_CONFIG_FILES([machine/tic6x/Makefile]) ;; + tic80) AC_CONFIG_FILES([machine/tic80/Makefile]) ;; + v850) AC_CONFIG_FILES([machine/v850/Makefile]) ;; + visium) AC_CONFIG_FILES([machine/visium/Makefile]) ;; + w65) AC_CONFIG_FILES([machine/w65/Makefile]) ;; + x86_64) AC_CONFIG_FILES([machine/x86_64/Makefile]) ;; + xc16x) AC_CONFIG_FILES([machine/xc16x/Makefile]) ;; + xstormy16) AC_CONFIG_FILES([machine/xstormy16/Makefile]) ;; + z8k) AC_CONFIG_FILES([machine/z8k/Makefile]) ;; *) AC_MSG_ERROR([unsupported machine_dir "${machine_dir}"]) ;; esac =20 @@ -293,5 +300,7 @@ AC_SUBST(LIBC_MACHINE_LIB) AC_SUBST(machine_dir) AC_SUBST(shared_machine_dir) =20 +AM_CONDITIONAL(MACH_ADD_SETJMP, test "x$mach_add_setjmp" =3D "xtrue") + AC_CONFIG_FILES([Makefile argz/Makefile ctype/Makefile errno/Makefile loca= le/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile std= io64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile = signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Ma= kefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile ssp/= Makefile xdr/Makefile]) AC_OUTPUT diff --git a/newlib/libc/ctype/Makefile.in b/newlib/libc/ctype/Makefile.in index 17b990290..f2219330c 100644 --- a/newlib/libc/ctype/Makefile.in +++ b/newlib/libc/ctype/Makefile.in @@ -100,7 +100,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/dep= stand.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/errno/Makefile.in b/newlib/libc/errno/Makefile.in index 3eced35c8..441ea30cc 100644 --- a/newlib/libc/errno/Makefile.in +++ b/newlib/libc/errno/Makefile.in @@ -100,7 +100,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/dep= stand.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/iconv/Makefile.in b/newlib/libc/iconv/Makefile.in index 4e3ecc37e..781f3d559 100644 --- a/newlib/libc/iconv/Makefile.in +++ b/newlib/libc/iconv/Makefile.in @@ -98,7 +98,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/depst= and.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/iconv/ccs/Makefile.in b/newlib/libc/iconv/ccs/Make= file.in index d3fe59e74..df9464391 100644 --- a/newlib/libc/iconv/ccs/Makefile.in +++ b/newlib/libc/iconv/ccs/Makefile.in @@ -99,7 +99,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/depst= and.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/iconv/ccs/binary/Makefile.in b/newlib/libc/iconv/c= cs/binary/Makefile.in index bba8db243..ccd649fe9 100644 --- a/newlib/libc/iconv/ccs/binary/Makefile.in +++ b/newlib/libc/iconv/ccs/binary/Makefile.in @@ -98,7 +98,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/depst= and.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/iconv/ces/Makefile.in b/newlib/libc/iconv/ces/Make= file.in index 86ddf2095..1a8106a16 100644 --- a/newlib/libc/iconv/ces/Makefile.in +++ b/newlib/libc/iconv/ces/Makefile.in @@ -99,7 +99,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/depst= and.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/iconv/lib/Makefile.in b/newlib/libc/iconv/lib/Make= file.in index b4517608d..4d04f7fa7 100644 --- a/newlib/libc/iconv/lib/Makefile.in +++ b/newlib/libc/iconv/lib/Makefile.in @@ -99,7 +99,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/depst= and.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/locale/Makefile.in b/newlib/libc/locale/Makefile.in index cdf35671d..b7de01c81 100644 --- a/newlib/libc/locale/Makefile.in +++ b/newlib/libc/locale/Makefile.in @@ -100,7 +100,12 @@ am__aclocal_m4_deps =3D $(top_srcdir)/../../config/dep= stand.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON =3D $(srcdir)/Makefile.am diff --git a/newlib/libc/machine/a29k/Makefile.am b/newlib/libc/machine/a29= k/Makefile.am index 768c7078f..74820dd03 100644 --- a/newlib/libc/machine/a29k/Makefile.am +++ b/newlib/libc/machine/a29k/Makefile.am @@ -7,6 +7,3 @@ AM_CCASFLAGS =3D $(AM_CPPFLAGS) noinst_LIBRARIES =3D lib.a =20 lib_a_SOURCES =3D - -ACLOCAL_AMFLAGS =3D -I ../../.. -I ../../../.. -I ../../../../config -CONFIG_STATUS_DEPENDENCIES =3D $(newlib_basedir)/configure.host diff --git a/newlib/libc/machine/a29k/Makefile.in b/newlib/libc/machine/a29= k/Makefile.in index 1139f7073..525e6114c 100644 --- a/newlib/libc/machine/a29k/Makefile.in +++ b/newlib/libc/machine/a29k/Makefile.in @@ -88,19 +88,26 @@ PRE_UNINSTALL =3D : POST_UNINSTALL =3D : build_triplet =3D @build@ host_triplet =3D @host@ -subdir =3D . +subdir =3D machine/a29k ACLOCAL_M4 =3D $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps =3D $(top_srcdir)/../../../../config/depstand.m4 \ - $(top_srcdir)/../../../../config/lead-dot.m4 \ - $(top_srcdir)/../../../../config/override.m4 \ - $(top_srcdir)/../../../acinclude.m4 $(top_srcdir)/configure.ac +am__aclocal_m4_deps =3D $(top_srcdir)/../../config/depstand.m4 \ + $(top_srcdir)/../../config/lead-dot.m4 \ + $(top_srcdir)/../../config/override.m4 \ + $(top_srcdir)/../../libtool.m4 \ + $(top_srcdir)/../../ltoptions.m4 \ + $(top_srcdir)/../../ltsugar.m4 \ + $(top_srcdir)/../../ltversion.m4 \ + $(top_srcdir)/../../lt~obsolete.m4 \ + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -DIST_COMMON =3D $(srcdir)/Makefile.am $(top_srcdir)/configure \ - $(am__configure_deps) -am__CONFIG_DISTCLEAN_FILES =3D config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs =3D $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +DIST_COMMON =3D $(srcdir)/Makefile.am +mkinstalldirs =3D $(SHELL) $(top_srcdir)/../../mkinstalldirs CONFIG_CLEAN_FILES =3D CONFIG_CLEAN_VPATH_FILES =3D LIBRARIES =3D $(noinst_LIBRARIES) @@ -130,12 +137,22 @@ depcomp =3D am__depfiles_maybe =3D COMPILE =3D $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +AM_V_lt =3D $(am__v_lt_@AM_V@) +am__v_lt_ =3D $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 =3D --silent +am__v_lt_1 =3D=20 +LTCOMPILE =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=3Dcompile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) AM_V_CC =3D $(am__v_CC_@AM_V@) am__v_CC_ =3D $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 =3D @echo " CC " $@; am__v_CC_1 =3D=20 CCLD =3D $(CC) -LINK =3D $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +LINK =3D $(LIBTOOL) $(AM_V_lt) --tag=3DCC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=3Dlink $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD =3D $(am__v_CCLD_@AM_V@) am__v_CCLD_ =3D $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 =3D @echo " CCLD " $@; @@ -160,26 +177,62 @@ CC =3D @CC@ CCAS =3D @CCAS@ CCASFLAGS =3D @CCASFLAGS@ CCDEPMODE =3D @CCDEPMODE@ +CFLAGS =3D @CFLAGS@ +CPP =3D @CPP@ +CPPFLAGS =3D @CPPFLAGS@ +CRT0 =3D @CRT0@ CYGPATH_W =3D @CYGPATH_W@ DEFS =3D @DEFS@ DEPDIR =3D @DEPDIR@ +DLLTOOL =3D @DLLTOOL@ +DSYMUTIL =3D @DSYMUTIL@ +DUMPBIN =3D @DUMPBIN@ ECHO_C =3D @ECHO_C@ ECHO_N =3D @ECHO_N@ ECHO_T =3D @ECHO_T@ +EGREP =3D @EGREP@ +EXEEXT =3D @EXEEXT@ +FGREP =3D @FGREP@ +GREP =3D @GREP@ INSTALL =3D @INSTALL@ INSTALL_DATA =3D @INSTALL_DATA@ INSTALL_PROGRAM =3D @INSTALL_PROGRAM@ INSTALL_SCRIPT =3D @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM =3D @INSTALL_STRIP_PROGRAM@ +LD =3D @LD@ +LDFLAGS =3D @LDFLAGS@ +LIBC_MACHINE_DIR =3D @LIBC_MACHINE_DIR@ +LIBC_MACHINE_LIB =3D @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF =3D @LIBC_POSIX_DEF@ +LIBC_POSIX_LIB =3D @LIBC_POSIX_LIB@ +LIBC_SIGNAL_DEF =3D @LIBC_SIGNAL_DEF@ +LIBC_SIGNAL_LIB =3D @LIBC_SIGNAL_LIB@ +LIBC_STDIO64_DEF =3D @LIBC_STDIO64_DEF@ +LIBC_STDIO64_LIB =3D @LIBC_STDIO64_LIB@ +LIBC_STDIO_DEF =3D @LIBC_STDIO_DEF@ +LIBC_STDIO_LIB =3D @LIBC_STDIO_LIB@ +LIBC_SYSCALL_LIB =3D @LIBC_SYSCALL_LIB@ +LIBC_SYS_LIB =3D @LIBC_SYS_LIB@ +LIBC_UNIX_LIB =3D @LIBC_UNIX_LIB@ +LIBC_XDR_DEF =3D @LIBC_XDR_DEF@ +LIBC_XDR_LIB =3D @LIBC_XDR_LIB@ LIBOBJS =3D @LIBOBJS@ LIBS =3D @LIBS@ +LIBTOOL =3D @LIBTOOL@ +LIPO =3D @LIPO@ +LN_S =3D @LN_S@ LTLIBOBJS =3D @LTLIBOBJS@ MAINT =3D @MAINT@ MAKEINFO =3D @MAKEINFO@ MKDIR_P =3D @MKDIR_P@ NEWLIB_CFLAGS =3D @NEWLIB_CFLAGS@ +NM =3D @NM@ +NMEDIT =3D @NMEDIT@ NO_INCLUDE_LIST =3D @NO_INCLUDE_LIST@ +OBJDUMP =3D @OBJDUMP@ OBJEXT =3D @OBJEXT@ +OTOOL =3D @OTOOL@ +OTOOL64 =3D @OTOOL64@ PACKAGE =3D @PACKAGE@ PACKAGE_BUGREPORT =3D @PACKAGE_BUGREPORT@ PACKAGE_NAME =3D @PACKAGE_NAME@ @@ -190,14 +243,18 @@ PACKAGE_VERSION =3D @PACKAGE_VERSION@ PATH_SEPARATOR =3D @PATH_SEPARATOR@ RANLIB =3D @RANLIB@ READELF =3D @READELF@ +SED =3D @SED@ SET_MAKE =3D @SET_MAKE@ SHELL =3D @SHELL@ STRIP =3D @STRIP@ +SYS_DIR =3D @SYS_DIR@ VERSION =3D @VERSION@ abs_builddir =3D @abs_builddir@ abs_srcdir =3D @abs_srcdir@ abs_top_builddir =3D @abs_top_builddir@ abs_top_srcdir =3D @abs_top_srcdir@ +ac_ct_CC =3D @ac_ct_CC@ +ac_ct_DUMPBIN =3D @ac_ct_DUMPBIN@ aext =3D @aext@ am__include =3D @am__include@ am__leading_dot =3D @am__leading_dot@ @@ -245,6 +302,7 @@ sbindir =3D @sbindir@ shared_machine_dir =3D @shared_machine_dir@ sharedstatedir =3D @sharedstatedir@ srcdir =3D @srcdir@ +subdirs =3D @subdirs@ sys_dir =3D @sys_dir@ sysconfdir =3D @sysconfdir@ target_alias =3D @target_alias@ @@ -255,43 +313,37 @@ AM_CPPFLAGS =3D $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TA= RGET_CFLAGS) AM_CCASFLAGS =3D $(AM_CPPFLAGS) noinst_LIBRARIES =3D lib.a lib_a_SOURCES =3D=20 -ACLOCAL_AMFLAGS =3D -I ../../.. -I ../../../.. -I ../../../../config -CONFIG_STATUS_DEPENDENCIES =3D $(newlib_basedir)/configure.host all: all-am =20 .SUFFIXES: -am--refresh: Makefile - @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am_= _configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \ - && exit 0; \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile';= \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps machine/a2= 9k/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign --ignore-deps Makefile + $(AUTOMAKE) --foreign --ignore-deps machine/a29k/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfil= es_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_mayb= e);; \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(= am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__dep= files_maybe);; \ esac; =20 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEP= ENDENCIES) - $(SHELL) ./config.status --recheck + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh =20 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): =20 clean-noinstLIBRARIES: @@ -307,6 +359,12 @@ mostlyclean-compile: =20 distclean-compile: -rm -f *.tab.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs tags TAGS: =20 ctags CTAGS: @@ -349,10 +407,10 @@ maintainer-clean-generic: @echo "it deletes files that may require special tools to rebuild." clean: clean-am =20 -clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am +clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ + mostlyclean-am =20 distclean: distclean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic =20 @@ -397,14 +455,13 @@ install-ps-am: installcheck-am: =20 maintainer-clean: maintainer-clean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic =20 mostlyclean: mostlyclean-am =20 -mostlyclean-am: mostlyclean-compile mostlyclean-generic +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool =20 pdf: pdf-am =20 @@ -418,17 +475,18 @@ uninstall-am: =20 .MAKE: install-am install-strip =20 -.PHONY: all all-am am--refresh check check-am clean clean-generic \ +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ clean-noinstLIBRARIES cscopelist-am ctags-am distclean \ - distclean-compile distclean-generic dvi dvi-am html html-am \ - info info-am install install-am install-data install-data-am \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-man install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ - ps ps-am tags-am uninstall uninstall-am + distclean-compile distclean-generic distclean-libtool dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags-am uninstall uninstall-am =20 .PRECIOUS: Makefile =20 diff --git a/newlib/libc/machine/a29k/aclocal.m4 b/newlib/libc/machine/a29k= /aclocal.m4 deleted file mode 100644 index 1aa0c4023..000000000 --- a/newlib/libc/machine/a29k/aclocal.m4 +++ /dev/null @@ -1,1109 +0,0 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- - -# Copyright (C) 1996-2017 Free Software Foundation, Inc. - -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4= _defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, -[m4_warning([this file was generated for autoconf 2.69. -You have another version of autoconf. It may work, but is not guaranteed = to. -If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically 'autoreco= nf'.])]) - -# Copyright (C) 2002-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -# (This private macro should not be called outside this file.) -AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version=3D'1.15' -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to -dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.15.1], [], - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl -]) - -# _AM_AUTOCONF_VERSION(VERSION) -# ----------------------------- -# aclocal traces this macro to find the Autoconf version. -# This is a private macro too. Using m4_define simplifies -# the logic in aclocal, which can simply ignore this definition. -m4_define([_AM_AUTOCONF_VERSION], []) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.15.1])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) - -# AM_AUX_DIR_EXPAND -*- Autoconf -= *- - -# Copyright (C) 2001-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to -# '$srcdir', '$srcdir/..', or '$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is '.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir=3D'\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING=3D"\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -AC_DEFUN([AM_AUX_DIR_EXPAND], -[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl -# Expand $ac_aux_dir to an absolute path. -am_aux_dir=3D`cd "$ac_aux_dir" && pwd` -]) - -# AM_CONDITIONAL -*- Autoconf -= *- - -# Copyright (C) 1997-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ([2.52])dnl - m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE])dnl -AC_SUBST([$1_FALSE])dnl -_AM_SUBST_NOTMAKE([$1_TRUE])dnl -_AM_SUBST_NOTMAKE([$1_FALSE])dnl -m4_define([_AM_COND_VALUE_$1], [$2])dnl -if $2; then - $1_TRUE=3D - $1_FALSE=3D'#' -else - $1_TRUE=3D'#' - $1_FALSE=3D -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) - -# Copyright (C) 1999-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - - -# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN([_AM_DEPENDENCIES], -[AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -m4_if([$1], [CC], [depcc=3D"$CC" am_compiler_list=3D], - [$1], [CXX], [depcc=3D"$CXX" am_compiler_list=3D], - [$1], [OBJC], [depcc=3D"$OBJC" am_compiler_list=3D'gcc3 gcc'], - [$1], [OBJCXX], [depcc=3D"$OBJCXX" am_compiler_list=3D'gcc3 gcc'], - [$1], [UPC], [depcc=3D"$UPC" am_compiler_list=3D], - [$1], [GCJ], [depcc=3D"$GCJ" am_compiler_list=3D'gcc3 gcc'], - [depcc=3D"$$1" am_compiler_list=3D]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named 'D' -- because '-MD' means "put the output - # in D". - rm -rf conftest.dir - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=3Dnone - if test "$am_compiler_list" =3D ""; then - am_compiler_list=3D`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depco= mp` - fi - am__universal=3Dfalse - m4_case([$1], [CC], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=3Dtrue ;; - esac], - [CXX], - [case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=3Dtrue ;; - esac]) - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with - # Solaris 10 /bin/sh. - echo '/* dummy */' > sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with '-c' and '-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle '-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs. - am__obj=3Dsub/conftest.${OBJEXT-o} - am__minus_obj=3D"-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" =3D false || continue - ;; - nosideeffect) - # After this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested. - if test "x$enable_dependency_tracking" =3D xyes; then - continue - else - break - fi - ;; - msvc7 | msvc7msys | msvisualcpp | msvcmsys) - # This compiler won't grok '-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=3Dconftest.${OBJEXT-o} - am__minus_obj=3D - ;; - none) break ;; - esac - if depmode=3D$depmode \ - source=3Dsub/conftest.c object=3D$am__obj \ - depfile=3Dsub/conftest.Po tmpdepfile=3Dsub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument req= uired - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=3D$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=3Dnone -fi -]) -AC_SUBST([$1DEPMODE], [depmode=3D$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" !=3D xno \ - && test "$am_cv_$1_dependencies_compiler_type" =3D gcc3]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES. -AC_DEFUN([AM_SET_DEPDIR], -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE([dependency-tracking], [dnl -AS_HELP_STRING( - [--enable-dependency-tracking], - [do not reject slow dependency extractors]) -AS_HELP_STRING( - [--disable-dependency-tracking], - [speeds up one-time build])]) -if test "x$enable_dependency_tracking" !=3D xno; then - am_depcomp=3D"$ac_aux_dir/depcomp" - AMDEPBACKSLASH=3D'\' - am__nodep=3D'_no' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" !=3D xno]) -AC_SUBST([AMDEPBACKSLASH])dnl -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -AC_SUBST([am__nodep])dnl -_AM_SUBST_NOTMAKE([am__nodep])dnl -]) - -# Generate code to set up dependency tracking. -*- Autoconf -= *- - -# Copyright (C) 1999-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[{ - # Older Autoconf quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=3D`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named 'Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/nul= l 2>&1; then - dirpart=3D`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running 'make'. - DEPDIR=3D`sed -n 's/^DEPDIR =3D //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=3D`sed -n 's/^am__include =3D //p' < "$mf"` - test -z "$am__include" && continue - am__quote=3D`sed -n 's/^am__quote =3D //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf"= | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=3D`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each '.P' file that we will -# need in order to bootstrap the dependency handling code. -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -[AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" !=3D x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE=3D"$AMDEP_TRUE" ac_aux_dir=3D"$ac_aux_dir"]) -]) - -# Do all the work for Automake. -*- Autoconf -= *- - -# Copyright (C) 1996-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. -m4_define([AC_PROG_CC], -m4_defn([AC_PROG_CC]) -[_AM_PROG_CC_C_O -]) - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.65])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -if test "`cd $srcdir && pwd`" !=3D "`pwd`"; then - # Use -I$(srcdir) only when $(srcdir) !=3D ., so that make's output - # is not polluted with repeated "-I." - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl - # test to see if srcdir already configured - if test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean= " there first]) - fi -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W=3D'cygpath -w' - else - CYGPATH_W=3Decho - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[AC_DIAGNOSE([obsolete], - [$0: two- and three-arguments forms are deprecated.]) -m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if( - m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), - [ok:ok],, - [m4_fatal([AC_INIT should be called with package and version arguments])= ])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) - AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])]= )dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) -AM_MISSING_PROG([AUTOCONF], [autoconf]) -AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) -AM_MISSING_PROG([AUTOHEADER], [autoheader]) -AM_MISSING_PROG([MAKEINFO], [makeinfo]) -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -# For better backward compatibility. To be removed once Automake 1.9.x -# dies out for good. For more background, see: -# -# -AC_SUBST([mkdir_p], ['$(MKDIR_P)']) -# We need awk for the "check" target (and possibly the TAP driver). The -# system "awk" is bad on some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES([CC])], - [m4_define([AC_PROG_CC], - m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES([CXX])], - [m4_define([AC_PROG_CXX], - m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES([OBJC])], - [m4_define([AC_PROG_OBJC], - m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], - [_AM_DEPENDENCIES([OBJCXX])], - [m4_define([AC_PROG_OBJCXX], - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl -]) -AC_REQUIRE([AM_SILENT_RULES])dnl -dnl The testsuite driver may need to know about EXEEXT, so add the -dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This -dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. -AC_CONFIG_COMMANDS_PRE(dnl -[m4_provide_if([_AM_COMPILER_EXEEXT], - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl - -# POSIX will say in a future version that running "rm -f" with no argument -# is OK; and we want to be able to make that assumption in our Makefile -# recipes. So use an aggressive probe to check that the usage we want is -# actually supported "in the wild" to an acceptable degree. -# See automake bug#10828. -# To make any issue more visible, cause the running configure to be aborted -# by default if the 'rm' program in use doesn't match our expectations; the -# user can still override this though. -if rm -f && rm -fr && rm -rf; then : OK; else - cat >&2 <<'END' -Oops! - -Your 'rm' program seems unable to run without file operands specified -on the command line, even when the '-f' option is present. This is contra= ry -to the behaviour of most rm programs out there, and not conforming with -the upcoming POSIX standard: - -Please tell bug-automake@gnu.org about your system, including the value -of your $PATH and any error possibly output before this message. This -can help us improve future automake versions. - -END - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" =3D x"yes"; then - echo 'Configuration will proceed anyway, since you have set the' >&2 - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 - echo >&2 - else - cat >&2 <<'END' -Aborting the configuration process, to ensure you take notice of the issue. - -You can download and install GNU coreutils to get an 'rm' implementation -that behaves properly: . - -If you want to complete the configuration process using your problematic -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM -to "yes", and re-run configure. - -END - AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) - fi -fi -dnl The trailing newline in this macro's definition is deliberate, for -dnl backward compatibility and to allow trailing 'dnl'-style comments -dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. -]) - -dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -dnl mangled by Autoconf and run in a shell conditional statement. -m4_define([_AC_COMPILER_EXEEXT], -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[# Compute $1's index in $config_headers. -_am_arg=3D$1 -_am_stamp_count=3D1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=3D`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_st= amp_count]) - -# Copyright (C) 2001-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh+set}" !=3D xset; then - case $am_aux_dir in - *\ * | *\ *) - install_sh=3D"\${SHELL} '$am_aux_dir/install-sh'" ;; - *) - install_sh=3D"\${SHELL} $am_aux_dir/install-sh" - esac -fi -AC_SUBST([install_sh])]) - -# Add --enable-maintainer-mode option to configure. -*- Autoconf -= *- -# From Jim Meyering - -# Copyright (C) 1996-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_MAINTAINER_MODE([DEFAULT-MODE]) -# ---------------------------------- -# Control maintainer-specific portions of Makefiles. -# Default is to disable them, unless 'enable' is passed literally. -# For symmetry, 'disable' may be passed as well. Anyway, the user -# can override the default with the --enable/--disable switch. -AC_DEFUN([AM_MAINTAINER_MODE], -[m4_case(m4_default([$1], [disable]), - [enable], [m4_define([am_maintainer_other], [disable])], - [disable], [m4_define([am_maintainer_other], [enable])], - [m4_define([am_maintainer_other], [enable]) - m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: = $1])]) -AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefil= es]) - dnl maintainer-mode's default is 'disable' unless 'enable' is passed - AC_ARG_ENABLE([maintainer-mode], - [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], - am_maintainer_other[ make rules and dependencies not useful - (and sometimes confusing) to the casual installer])], - [USE_MAINTAINER_MODE=3D$enableval], - [USE_MAINTAINER_MODE=3D]m4_if(am_maintainer_other, [enable], [no], [ye= s])) - AC_MSG_RESULT([$USE_MAINTAINER_MODE]) - AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE =3D yes]) - MAINT=3D$MAINTAINER_MODE_TRUE - AC_SUBST([MAINT])dnl -] -) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=3D${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo this is the am__doit target -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include=3D"#" -am__quote=3D -_am_result=3Dnone -# First try GNU make style include. -echo "include confinc" > confmf -# Ignore all kinds of additional output from 'make'. -case `$am_make -s -f confmf 2> /dev/null` in #( -*the\ am__doit\ target*) - am__include=3Dinclude - am__quote=3D - _am_result=3DGNU - ;; -esac -# Now try BSD make style include. -if test "$am__include" =3D "#"; then - echo '.include "confinc"' > confmf - case `$am_make -s -f confmf 2> /dev/null` in #( - *the\ am__doit\ target*) - am__include=3D.include - am__quote=3D"\"" - _am_result=3DBSD - ;; - esac -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -= *- - -# Copyright (C) 1997-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=3D${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it is modern enough. -# If it is, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -AC_REQUIRE_AUX_FILE([missing])dnl -if test x"${MISSING+set}" !=3D xset; then - case $am_aux_dir in - *\ * | *\ *) - MISSING=3D"\${SHELL} \"$am_aux_dir/missing\"" ;; - *) - MISSING=3D"\${SHELL} $am_aux_dir/missing" ;; - esac -fi -# Use eval to expand $SHELL -if eval "$MISSING --is-lightweight"; then - am_missing_run=3D"$MISSING " -else - am_missing_run=3D - AC_MSG_WARN(['missing' script is too old or missing]) -fi -]) - -# Helper functions for option handling. -*- Autoconf -= *- - -# Copyright (C) 2001-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# -------------------- -# Set option NAME. Presently that only means defining a flag for this opt= ion. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) - -# _AM_SET_OPTIONS(OPTIONS) -# ------------------------ -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Check to make sure that the build environment is sane. -*- Autoconf -= *- - -# Copyright (C) 1996-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Reject unsafe characters in $srcdir or the absolute working directory -# name. Accept space and tab only in the latter. -am_lf=3D' -' -case `pwd` in - *[[\\\"\#\$\&\'\`$am_lf]]*) - AC_MSG_ERROR([unsafe absolute working directory name]);; -esac -case $srcdir in - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; -esac - -# Do 'set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - am_has_slept=3Dno - for am_try in 1 2; do - echo "timestamp, slept: $am_has_slept" > conftest.file - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" =3D "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - if test "$[*]" !=3D "X $srcdir/configure conftest.file" \ - && test "$[*]" !=3D "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken - alias in your environment]) - fi - if test "$[2]" =3D conftest.file || test $am_try -eq 2; then - break - fi - # Just in case. - sleep 1 - am_has_slept=3Dyes - done - test "$[2]" =3D conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT([yes]) -# If we didn't sleep, we still need to ensure time stamps of config.status= and -# generated files are strictly newer. -am_sleep_pid=3D -if grep 'slept: no' conftest.file >/dev/null 2>&1; then - ( sleep 1 ) & - am_sleep_pid=3D$! -fi -AC_CONFIG_COMMANDS_PRE( - [AC_MSG_CHECKING([that generated files are newer than configure]) - if test -n "$am_sleep_pid"; then - # Hide warnings about reused PIDs. - wait $am_sleep_pid 2>/dev/null - fi - AC_MSG_RESULT([done])]) -rm -f conftest.file -]) - -# Copyright (C) 2009-2017 Free Software Foundation, Inc. -# -# This file is free software; [...] [diff truncated at 100000 bytes]