[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.114,1.115
Ton Voon
tonvoon at users.sourceforge.net
Fri Nov 19 23:05:04 CET 2004
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27052
Modified Files:
configure.in
Log Message:
Fixed va_copy problem on AIX by copying samba's configure.in
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -r1.114 -r1.115
*** configure.in 18 Nov 2004 22:48:16 -0000 1.114
--- configure.in 20 Nov 2004 07:04:13 -0000 1.115
***************
*** 34,38 ****
AC_CONFIG_LIBOBJ_DIR(lib)
! AC_FUNC_GETLOADAVG($topdir/lib)
ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD])
--- 34,38 ----
AC_CONFIG_LIBOBJ_DIR(lib)
! AC_FUNC_GETLOADAVG([lib])
ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD])
***************
*** 558,567 ****
fi
! AC_CACHE_CHECK([for __va_copy],ac_cv_HAVE_VA_COPY,[
AC_TRY_LINK([#include <stdarg.h>
! va_list ap1,ap2;], [__va_copy(ap1,ap2);],
! ac_cv_HAVE_VA_COPY=yes,ac_cv_HAVE_VA_COPY=no)])
if test x"$ac_cv_HAVE_VA_COPY" = x"yes"; then
! AC_DEFINE(HAVE_VA_COPY,1,[Define if system has va_copy])
fi
--- 558,577 ----
fi
! AC_CACHE_CHECK([for va_copy],ac_cv_HAVE_VA_COPY,[
AC_TRY_LINK([#include <stdarg.h>
! va_list ap1,ap2;], [va_copy(ap1,ap2);],
! ac_cv_HAVE_VA_COPY=yes,
! ac_cv_HAVE_VA_COPY=no)])
if test x"$ac_cv_HAVE_VA_COPY" = x"yes"; then
! AC_DEFINE(HAVE_VA_COPY,1,[Whether va_copy() is available])
! else
! AC_CACHE_CHECK([for __va_copy],ac_cv_HAVE___VA_COPY,[
! AC_TRY_LINK([#include <stdarg.h>
! va_list ap1,ap2;], [__va_copy(ap1,ap2);],
! ac_cv_HAVE___VA_COPY=yes,
! ac_cv_HAVE___VA_COPY=no)])
! if test x"$ac_cv_HAVE___VA_COPY" = x"yes"; then
! AC_DEFINE(HAVE___VA_COPY,1,[Whether __va_copy() is available])
! fi
fi
More information about the Commits
mailing list