diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-09 06:20:34 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-09 06:20:34 +0000 |
| commit | 1a2b23c7988929cbb2674e40ebcba0236b208415 (patch) | |
| tree | 38bfeca820b84c31302c10b1254d68fba5546775 /configure | |
| parent | 566208a2651b0c063ecc37413d6923ab677ad90d (diff) | |
| download | pcsxr-1a2b23c7988929cbb2674e40ebcba0236b208415.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54396 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -13642,6 +13642,46 @@ if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : LDFLAGS="$LDFLAGS -lnsl" fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5 +$as_echo_n "checking for umem_alloc in -lumem... " >&6; } +if test "${ac_cv_lib_umem_umem_alloc+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lumem $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char umem_alloc (); +int +main () +{ +return umem_alloc (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_umem_umem_alloc=yes +else + ac_cv_lib_umem_umem_alloc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5 +$as_echo "$ac_cv_lib_umem_umem_alloc" >&6; } +if test "x$ac_cv_lib_umem_umem_alloc" = x""yes; then : + LDFLAGS="$LDFLAGS -lumem_alloc" +fi + if false; then SOUND_OSS_TRUE= |
