configure: Remove some unused but set variables (LLVM/Clang).

This commit is contained in:
Austin English 2011-06-13 21:26:40 -07:00 committed by Alexandre Julliard
parent 5cb45138da
commit 8521ebe79d
2 changed files with 12 additions and 12 deletions

12
configure vendored
View File

@ -10918,7 +10918,7 @@ if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
int int
main () main ()
{ {
int ret = snd_pcm_hw_params_get_access_mask(NULL, NULL) snd_pcm_hw_params_get_access_mask(NULL, NULL)
; ;
return 0; return 0;
} }
@ -13700,12 +13700,12 @@ main ()
struct hostent *result; struct hostent *result;
char *buf=0; char *buf=0;
int bufsize=0; int bufsize=0;
int res,errnr; int errnr;
char *addr=0; char *addr=0;
int addrlen=0; int addrlen=0;
int addrtype=0; int addrtype=0;
res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr); gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr); gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
; ;
return 0; return 0;
@ -14281,7 +14281,7 @@ else
int int
main () main ()
{ {
float f = 0.0; int i=isinf(f) float f = 0.0; return isinf(f)
; ;
return 0; return 0;
} }
@ -14314,7 +14314,7 @@ else
int int
main () main ()
{ {
float f = 0.0; int i=isnan(f) float f = 0.0; return isnan(f)
; ;
return 0; return 0;
} }

View File

@ -1515,7 +1515,7 @@ then
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
#elif defined(HAVE_SYS_ASOUNDLIB_H) #elif defined(HAVE_SYS_ASOUNDLIB_H)
#include <sys/asoundlib.h> #include <sys/asoundlib.h>
#endif]], [[int ret = snd_pcm_hw_params_get_access_mask(NULL, NULL)]])], #endif]], [[snd_pcm_hw_params_get_access_mask(NULL, NULL)]])],
[ALSALIBS="-lasound"])]) [ALSALIBS="-lasound"])])
fi fi
@ -2150,12 +2150,12 @@ AC_CACHE_CHECK([whether we can use re-entrant gethostbyname_r Linux style],
struct hostent *result; struct hostent *result;
char *buf=0; char *buf=0;
int bufsize=0; int bufsize=0;
int res,errnr; int errnr;
char *addr=0; char *addr=0;
int addrlen=0; int addrlen=0;
int addrtype=0; int addrtype=0;
res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr); gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr); gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
]])],[wine_cv_linux_gethostbyname_r_6=yes],[wine_cv_linux_gethostbyname_r_6=no ]])],[wine_cv_linux_gethostbyname_r_6=yes],[wine_cv_linux_gethostbyname_r_6=no
]) ])
) )
@ -2328,7 +2328,7 @@ fi
dnl Check for isinf dnl Check for isinf
AC_CACHE_CHECK([for isinf], ac_cv_have_isinf, AC_CACHE_CHECK([for isinf], ac_cv_have_isinf,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; int i=isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"])) AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"]))
if test "$ac_cv_have_isinf" = "yes" if test "$ac_cv_have_isinf" = "yes"
then then
AC_DEFINE(HAVE_ISINF, 1, [Define to 1 if you have the `isinf' function.]) AC_DEFINE(HAVE_ISINF, 1, [Define to 1 if you have the `isinf' function.])
@ -2336,7 +2336,7 @@ fi
dnl Check for isnan dnl Check for isnan
AC_CACHE_CHECK([for isnan], ac_cv_have_isnan, AC_CACHE_CHECK([for isnan], ac_cv_have_isnan,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; int i=isnan(f)]])],[ac_cv_have_isnan="yes"],[ac_cv_have_isnan="no"])) AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isnan(f)]])],[ac_cv_have_isnan="yes"],[ac_cv_have_isnan="no"]))
if test "$ac_cv_have_isnan" = "yes" if test "$ac_cv_have_isnan" = "yes"
then then
AC_DEFINE(HAVE_ISNAN, 1, [Define to 1 if you have the `isnan' function.]) AC_DEFINE(HAVE_ISNAN, 1, [Define to 1 if you have the `isnan' function.])