blob: b2f7a20f9e92156a305ddedfa63f46a6a63c95dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- screen-4.0.1/configure.in 2003-06-03 07:58:24.000000000 -0400
+++ screen-4.0.1/configure.in.agriffis 2004-01-13 12:07:37.000000000 -0500
@@ -1206,7 +1206,9 @@
rm -f /tmp/conftest*
AC_MSG_CHECKING(for vsprintf)
-AC_TRY_LINK(,[vsprintf(0,0,0);], AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS), AC_MSG_RESULT(no))
+AC_TRY_LINK([#include <stdarg.h>],[va_list valist; vsprintf(0,0,valist);],
+ [AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS)],
+ [AC_MSG_RESULT(no)])
AC_HEADER_DIRENT
|