Changeset 1351 for trunk/packages/vizservers/configure
- Timestamp:
- Mar 20, 2009 7:36:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/configure
r1309 r1351 6509 6509 6510 6510 6511 oldLIBS=$LIBS 6512 LIBS=-lavcodec 6513 6514 for ac_func in img_convert 6515 do 6516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6517 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 6518 $as_echo_n "checking for $ac_func... " >&6; } 6519 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6520 $as_echo_n "(cached) " >&6 6521 else 6522 cat >conftest.$ac_ext <<_ACEOF 6523 /* confdefs.h. */ 6524 _ACEOF 6525 cat confdefs.h >>conftest.$ac_ext 6526 cat >>conftest.$ac_ext <<_ACEOF 6527 /* end confdefs.h. */ 6528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6529 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6530 #define $ac_func innocuous_$ac_func 6531 6532 /* System header to define __stub macros and hopefully few prototypes, 6533 which can conflict with char $ac_func (); below. 6534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6535 <limits.h> exists even on freestanding compilers. */ 6536 6537 #ifdef __STDC__ 6538 # include <limits.h> 6539 #else 6540 # include <assert.h> 6541 #endif 6542 6543 #undef $ac_func 6544 6545 /* Override any GCC internal prototype to avoid an error. 6546 Use char because int might match the return type of a GCC 6547 builtin and then its argument prototype would still apply. */ 6548 #ifdef __cplusplus 6549 extern "C" 6550 #endif 6551 char $ac_func (); 6552 /* The GNU C library defines this for functions which it implements 6553 to always fail with ENOSYS. Some functions are actually named 6554 something starting with __ and the normal name is an alias. */ 6555 #if defined __stub_$ac_func || defined __stub___$ac_func 6556 choke me 6557 #endif 6558 6559 int 6560 main () 6561 { 6562 return $ac_func (); 6563 ; 6564 return 0; 6565 } 6566 _ACEOF 6567 rm -f conftest.$ac_objext conftest$ac_exeext 6568 if { (ac_try="$ac_link" 6569 case "(($ac_try" in 6570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6571 *) ac_try_echo=$ac_try;; 6572 esac 6573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6574 $as_echo "$ac_try_echo") >&5 6575 (eval "$ac_link") 2>conftest.er1 6576 ac_status=$? 6577 grep -v '^ *+' conftest.er1 >conftest.err 6578 rm -f conftest.er1 6579 cat conftest.err >&5 6580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6581 (exit $ac_status); } && { 6582 test -z "$ac_cxx_werror_flag" || 6583 test ! -s conftest.err 6584 } && test -s conftest$ac_exeext && { 6585 test "$cross_compiling" = yes || 6586 $as_test_x conftest$ac_exeext 6587 }; then 6588 eval "$as_ac_var=yes" 6589 else 6590 $as_echo "$as_me: failed program was:" >&5 6591 sed 's/^/| /' conftest.$ac_ext >&5 6592 6593 eval "$as_ac_var=no" 6594 fi 6595 6596 rm -rf conftest.dSYM 6597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6598 conftest$ac_exeext conftest.$ac_ext 6599 fi 6600 ac_res=`eval 'as_val=${'$as_ac_var'} 6601 $as_echo "$as_val"'` 6602 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6603 $as_echo "$ac_res" >&6; } 6604 as_val=`eval 'as_val=${'$as_ac_var'} 6605 $as_echo "$as_val"'` 6606 if test "x$as_val" = x""yes; then 6607 cat >>confdefs.h <<_ACEOF 6608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6609 _ACEOF 6610 6611 fi 6612 done 6613 6614 LIBS=$oldLIBS 6615 6511 6616 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5 6512 6617 $as_echo_n "checking for nVidia Cg installation... " >&6; }
Note: See TracChangeset
for help on using the changeset viewer.