From 67656e58f69b4452f5ed6cadd6f1884552db5cd7 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Thu, 16 May 2002 20:28:52 +0000 Subject: 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) --- source3/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/configure') diff --git a/source3/configure b/source3/configure index 07176f0c02..9bfb347b06 100755 --- a/source3/configure +++ b/source3/configure @@ -9753,7 +9753,7 @@ int main() { __va_copy(ap1,ap2); ; return 0; } EOF -if { (eval echo configure:9757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* samba_cv_HAVE_VA_COPY=yes else -- cgit