mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
remove the va_copy tests in configure.ac, it's not used in the code anywhere
This commit is contained in:
parent
7825c3a743
commit
40dbb54315
1 changed files with 0 additions and 17 deletions
17
configure.ac
17
configure.ac
|
@ -177,23 +177,6 @@ AC_CHECK_HEADERS([sys/statvfs.h \
|
|||
xfs/xfs.h])
|
||||
|
||||
|
||||
dnl ----------------------------------------------------------------------------
|
||||
dnl
|
||||
dnl va_copy
|
||||
|
||||
AC_MSG_CHECKING([how to copy va_list])
|
||||
AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; va_copy(ap1, ap2);],
|
||||
AC_MSG_RESULT([va_copy]),
|
||||
[ AH_TEMPLATE([va_copy], [define if va_copy is not available])
|
||||
AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; __va_copy(ap1, ap2);],
|
||||
[ AC_DEFINE([va_copy], [__va_copy])
|
||||
AC_MSG_RESULT([__va_copy])],
|
||||
[ AC_DEFINE([va_copy(dest,src)], [memcpy(&dest,&src,sizeof(va_list))])
|
||||
AC_MSG_RESULT([memcpy])]
|
||||
)
|
||||
])
|
||||
|
||||
|
||||
dnl ----------------------------------------------------------------------------
|
||||
dnl
|
||||
dnl dht
|
||||
|
|
Loading…
Reference in a new issue