config.guess + config.sub: updated from http://git.savannah.gnu.org/cgit/config.git/plain/
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67431 15284696-431f-4ddb-bdfa-cd5b030d7da7py3
parent
fd37d14c4d
commit
4acfb81597
|
@ -2,7 +2,7 @@
|
|||
# Attempt to guess a canonical system name.
|
||||
# Copyright 1992-2015 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2015-03-04'
|
||||
timestamp='2015-12-14'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
|
@ -221,7 +221,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||
release='-gnu'
|
||||
;;
|
||||
*)
|
||||
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
|
||||
;;
|
||||
esac
|
||||
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
||||
|
@ -249,6 +249,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||
*:MirBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:Sortix:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-sortix
|
||||
exit ;;
|
||||
alpha:OSF1:*:*)
|
||||
case $UNAME_RELEASE in
|
||||
*4.0)
|
||||
|
@ -962,6 +965,9 @@ EOF
|
|||
ia64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
k1om:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
m32r*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
|
@ -1038,7 +1044,7 @@ EOF
|
|||
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
||||
exit ;;
|
||||
x86_64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
||||
exit ;;
|
||||
xtensa*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
|
@ -1117,7 +1123,7 @@ EOF
|
|||
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||
# the processor, so we play safe by assuming i586.
|
||||
# Note: whatever this is, it MUST be the same as what config.sub
|
||||
# prints for the "djgpp" host, or else GDB configury will decide that
|
||||
# prints for the "djgpp" host, or else GDB configure will decide that
|
||||
# this is a cross-build.
|
||||
echo i586-pc-msdosdjgpp
|
||||
exit ;;
|
||||
|
@ -1387,6 +1393,9 @@ EOF
|
|||
x86_64:VMkernel:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-esx
|
||||
exit ;;
|
||||
amd64:Isilon\ OneFS:*:*)
|
||||
echo x86_64-unknown-onefs
|
||||
exit ;;
|
||||
esac
|
||||
|
||||
cat >&2 <<EOF
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Configuration validation subroutine script.
|
||||
# Copyright 1992-2015 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2015-03-08'
|
||||
timestamp='2015-12-14'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
|
@ -53,8 +53,7 @@ timestamp='2015-03-08'
|
|||
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION] CPU-MFR-OPSYS
|
||||
$0 [OPTION] ALIAS
|
||||
Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
|
||||
|
||||
Canonicalize a configuration name.
|
||||
|
||||
|
@ -255,6 +254,7 @@ case $basic_machine in
|
|||
| arc | arceb \
|
||||
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
||||
| avr | avr32 \
|
||||
| ba \
|
||||
| be32 | be64 \
|
||||
| bfin \
|
||||
| c4x | c8051 | clipper \
|
||||
|
@ -305,7 +305,7 @@ case $basic_machine in
|
|||
| riscv32 | riscv64 \
|
||||
| rl78 | rx \
|
||||
| score \
|
||||
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh64 | sh64le \
|
||||
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||
|
@ -376,6 +376,7 @@ case $basic_machine in
|
|||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||
| avr-* | avr32-* \
|
||||
| ba-* \
|
||||
| be32-* | be64-* \
|
||||
| bfin-* | bs2000-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||
|
@ -428,12 +429,13 @@ case $basic_machine in
|
|||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
|
||||
| pyramid-* \
|
||||
| riscv32-* | riscv64-* \
|
||||
| rl78-* | romp-* | rs6000-* | rx-* \
|
||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||
| sparclite-* \
|
||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
|
||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
|
||||
| tahoe-* \
|
||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||
| tile*-* \
|
||||
|
@ -518,7 +520,7 @@ case $basic_machine in
|
|||
basic_machine=i386-pc
|
||||
os=-aros
|
||||
;;
|
||||
asmjs)
|
||||
asmjs)
|
||||
basic_machine=asmjs-unknown
|
||||
;;
|
||||
aux)
|
||||
|
@ -1376,7 +1378,7 @@ case $os in
|
|||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
| -sym* | -kopensolaris* | -plan9* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
| -aos* | -aros* | -cloudabi* \
|
||||
| -aos* | -aros* | -cloudabi* | -sortix* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
|
@ -1396,7 +1398,8 @@ case $os in
|
|||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
||||
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
|
||||
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
|
||||
| -onefs* | -tirtos*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
||||
|
|
|
@ -12191,6 +12191,57 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
for ac_declaration in \
|
||||
''\
|
||||
'#include <stdlib.h>' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
'extern "C" void exit (int);' \
|
||||
'void exit (int);'
|
||||
do
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12205 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdlib.h>
|
||||
$ac_declaration
|
||||
int main() {
|
||||
exit (42);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
:
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
continue
|
||||
fi
|
||||
rm -f conftest*
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12223 "configure"
|
||||
#include "confdefs.h"
|
||||
$ac_declaration
|
||||
int main() {
|
||||
exit (42);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
break
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
fi
|
||||
rm -f conftest*
|
||||
done
|
||||
if test -n "$ac_declaration"; then
|
||||
echo '#ifdef __cplusplus' >>confdefs.h
|
||||
echo $ac_declaration >>confdefs.h
|
||||
echo '#endif' >>confdefs.h
|
||||
fi
|
||||
|
||||
|
||||
else
|
||||
CXX=
|
||||
CXXFLAGS=
|
||||
|
@ -12204,7 +12255,7 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6
|
||||
echo "configure:12208: checking whether to use openDWG" >&5
|
||||
echo "configure:12259: checking whether to use openDWG" >&5
|
||||
echo "$ac_t"""$with_opendwg"" 1>&6
|
||||
case "$with_opendwg" in
|
||||
"no") USE_OPENDWG= ;;
|
||||
|
@ -12224,7 +12275,7 @@ if test -n "${USE_OPENDWG}"; then
|
|||
|
||||
|
||||
echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6
|
||||
echo "configure:12228: checking for location of openDGW includes" >&5
|
||||
echo "configure:12279: checking for location of openDGW includes" >&5
|
||||
case "$with_opendwg_includes" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-opendwg-includes." 1>&2; exit 1; }
|
||||
|
@ -12250,15 +12301,15 @@ for ac_hdr in ad2.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:12254: checking for $ac_hdr" >&5
|
||||
echo "configure:12305: checking for $ac_hdr" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12257 "configure"
|
||||
#line 12308 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:12262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:12313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -12292,7 +12343,7 @@ CPPFLAGS=$ac_save_cppflags
|
|||
|
||||
|
||||
echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6
|
||||
echo "configure:12296: checking for location of openDWG library" >&5
|
||||
echo "configure:12347: checking for location of openDWG library" >&5
|
||||
case "$with_opendwg_libs" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-opendwg-libs." 1>&2; exit 1; }
|
||||
|
@ -12333,7 +12384,7 @@ fi # $USE_OPENDWG
|
|||
|
||||
|
||||
echo $ac_n "checking whether to use POSIX threads""... $ac_c" 1>&6
|
||||
echo "configure:12337: checking whether to use POSIX threads" >&5
|
||||
echo "configure:12388: checking whether to use POSIX threads" >&5
|
||||
echo "$ac_t"""$with_pthread"" 1>&6
|
||||
case "$with_pthread" in
|
||||
"no") USE_PTHREAD= ;;
|
||||
|
@ -12353,7 +12404,7 @@ if test -n "$USE_PTHREAD"; then
|
|||
|
||||
|
||||
echo $ac_n "checking for location of POSIX threads includes""... $ac_c" 1>&6
|
||||
echo "configure:12357: checking for location of POSIX threads includes" >&5
|
||||
echo "configure:12408: checking for location of POSIX threads includes" >&5
|
||||
case "$with_pthread_includes" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-pthread-includes." 1>&2; exit 1; }
|
||||
|
@ -12379,15 +12430,15 @@ for ac_hdr in pthread.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:12383: checking for $ac_hdr" >&5
|
||||
echo "configure:12434: checking for $ac_hdr" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12386 "configure"
|
||||
#line 12437 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:12391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:12442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -12421,7 +12472,7 @@ CPPFLAGS=$ac_save_cppflags
|
|||
|
||||
|
||||
echo $ac_n "checking for location of POSIX threads library""... $ac_c" 1>&6
|
||||
echo "configure:12425: checking for location of POSIX threads library" >&5
|
||||
echo "configure:12476: checking for location of POSIX threads library" >&5
|
||||
case "$with_pthread_libs" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-pthread-libs." 1>&2; exit 1; }
|
||||
|
@ -12446,10 +12497,10 @@ ac_save_ldflags="$LDFLAGS"
|
|||
LIBS=" $LIBS"
|
||||
LDFLAGS=" $LDFLAGS"
|
||||
echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
|
||||
echo "configure:12450: checking for pthread_create" >&5
|
||||
echo "configure:12501: checking for pthread_create" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12453 "configure"
|
||||
#line 12504 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char pthread_create(); below. */
|
||||
|
@ -12472,7 +12523,7 @@ pthread_create();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_pthread_create=yes"
|
||||
else
|
||||
|
@ -12499,13 +12550,13 @@ LDFLAGS="$PTHREADLIBPATH $LDFLAGS"
|
|||
|
||||
|
||||
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
|
||||
echo "configure:12503: checking for pthread_create in -lpthread" >&5
|
||||
echo "configure:12554: checking for pthread_create in -lpthread" >&5
|
||||
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
|
||||
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lpthread $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12509 "configure"
|
||||
#line 12560 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -12516,7 +12567,7 @@ int main() {
|
|||
pthread_create()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -12566,7 +12617,7 @@ fi # $USE_PTHREAD
|
|||
|
||||
|
||||
echo $ac_n "checking whether to use OpenMP""... $ac_c" 1>&6
|
||||
echo "configure:12570: checking whether to use OpenMP" >&5
|
||||
echo "configure:12621: checking whether to use OpenMP" >&5
|
||||
echo "$ac_t"""$with_openmp"" 1>&6
|
||||
case "$with_openmp" in
|
||||
"no") USE_OPENMP= ;;
|
||||
|
@ -12587,7 +12638,7 @@ if test -n "$USE_OPENMP"; then
|
|||
|
||||
|
||||
echo $ac_n "checking for location of OpenMP includes""... $ac_c" 1>&6
|
||||
echo "configure:12591: checking for location of OpenMP includes" >&5
|
||||
echo "configure:12642: checking for location of OpenMP includes" >&5
|
||||
case "$with_openmp_includes" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-openmp-includes." 1>&2; exit 1; }
|
||||
|
@ -12613,15 +12664,15 @@ for ac_hdr in omp.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:12617: checking for $ac_hdr" >&5
|
||||
echo "configure:12668: checking for $ac_hdr" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12620 "configure"
|
||||
#line 12671 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:12625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:12676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -12659,7 +12710,7 @@ CPPFLAGS=$ac_save_cppflags
|
|||
|
||||
|
||||
echo $ac_n "checking for location of OpenMP library""... $ac_c" 1>&6
|
||||
echo "configure:12663: checking for location of OpenMP library" >&5
|
||||
echo "configure:12714: checking for location of OpenMP library" >&5
|
||||
case "$with_openmp_libs" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-openmp-libs." 1>&2; exit 1; }
|
||||
|
@ -12684,10 +12735,10 @@ ac_save_ldflags="$LDFLAGS"
|
|||
LIBS=" $LIBS"
|
||||
LDFLAGS=" $LDFLAGS"
|
||||
echo $ac_n "checking for GOMP_parallel_start""... $ac_c" 1>&6
|
||||
echo "configure:12688: checking for GOMP_parallel_start" >&5
|
||||
echo "configure:12739: checking for GOMP_parallel_start" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12691 "configure"
|
||||
#line 12742 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char GOMP_parallel_start(); below. */
|
||||
|
@ -12710,7 +12761,7 @@ GOMP_parallel_start();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_GOMP_parallel_start=yes"
|
||||
else
|
||||
|
@ -12737,13 +12788,13 @@ LDFLAGS="$OMPLIBPATH $LDFLAGS"
|
|||
|
||||
|
||||
echo $ac_n "checking for GOMP_parallel_start in -lgomp""... $ac_c" 1>&6
|
||||
echo "configure:12741: checking for GOMP_parallel_start in -lgomp" >&5
|
||||
echo "configure:12792: checking for GOMP_parallel_start in -lgomp" >&5
|
||||
ac_lib_var=`echo gomp'_'GOMP_parallel_start | sed 'y%./+-%__p_%'`
|
||||
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lgomp $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12747 "configure"
|
||||
#line 12798 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -12754,7 +12805,7 @@ int main() {
|
|||
GOMP_parallel_start()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:12809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -12827,7 +12878,7 @@ fi # $USE_OPENMP
|
|||
|
||||
|
||||
echo $ac_n "checking whether to use OpenCL""... $ac_c" 1>&6
|
||||
echo "configure:12831: checking whether to use OpenCL" >&5
|
||||
echo "configure:12882: checking whether to use OpenCL" >&5
|
||||
echo "$ac_t"""$with_opencl"" 1>&6
|
||||
case "$with_opencl" in
|
||||
"no") USE_OPENCL= ;;
|
||||
|
@ -12847,7 +12898,7 @@ if test -n "$USE_OPENCL"; then
|
|||
|
||||
|
||||
echo $ac_n "checking for location of OpenCL includes""... $ac_c" 1>&6
|
||||
echo "configure:12851: checking for location of OpenCL includes" >&5
|
||||
echo "configure:12902: checking for location of OpenCL includes" >&5
|
||||
case "$with_opencl_includes" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-opencl-includes." 1>&2; exit 1; }
|
||||
|
@ -12874,15 +12925,15 @@ for ac_hdr in OpenCL/opencl.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:12878: checking for $ac_hdr" >&5
|
||||
echo "configure:12929: checking for $ac_hdr" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12881 "configure"
|
||||
#line 12932 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:12886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:12937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -12922,10 +12973,10 @@ ac_save_ldflags="$LDFLAGS"
|
|||
LIBS="-framework OpenCL $LIBS"
|
||||
LDFLAGS=" $LDFLAGS"
|
||||
echo $ac_n "checking for clGetPlatformInfo""... $ac_c" 1>&6
|
||||
echo "configure:12926: checking for clGetPlatformInfo" >&5
|
||||
echo "configure:12977: checking for clGetPlatformInfo" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12929 "configure"
|
||||
#line 12980 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char clGetPlatformInfo(); below. */
|
||||
|
@ -12948,7 +12999,7 @@ clGetPlatformInfo();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:12952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:13003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_clGetPlatformInfo=yes"
|
||||
else
|
||||
|
@ -12987,15 +13038,15 @@ for ac_hdr in CL/cl.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:12991: checking for $ac_hdr" >&5
|
||||
echo "configure:13042: checking for $ac_hdr" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12994 "configure"
|
||||
#line 13045 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:12999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:13050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
|
@ -13028,7 +13079,7 @@ CPPFLAGS=$ac_save_cppflags
|
|||
# With OpenCL library directory
|
||||
|
||||
echo $ac_n "checking for location of OpenCL library""... $ac_c" 1>&6
|
||||
echo "configure:13032: checking for location of OpenCL library" >&5
|
||||
echo "configure:13083: checking for location of OpenCL library" >&5
|
||||
case "$with_opencl_libs" in
|
||||
y | ye | yes | n | no)
|
||||
{ echo "configure: error: *** You must supply a directory to --with-opencl-libs." 1>&2; exit 1; }
|
||||
|
@ -13052,13 +13103,13 @@ LDFLAGS="$OCLLIBPATH $LDFLAGS"
|
|||
|
||||
|
||||
echo $ac_n "checking for clGetPlatformInfo in -lOpenCL""... $ac_c" 1>&6
|
||||
echo "configure:13056: checking for clGetPlatformInfo in -lOpenCL" >&5
|
||||
echo "configure:13107: checking for clGetPlatformInfo in -lOpenCL" >&5
|
||||
ac_lib_var=`echo OpenCL'_'clGetPlatformInfo | sed 'y%./+-%__p_%'`
|
||||
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lOpenCL $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13062 "configure"
|
||||
#line 13113 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
|
@ -13069,7 +13120,7 @@ int main() {
|
|||
clGetPlatformInfo()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:13124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -13129,7 +13180,7 @@ fi
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
|
||||
echo "configure:13133: checking for special C compiler options needed for large files" >&5
|
||||
echo "configure:13184: checking for special C compiler options needed for large files" >&5
|
||||
|
||||
ac_cv_sys_largefile_CC=no
|
||||
largefile_cc_opt=""
|
||||
|
@ -13137,7 +13188,7 @@ ac_cv_sys_largefile_CC=no
|
|||
# IRIX 6.2 and later do not support large files by default,
|
||||
# so use the C compiler's -n32 option if that helps.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13141 "configure"
|
||||
#line 13192 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||
|
@ -13153,7 +13204,7 @@ int main() {
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
:
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
|
@ -13162,7 +13213,7 @@ else
|
|||
ac_save_CC="${CC-cc}"
|
||||
CC="$CC -n32"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13166 "configure"
|
||||
#line 13217 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||
|
@ -13178,7 +13229,7 @@ int main() {
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_sys_largefile_CC=' -n32'
|
||||
else
|
||||
|
@ -13205,11 +13256,11 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
|
||||
echo "configure:13209: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
||||
echo "configure:13260: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
||||
|
||||
ac_cv_sys_file_offset_bits=no
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13213 "configure"
|
||||
#line 13264 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||
|
@ -13225,14 +13276,14 @@ int main() {
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
:
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13236 "configure"
|
||||
#line 13287 "configure"
|
||||
#include "confdefs.h"
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
#include <sys/types.h>
|
||||
|
@ -13250,7 +13301,7 @@ int main() {
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_sys_file_offset_bits=64
|
||||
else
|
||||
|
@ -13276,11 +13327,11 @@ EOF
|
|||
|
||||
fi
|
||||
echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
|
||||
echo "configure:13280: checking for _LARGE_FILES value needed for large files" >&5
|
||||
echo "configure:13331: checking for _LARGE_FILES value needed for large files" >&5
|
||||
|
||||
ac_cv_sys_large_files=no
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13284 "configure"
|
||||
#line 13335 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
/* Check that off_t can represent 2**63 - 1 correctly.
|
||||
|
@ -13296,14 +13347,14 @@ int main() {
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
:
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13307 "configure"
|
||||
#line 13358 "configure"
|
||||
#include "confdefs.h"
|
||||
#define _LARGE_FILES 1
|
||||
#include <sys/types.h>
|
||||
|
@ -13321,7 +13372,7 @@ int main() {
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_sys_large_files=1
|
||||
else
|
||||
|
@ -13347,25 +13398,25 @@ EOF
|
|||
|
||||
fi
|
||||
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
||||
echo "configure:13351: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
||||
echo "configure:13402: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
||||
|
||||
ac_cv_sys_largefile_source=no
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13355 "configure"
|
||||
#line 13406 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main() {
|
||||
return !fseeko;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
:
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13369 "configure"
|
||||
#line 13420 "configure"
|
||||
#include "confdefs.h"
|
||||
#define _LARGEFILE_SOURCE 1
|
||||
#include <stdio.h>
|
||||
|
@ -13374,7 +13425,7 @@ int main() {
|
|||
return !fseeko;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_sys_largefile_source=1
|
||||
else
|
||||
|
@ -13406,25 +13457,25 @@ EOF
|
|||
ac_save_cflags=${CFLAGS}
|
||||
CFLAGS="$LFS_CFLAGS ${ac_save_cflags}"
|
||||
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
||||
echo "configure:13410: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
||||
echo "configure:13461: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
||||
|
||||
ac_cv_sys_largefile_source=no
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13414 "configure"
|
||||
#line 13465 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main() {
|
||||
return !fseeko;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
:
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13428 "configure"
|
||||
#line 13479 "configure"
|
||||
#include "confdefs.h"
|
||||
#define _LARGEFILE_SOURCE 1
|
||||
#include <stdio.h>
|
||||
|
@ -13433,7 +13484,7 @@ int main() {
|
|||
return !fseeko;
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_sys_largefile_source=1
|
||||
else
|
||||
|
@ -13463,18 +13514,18 @@ EOF
|
|||
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
|
||||
|
||||
echo $ac_n "checking for fseeko""... $ac_c" 1>&6
|
||||
echo "configure:13467: checking for fseeko" >&5
|
||||
echo "configure:13518: checking for fseeko" >&5
|
||||
|
||||
ac_cv_func_fseeko=no
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13471 "configure"
|
||||
#line 13522 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
int main() {
|
||||
return fseeko && fseeko (stdin, 0, 0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:13529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ac_cv_func_fseeko=yes
|
||||
else
|
||||
|
@ -13491,10 +13542,10 @@ EOF
|
|||
|
||||
fi
|
||||
echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6
|
||||
echo "configure:13495: checking if system supports Large Files at all" >&5
|
||||
echo "configure:13546: checking if system supports Large Files at all" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13498 "configure"
|
||||
#line 13549 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -13526,7 +13577,7 @@ return !ftello;
|
|||
#endif
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:13530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:13581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_largefiles=yes
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue