|
@@ -12355,6 +12355,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 12369 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <stdlib.h>
|
|
|
+$ac_declaration
|
|
|
+int main() {
|
|
|
+exit (42);
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:12377: \"$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 12387 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+$ac_declaration
|
|
|
+int main() {
|
|
|
+exit (42);
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:12394: \"$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=
|
|
@@ -12368,7 +12419,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6
|
|
|
-echo "configure:12372: checking whether to use openDWG" >&5
|
|
|
+echo "configure:12423: checking whether to use openDWG" >&5
|
|
|
echo "$ac_t"""$with_opendwg"" 1>&6
|
|
|
case "$with_opendwg" in
|
|
|
"no") USE_OPENDWG= ;;
|
|
@@ -12388,7 +12439,7 @@ if test -n "${USE_OPENDWG}"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6
|
|
|
-echo "configure:12392: checking for location of openDGW includes" >&5
|
|
|
+echo "configure:12443: 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; }
|
|
@@ -12414,15 +12465,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:12418: checking for $ac_hdr" >&5
|
|
|
+echo "configure:12469: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12421 "configure"
|
|
|
+#line 12472 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:12426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:12477: \"$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*
|
|
@@ -12456,7 +12507,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6
|
|
|
-echo "configure:12460: checking for location of openDWG library" >&5
|
|
|
+echo "configure:12511: 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; }
|
|
@@ -12497,7 +12548,7 @@ fi # $USE_OPENDWG
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use POSIX threads""... $ac_c" 1>&6
|
|
|
-echo "configure:12501: checking whether to use POSIX threads" >&5
|
|
|
+echo "configure:12552: checking whether to use POSIX threads" >&5
|
|
|
echo "$ac_t"""$with_pthread"" 1>&6
|
|
|
case "$with_pthread" in
|
|
|
"no") USE_PTHREAD= ;;
|
|
@@ -12517,7 +12568,7 @@ if test -n "$USE_PTHREAD"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads includes""... $ac_c" 1>&6
|
|
|
-echo "configure:12521: checking for location of POSIX threads includes" >&5
|
|
|
+echo "configure:12572: 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; }
|
|
@@ -12543,15 +12594,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:12547: checking for $ac_hdr" >&5
|
|
|
+echo "configure:12598: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12550 "configure"
|
|
|
+#line 12601 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:12555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:12606: \"$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*
|
|
@@ -12585,7 +12636,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads library""... $ac_c" 1>&6
|
|
|
-echo "configure:12589: checking for location of POSIX threads library" >&5
|
|
|
+echo "configure:12640: 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; }
|
|
@@ -12610,10 +12661,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS=" $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
|
|
|
-echo "configure:12614: checking for pthread_create" >&5
|
|
|
+echo "configure:12665: checking for pthread_create" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12617 "configure"
|
|
|
+#line 12668 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char pthread_create(); below. */
|
|
@@ -12636,7 +12687,7 @@ pthread_create();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:12640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:12691: \"$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
|
|
@@ -12663,13 +12714,13 @@ LDFLAGS="$PTHREADLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
|
|
|
-echo "configure:12667: checking for pthread_create in -lpthread" >&5
|
|
|
+echo "configure:12718: 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 12673 "configure"
|
|
|
+#line 12724 "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
|
|
@@ -12680,7 +12731,7 @@ int main() {
|
|
|
pthread_create()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:12684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:12735: \"$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
|
|
@@ -12730,7 +12781,7 @@ fi # $USE_PTHREAD
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use OpenMP""... $ac_c" 1>&6
|
|
|
-echo "configure:12734: checking whether to use OpenMP" >&5
|
|
|
+echo "configure:12785: checking whether to use OpenMP" >&5
|
|
|
echo "$ac_t"""$with_openmp"" 1>&6
|
|
|
case "$with_openmp" in
|
|
|
"no") USE_OPENMP= ;;
|
|
@@ -12751,7 +12802,7 @@ if test -n "$USE_OPENMP"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of OpenMP includes""... $ac_c" 1>&6
|
|
|
-echo "configure:12755: checking for location of OpenMP includes" >&5
|
|
|
+echo "configure:12806: 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; }
|
|
@@ -12777,15 +12828,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:12781: checking for $ac_hdr" >&5
|
|
|
+echo "configure:12832: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12784 "configure"
|
|
|
+#line 12835 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:12789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:12840: \"$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*
|
|
@@ -12823,7 +12874,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of OpenMP library""... $ac_c" 1>&6
|
|
|
-echo "configure:12827: checking for location of OpenMP library" >&5
|
|
|
+echo "configure:12878: 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; }
|
|
@@ -12848,10 +12899,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS=" $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for GOMP_parallel_start""... $ac_c" 1>&6
|
|
|
-echo "configure:12852: checking for GOMP_parallel_start" >&5
|
|
|
+echo "configure:12903: checking for GOMP_parallel_start" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 12855 "configure"
|
|
|
+#line 12906 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char GOMP_parallel_start(); below. */
|
|
@@ -12874,7 +12925,7 @@ GOMP_parallel_start();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:12878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:12929: \"$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
|
|
@@ -12901,13 +12952,13 @@ LDFLAGS="$OMPLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for GOMP_parallel_start in -lgomp""... $ac_c" 1>&6
|
|
|
-echo "configure:12905: checking for GOMP_parallel_start in -lgomp" >&5
|
|
|
+echo "configure:12956: 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 12911 "configure"
|
|
|
+#line 12962 "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
|
|
@@ -12918,7 +12969,7 @@ int main() {
|
|
|
GOMP_parallel_start()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:12922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:12973: \"$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
|
|
@@ -12991,7 +13042,7 @@ fi # $USE_OPENMP
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use OpenCL""... $ac_c" 1>&6
|
|
|
-echo "configure:12995: checking whether to use OpenCL" >&5
|
|
|
+echo "configure:13046: checking whether to use OpenCL" >&5
|
|
|
echo "$ac_t"""$with_opencl"" 1>&6
|
|
|
case "$with_opencl" in
|
|
|
"no") USE_OPENCL= ;;
|
|
@@ -13011,7 +13062,7 @@ if test -n "$USE_OPENCL"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of OpenCL includes""... $ac_c" 1>&6
|
|
|
-echo "configure:13015: checking for location of OpenCL includes" >&5
|
|
|
+echo "configure:13066: 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; }
|
|
@@ -13038,15 +13089,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:13042: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13093: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13045 "configure"
|
|
|
+#line 13096 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13101: \"$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*
|
|
@@ -13086,10 +13137,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS="-framework OpenCL $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for clGetPlatformInfo""... $ac_c" 1>&6
|
|
|
-echo "configure:13090: checking for clGetPlatformInfo" >&5
|
|
|
+echo "configure:13141: checking for clGetPlatformInfo" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13093 "configure"
|
|
|
+#line 13144 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char clGetPlatformInfo(); below. */
|
|
@@ -13112,7 +13163,7 @@ clGetPlatformInfo();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13167: \"$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
|
|
@@ -13151,15 +13202,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:13155: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13206: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13158 "configure"
|
|
|
+#line 13209 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13214: \"$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*
|
|
@@ -13192,7 +13243,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
# With OpenCL library directory
|
|
|
|
|
|
echo $ac_n "checking for location of OpenCL library""... $ac_c" 1>&6
|
|
|
-echo "configure:13196: checking for location of OpenCL library" >&5
|
|
|
+echo "configure:13247: 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; }
|
|
@@ -13216,13 +13267,13 @@ LDFLAGS="$OCLLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for clGetPlatformInfo in -lOpenCL""... $ac_c" 1>&6
|
|
|
-echo "configure:13220: checking for clGetPlatformInfo in -lOpenCL" >&5
|
|
|
+echo "configure:13271: 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 13226 "configure"
|
|
|
+#line 13277 "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
|
|
@@ -13233,7 +13284,7 @@ int main() {
|
|
|
clGetPlatformInfo()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13288: \"$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
|
|
@@ -13287,7 +13338,7 @@ fi
|
|
|
if test "$enable_largefile" = yes; then
|
|
|
|
|
|
echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:13291: checking for special C compiler options needed for large files" >&5
|
|
|
+echo "configure:13342: checking for special C compiler options needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_CC=no
|
|
|
largefile_cc_opt=""
|
|
@@ -13295,7 +13346,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 13299 "configure"
|
|
|
+#line 13350 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13311,7 +13362,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
:
|
|
|
else
|
|
|
echo "configure: failed program was:" >&5
|
|
@@ -13320,7 +13371,7 @@ else
|
|
|
ac_save_CC="${CC-cc}"
|
|
|
CC="$CC -n32"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13324 "configure"
|
|
|
+#line 13375 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13336,7 +13387,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_CC=' -n32'
|
|
|
else
|
|
@@ -13356,11 +13407,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:13360: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
+echo "configure:13411: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_file_offset_bits=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13364 "configure"
|
|
|
+#line 13415 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13376,14 +13427,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13431: \"$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 13387 "configure"
|
|
|
+#line 13438 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _FILE_OFFSET_BITS 64
|
|
|
#include <sys/types.h>
|
|
@@ -13401,7 +13452,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_file_offset_bits=64
|
|
|
else
|
|
@@ -13420,11 +13471,11 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:13424: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
+echo "configure:13475: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_large_files=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13428 "configure"
|
|
|
+#line 13479 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -13440,14 +13491,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13495: \"$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 13451 "configure"
|
|
|
+#line 13502 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGE_FILES 1
|
|
|
#include <sys/types.h>
|
|
@@ -13465,7 +13516,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_large_files=1
|
|
|
else
|
|
@@ -13484,25 +13535,25 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:13488: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
+echo "configure:13539: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_source=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13492 "configure"
|
|
|
+#line 13543 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13550: \"$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 13506 "configure"
|
|
|
+#line 13557 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGEFILE_SOURCE 1
|
|
|
#include <stdio.h>
|
|
@@ -13511,7 +13562,7 @@ int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_source=1
|
|
|
else
|
|
@@ -13532,25 +13583,25 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:13536: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
+echo "configure:13587: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_source=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13540 "configure"
|
|
|
+#line 13591 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13598: \"$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 13554 "configure"
|
|
|
+#line 13605 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGEFILE_SOURCE 1
|
|
|
#include <stdio.h>
|
|
@@ -13559,7 +13610,7 @@ int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_source=1
|
|
|
else
|
|
@@ -13582,18 +13633,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:13586: checking for fseeko" >&5
|
|
|
+echo "configure:13637: checking for fseeko" >&5
|
|
|
|
|
|
ac_cv_func_fseeko=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13590 "configure"
|
|
|
+#line 13641 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return fseeko && fseeko (stdin, 0, 0);
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_func_fseeko=yes
|
|
|
else
|
|
@@ -13610,10 +13661,10 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6
|
|
|
-echo "configure:13614: checking if system supports Large Files at all" >&5
|
|
|
+echo "configure:13665: checking if system supports Large Files at all" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13617 "configure"
|
|
|
+#line 13668 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
#include <sys/types.h>
|
|
@@ -13645,7 +13696,7 @@ return !ftello;
|
|
|
#endif
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:13700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_largefiles=yes
|
|
|
else
|
|
@@ -13674,7 +13725,7 @@ fi
|
|
|
# Enable wxWidgets support (for wxGUI)
|
|
|
|
|
|
echo $ac_n "checking whether to use wxWidgets""... $ac_c" 1>&6
|
|
|
-echo "configure:13678: checking whether to use wxWidgets" >&5
|
|
|
+echo "configure:13729: checking whether to use wxWidgets" >&5
|
|
|
|
|
|
WXVERSION=
|
|
|
WXWIDGETSCXXFLAGS=
|
|
@@ -13695,7 +13746,7 @@ else
|
|
|
# Extract the first word of "wx-config", so it can be a program name with args.
|
|
|
set dummy wx-config; ac_word=$2
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
-echo "configure:13699: checking for $ac_word" >&5
|
|
|
+echo "configure:13750: checking for $ac_word" >&5
|
|
|
|
|
|
case "$WX_CONFIG" in
|
|
|
/*)
|
|
@@ -13743,7 +13794,7 @@ fi
|
|
|
REQWX="2.8.1"
|
|
|
|
|
|
echo $ac_n "checking wxWidgets version""... $ac_c" 1>&6
|
|
|
-echo "configure:13747: checking wxWidgets version" >&5
|
|
|
+echo "configure:13798: checking wxWidgets version" >&5
|
|
|
if WXVERSION=`"$WX_CONFIG" --version`; then
|
|
|
echo "$ac_t""$WXVERSION" 1>&6
|
|
|
else
|
|
@@ -13766,15 +13817,15 @@ for ac_hdr in wx/wxprec.h
|
|
|
do
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
-echo "configure:13770: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13821: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13773 "configure"
|
|
|
+#line 13824 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13829: \"$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*
|