Lines 29460-29533
Link Here
|
29460 |
USE_LIBM="-lffm -lm" |
29460 |
USE_LIBM="-lffm -lm" |
29461 |
fi |
29461 |
fi |
29462 |
|
29462 |
|
29463 |
echo "$as_me:$LINENO: checking for cos in -lcpml" >&5 |
|
|
29464 |
echo $ECHO_N "checking for cos in -lcpml... $ECHO_C" >&6 |
29465 |
if test "${ac_cv_lib_cpml_cos+set}" = set; then |
29466 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
29467 |
else |
29468 |
ac_check_lib_save_LIBS=$LIBS |
29469 |
LIBS="-lcpml $LIBS" |
29470 |
cat >conftest.$ac_ext <<_ACEOF |
29471 |
/* confdefs.h. */ |
29472 |
_ACEOF |
29473 |
cat confdefs.h >>conftest.$ac_ext |
29474 |
cat >>conftest.$ac_ext <<_ACEOF |
29475 |
/* end confdefs.h. */ |
29476 |
|
29477 |
/* Override any gcc2 internal prototype to avoid an error. */ |
29478 |
#ifdef __cplusplus |
29479 |
extern "C" |
29480 |
#endif |
29481 |
/* We use char because int might match the return type of a gcc2 |
29482 |
builtin and then its argument prototype would still apply. */ |
29483 |
char cos (); |
29484 |
int |
29485 |
main () |
29486 |
{ |
29487 |
cos (); |
29488 |
; |
29489 |
return 0; |
29490 |
} |
29491 |
_ACEOF |
29492 |
rm -f conftest.$ac_objext conftest$ac_exeext |
29493 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
29494 |
(eval $ac_link) 2>conftest.er1 |
29495 |
ac_status=$? |
29496 |
grep -v '^ *+' conftest.er1 >conftest.err |
29497 |
rm -f conftest.er1 |
29498 |
cat conftest.err >&5 |
29499 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
29500 |
(exit $ac_status); } && |
29501 |
{ ac_try='test -z "$ac_c_werror_flag" |
29502 |
|| test ! -s conftest.err' |
29503 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
29504 |
(eval $ac_try) 2>&5 |
29505 |
ac_status=$? |
29506 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
29507 |
(exit $ac_status); }; } && |
29508 |
{ ac_try='test -s conftest$ac_exeext' |
29509 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
29510 |
(eval $ac_try) 2>&5 |
29511 |
ac_status=$? |
29512 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
29513 |
(exit $ac_status); }; }; then |
29514 |
ac_cv_lib_cpml_cos=yes |
29515 |
else |
29516 |
echo "$as_me: failed program was:" >&5 |
29517 |
sed 's/^/| /' conftest.$ac_ext >&5 |
29518 |
|
29519 |
ac_cv_lib_cpml_cos=no |
29520 |
fi |
29521 |
rm -f conftest.err conftest.$ac_objext \ |
29522 |
conftest$ac_exeext conftest.$ac_ext |
29523 |
LIBS=$ac_check_lib_save_LIBS |
29524 |
fi |
29525 |
echo "$as_me:$LINENO: result: $ac_cv_lib_cpml_cos" >&5 |
29526 |
echo "${ECHO_T}$ac_cv_lib_cpml_cos" >&6 |
29527 |
if test $ac_cv_lib_cpml_cos = yes; then |
29528 |
USE_LIBM="-lcpml" |
29529 |
fi |
29530 |
|
29531 |
CONFIG_MATH_LIB="${USE_LIBM}" |
29463 |
CONFIG_MATH_LIB="${USE_LIBM}" |
29532 |
|
29464 |
|
29533 |
echo "$as_me:$LINENO: checking for sf_open_read in -lsndfile" >&5 |
29465 |
echo "$as_me:$LINENO: checking for sf_open_read in -lsndfile" >&5 |