diff options
author | Jim McDonough <jmcd@samba.org> | 2002-05-16 20:28:52 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-05-16 20:28:52 +0000 |
commit | 67656e58f69b4452f5ed6cadd6f1884552db5cd7 (patch) | |
tree | 087ee1603bacaca5e36629e15f8db7e6d548e2e4 /source3/configure.in | |
parent | 276e1928c4557da1fd7ca8e1232a652331f3a488 (diff) | |
download | samba-67656e58f69b4452f5ed6cadd6f1884552db5cd7.tar.gz samba-67656e58f69b4452f5ed6cadd6f1884552db5cd7.tar.xz samba-67656e58f69b4452f5ed6cadd6f1884552db5cd7.zip |
Fix for non-__va_copy systems. I had used AC_TRY_COMPILE, but even though
__va_copy wasn't defined, it compiled as though it were a function, but
fails on a link. Oops.
(This used to be commit d3222ecd1a024fd2e7ba72b1bc10a400d398a364)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index a5460b70de..51722d6eb1 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1174,7 +1174,7 @@ if test x"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then fi AC_CACHE_CHECK([for __va_copy],samba_cv_HAVE_VA_COPY,[ -AC_TRY_COMPILE([#include <stdarg.h> +AC_TRY_LINK([#include <stdarg.h> va_list ap1,ap2;], [__va_copy(ap1,ap2);], samba_cv_HAVE_VA_COPY=yes,samba_cv_HAVE_VA_COPY=no)]) if test x"$samba_cv_HAVE_VA_COPY" = x"yes"; then |