|
@@ -13744,7 +13744,66 @@ CAIRO_HAS_XRENDER=1
|
|
|
else
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
|
-CAIRO_HAS_XRENDER=0
|
|
|
+CAIRO_HAS_XRENDER=
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+LIBS=${ac_save_libs}
|
|
|
+LDFLAGS=${ac_save_ldflags}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ac_save_libs="$LIBS"
|
|
|
+ac_save_ldflags="$LDFLAGS"
|
|
|
+LIBS=" $CAIROLIB $LIBS"
|
|
|
+LDFLAGS=" $LDFLAGS"
|
|
|
+echo $ac_n "checking for cairo_xlib_surface_get_xrender_format""... $ac_c" 1>&6
|
|
|
+echo "configure:13762: checking for cairo_xlib_surface_get_xrender_format" >&5
|
|
|
+
|
|
|
+cat > conftest.$ac_ext <<EOF
|
|
|
+#line 13765 "configure"
|
|
|
+#include "confdefs.h"
|
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
|
+ which can conflict with char cairo_xlib_surface_get_xrender_format(); below. */
|
|
|
+#include <assert.h>
|
|
|
+/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
+/* We use char because int might match the return type of a gcc2
|
|
|
+ builtin and then its argument prototype would still apply. */
|
|
|
+char cairo_xlib_surface_get_xrender_format();
|
|
|
+
|
|
|
+int main() {
|
|
|
+
|
|
|
+/* The GNU C library defines this for functions which it implements
|
|
|
+ to always fail with ENOSYS. Some functions are actually named
|
|
|
+ something starting with __ and the normal name is an alias. */
|
|
|
+#if defined (__stub_cairo_xlib_surface_get_xrender_format) || defined (__stub___cairo_xlib_surface_get_xrender_format)
|
|
|
+choke me
|
|
|
+#else
|
|
|
+cairo_xlib_surface_get_xrender_format();
|
|
|
+#endif
|
|
|
+
|
|
|
+; return 0; }
|
|
|
+EOF
|
|
|
+if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+ rm -rf conftest*
|
|
|
+ eval "ac_cv_func_cairo_xlib_surface_get_xrender_format=yes"
|
|
|
+else
|
|
|
+ echo "configure: failed program was:" >&5
|
|
|
+ cat conftest.$ac_ext >&5
|
|
|
+ rm -rf conftest*
|
|
|
+ eval "ac_cv_func_cairo_xlib_surface_get_xrender_format=no"
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+if eval "test \"`echo '$ac_cv_func_'cairo_xlib_surface_get_xrender_format`\" = yes"; then
|
|
|
+ echo "$ac_t""yes" 1>&6
|
|
|
+
|
|
|
+CAIRO_HAS_XRENDER_SURFACE=1
|
|
|
+
|
|
|
+else
|
|
|
+ echo "$ac_t""no" 1>&6
|
|
|
+
|
|
|
+CAIRO_HAS_XRENDER_SURFACE=
|
|
|
|
|
|
fi
|
|
|
|
|
@@ -13767,7 +13826,7 @@ fi # $USE_CAIRO
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use FreeType""... $ac_c" 1>&6
|
|
|
-echo "configure:13771: checking whether to use FreeType" >&5
|
|
|
+echo "configure:13830: checking whether to use FreeType" >&5
|
|
|
echo "$ac_t"""$with_freetype"" 1>&6
|
|
|
case "$with_freetype" in
|
|
|
"no") USE_FREETYPE= ;;
|
|
@@ -13786,7 +13845,7 @@ if test -n "$USE_FREETYPE"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of FreeType includes""... $ac_c" 1>&6
|
|
|
-echo "configure:13790: checking for location of FreeType includes" >&5
|
|
|
+echo "configure:13849: 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; }
|
|
@@ -13812,15 +13871,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:13816: checking for $ac_hdr" >&5
|
|
|
+echo "configure:13875: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13819 "configure"
|
|
|
+#line 13878 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:13824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:13883: \"$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*
|
|
@@ -13854,7 +13913,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of FreeType library""... $ac_c" 1>&6
|
|
|
-echo "configure:13858: checking for location of FreeType library" >&5
|
|
|
+echo "configure:13917: 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; }
|
|
@@ -13879,13 +13938,13 @@ LDFLAGS="$FTLIB $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for FT_Init_FreeType in -lfreetype""... $ac_c" 1>&6
|
|
|
-echo "configure:13883: checking for FT_Init_FreeType in -lfreetype" >&5
|
|
|
+echo "configure:13942: 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 13889 "configure"
|
|
|
+#line 13948 "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
|
|
@@ -13896,7 +13955,7 @@ int main() {
|
|
|
FT_Init_FreeType()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:13959: \"$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
|
|
@@ -13937,7 +13996,7 @@ fi # $USE_FREETYPE
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use NLS""... $ac_c" 1>&6
|
|
|
-echo "configure:13941: checking whether to use NLS" >&5
|
|
|
+echo "configure:14000: checking whether to use NLS" >&5
|
|
|
echo "$ac_t"""$with_nls"" 1>&6
|
|
|
case "$with_nls" in
|
|
|
"no") USE_NLS= ;;
|
|
@@ -13957,10 +14016,10 @@ EOF
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gettext""... $ac_c" 1>&6
|
|
|
-echo "configure:13961: checking for gettext" >&5
|
|
|
+echo "configure:14020: checking for gettext" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 13964 "configure"
|
|
|
+#line 14023 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char gettext(); below. */
|
|
@@ -13983,7 +14042,7 @@ gettext();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:13987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14046: \"$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
|
|
@@ -14001,13 +14060,13 @@ else
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
|
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
|
|
|
-echo "configure:14005: checking for gettext in -lintl" >&5
|
|
|
+echo "configure:14064: 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 14011 "configure"
|
|
|
+#line 14070 "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
|
|
@@ -14018,7 +14077,7 @@ int main() {
|
|
|
gettext()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14081: \"$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
|
|
@@ -14053,7 +14112,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use C++""... $ac_c" 1>&6
|
|
|
-echo "configure:14057: checking whether to use C++" >&5
|
|
|
+echo "configure:14116: checking whether to use C++" >&5
|
|
|
echo "$ac_t"""$with_cxx"" 1>&6
|
|
|
case "$with_cxx" in
|
|
|
"no") USE_CXX= ;;
|
|
@@ -14069,7 +14128,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:14073: checking for $ac_word" >&5
|
|
|
+echo "configure:14132: checking for $ac_word" >&5
|
|
|
|
|
|
if test -n "$CXX"; then
|
|
|
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
|
@@ -14098,7 +14157,7 @@ test -n "$CXX" || CXX="gcc"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
-echo "configure:14102: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
|
|
|
+echo "configure:14161: 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.
|
|
@@ -14109,12 +14168,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
-#line 14113 "configure"
|
|
|
+#line 14172 "configure"
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main(){return(0);}
|
|
|
EOF
|
|
|
-if { (eval echo configure:14118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14177: \"$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
|
|
@@ -14140,19 +14199,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:14144: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
+echo "configure:14203: 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:14149: checking whether we are using GNU C++" >&5
|
|
|
+echo "configure:14208: 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:14156: \"$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:14215: \"$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
|
|
@@ -14170,7 +14229,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:14174: checking whether ${CXX-g++} accepts -g" >&5
|
|
|
+echo "configure:14233: checking whether ${CXX-g++} accepts -g" >&5
|
|
|
|
|
|
echo 'void f(){}' > conftest.cc
|
|
|
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
|
|
@@ -14211,7 +14270,7 @@ fi
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6
|
|
|
-echo "configure:14215: checking whether to use openDWG" >&5
|
|
|
+echo "configure:14274: checking whether to use openDWG" >&5
|
|
|
echo "$ac_t"""$with_opendwg"" 1>&6
|
|
|
case "$with_opendwg" in
|
|
|
"no") USE_OPENDWG= ;;
|
|
@@ -14231,7 +14290,7 @@ if test -n "${USE_OPENDWG}"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6
|
|
|
-echo "configure:14235: checking for location of openDGW includes" >&5
|
|
|
+echo "configure:14294: 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; }
|
|
@@ -14257,15 +14316,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:14261: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14320: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14264 "configure"
|
|
|
+#line 14323 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14328: \"$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*
|
|
@@ -14299,7 +14358,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6
|
|
|
-echo "configure:14303: checking for location of openDWG library" >&5
|
|
|
+echo "configure:14362: 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; }
|
|
@@ -14340,7 +14399,7 @@ fi # $USE_OPENDWG
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to use POSIX threads""... $ac_c" 1>&6
|
|
|
-echo "configure:14344: checking whether to use POSIX threads" >&5
|
|
|
+echo "configure:14403: checking whether to use POSIX threads" >&5
|
|
|
echo "$ac_t"""$with_pthread"" 1>&6
|
|
|
case "$with_pthread" in
|
|
|
"no") USE_PTHREAD= ;;
|
|
@@ -14360,7 +14419,7 @@ if test -n "$USE_PTHREAD"; then
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads includes""... $ac_c" 1>&6
|
|
|
-echo "configure:14364: checking for location of POSIX threads includes" >&5
|
|
|
+echo "configure:14423: 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; }
|
|
@@ -14386,15 +14445,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:14390: checking for $ac_hdr" >&5
|
|
|
+echo "configure:14449: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14393 "configure"
|
|
|
+#line 14452 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:14457: \"$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*
|
|
@@ -14428,7 +14487,7 @@ CPPFLAGS=$ac_save_cppflags
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for location of POSIX threads library""... $ac_c" 1>&6
|
|
|
-echo "configure:14432: checking for location of POSIX threads library" >&5
|
|
|
+echo "configure:14491: 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; }
|
|
@@ -14453,10 +14512,10 @@ ac_save_ldflags="$LDFLAGS"
|
|
|
LIBS=" $LIBS"
|
|
|
LDFLAGS=" $LDFLAGS"
|
|
|
echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
|
|
|
-echo "configure:14457: checking for pthread_create" >&5
|
|
|
+echo "configure:14516: checking for pthread_create" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14460 "configure"
|
|
|
+#line 14519 "configure"
|
|
|
#include "confdefs.h"
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char pthread_create(); below. */
|
|
@@ -14479,7 +14538,7 @@ pthread_create();
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14542: \"$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
|
|
@@ -14506,13 +14565,13 @@ LDFLAGS="$PTHREADLIBPATH $LDFLAGS"
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
|
|
|
-echo "configure:14510: checking for pthread_create in -lpthread" >&5
|
|
|
+echo "configure:14569: 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 14516 "configure"
|
|
|
+#line 14575 "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
|
|
@@ -14523,7 +14582,7 @@ int main() {
|
|
|
pthread_create()
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
+if { (eval echo configure:14586: \"$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
|
|
@@ -14579,7 +14638,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:14583: checking for special C compiler options needed for large files" >&5
|
|
|
+echo "configure:14642: checking for special C compiler options needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_CC=no
|
|
|
largefile_cc_opt=""
|
|
@@ -14587,7 +14646,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 14591 "configure"
|
|
|
+#line 14650 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14603,7 +14662,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
:
|
|
|
else
|
|
|
echo "configure: failed program was:" >&5
|
|
@@ -14612,7 +14671,7 @@ else
|
|
|
ac_save_CC="${CC-cc}"
|
|
|
CC="$CC -n32"
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14616 "configure"
|
|
|
+#line 14675 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14628,7 +14687,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_CC=' -n32'
|
|
|
else
|
|
@@ -14648,11 +14707,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:14652: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
+echo "configure:14711: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_file_offset_bits=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14656 "configure"
|
|
|
+#line 14715 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14668,14 +14727,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14731: \"$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 14679 "configure"
|
|
|
+#line 14738 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _FILE_OFFSET_BITS 64
|
|
|
#include <sys/types.h>
|
|
@@ -14693,7 +14752,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_file_offset_bits=64
|
|
|
else
|
|
@@ -14712,11 +14771,11 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:14716: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
+echo "configure:14775: checking for _LARGE_FILES value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_large_files=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14720 "configure"
|
|
|
+#line 14779 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <sys/types.h>
|
|
|
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
@@ -14732,14 +14791,14 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14795: \"$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 14743 "configure"
|
|
|
+#line 14802 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGE_FILES 1
|
|
|
#include <sys/types.h>
|
|
@@ -14757,7 +14816,7 @@ int main() {
|
|
|
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_large_files=1
|
|
|
else
|
|
@@ -14776,25 +14835,25 @@ EOF
|
|
|
|
|
|
fi
|
|
|
echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
|
|
|
-echo "configure:14780: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
+echo "configure:14839: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
|
|
|
|
ac_cv_sys_largefile_source=no
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14784 "configure"
|
|
|
+#line 14843 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14850: \"$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 14798 "configure"
|
|
|
+#line 14857 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#define _LARGEFILE_SOURCE 1
|
|
|
#include <stdio.h>
|
|
@@ -14803,7 +14862,7 @@ int main() {
|
|
|
return !fseeko;
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_sys_largefile_source=1
|
|
|
else
|
|
@@ -14824,10 +14883,10 @@ EOF
|
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6
|
|
|
-echo "configure:14828: checking if system supports Large Files at all" >&5
|
|
|
+echo "configure:14887: checking if system supports Large Files at all" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14831 "configure"
|
|
|
+#line 14890 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <stdio.h>
|
|
|
#include <sys/types.h>
|
|
@@ -14859,7 +14918,7 @@ return !ftello;
|
|
|
#endif
|
|
|
; return 0; }
|
|
|
EOF
|
|
|
-if { (eval echo configure:14863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
+if { (eval echo configure:14922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
rm -rf conftest*
|
|
|
ac_cv_largefiles=yes
|
|
|
else
|
|
@@ -14888,7 +14947,7 @@ fi
|
|
|
# Python check
|
|
|
|
|
|
echo $ac_n "checking whether to use Python""... $ac_c" 1>&6
|
|
|
-echo "configure:14892: checking whether to use Python" >&5
|
|
|
+echo "configure:14951: checking whether to use Python" >&5
|
|
|
|
|
|
PYTHONINC=
|
|
|
PYTHONCFLAGS=
|
|
@@ -14908,7 +14967,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:14912: checking for $ac_word" >&5
|
|
|
+echo "configure:14971: checking for $ac_word" >&5
|
|
|
|
|
|
case "$PY_CONFIG" in
|
|
|
/*)
|
|
@@ -14953,15 +15012,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:14957: checking for $ac_hdr" >&5
|
|
|
+echo "configure:15016: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 14960 "configure"
|
|
|
+#line 15019 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:14965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:15024: \"$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*
|
|
@@ -15001,7 +15060,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:15005: checking for $ac_word" >&5
|
|
|
+echo "configure:15064: checking for $ac_word" >&5
|
|
|
|
|
|
case "$SWIG" in
|
|
|
/*)
|
|
@@ -15047,7 +15106,7 @@ fi # Done checking Python
|
|
|
# Enable wxWidgets support (for wxGUI)
|
|
|
|
|
|
echo $ac_n "checking whether to use wxWidgets""... $ac_c" 1>&6
|
|
|
-echo "configure:15051: checking whether to use wxWidgets" >&5
|
|
|
+echo "configure:15110: checking whether to use wxWidgets" >&5
|
|
|
|
|
|
WXVERSION=
|
|
|
WXWIDGETSCXXFLAGS=
|
|
@@ -15067,7 +15126,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:15071: checking for $ac_word" >&5
|
|
|
+echo "configure:15130: checking for $ac_word" >&5
|
|
|
|
|
|
case "$WX_CONFIG" in
|
|
|
/*)
|
|
@@ -15115,7 +15174,7 @@ fi
|
|
|
REQWX="2.8.1"
|
|
|
|
|
|
echo $ac_n "checking wxWidgets version""... $ac_c" 1>&6
|
|
|
-echo "configure:15119: checking wxWidgets version" >&5
|
|
|
+echo "configure:15178: checking wxWidgets version" >&5
|
|
|
if WXVERSION=`"$WX_CONFIG" --version`; then
|
|
|
echo "$ac_t""$WXVERSION" 1>&6
|
|
|
else
|
|
@@ -15138,15 +15197,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:15142: checking for $ac_hdr" >&5
|
|
|
+echo "configure:15201: checking for $ac_hdr" >&5
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
-#line 15145 "configure"
|
|
|
+#line 15204 "configure"
|
|
|
#include "confdefs.h"
|
|
|
#include <$ac_hdr>
|
|
|
EOF
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
-{ (eval echo configure:15150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
+{ (eval echo configure:15209: \"$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*
|
|
@@ -15436,6 +15495,7 @@ s%@BLASINC@%$BLASINC%g
|
|
|
s%@LAPACKLIB@%$LAPACKLIB%g
|
|
|
s%@LAPACKINC@%$LAPACKINC%g
|
|
|
s%@CAIRO_HAS_XRENDER@%$CAIRO_HAS_XRENDER%g
|
|
|
+s%@CAIRO_HAS_XRENDER_SURFACE@%$CAIRO_HAS_XRENDER_SURFACE%g
|
|
|
s%@CAIROINC@%$CAIROINC%g
|
|
|
s%@CAIROLIB@%$CAIROLIB%g
|
|
|
s%@USE_CAIRO@%$USE_CAIRO%g
|