Search
lxdream.org :: lxdream :: r688:8a13dabbdced
lxdream 0.9.1
released Jun 29
Download Now
changeset688:8a13dabbdced
parent687:6bdc2b7032ea
child689:9868667e3525
authornkeynes
dateSat Jun 14 11:57:11 2008 +0000 (11 years ago)
And the updated configure from the previous commit
configure
1.1 --- a/configure Sat Jun 14 11:54:15 2008 +0000
1.2 +++ b/configure Sat Jun 14 11:57:11 2008 +0000
1.3 @@ -8435,6 +8435,99 @@
1.4
1.5 fi
1.6
1.7 +{ $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
1.8 +$as_echo_n "checking for glClampColorARB... " >&6; }
1.9 +if test "${ac_cv_func_glClampColorARB+set}" = set; then
1.10 + $as_echo_n "(cached) " >&6
1.11 +else
1.12 + cat >conftest.$ac_ext <<_ACEOF
1.13 +/* confdefs.h. */
1.14 +_ACEOF
1.15 +cat confdefs.h >>conftest.$ac_ext
1.16 +cat >>conftest.$ac_ext <<_ACEOF
1.17 +/* end confdefs.h. */
1.18 +/* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
1.19 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
1.20 +#define glClampColorARB innocuous_glClampColorARB
1.21 +
1.22 +/* System header to define __stub macros and hopefully few prototypes,
1.23 + which can conflict with char glClampColorARB (); below.
1.24 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1.25 + <limits.h> exists even on freestanding compilers. */
1.26 +
1.27 +#ifdef __STDC__
1.28 +# include <limits.h>
1.29 +#else
1.30 +# include <assert.h>
1.31 +#endif
1.32 +
1.33 +#undef glClampColorARB
1.34 +
1.35 +/* Override any GCC internal prototype to avoid an error.
1.36 + Use char because int might match the return type of a GCC
1.37 + builtin and then its argument prototype would still apply. */
1.38 +#ifdef __cplusplus
1.39 +extern "C"
1.40 +#endif
1.41 +char glClampColorARB ();
1.42 +/* The GNU C library defines this for functions which it implements
1.43 + to always fail with ENOSYS. Some functions are actually named
1.44 + something starting with __ and the normal name is an alias. */
1.45 +#if defined __stub_glClampColorARB || defined __stub___glClampColorARB
1.46 +choke me
1.47 +#endif
1.48 +
1.49 +int
1.50 +main ()
1.51 +{
1.52 +return glClampColorARB ();
1.53 + ;
1.54 + return 0;
1.55 +}
1.56 +_ACEOF
1.57 +rm -f conftest.$ac_objext conftest$ac_exeext
1.58 +if { (ac_try="$ac_link"
1.59 +case "(($ac_try" in
1.60 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.61 + *) ac_try_echo=$ac_try;;
1.62 +esac
1.63 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
1.64 +$as_echo "$ac_try_echo") >&5
1.65 + (eval "$ac_link") 2>conftest.er1
1.66 + ac_status=$?
1.67 + grep -v '^ *+' conftest.er1 >conftest.err
1.68 + rm -f conftest.er1
1.69 + cat conftest.err >&5
1.70 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.71 + (exit $ac_status); } && {
1.72 + test -z "$ac_c_werror_flag" ||
1.73 + test ! -s conftest.err
1.74 + } && test -s conftest$ac_exeext && {
1.75 + test "$cross_compiling" = yes ||
1.76 + $as_test_x conftest$ac_exeext
1.77 + }; then
1.78 + ac_cv_func_glClampColorARB=yes
1.79 +else
1.80 + $as_echo "$as_me: failed program was:" >&5
1.81 +sed 's/^/| /' conftest.$ac_ext >&5
1.82 +
1.83 + ac_cv_func_glClampColorARB=no
1.84 +fi
1.85 +
1.86 +rm -rf conftest.dSYM
1.87 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
1.88 + conftest$ac_exeext conftest.$ac_ext
1.89 +fi
1.90 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
1.91 +$as_echo "$ac_cv_func_glClampColorARB" >&6; }
1.92 +if test $ac_cv_func_glClampColorARB = yes; then
1.93 +
1.94 +cat >>confdefs.h <<\_ACEOF
1.95 +#define HAVE_OPENGL_CLAMP_COLOR 1
1.96 +_ACEOF
1.97 +
1.98 +fi
1.99 +
1.100
1.101
1.102 case $host_cpu in
.