Changeset 13516 for trunk/configure.ac


Ignore:
Timestamp:
Sep 22, 2012, 10:18:49 PM (9 years ago)
Author:
jordan
Message:

remove the va_copy tests in configure.ac, it's not used in the code anywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r13441 r13516  
    176176AC_CHECK_HEADERS([sys/statvfs.h \
    177177                  xfs/xfs.h])
    178 
    179 
    180 dnl ----------------------------------------------------------------------------
    181 dnl
    182 dnl va_copy
    183 
    184 AC_MSG_CHECKING([how to copy va_list])
    185 AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; va_copy(ap1, ap2);],
    186     AC_MSG_RESULT([va_copy]),
    187         [ AH_TEMPLATE([va_copy], [define if va_copy is not available])
    188         AC_TRY_LINK([#include <stdarg.h>], [va_list ap1, ap2; __va_copy(ap1, ap2);],
    189         [ AC_DEFINE([va_copy], [__va_copy])
    190         AC_MSG_RESULT([__va_copy])],
    191         [ AC_DEFINE([va_copy(dest,src)], [memcpy(&dest,&src,sizeof(va_list))])
    192         AC_MSG_RESULT([memcpy])]
    193     )
    194 ])
    195178
    196179
Note: See TracChangeset for help on using the changeset viewer.