|
@@ -13908,11 +13908,89 @@ EOF
|
|
|
fi
|
|
|
fi
|
|
|
|
|
|
+echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
|
|
+echo "configure:13913: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
+
|
|
|
+ac_cv_sys_largefile_source=no
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 13917 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <stdio.h>
|
|
|
+int main() {
|
|
|
+return !fseeko;
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:13924: \"$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 13931 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#define _LARGEFILE_SOURCE 1
|
|
|
+#include <stdio.h>
|
|
|
+
|
|
|
+int main() {
|
|
|
+return !fseeko;
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:13940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_sys_largefile_source=1
|
|
|
+else
|
|
|
+ echo "configure: failed program was:" >&5
|
|
|
+ cat conftest.$ac_ext >&5
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6
|
|
|
+ if test "$ac_cv_sys_largefile_source" != no; then
|
|
|
+ cat >> confdefs.h <<EOF
|
|
|
+#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
|
|
|
+EOF
|
|
|
+
|
|
|
+ fi
|
|
|
+ # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
|
|
|
+ # in glibc 2.1.3, but that breaks too many other things.
|
|
|
+ # 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:13963: checking for fseeko" >&5
|
|
|
+
|
|
|
+ac_cv_func_fseeko=no
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
+#line 13967 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+#include <stdio.h>
|
|
|
+int main() {
|
|
|
+return fseeko && fseeko (stdin, 0, 0);
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:13974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+ rm -rf conftest*
|
|
|
+ ac_cv_func_fseeko=yes
|
|
|
+else
|
|
|
+ echo "configure: failed program was:" >&5
|
|
|
+ cat conftest.$ac_ext >&5
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+echo "$ac_t""$ac_cv_func_fseeko" 1>&6
|
|
|
+ if test $ac_cv_func_fseeko != no; then
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
+#define HAVE_FSEEKO 1
|
|
|
+EOF
|
|
|
+
|
|
|
+ fi
|
|
|
echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6
|
|
|
-echo "configure:13913: checking if system supports Large Files at all" >&5
|
|
|
+echo "configure:13991: checking if system supports Large Files at all" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13916 "configure"
|
|
|
+#line 13994 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
#include <sys/types.h>
|
|
@@ -13944,7 +14022,7 @@ return !ftello;
|
|
|
#endif
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_largefiles=yes
|
|
|
else
|
|
@@ -13973,7 +14051,7 @@ fi
|
|
|
# Python check
|
|
|
|
|
|
echo $ac_n "checking whether to use Python""... $ac_c" 1>&6
|
|
|
-echo "configure:13977: checking whether to use Python" >&5
|
|
|
+echo "configure:14055: checking whether to use Python" >&5
|
|
|
|
|
|
PYTHONINC=
|
|
|
PYTHONCFLAGS=
|
|
@@ -13994,7 +14072,7 @@ else
|
|
|
# Extract the first word of "python-config", so it can be a program name with args.
|
|
|
set dummy python-config; ac_word=$2
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
-echo "configure:13998: checking for $ac_word" >&5
|
|
|
+echo "configure:14076: checking for $ac_word" >&5
|
|
|
|
|
|
case "$PY_CONFIG" in
|
|
|
/*)
|
|
@@ -14036,15 +14114,15 @@ for ac_hdr in Python.h
|
|
|
do
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
-echo "configure:14040: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14118: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14043 "configure"
|
|
|
+#line 14121 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14126: \"$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*
|
|
@@ -14092,7 +14170,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
# Extract the first word of "swig", so it can be a program name with args.
|
|
|
set dummy swig; ac_word=$2
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
-echo "configure:14096: checking for $ac_word" >&5
|
|
|
+echo "configure:14174: checking for $ac_word" >&5
|
|
|
|
|
|
case "$SWIG" in
|
|
|
/*)
|
|
@@ -14154,7 +14232,7 @@ fi # Done checking Python
|
|
|
# Enable wxWidgets support (for wxGUI)
|
|
|
|
|
|
echo $ac_n "checking whether to use wxWidgets""... $ac_c" 1>&6
|
|
|
-echo "configure:14158: checking whether to use wxWidgets" >&5
|
|
|
+echo "configure:14236: checking whether to use wxWidgets" >&5
|
|
|
|
|
|
WXVERSION=
|
|
|
WXWIDGETSCXXFLAGS=
|
|
@@ -14175,7 +14253,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:14179: checking for $ac_word" >&5
|
|
|
+echo "configure:14257: checking for $ac_word" >&5
|
|
|
|
|
|
case "$WX_CONFIG" in
|
|
|
/*)
|
|
@@ -14223,7 +14301,7 @@ fi
|
|
|
REQWX="2.8.1"
|
|
|
|
|
|
echo $ac_n "checking wxWidgets version""... $ac_c" 1>&6
|
|
|
-echo "configure:14227: checking wxWidgets version" >&5
|
|
|
+echo "configure:14305: checking wxWidgets version" >&5
|
|
|
if WXVERSION=`"$WX_CONFIG" --version`; then
|
|
|
echo "$ac_t""$WXVERSION" 1>&6
|
|
|
else
|
|
@@ -14246,15 +14324,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:14250: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14328: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14253 "configure"
|
|
|
+#line 14331 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14336: \"$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*
|