]> git.pld-linux.org Git - packages/cross-gcc.git/blob - cloog-0.18.1-ppc64le-config.patch
disable error cflags
[packages/cross-gcc.git] / cloog-0.18.1-ppc64le-config.patch
1 --- cloog-0.18.1/m4/libtool.m4.jj       2013-10-11 09:27:45.000000000 +0200
2 +++ cloog-0.18.1/m4/libtool.m4  2014-04-11 18:24:56.607493726 +0200
3 @@ -1312,7 +1312,7 @@ ia64-*-hpux*)
4    rm -rf conftest*
5    ;;
6  
7 -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10    # Find out which ABI we are using.
11    echo 'int i;' > conftest.$ac_ext
12 @@ -1333,7 +1333,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
13                 ;;
14             esac
15             ;;
16 -         ppc64-*linux*|powerpc64-*linux*)
17 +         powerpc64le-*linux*)
18 +           LD="${LD-ld} -m elf32lppclinux"
19 +           ;;
20 +         powerpc64-*linux*)
21             LD="${LD-ld} -m elf32ppclinux"
22             ;;
23           s390x-*linux*)
24 @@ -1352,7 +1355,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
25           x86_64-*linux*)
26             LD="${LD-ld} -m elf_x86_64"
27             ;;
28 -         ppc*-*linux*|powerpc*-*linux*)
29 +         powerpcle-*linux*)
30 +           LD="${LD-ld} -m elf64lppc"
31 +           ;;
32 +         powerpc-*linux*)
33             LD="${LD-ld} -m elf64ppc"
34             ;;
35           s390*-*linux*|s390*-*tpf*)
36 --- cloog-0.18.1/autoconf/config.sub.jj 2013-10-11 09:27:45.000000000 +0200
37 +++ cloog-0.18.1/autoconf/config.sub    2014-04-11 18:24:56.608493721 +0200
38 @@ -1,24 +1,18 @@
39  #! /bin/sh
40  # Configuration validation subroutine script.
41 -#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
42 -#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
43 -#   2011, 2012 Free Software Foundation, Inc.
44 -
45 -timestamp='2012-04-18'
46 -
47 -# This file is (in principle) common to ALL GNU software.
48 -# The presence of a machine in this file suggests that SOME GNU software
49 -# can handle that machine.  It does not imply ALL GNU software can.
50 -#
51 -# This file is free software; you can redistribute it and/or modify
52 -# it under the terms of the GNU General Public License as published by
53 -# the Free Software Foundation; either version 2 of the License, or
54 +#   Copyright 1992-2013 Free Software Foundation, Inc.
55 +
56 +timestamp='2013-10-01'
57 +
58 +# This file is free software; you can redistribute it and/or modify it
59 +# under the terms of the GNU General Public License as published by
60 +# the Free Software Foundation; either version 3 of the License, or
61  # (at your option) any later version.
62  #
63 -# This program is distributed in the hope that it will be useful,
64 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
65 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
66 -# GNU General Public License for more details.
67 +# This program is distributed in the hope that it will be useful, but
68 +# WITHOUT ANY WARRANTY; without even the implied warranty of
69 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
70 +# General Public License for more details.
71  #
72  # You should have received a copy of the GNU General Public License
73  # along with this program; if not, see <http://www.gnu.org/licenses/>.
74 @@ -26,11 +20,12 @@ timestamp='2012-04-18'
75  # As a special exception to the GNU General Public License, if you
76  # distribute this file as part of a program that contains a
77  # configuration script generated by Autoconf, you may include it under
78 -# the same distribution terms that you use for the rest of that program.
79 +# the same distribution terms that you use for the rest of that
80 +# program.  This Exception is an additional permission under section 7
81 +# of the GNU General Public License, version 3 ("GPLv3").
82  
83  
84 -# Please send patches to <config-patches@gnu.org>.  Submit a context
85 -# diff and a properly formatted GNU ChangeLog entry.
86 +# Please send patches with a ChangeLog entry to config-patches@gnu.org.
87  #
88  # Configuration subroutine to validate and canonicalize a configuration type.
89  # Supply the specified configuration type as an argument.
90 @@ -73,9 +68,7 @@ Report bugs and patches to <config-patch
91  version="\
92  GNU config.sub ($timestamp)
93  
94 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
95 -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
96 -Free Software Foundation, Inc.
97 +Copyright 1992-2013 Free Software Foundation, Inc.
98  
99  This is free software; see the source for copying conditions.  There is NO
100  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
101 @@ -123,7 +116,7 @@ esac
102  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
103  case $maybe_os in
104    nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
105 -  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
106 +  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
107    knetbsd*-gnu* | netbsd*-gnu* | \
108    kopensolaris*-gnu* | \
109    storm-chaos* | os2-emx* | rtmk-nova*)
110 @@ -156,7 +149,7 @@ case $os in
111         -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
112         -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
113         -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
114 -       -apple | -axis | -knuth | -cray | -microblaze)
115 +       -apple | -axis | -knuth | -cray | -microblaze*)
116                 os=
117                 basic_machine=$1
118                 ;;
119 @@ -259,10 +252,12 @@ case $basic_machine in
120         | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
121         | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
122         | am33_2.0 \
123 -       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
124 -        | be32 | be64 \
125 +       | arc | arceb \
126 +       | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
127 +       | avr | avr32 \
128 +       | be32 | be64 \
129         | bfin \
130 -       | c4x | clipper \
131 +       | c4x | c8051 | clipper \
132         | d10v | d30v | dlx | dsp16xx \
133         | epiphany \
134         | fido | fr30 | frv \
135 @@ -270,10 +265,11 @@ case $basic_machine in
136         | hexagon \
137         | i370 | i860 | i960 | ia64 \
138         | ip2k | iq2000 \
139 +       | k1om \
140         | le32 | le64 \
141         | lm32 \
142         | m32c | m32r | m32rle | m68000 | m68k | m88k \
143 -       | maxq | mb | microblaze | mcore | mep | metag \
144 +       | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
145         | mips | mipsbe | mipseb | mipsel | mipsle \
146         | mips16 \
147         | mips64 | mips64el \
148 @@ -291,16 +287,17 @@ case $basic_machine in
149         | mipsisa64r2 | mipsisa64r2el \
150         | mipsisa64sb1 | mipsisa64sb1el \
151         | mipsisa64sr71k | mipsisa64sr71kel \
152 +       | mipsr5900 | mipsr5900el \
153         | mipstx39 | mipstx39el \
154         | mn10200 | mn10300 \
155         | moxie \
156         | mt \
157         | msp430 \
158         | nds32 | nds32le | nds32be \
159 -       | nios | nios2 \
160 +       | nios | nios2 | nios2eb | nios2el \
161         | ns16k | ns32k \
162         | open8 \
163 -       | or32 \
164 +       | or1k | or32 \
165         | pdp10 | pdp11 | pj | pjl \
166         | powerpc | powerpc64 | powerpc64le | powerpcle \
167         | pyramid \
168 @@ -328,7 +325,7 @@ case $basic_machine in
169         c6x)
170                 basic_machine=tic6x-unknown
171                 ;;
172 -       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
173 +       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
174                 basic_machine=$basic_machine-unknown
175                 os=-none
176                 ;;
177 @@ -370,13 +367,13 @@ case $basic_machine in
178         | aarch64-* | aarch64_be-* \
179         | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
180         | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
181 -       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
182 +       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
183         | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
184         | avr-* | avr32-* \
185         | be32-* | be64-* \
186         | bfin-* | bs2000-* \
187         | c[123]* | c30-* | [cjt]90-* | c4x-* \
188 -       | clipper-* | craynv-* | cydra-* \
189 +       | c8051-* | clipper-* | craynv-* | cydra-* \
190         | d10v-* | d30v-* | dlx-* \
191         | elxsi-* \
192         | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
193 @@ -385,11 +382,13 @@ case $basic_machine in
194         | hexagon-* \
195         | i*86-* | i860-* | i960-* | ia64-* \
196         | ip2k-* | iq2000-* \
197 +       | k1om-* \
198         | le32-* | le64-* \
199         | lm32-* \
200         | m32c-* | m32r-* | m32rle-* \
201         | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
202 -       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
203 +       | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
204 +       | microblaze-* | microblazeel-* \
205         | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
206         | mips16-* \
207         | mips64-* | mips64el-* \
208 @@ -407,12 +406,13 @@ case $basic_machine in
209         | mipsisa64r2-* | mipsisa64r2el-* \
210         | mipsisa64sb1-* | mipsisa64sb1el-* \
211         | mipsisa64sr71k-* | mipsisa64sr71kel-* \
212 +       | mipsr5900-* | mipsr5900el-* \
213         | mipstx39-* | mipstx39el-* \
214         | mmix-* \
215         | mt-* \
216         | msp430-* \
217         | nds32-* | nds32le-* | nds32be-* \
218 -       | nios-* | nios2-* \
219 +       | nios-* | nios2-* | nios2eb-* | nios2el-* \
220         | none-* | np1-* | ns16k-* | ns32k-* \
221         | open8-* \
222         | orion-* \
223 @@ -788,11 +788,15 @@ case $basic_machine in
224                 basic_machine=ns32k-utek
225                 os=-sysv
226                 ;;
227 -       microblaze)
228 +       microblaze*)
229                 basic_machine=microblaze-xilinx
230                 ;;
231 +       mingw64)
232 +               basic_machine=x86_64-pc
233 +               os=-mingw64
234 +               ;;
235         mingw32)
236 -               basic_machine=i386-pc
237 +               basic_machine=i686-pc
238                 os=-mingw32
239                 ;;
240         mingw32ce)
241 @@ -828,7 +832,7 @@ case $basic_machine in
242                 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
243                 ;;
244         msys)
245 -               basic_machine=i386-pc
246 +               basic_machine=i686-pc
247                 os=-msys
248                 ;;
249         mvs)
250 @@ -1019,7 +1023,11 @@ case $basic_machine in
251                 basic_machine=i586-unknown
252                 os=-pw32
253                 ;;
254 -       rdos)
255 +       rdos | rdos64)
256 +               basic_machine=x86_64-pc
257 +               os=-rdos
258 +               ;;
259 +       rdos32)
260                 basic_machine=i386-pc
261                 os=-rdos
262                 ;;
263 @@ -1346,21 +1354,21 @@ case $os in
264         -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
265               | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
266               | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
267 -             | -sym* | -kopensolaris* \
268 +             | -sym* | -kopensolaris* | -plan9* \
269               | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
270               | -aos* | -aros* \
271               | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
272               | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
273               | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
274 -             | -openbsd* | -solidbsd* \
275 +             | -bitrig* | -openbsd* | -solidbsd* \
276               | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
277               | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
278               | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
279               | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
280               | -chorusos* | -chorusrdb* | -cegcc* \
281               | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
282 -             | -mingw32* | -linux-gnu* | -linux-android* \
283 -             | -linux-newlib* | -linux-uclibc* \
284 +             | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
285 +             | -linux-newlib* | -linux-musl* | -linux-uclibc* \
286               | -uxpv* | -beos* | -mpeix* | -udk* \
287               | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
288               | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
289 @@ -1492,9 +1500,6 @@ case $os in
290         -aros*)
291                 os=-aros
292                 ;;
293 -       -kaos*)
294 -               os=-kaos
295 -               ;;
296         -zvmoe)
297                 os=-zvmoe
298                 ;;
299 @@ -1543,6 +1548,9 @@ case $basic_machine in
300         c4x-* | tic4x-*)
301                 os=-coff
302                 ;;
303 +       c8051-*)
304 +               os=-elf
305 +               ;;
306         hexagon-*)
307                 os=-elf
308                 ;;
309 @@ -1586,6 +1594,9 @@ case $basic_machine in
310         mips*-*)
311                 os=-elf
312                 ;;
313 +       or1k-*)
314 +               os=-elf
315 +               ;;
316         or32-*)
317                 os=-coff
318                 ;;
319 --- cloog-0.18.1/autoconf/config.guess.jj       2013-10-11 09:27:45.000000000 +0200
320 +++ cloog-0.18.1/autoconf/config.guess  2014-04-11 18:24:56.608493721 +0200
321 @@ -1,14 +1,12 @@
322  #! /bin/sh
323  # Attempt to guess a canonical system name.
324 -#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
325 -#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
326 -#   2011, 2012 Free Software Foundation, Inc.
327 +#   Copyright 1992-2013 Free Software Foundation, Inc.
328  
329 -timestamp='2012-02-10'
330 +timestamp='2013-06-10'
331  
332  # This file is free software; you can redistribute it and/or modify it
333  # under the terms of the GNU General Public License as published by
334 -# the Free Software Foundation; either version 2 of the License, or
335 +# the Free Software Foundation; either version 3 of the License, or
336  # (at your option) any later version.
337  #
338  # This program is distributed in the hope that it will be useful, but
339 @@ -22,19 +20,17 @@ timestamp='2012-02-10'
340  # As a special exception to the GNU General Public License, if you
341  # distribute this file as part of a program that contains a
342  # configuration script generated by Autoconf, you may include it under
343 -# the same distribution terms that you use for the rest of that program.
344 -
345 -
346 -# Originally written by Per Bothner.  Please send patches (context
347 -# diff format) to <config-patches@gnu.org> and include a ChangeLog
348 -# entry.
349 +# the same distribution terms that you use for the rest of that
350 +# program.  This Exception is an additional permission under section 7
351 +# of the GNU General Public License, version 3 ("GPLv3").
352  #
353 -# This script attempts to guess a canonical system name similar to
354 -# config.sub.  If it succeeds, it prints the system name on stdout, and
355 -# exits with 0.  Otherwise, it exits with 1.
356 +# Originally written by Per Bothner.
357  #
358  # You can get the latest version of this script from:
359  # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
360 +#
361 +# Please send patches with a ChangeLog entry to config-patches@gnu.org.
362 +
363  
364  me=`echo "$0" | sed -e 's,.*/,,'`
365  
366 @@ -54,9 +50,7 @@ version="\
367  GNU config.guess ($timestamp)
368  
369  Originally written by Per Bothner.
370 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
371 -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
372 -Free Software Foundation, Inc.
373 +Copyright 1992-2013 Free Software Foundation, Inc.
374  
375  This is free software; see the source for copying conditions.  There is NO
376  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
377 @@ -138,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` |
378  UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
379  UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
380  
381 +case "${UNAME_SYSTEM}" in
382 +Linux|GNU|GNU/*)
383 +       # If the system lacks a compiler, then just pick glibc.
384 +       # We could probably try harder.
385 +       LIBC=gnu
386 +
387 +       eval $set_cc_for_build
388 +       cat <<-EOF > $dummy.c
389 +       #include <features.h>
390 +       #if defined(__UCLIBC__)
391 +       LIBC=uclibc
392 +       #elif defined(__dietlibc__)
393 +       LIBC=dietlibc
394 +       #else
395 +       LIBC=gnu
396 +       #endif
397 +       EOF
398 +       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
399 +       ;;
400 +esac
401 +
402  # Note: order is significant - the case branches are not exclusive.
403  
404  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
405 @@ -200,6 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
406         # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
407         echo "${machine}-${os}${release}"
408         exit ;;
409 +    *:Bitrig:*:*)
410 +       UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
411 +       echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
412 +       exit ;;
413      *:OpenBSD:*:*)
414         UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
415         echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
416 @@ -302,7 +321,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
417      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
418         echo arm-acorn-riscix${UNAME_RELEASE}
419         exit ;;
420 -    arm:riscos:*:*|arm:RISCOS:*:*)
421 +    arm*:riscos:*:*|arm*:RISCOS:*:*)
422         echo arm-unknown-riscos
423         exit ;;
424      SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
425 @@ -801,6 +820,9 @@ EOF
426      i*:CYGWIN*:*)
427         echo ${UNAME_MACHINE}-pc-cygwin
428         exit ;;
429 +    *:MINGW64*:*)
430 +       echo ${UNAME_MACHINE}-pc-mingw64
431 +       exit ;;
432      *:MINGW*:*)
433         echo ${UNAME_MACHINE}-pc-mingw32
434         exit ;;
435 @@ -852,21 +874,21 @@ EOF
436         exit ;;
437      *:GNU:*:*)
438         # the GNU system
439 -       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
440 +       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
441         exit ;;
442      *:GNU/*:*:*)
443         # other systems with GNU libc and userland
444 -       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
445 +       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
446         exit ;;
447      i*86:Minix:*:*)
448         echo ${UNAME_MACHINE}-pc-minix
449         exit ;;
450      aarch64:Linux:*:*)
451 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
452 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
453         exit ;;
454      aarch64_be:Linux:*:*)
455         UNAME_MACHINE=aarch64_be
456 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
457 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
458         exit ;;
459      alpha:Linux:*:*)
460         case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
461 @@ -879,59 +901,54 @@ EOF
462           EV68*) UNAME_MACHINE=alphaev68 ;;
463         esac
464         objdump --private-headers /bin/sh | grep -q ld.so.1
465 -       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
466 -       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
467 +       if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
468 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
469 +       exit ;;
470 +    arc:Linux:*:* | arceb:Linux:*:*)
471 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
472         exit ;;
473      arm*:Linux:*:*)
474         eval $set_cc_for_build
475         if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
476             | grep -q __ARM_EABI__
477         then
478 -           echo ${UNAME_MACHINE}-unknown-linux-gnu
479 +           echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
480         else
481             if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
482                 | grep -q __ARM_PCS_VFP
483             then
484 -               echo ${UNAME_MACHINE}-unknown-linux-gnueabi
485 +               echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
486             else
487 -               echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
488 +               echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
489             fi
490         fi
491         exit ;;
492      avr32*:Linux:*:*)
493 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
494 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
495         exit ;;
496      cris:Linux:*:*)
497 -       echo ${UNAME_MACHINE}-axis-linux-gnu
498 +       echo ${UNAME_MACHINE}-axis-linux-${LIBC}
499         exit ;;
500      crisv32:Linux:*:*)
501 -       echo ${UNAME_MACHINE}-axis-linux-gnu
502 +       echo ${UNAME_MACHINE}-axis-linux-${LIBC}
503         exit ;;
504      frv:Linux:*:*)
505 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
506 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
507         exit ;;
508      hexagon:Linux:*:*)
509 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
510 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
511         exit ;;
512      i*86:Linux:*:*)
513 -       LIBC=gnu
514 -       eval $set_cc_for_build
515 -       sed 's/^        //' << EOF >$dummy.c
516 -       #ifdef __dietlibc__
517 -       LIBC=dietlibc
518 -       #endif
519 -EOF
520 -       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
521 -       echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
522 +       echo ${UNAME_MACHINE}-pc-linux-${LIBC}
523         exit ;;
524      ia64:Linux:*:*)
525 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
526 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
527         exit ;;
528      m32r*:Linux:*:*)
529 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
530 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
531         exit ;;
532      m68*:Linux:*:*)
533 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
534 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
535         exit ;;
536      mips:Linux:*:* | mips64:Linux:*:*)
537         eval $set_cc_for_build
538 @@ -950,54 +967,63 @@ EOF
539         #endif
540  EOF
541         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
542 -       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
543 +       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
544         ;;
545 +    or1k:Linux:*:*)
546 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
547 +       exit ;;
548      or32:Linux:*:*)
549 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
550 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
551         exit ;;
552      padre:Linux:*:*)
553 -       echo sparc-unknown-linux-gnu
554 +       echo sparc-unknown-linux-${LIBC}
555         exit ;;
556      parisc64:Linux:*:* | hppa64:Linux:*:*)
557 -       echo hppa64-unknown-linux-gnu
558 +       echo hppa64-unknown-linux-${LIBC}
559         exit ;;
560      parisc:Linux:*:* | hppa:Linux:*:*)
561         # Look for CPU level
562         case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
563 -         PA7*) echo hppa1.1-unknown-linux-gnu ;;
564 -         PA8*) echo hppa2.0-unknown-linux-gnu ;;
565 -         *)    echo hppa-unknown-linux-gnu ;;
566 +         PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
567 +         PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
568 +         *)    echo hppa-unknown-linux-${LIBC} ;;
569         esac
570         exit ;;
571      ppc64:Linux:*:*)
572 -       echo powerpc64-unknown-linux-gnu
573 +       echo powerpc64-unknown-linux-${LIBC}
574         exit ;;
575      ppc:Linux:*:*)
576 -       echo powerpc-unknown-linux-gnu
577 +       echo powerpc-unknown-linux-${LIBC}
578 +       exit ;;
579 +    ppc64le:Linux:*:*)
580 +       echo powerpc64le-unknown-linux-${LIBC}
581 +       exit ;;
582 +    ppcle:Linux:*:*)
583 +       echo powerpcle-unknown-linux-${LIBC}
584         exit ;;
585      s390:Linux:*:* | s390x:Linux:*:*)
586 -       echo ${UNAME_MACHINE}-ibm-linux
587 +       echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
588         exit ;;
589      sh64*:Linux:*:*)
590 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
591 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
592         exit ;;
593      sh*:Linux:*:*)
594 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
595 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
596         exit ;;
597      sparc:Linux:*:* | sparc64:Linux:*:*)
598 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
599 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
600         exit ;;
601      tile*:Linux:*:*)
602 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
603 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
604         exit ;;
605      vax:Linux:*:*)
606 -       echo ${UNAME_MACHINE}-dec-linux-gnu
607 +       echo ${UNAME_MACHINE}-dec-linux-${LIBC}
608         exit ;;
609      x86_64:Linux:*:*)
610 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
611 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
612         exit ;;
613      xtensa*:Linux:*:*)
614 -       echo ${UNAME_MACHINE}-unknown-linux-gnu
615 +       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
616         exit ;;
617      i*86:DYNIX/ptx:4*:*)
618         # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
619 @@ -1201,6 +1227,9 @@ EOF
620      BePC:Haiku:*:*)    # Haiku running on Intel PC compatible.
621         echo i586-pc-haiku
622         exit ;;
623 +    x86_64:Haiku:*:*)
624 +       echo x86_64-unknown-haiku
625 +       exit ;;
626      SX-4:SUPER-UX:*:*)
627         echo sx4-nec-superux${UNAME_RELEASE}
628         exit ;;
629 @@ -1227,19 +1256,21 @@ EOF
630         exit ;;
631      *:Darwin:*:*)
632         UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
633 -       case $UNAME_PROCESSOR in
634 -           i386)
635 -               eval $set_cc_for_build
636 -               if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
637 -                 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
638 -                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
639 -                     grep IS_64BIT_ARCH >/dev/null
640 -                 then
641 -                     UNAME_PROCESSOR="x86_64"
642 -                 fi
643 -               fi ;;
644 -           unknown) UNAME_PROCESSOR=powerpc ;;
645 -       esac
646 +       eval $set_cc_for_build
647 +       if test "$UNAME_PROCESSOR" = unknown ; then
648 +           UNAME_PROCESSOR=powerpc
649 +       fi
650 +       if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
651 +           if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
652 +               (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
653 +               grep IS_64BIT_ARCH >/dev/null
654 +           then
655 +               case $UNAME_PROCESSOR in
656 +                   i386) UNAME_PROCESSOR=x86_64 ;;
657 +                   powerpc) UNAME_PROCESSOR=powerpc64 ;;
658 +               esac
659 +           fi
660 +       fi
661         echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
662         exit ;;
663      *:procnto*:*:* | *:QNX:[0123456789]*:*)
664 @@ -1256,7 +1287,7 @@ EOF
665      NEO-?:NONSTOP_KERNEL:*:*)
666         echo neo-tandem-nsk${UNAME_RELEASE}
667         exit ;;
668 -    NSE-?:NONSTOP_KERNEL:*:*)
669 +    NSE-*:NONSTOP_KERNEL:*:*)
670         echo nse-tandem-nsk${UNAME_RELEASE}
671         exit ;;
672      NSR-?:NONSTOP_KERNEL:*:*)
673 @@ -1330,9 +1361,6 @@ EOF
674         exit ;;
675  esac
676  
677 -#echo '(No uname command or uname output not recognized.)' 1>&2
678 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
679 -
680  eval $set_cc_for_build
681  cat >$dummy.c <<EOF
682  #ifdef _SEQUENT_
683 --- cloog-0.18.1/configure.jj   2013-10-11 09:27:47.000000000 +0200
684 +++ cloog-0.18.1/configure      2014-04-11 18:24:56.611493706 +0200
685 @@ -6383,7 +6383,7 @@ ia64-*-hpux*)
686    rm -rf conftest*
687    ;;
688  
689 -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
690 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
691  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
692    # Find out which ABI we are using.
693    echo 'int i;' > conftest.$ac_ext
694 @@ -6408,7 +6408,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
695                 ;;
696             esac
697             ;;
698 -         ppc64-*linux*|powerpc64-*linux*)
699 +         powerpc64le-*linux*)
700 +           LD="${LD-ld} -m elf32lppclinux"
701 +           ;;
702 +         powerpc64-*linux*)
703             LD="${LD-ld} -m elf32ppclinux"
704             ;;
705           s390x-*linux*)
706 @@ -6427,7 +6430,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
707           x86_64-*linux*)
708             LD="${LD-ld} -m elf_x86_64"
709             ;;
710 -         ppc*-*linux*|powerpc*-*linux*)
711 +         powerpcle-*linux*)
712 +           LD="${LD-ld} -m elf64lppc"
713 +           ;;
714 +         powerpc-*linux*)
715             LD="${LD-ld} -m elf64ppc"
716             ;;
717           s390*-*linux*|s390*-*tpf*)
This page took 0.118459 seconds and 3 git commands to generate.