|
@@ -12674,6 +12674,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 12688 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <stdlib.h>
|
|
|
+$ac_declaration
|
|
|
+int main() {
|
|
|
+exit (42);
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:12696: \"$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 12706 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+$ac_declaration
|
|
|
+int main() {
|
|
|
+exit (42);
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:12713: \"$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=
|
|
@@ -12687,7 +12738,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6
|
|
|
-echo "configure:12691: checking whether to use openDWG" >&5
|
|
|
+echo "configure:12742: checking whether to use openDWG" >&5
|
|
|
echo "$ac_t"""$with_opendwg"" 1>&6
|
|
|
case "$with_opendwg" in
|
|
|
"no") USE_OPENDWG= ;;
|
|
@@ -12707,7 +12758,7 @@ if test -n "${USE_OPENDWG}"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6
|
|
|
-echo "configure:12711: checking for location of openDGW includes" >&5
|
|
|
+echo "configure:12762: 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; }
|
|
@@ -12733,15 +12784,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:12737: checking for $ac_hdr" >&5
|
|
|
+echo "configure:12788: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12740 "configure"
|
|
|
+#line 12791 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:12745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:12796: \"$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*
|
|
@@ -12775,7 +12826,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6
|
|
|
-echo "configure:12779: checking for location of openDWG library" >&5
|
|
|
+echo "configure:12830: 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; }
|
|
@@ -12816,7 +12867,7 @@ fi # $USE_OPENDWG
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use POSIX threads""... $ac_c" 1>&6
|
|
|
-echo "configure:12820: checking whether to use POSIX threads" >&5
|
|
|
+echo "configure:12871: checking whether to use POSIX threads" >&5
|
|
|
echo "$ac_t"""$with_pthread"" 1>&6
|
|
|
case "$with_pthread" in
|
|
|
"no") USE_PTHREAD= ;;
|
|
@@ -12836,7 +12887,7 @@ if test -n "$USE_PTHREAD"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads includes""... $ac_c" 1>&6
|
|
|
-echo "configure:12840: checking for location of POSIX threads includes" >&5
|
|
|
+echo "configure:12891: 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; }
|
|
@@ -12862,15 +12913,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:12866: checking for $ac_hdr" >&5
|
|
|
+echo "configure:12917: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12869 "configure"
|
|
|
+#line 12920 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:12874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:12925: \"$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*
|
|
@@ -12904,7 +12955,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads library""... $ac_c" 1>&6
|
|
|
-echo "configure:12908: checking for location of POSIX threads library" >&5
|
|
|
+echo "configure:12959: 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; }
|
|
@@ -12929,10 +12980,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS=" $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
|
|
|
-echo "configure:12933: checking for pthread_create" >&5
|
|
|
+echo "configure:12984: checking for pthread_create" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12936 "configure"
|
|
|
+#line 12987 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char pthread_create(); below. */
|
|
@@ -12955,7 +13006,7 @@ pthread_create();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:12959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13010: \"$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
|
|
@@ -12982,13 +13033,13 @@ LDFLAGS="$PTHREADLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
|
|
|
-echo "configure:12986: checking for pthread_create in -lpthread" >&5
|
|
|
+echo "configure:13037: 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 12992 "configure"
|
|
|
+#line 13043 "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
|
|
@@ -12999,7 +13050,7 @@ int main() {
|
|
|
pthread_create()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13054: \"$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
|
|
@@ -13049,7 +13100,7 @@ fi # $USE_PTHREAD
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use OpenMP""... $ac_c" 1>&6
|
|
|
-echo "configure:13053: checking whether to use OpenMP" >&5
|
|
|
+echo "configure:13104: checking whether to use OpenMP" >&5
|
|
|
echo "$ac_t"""$with_openmp"" 1>&6
|
|
|
case "$with_openmp" in
|
|
|
"no") USE_OPENMP= ;;
|
|
@@ -13070,7 +13121,7 @@ if test -n "$USE_OPENMP"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of OpenMP includes""... $ac_c" 1>&6
|
|
|
-echo "configure:13074: checking for location of OpenMP includes" >&5
|
|
|
+echo "configure:13125: 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; }
|
|
@@ -13096,15 +13147,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:13100: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13151: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13103 "configure"
|
|
|
+#line 13154 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13159: \"$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*
|
|
@@ -13142,7 +13193,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of OpenMP library""... $ac_c" 1>&6
|
|
|
-echo "configure:13146: checking for location of OpenMP library" >&5
|
|
|
+echo "configure:13197: 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; }
|
|
@@ -13167,10 +13218,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS=" $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for GOMP_parallel_start""... $ac_c" 1>&6
|
|
|
-echo "configure:13171: checking for GOMP_parallel_start" >&5
|
|
|
+echo "configure:13222: checking for GOMP_parallel_start" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13174 "configure"
|
|
|
+#line 13225 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char GOMP_parallel_start(); below. */
|
|
@@ -13193,7 +13244,7 @@ GOMP_parallel_start();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13248: \"$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
|
|
@@ -13220,13 +13271,13 @@ LDFLAGS="$OMPLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for GOMP_parallel_start in -lgomp""... $ac_c" 1>&6
|
|
|
-echo "configure:13224: checking for GOMP_parallel_start in -lgomp" >&5
|
|
|
+echo "configure:13275: 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 13230 "configure"
|
|
|
+#line 13281 "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
|
|
@@ -13237,7 +13288,7 @@ int main() {
|
|
|
GOMP_parallel_start()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13292: \"$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
|
|
@@ -13310,7 +13361,7 @@ fi # $USE_OPENMP
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use OpenCL""... $ac_c" 1>&6
|
|
|
-echo "configure:13314: checking whether to use OpenCL" >&5
|
|
|
+echo "configure:13365: checking whether to use OpenCL" >&5
|
|
|
echo "$ac_t"""$with_opencl"" 1>&6
|
|
|
case "$with_opencl" in
|
|
|
"no") USE_OPENCL= ;;
|
|
@@ -13330,7 +13381,7 @@ if test -n "$USE_OPENCL"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of OpenCL includes""... $ac_c" 1>&6
|
|
|
-echo "configure:13334: checking for location of OpenCL includes" >&5
|
|
|
+echo "configure:13385: 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; }
|
|
@@ -13357,15 +13408,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:13361: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13412: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13364 "configure"
|
|
|
+#line 13415 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13420: \"$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*
|
|
@@ -13405,10 +13456,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS="-framework OpenCL $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for clGetPlatformInfo""... $ac_c" 1>&6
|
|
|
-echo "configure:13409: checking for clGetPlatformInfo" >&5
|
|
|
+echo "configure:13460: checking for clGetPlatformInfo" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13412 "configure"
|
|
|
+#line 13463 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char clGetPlatformInfo(); below. */
|
|
@@ -13431,7 +13482,7 @@ clGetPlatformInfo();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13486: \"$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
|
|
@@ -13470,15 +13521,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:13474: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13525: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13477 "configure"
|
|
|
+#line 13528 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13533: \"$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*
|
|
@@ -13511,7 +13562,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
# With OpenCL library directory
|
|
|
|
|
|
echo $ac_n "checking for location of OpenCL library""... $ac_c" 1>&6
|
|
|
-echo "configure:13515: checking for location of OpenCL library" >&5
|
|
|
+echo "configure:13566: 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; }
|
|
@@ -13535,13 +13586,13 @@ LDFLAGS="$OCLLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for clGetPlatformInfo in -lOpenCL""... $ac_c" 1>&6
|
|
|
-echo "configure:13539: checking for clGetPlatformInfo in -lOpenCL" >&5
|
|
|
+echo "configure:13590: 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 13545 "configure"
|
|
|
+#line 13596 "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
|
|
@@ -13552,7 +13603,7 @@ int main() {
|
|
|
clGetPlatformInfo()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13607: \"$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
|
|
@@ -13612,7 +13663,7 @@ fi
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:13616: checking for special C compiler options needed for large files" >&5
|
|
|
+echo "configure:13667: checking for special C compiler options needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_CC=no
|
|
|
largefile_cc_opt=""
|
|
@@ -13620,7 +13671,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 13624 "configure"
|
|
|
+#line 13675 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13636,7 +13687,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
:
|
|
|
else
|
|
|
echo "configure: failed program was:" >&5
|
|
@@ -13645,7 +13696,7 @@ else
|
|
|
ac_save_CC="${CC-cc}"
|
|
|
CC="$CC -n32"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13649 "configure"
|
|
|
+#line 13700 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13661,7 +13712,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_CC=' -n32'
|
|
|
else
|
|
@@ -13688,11 +13739,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:13692: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
+echo "configure:13743: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_file_offset_bits=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13696 "configure"
|
|
|
+#line 13747 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13708,14 +13759,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13763: \"$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 13719 "configure"
|
|
|
+#line 13770 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _FILE_OFFSET_BITS 64
|
|
|
#include <sys/types.h>
|
|
@@ -13733,7 +13784,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_file_offset_bits=64
|
|
|
else
|
|
@@ -13759,11 +13810,11 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:13763: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
+echo "configure:13814: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_large_files=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13767 "configure"
|
|
|
+#line 13818 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13779,14 +13830,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13834: \"$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 13790 "configure"
|
|
|
+#line 13841 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGE_FILES 1
|
|
|
#include <sys/types.h>
|
|
@@ -13804,7 +13855,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_large_files=1
|
|
|
else
|
|
@@ -13830,25 +13881,25 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:13834: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
+echo "configure:13885: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_source=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13838 "configure"
|
|
|
+#line 13889 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13896: \"$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 13852 "configure"
|
|
|
+#line 13903 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGEFILE_SOURCE 1
|
|
|
#include <stdio.h>
|
|
@@ -13857,7 +13908,7 @@ int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_source=1
|
|
|
else
|
|
@@ -13889,25 +13940,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:13893: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
+echo "configure:13944: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_source=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13897 "configure"
|
|
|
+#line 13948 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13955: \"$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 13911 "configure"
|
|
|
+#line 13962 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGEFILE_SOURCE 1
|
|
|
#include <stdio.h>
|
|
@@ -13916,7 +13967,7 @@ int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_source=1
|
|
|
else
|
|
@@ -13946,18 +13997,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:13950: checking for fseeko" >&5
|
|
|
+echo "configure:14001: checking for fseeko" >&5
|
|
|
|
|
|
ac_cv_func_fseeko=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13954 "configure"
|
|
|
+#line 14005 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return fseeko && fseeko (stdin, 0, 0);
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_func_fseeko=yes
|
|
|
else
|
|
@@ -13974,10 +14025,10 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6
|
|
|
-echo "configure:13978: checking if system supports Large Files at all" >&5
|
|
|
+echo "configure:14029: checking if system supports Large Files at all" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13981 "configure"
|
|
|
+#line 14032 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
#include <sys/types.h>
|
|
@@ -14009,7 +14060,7 @@ return !ftello;
|
|
|
#endif
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_largefiles=yes
|
|
|
else
|