Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 487:b34abd796f5e
prev482:42da008cd8bf
next489:45c8ddcf52cb
author nkeynes
date Sat Nov 03 12:01:35 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Bail out if libGL or zlib isn't found (they're somewhat compulsory)
file annotate diff log raw
1.1 --- a/configure Wed Oct 31 12:16:39 2007 +0000
1.2 +++ b/configure Sat Nov 03 12:01:35 2007 +0000
1.3 @@ -5052,9 +5052,9 @@
1.4
1.5
1.6
1.7 -{ echo "$as_me:$LINENO: checking for ucompress in -lz" >&5
1.8 -echo $ECHO_N "checking for ucompress in -lz... $ECHO_C" >&6; }
1.9 -if test "${ac_cv_lib_z_ucompress+set}" = set; then
1.10 +{ echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
1.11 +echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
1.12 +if test "${ac_cv_lib_z_uncompress+set}" = set; then
1.13 echo $ECHO_N "(cached) $ECHO_C" >&6
1.14 else
1.15 ac_check_lib_save_LIBS=$LIBS
1.16 @@ -5072,54 +5072,58 @@
1.17 #ifdef __cplusplus
1.18 extern "C"
1.19 #endif
1.20 -char ucompress ();
1.21 -int
1.22 -main ()
1.23 -{
1.24 -return ucompress ();
1.25 - ;
1.26 - return 0;
1.27 -}
1.28 -_ACEOF
1.29 -rm -f conftest.$ac_objext conftest$ac_exeext
1.30 -if { (ac_try="$ac_link"
1.31 -case "(($ac_try" in
1.32 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.33 - *) ac_try_echo=$ac_try;;
1.34 -esac
1.35 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.36 - (eval "$ac_link") 2>conftest.er1
1.37 - ac_status=$?
1.38 - grep -v '^ *+' conftest.er1 >conftest.err
1.39 - rm -f conftest.er1
1.40 - cat conftest.err >&5
1.41 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.42 - (exit $ac_status); } && {
1.43 - test -z "$ac_c_werror_flag" ||
1.44 - test ! -s conftest.err
1.45 - } && test -s conftest$ac_exeext &&
1.46 - $as_test_x conftest$ac_exeext; then
1.47 - ac_cv_lib_z_ucompress=yes
1.48 -else
1.49 - echo "$as_me: failed program was:" >&5
1.50 -sed 's/^/| /' conftest.$ac_ext >&5
1.51 -
1.52 - ac_cv_lib_z_ucompress=no
1.53 +char uncompress ();
1.54 +int
1.55 +main ()
1.56 +{
1.57 +return uncompress ();
1.58 + ;
1.59 + return 0;
1.60 +}
1.61 +_ACEOF
1.62 +rm -f conftest.$ac_objext conftest$ac_exeext
1.63 +if { (ac_try="$ac_link"
1.64 +case "(($ac_try" in
1.65 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.66 + *) ac_try_echo=$ac_try;;
1.67 +esac
1.68 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.69 + (eval "$ac_link") 2>conftest.er1
1.70 + ac_status=$?
1.71 + grep -v '^ *+' conftest.er1 >conftest.err
1.72 + rm -f conftest.er1
1.73 + cat conftest.err >&5
1.74 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.75 + (exit $ac_status); } && {
1.76 + test -z "$ac_c_werror_flag" ||
1.77 + test ! -s conftest.err
1.78 + } && test -s conftest$ac_exeext &&
1.79 + $as_test_x conftest$ac_exeext; then
1.80 + ac_cv_lib_z_uncompress=yes
1.81 +else
1.82 + echo "$as_me: failed program was:" >&5
1.83 +sed 's/^/| /' conftest.$ac_ext >&5
1.84 +
1.85 + ac_cv_lib_z_uncompress=no
1.86 fi
1.87
1.88 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.89 conftest$ac_exeext conftest.$ac_ext
1.90 LIBS=$ac_check_lib_save_LIBS
1.91 fi
1.92 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_ucompress" >&5
1.93 -echo "${ECHO_T}$ac_cv_lib_z_ucompress" >&6; }
1.94 -if test $ac_cv_lib_z_ucompress = yes; then
1.95 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
1.96 +echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
1.97 +if test $ac_cv_lib_z_uncompress = yes; then
1.98 cat >>confdefs.h <<_ACEOF
1.99 #define HAVE_LIBZ 1
1.100 _ACEOF
1.101
1.102 LIBS="-lz $LIBS"
1.103
1.104 +else
1.105 +
1.106 + echo "Zlib (libz.so) could not be found, but is required."
1.107 + exit 1
1.108 fi
1.109
1.110
1.111 @@ -5191,6 +5195,10 @@
1.112
1.113 LIBS="-lGL $LIBS"
1.114
1.115 +else
1.116 +
1.117 + echo "The OpenGL library (libGL.so) could not be found, but is required."
1.118 + exit 1
1.119 fi
1.120
1.121
.