|
@@ -51,9 +51,9 @@ ac_help="$ac_help
|
|
|
ac_help="$ac_help
|
|
|
--with-lapack support LAPACK functionality (default: no)"
|
|
|
ac_help="$ac_help
|
|
|
- --with-cairo support Cairo functionality (default: no)"
|
|
|
+ --with-cairo support Cairo functionality (default: yes)"
|
|
|
ac_help="$ac_help
|
|
|
- --with-freetype support FreeType functionality (default: no)"
|
|
|
+ --with-freetype support FreeType functionality (default: yes)"
|
|
|
ac_help="$ac_help
|
|
|
--with-nls support NLS functionality (default: no)"
|
|
|
ac_help="$ac_help
|
|
@@ -2926,7 +2926,7 @@ if test "${with_cairo+set}" = set; then
|
|
|
withval="$with_cairo"
|
|
|
:
|
|
|
else
|
|
|
- with_cairo=no
|
|
|
+ with_cairo=yes
|
|
|
fi
|
|
|
|
|
|
|
|
@@ -2936,7 +2936,7 @@ if test "${with_freetype+set}" = set; then
|
|
|
withval="$with_freetype"
|
|
|
:
|
|
|
else
|
|
|
- with_freetype=no
|
|
|
+ with_freetype=yes
|
|
|
fi
|
|
|
|
|
|
|
|
@@ -13394,13 +13394,19 @@ CAIROLIB=
|
|
|
|
|
|
if test -n "$USE_CAIRO"; then
|
|
|
|
|
|
+if test -n "$USE_X11"; then
|
|
|
+ cairo=cairo\ cairo-xlib-xrender
|
|
|
+else
|
|
|
+ cairo=cairo
|
|
|
+fi
|
|
|
+
|
|
|
# With Cairo includes directory
|
|
|
|
|
|
-CAIROINC=`pkg-config --cflags cairo`
|
|
|
+CAIROINC=`pkg-config --cflags $cairo`
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of cairo includes""... $ac_c" 1>&6
|
|
|
-echo "configure:13404: checking for location of cairo includes" >&5
|
|
|
+echo "configure:13410: checking for location of cairo includes" >&5
|
|
|
case "$with_cairo_includes" in
|
|
|
y | ye | yes | n | no)
|
|
|
{ echo "configure: error: *** You must supply a directory to --with-cairo-includes." 1>&2; exit 1; }
|
|
@@ -13426,15 +13432,15 @@ for ac_hdr in cairo.h
|
|
|
do
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
-echo "configure:13430: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13436: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13433 "configure"
|
|
|
+#line 13439 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13444: \"$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*
|
|
@@ -13466,11 +13472,11 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
# With Cairo library directory
|
|
|
|
|
|
-CAIROLIB=`pkg-config --libs cairo`
|
|
|
+CAIROLIB=`pkg-config --libs $cairo`
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of cairo library""... $ac_c" 1>&6
|
|
|
-echo "configure:13474: checking for location of cairo library" >&5
|
|
|
+echo "configure:13480: checking for location of cairo library" >&5
|
|
|
case "$with_cairo_libs" in
|
|
|
y | ye | yes | n | no)
|
|
|
{ echo "configure: error: *** You must supply a directory to --with-cairo-libs." 1>&2; exit 1; }
|
|
@@ -13490,7 +13496,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for cairo linking flags""... $ac_c" 1>&6
|
|
|
-echo "configure:13494: checking for cairo linking flags" >&5
|
|
|
+echo "configure:13500: checking for cairo linking flags" >&5
|
|
|
case "$with_cairo_ldflags" in
|
|
|
y | ye | yes | n | no)
|
|
|
{ echo "configure: error: *** You must supply a directory to --with-cairo-ldflags." 1>&2; exit 1; }
|
|
@@ -13506,10 +13512,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS=" $CAIROLIB $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for cairo_create""... $ac_c" 1>&6
|
|
|
-echo "configure:13510: checking for cairo_create" >&5
|
|
|
+echo "configure:13516: checking for cairo_create" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13513 "configure"
|
|
|
+#line 13519 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char cairo_create(); below. */
|
|
@@ -13532,7 +13538,7 @@ cairo_create();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
rm -rf conftest*
|
|
|
eval "ac_cv_func_cairo_create=yes"
|
|
|
else
|
|
@@ -13575,7 +13581,7 @@ fi # $USE_CAIRO
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use FreeType""... $ac_c" 1>&6
|
|
|
-echo "configure:13579: checking whether to use FreeType" >&5
|
|
|
+echo "configure:13585: checking whether to use FreeType" >&5
|
|
|
echo "$ac_t"""$with_freetype"" 1>&6
|
|
|
case "$with_freetype" in
|
|
|
"no") USE_FREETYPE= ;;
|
|
@@ -13594,7 +13600,7 @@ if test -n "$USE_FREETYPE"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of FreeType includes""... $ac_c" 1>&6
|
|
|
-echo "configure:13598: checking for location of FreeType includes" >&5
|
|
|
+echo "configure:13604: checking for location of FreeType includes" >&5
|
|
|
case "$with_freetype_includes" in
|
|
|
y | ye | yes | n | no)
|
|
|
{ echo "configure: error: *** You must supply a directory to --with-freetype-includes." 1>&2; exit 1; }
|
|
@@ -13620,15 +13626,15 @@ for ac_hdr in ft2build.h
|
|
|
do
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
-echo "configure:13624: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13630: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13627 "configure"
|
|
|
+#line 13633 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13638: \"$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*
|
|
@@ -13662,7 +13668,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of FreeType library""... $ac_c" 1>&6
|
|
|
-echo "configure:13666: checking for location of FreeType library" >&5
|
|
|
+echo "configure:13672: checking for location of FreeType library" >&5
|
|
|
case "$with_freetype_libs" in
|
|
|
y | ye | yes | n | no)
|
|
|
{ echo "configure: error: *** You must supply a directory to --with-freetype-libs." 1>&2; exit 1; }
|
|
@@ -13687,13 +13693,13 @@ LDFLAGS="$FTLIB $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for FT_Init_FreeType in -lfreetype""... $ac_c" 1>&6
|
|
|
-echo "configure:13691: checking for FT_Init_FreeType in -lfreetype" >&5
|
|
|
+echo "configure:13697: checking for FT_Init_FreeType in -lfreetype" >&5
|
|
|
ac_lib_var=`echo freetype'_'FT_Init_FreeType | sed 'y%./+-%__p_%'`
|
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lfreetype $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13697 "configure"
|
|
|
+#line 13703 "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
|
|
@@ -13704,7 +13710,7 @@ int main() {
|
|
|
FT_Init_FreeType()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13714: \"$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
|
|
@@ -13745,7 +13751,7 @@ fi # $USE_FREETYPE
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use NLS""... $ac_c" 1>&6
|
|
|
-echo "configure:13749: checking whether to use NLS" >&5
|
|
|
+echo "configure:13755: checking whether to use NLS" >&5
|
|
|
echo "$ac_t"""$with_nls"" 1>&6
|
|
|
case "$with_nls" in
|
|
|
"no") USE_NLS= ;;
|
|
@@ -13765,10 +13771,10 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gettext""... $ac_c" 1>&6
|
|
|
-echo "configure:13769: checking for gettext" >&5
|
|
|
+echo "configure:13775: checking for gettext" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13772 "configure"
|
|
|
+#line 13778 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char gettext(); below. */
|
|
@@ -13791,7 +13797,7 @@ gettext();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
rm -rf conftest*
|
|
|
eval "ac_cv_func_gettext=yes"
|
|
|
else
|
|
@@ -13809,13 +13815,13 @@ else
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
|
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
|
|
|
-echo "configure:13813: checking for gettext in -lintl" >&5
|
|
|
+echo "configure:13819: checking for gettext in -lintl" >&5
|
|
|
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
|
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
LIBS="-lintl $LIBS"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13819 "configure"
|
|
|
+#line 13825 "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
|
|
@@ -13826,7 +13832,7 @@ int main() {
|
|
|
gettext()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13836: \"$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
|
|
@@ -13861,7 +13867,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use C++""... $ac_c" 1>&6
|
|
|
-echo "configure:13865: checking whether to use C++" >&5
|
|
|
+echo "configure:13871: checking whether to use C++" >&5
|
|
|
echo "$ac_t"""$with_cxx"" 1>&6
|
|
|
case "$with_cxx" in
|
|
|
"no") USE_CXX= ;;
|
|
@@ -13877,7 +13883,7 @@ do
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
-echo "configure:13881: checking for $ac_word" >&5
|
|
|
+echo "configure:13887: checking for $ac_word" >&5
|
|
|
|
|
|
if test -n "$CXX"; then
|
|
|
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
|
@@ -13906,7 +13912,7 @@ test -n "$CXX" || CXX="gcc"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
-echo "configure:13910: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
|
|
|
+echo "configure:13916: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
ac_ext=C
|
|
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
@@ -13917,12 +13923,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
-#line 13921 "configure"
|
|
|
+#line 13927 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main(){return(0);}
|
|
|
EOF
|
|
|
-if { (eval echo configure:13926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
ac_cv_prog_cxx_works=yes
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
@@ -13948,19 +13954,19 @@ if test $ac_cv_prog_cxx_works = no; then
|
|
|
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
|
|
|
fi
|
|
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
-echo "configure:13952: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
+echo "configure:13958: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
|
|
|
cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
|
|
|
-echo "configure:13957: checking whether we are using GNU C++" >&5
|
|
|
+echo "configure:13963: checking whether we are using GNU C++" >&5
|
|
|
|
|
|
cat > conftest.C <<EOF
|
|
|
#ifdef __GNUC__
|
|
|
yes;
|
|
|
#endif
|
|
|
EOF
|
|
|
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:13964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:13970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
ac_cv_prog_gxx=yes
|
|
|
else
|
|
|
ac_cv_prog_gxx=no
|
|
@@ -13978,7 +13984,7 @@ ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
|
|
ac_save_CXXFLAGS="$CXXFLAGS"
|
|
|
CXXFLAGS=
|
|
|
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
|
|
|
-echo "configure:13982: checking whether ${CXX-g++} accepts -g" >&5
|
|
|
+echo "configure:13988: checking whether ${CXX-g++} accepts -g" >&5
|
|
|
|
|
|
echo 'void f(){}' > conftest.cc
|
|
|
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
|
|
@@ -14019,7 +14025,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6
|
|
|
-echo "configure:14023: checking whether to use openDWG" >&5
|
|
|
+echo "configure:14029: checking whether to use openDWG" >&5
|
|
|
echo "$ac_t"""$with_opendwg"" 1>&6
|
|
|
case "$with_opendwg" in
|
|
|
"no") USE_OPENDWG= ;;
|
|
@@ -14039,7 +14045,7 @@ if test -n "${USE_OPENDWG}"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6
|
|
|
-echo "configure:14043: checking for location of openDGW includes" >&5
|
|
|
+echo "configure:14049: 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; }
|
|
@@ -14065,15 +14071,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:14069: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14075: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14072 "configure"
|
|
|
+#line 14078 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14083: \"$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*
|
|
@@ -14107,7 +14113,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6
|
|
|
-echo "configure:14111: checking for location of openDWG library" >&5
|
|
|
+echo "configure:14117: 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; }
|
|
@@ -14148,7 +14154,7 @@ fi # $USE_OPENDWG
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use POSIX threads""... $ac_c" 1>&6
|
|
|
-echo "configure:14152: checking whether to use POSIX threads" >&5
|
|
|
+echo "configure:14158: checking whether to use POSIX threads" >&5
|
|
|
echo "$ac_t"""$with_pthread"" 1>&6
|
|
|
case "$with_pthread" in
|
|
|
"no") USE_PTHREAD= ;;
|
|
@@ -14168,7 +14174,7 @@ if test -n "$USE_PTHREAD"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads includes""... $ac_c" 1>&6
|
|
|
-echo "configure:14172: checking for location of POSIX threads includes" >&5
|
|
|
+echo "configure:14178: 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; }
|
|
@@ -14194,15 +14200,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:14198: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14204: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14201 "configure"
|
|
|
+#line 14207 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14212: \"$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*
|
|
@@ -14236,7 +14242,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads library""... $ac_c" 1>&6
|
|
|
-echo "configure:14240: checking for location of POSIX threads library" >&5
|
|
|
+echo "configure:14246: 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; }
|
|
@@ -14261,10 +14267,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS=" $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
|
|
|
-echo "configure:14265: checking for pthread_create" >&5
|
|
|
+echo "configure:14271: checking for pthread_create" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14268 "configure"
|
|
|
+#line 14274 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char pthread_create(); below. */
|
|
@@ -14287,7 +14293,7 @@ pthread_create();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14297: \"$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
|
|
@@ -14314,13 +14320,13 @@ LDFLAGS="$PTHREADLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
|
|
|
-echo "configure:14318: checking for pthread_create in -lpthread" >&5
|
|
|
+echo "configure:14324: 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 14324 "configure"
|
|
|
+#line 14330 "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
|
|
@@ -14331,7 +14337,7 @@ int main() {
|
|
|
pthread_create()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14341: \"$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
|
|
@@ -14387,7 +14393,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:14391: checking for special C compiler options needed for large files" >&5
|
|
|
+echo "configure:14397: checking for special C compiler options needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_CC=no
|
|
|
largefile_cc_opt=""
|
|
@@ -14395,7 +14401,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 14399 "configure"
|
|
|
+#line 14405 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14411,7 +14417,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
:
|
|
|
else
|
|
|
echo "configure: failed program was:" >&5
|
|
@@ -14420,7 +14426,7 @@ else
|
|
|
ac_save_CC="${CC-cc}"
|
|
|
CC="$CC -n32"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14424 "configure"
|
|
|
+#line 14430 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14436,7 +14442,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_CC=' -n32'
|
|
|
else
|
|
@@ -14456,11 +14462,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:14460: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
+echo "configure:14466: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_file_offset_bits=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14464 "configure"
|
|
|
+#line 14470 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14476,14 +14482,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14486: \"$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 14487 "configure"
|
|
|
+#line 14493 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _FILE_OFFSET_BITS 64
|
|
|
#include <sys/types.h>
|
|
@@ -14501,7 +14507,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_file_offset_bits=64
|
|
|
else
|
|
@@ -14520,11 +14526,11 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:14524: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
+echo "configure:14530: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_large_files=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14528 "configure"
|
|
|
+#line 14534 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14540,14 +14546,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14550: \"$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 14551 "configure"
|
|
|
+#line 14557 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGE_FILES 1
|
|
|
#include <sys/types.h>
|
|
@@ -14565,7 +14571,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_large_files=1
|
|
|
else
|
|
@@ -14584,25 +14590,25 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:14588: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
+echo "configure:14594: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_source=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14592 "configure"
|
|
|
+#line 14598 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14605: \"$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 14606 "configure"
|
|
|
+#line 14612 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGEFILE_SOURCE 1
|
|
|
#include <stdio.h>
|
|
@@ -14611,7 +14617,7 @@ int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_source=1
|
|
|
else
|
|
@@ -14632,10 +14638,10 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6
|
|
|
-echo "configure:14636: checking if system supports Large Files at all" >&5
|
|
|
+echo "configure:14642: checking if system supports Large Files at all" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14639 "configure"
|
|
|
+#line 14645 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
#include <sys/types.h>
|
|
@@ -14667,7 +14673,7 @@ return !ftello;
|
|
|
#endif
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_largefiles=yes
|
|
|
else
|
|
@@ -14696,7 +14702,7 @@ fi
|
|
|
# Python check
|
|
|
|
|
|
echo $ac_n "checking whether to use Python""... $ac_c" 1>&6
|
|
|
-echo "configure:14700: checking whether to use Python" >&5
|
|
|
+echo "configure:14706: checking whether to use Python" >&5
|
|
|
|
|
|
PYTHONINC=
|
|
|
PYTHONCFLAGS=
|
|
@@ -14716,7 +14722,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:14720: checking for $ac_word" >&5
|
|
|
+echo "configure:14726: checking for $ac_word" >&5
|
|
|
|
|
|
case "$PY_CONFIG" in
|
|
|
/*)
|
|
@@ -14761,15 +14767,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:14765: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14771: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14768 "configure"
|
|
|
+#line 14774 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14779: \"$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*
|
|
@@ -14809,7 +14815,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:14813: checking for $ac_word" >&5
|
|
|
+echo "configure:14819: checking for $ac_word" >&5
|
|
|
|
|
|
case "$SWIG" in
|
|
|
/*)
|
|
@@ -14855,7 +14861,7 @@ fi # Done checking Python
|
|
|
# Enable wxWidgets support (for wxGUI)
|
|
|
|
|
|
echo $ac_n "checking whether to use wxWidgets""... $ac_c" 1>&6
|
|
|
-echo "configure:14859: checking whether to use wxWidgets" >&5
|
|
|
+echo "configure:14865: checking whether to use wxWidgets" >&5
|
|
|
|
|
|
WXVERSION=
|
|
|
WXWIDGETSCXXFLAGS=
|
|
@@ -14875,7 +14881,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:14879: checking for $ac_word" >&5
|
|
|
+echo "configure:14885: checking for $ac_word" >&5
|
|
|
|
|
|
case "$WX_CONFIG" in
|
|
|
/*)
|
|
@@ -14923,7 +14929,7 @@ fi
|
|
|
REQWX="2.8.1"
|
|
|
|
|
|
echo $ac_n "checking wxWidgets version""... $ac_c" 1>&6
|
|
|
-echo "configure:14927: checking wxWidgets version" >&5
|
|
|
+echo "configure:14933: checking wxWidgets version" >&5
|
|
|
if WXVERSION=`"$WX_CONFIG" --version`; then
|
|
|
echo "$ac_t""$WXVERSION" 1>&6
|
|
|
else
|
|
@@ -14946,15 +14952,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:14950: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14956: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14953 "configure"
|
|
|
+#line 14959 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14964: \"$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*
|
|
@@ -14990,15 +14996,15 @@ for ac_hdr in wx/wxPython/pseudodc.h
|
|
|
do
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
-echo "configure:14994: checking for $ac_hdr" >&5
|
|
|
+echo "configure:15000: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14997 "configure"
|
|
|
+#line 15003 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:15002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:15008: \"$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*
|