revision 688:8a13dabbdced
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 688:8a13dabbdced |
parent | 687:6bdc2b7032ea |
child | 689:9868667e3525 |
author | nkeynes |
date | Sat Jun 14 11:57:11 2008 +0000 (15 years ago) |
And the updated configure from the previous commit
1.1 --- a/configure Sat Jun 14 11:54:15 2008 +00001.2 +++ b/configure Sat Jun 14 11:57:11 2008 +00001.3 @@ -8435,6 +8435,99 @@1.5 fi1.7 +{ $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&51.8 +$as_echo_n "checking for glClampColorARB... " >&6; }1.9 +if test "${ac_cv_func_glClampColorARB+set}" = set; then1.10 + $as_echo_n "(cached) " >&61.11 +else1.12 + cat >conftest.$ac_ext <<_ACEOF1.13 +/* confdefs.h. */1.14 +_ACEOF1.15 +cat confdefs.h >>conftest.$ac_ext1.16 +cat >>conftest.$ac_ext <<_ACEOF1.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_glClampColorARB1.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, since1.25 + <limits.h> exists even on freestanding compilers. */1.26 +1.27 +#ifdef __STDC__1.28 +# include <limits.h>1.29 +#else1.30 +# include <assert.h>1.31 +#endif1.32 +1.33 +#undef glClampColorARB1.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 GCC1.37 + builtin and then its argument prototype would still apply. */1.38 +#ifdef __cplusplus1.39 +extern "C"1.40 +#endif1.41 +char glClampColorARB ();1.42 +/* The GNU C library defines this for functions which it implements1.43 + to always fail with ENOSYS. Some functions are actually named1.44 + something starting with __ and the normal name is an alias. */1.45 +#if defined __stub_glClampColorARB || defined __stub___glClampColorARB1.46 +choke me1.47 +#endif1.48 +1.49 +int1.50 +main ()1.51 +{1.52 +return glClampColorARB ();1.53 + ;1.54 + return 0;1.55 +}1.56 +_ACEOF1.57 +rm -f conftest.$ac_objext conftest$ac_exeext1.58 +if { (ac_try="$ac_link"1.59 +case "(($ac_try" in1.60 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1.61 + *) ac_try_echo=$ac_try;;1.62 +esac1.63 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""1.64 +$as_echo "$ac_try_echo") >&51.65 + (eval "$ac_link") 2>conftest.er11.66 + ac_status=$?1.67 + grep -v '^ *+' conftest.er1 >conftest.err1.68 + rm -f conftest.er11.69 + cat conftest.err >&51.70 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&51.71 + (exit $ac_status); } && {1.72 + test -z "$ac_c_werror_flag" ||1.73 + test ! -s conftest.err1.74 + } && test -s conftest$ac_exeext && {1.75 + test "$cross_compiling" = yes ||1.76 + $as_test_x conftest$ac_exeext1.77 + }; then1.78 + ac_cv_func_glClampColorARB=yes1.79 +else1.80 + $as_echo "$as_me: failed program was:" >&51.81 +sed 's/^/| /' conftest.$ac_ext >&51.82 +1.83 + ac_cv_func_glClampColorARB=no1.84 +fi1.85 +1.86 +rm -rf conftest.dSYM1.87 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \1.88 + conftest$ac_exeext conftest.$ac_ext1.89 +fi1.90 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&51.91 +$as_echo "$ac_cv_func_glClampColorARB" >&6; }1.92 +if test $ac_cv_func_glClampColorARB = yes; then1.93 +1.94 +cat >>confdefs.h <<\_ACEOF1.95 +#define HAVE_OPENGL_CLAMP_COLOR 11.96 +_ACEOF1.97 +1.98 +fi1.99 +1.102 case $host_cpu in
.