filename | configure |
changeset | 471:826c89a6f12c |
prev | 426:8a7a752f1174 |
next | 482:42da008cd8bf |
author | nkeynes |
date | Wed Oct 31 09:10:23 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Add save/restore of render buffers in save states Gzip memory blocks in save states Move front-buffer management back to pvr2 Add screenshot preview when loading save states Various minor fixes and cleanups |
file | annotate | diff | log | raw |
1.1 --- a/configure Sun Oct 07 06:10:52 2007 +00001.2 +++ b/configure Wed Oct 31 09:10:23 2007 +00001.3 @@ -4947,12 +4947,12 @@1.4 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"1.5 else1.6 if test -n "$PKG_CONFIG" && \1.7 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0 esound \"") >&51.8 - ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0 esound ") 2>&51.9 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0 esound libpng \"") >&51.10 + ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0 esound libpng ") 2>&51.11 ac_status=$?1.12 echo "$as_me:$LINENO: \$? = $ac_status" >&51.13 (exit $ac_status); }; then1.14 - pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " libgnomeui-2.0 esound " 2>/dev/null`1.15 + pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " libgnomeui-2.0 esound libpng " 2>/dev/null`1.16 else1.17 pkg_failed=yes1.18 fi1.19 @@ -4965,12 +4965,12 @@1.20 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"1.21 else1.22 if test -n "$PKG_CONFIG" && \1.23 - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0 esound \"") >&51.24 - ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0 esound ") 2>&51.25 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0 esound libpng \"") >&51.26 + ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0 esound libpng ") 2>&51.27 ac_status=$?1.28 echo "$as_me:$LINENO: \$? = $ac_status" >&51.29 (exit $ac_status); }; then1.30 - pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs " libgnomeui-2.0 esound " 2>/dev/null`1.31 + pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs " libgnomeui-2.0 esound libpng " 2>/dev/null`1.32 else1.33 pkg_failed=yes1.34 fi1.35 @@ -4989,14 +4989,14 @@1.36 _pkg_short_errors_supported=no1.37 fi1.38 if test $_pkg_short_errors_supported = yes; then1.39 - PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " libgnomeui-2.0 esound "`1.40 + PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " libgnomeui-2.0 esound libpng "`1.41 else1.42 - PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libgnomeui-2.0 esound "`1.43 + PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libgnomeui-2.0 esound libpng "`1.44 fi1.45 # Put the nasty error message in config.log where it belongs1.46 echo "$PACKAGE_PKG_ERRORS" >&51.48 - { { echo "$as_me:$LINENO: error: Package requirements ( libgnomeui-2.0 esound ) were not met:1.49 + { { echo "$as_me:$LINENO: error: Package requirements ( libgnomeui-2.0 esound libpng ) were not met:1.51 $PACKAGE_PKG_ERRORS1.53 @@ -5007,7 +5007,7 @@1.54 and PACKAGE_LIBS to avoid the need to call pkg-config.1.55 See the pkg-config man page for more details.1.56 " >&51.57 -echo "$as_me: error: Package requirements ( libgnomeui-2.0 esound ) were not met:1.58 +echo "$as_me: error: Package requirements ( libgnomeui-2.0 esound libpng ) were not met:1.60 $PACKAGE_PKG_ERRORS1.62 @@ -5052,6 +5052,77 @@1.66 +{ echo "$as_me:$LINENO: checking for ucompress in -lz" >&51.67 +echo $ECHO_N "checking for ucompress in -lz... $ECHO_C" >&6; }1.68 +if test "${ac_cv_lib_z_ucompress+set}" = set; then1.69 + echo $ECHO_N "(cached) $ECHO_C" >&61.70 +else1.71 + ac_check_lib_save_LIBS=$LIBS1.72 +LIBS="-lz $LIBS"1.73 +cat >conftest.$ac_ext <<_ACEOF1.74 +/* confdefs.h. */1.75 +_ACEOF1.76 +cat confdefs.h >>conftest.$ac_ext1.77 +cat >>conftest.$ac_ext <<_ACEOF1.78 +/* end confdefs.h. */1.79 +1.80 +/* Override any GCC internal prototype to avoid an error.1.81 + Use char because int might match the return type of a GCC1.82 + builtin and then its argument prototype would still apply. */1.83 +#ifdef __cplusplus1.84 +extern "C"1.85 +#endif1.86 +char ucompress ();1.87 +int1.88 +main ()1.89 +{1.90 +return ucompress ();1.91 + ;1.92 + return 0;1.93 +}1.94 +_ACEOF1.95 +rm -f conftest.$ac_objext conftest$ac_exeext1.96 +if { (ac_try="$ac_link"1.97 +case "(($ac_try" in1.98 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.99 + *) ac_try_echo=$ac_try;;1.100 +esac1.101 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&51.102 + (eval "$ac_link") 2>conftest.er11.103 + ac_status=$?1.104 + grep -v '^ *+' conftest.er1 >conftest.err1.105 + rm -f conftest.er11.106 + cat conftest.err >&51.107 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.108 + (exit $ac_status); } && {1.109 + test -z "$ac_c_werror_flag" ||1.110 + test ! -s conftest.err1.111 + } && test -s conftest$ac_exeext &&1.112 + $as_test_x conftest$ac_exeext; then1.113 + ac_cv_lib_z_ucompress=yes1.114 +else1.115 + echo "$as_me: failed program was:" >&51.116 +sed 's/^/| /' conftest.$ac_ext >&51.117 +1.118 + ac_cv_lib_z_ucompress=no1.119 +fi1.120 +1.121 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \1.122 + conftest$ac_exeext conftest.$ac_ext1.123 +LIBS=$ac_check_lib_save_LIBS1.124 +fi1.125 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_ucompress" >&51.126 +echo "${ECHO_T}$ac_cv_lib_z_ucompress" >&6; }1.127 +if test $ac_cv_lib_z_ucompress = yes; then1.128 + cat >>confdefs.h <<_ACEOF1.129 +#define HAVE_LIBZ 11.130 +_ACEOF1.131 +1.132 + LIBS="-lz $LIBS"1.133 +1.134 +fi1.135 +1.136 +1.137 { echo "$as_me:$LINENO: checking for glXQueryVersion in -lGL" >&51.138 echo $ECHO_N "checking for glXQueryVersion in -lGL... $ECHO_C" >&6; }1.139 if test "${ac_cv_lib_GL_glXQueryVersion+set}" = set; then
.