12 lines
516 B
Plaintext
12 lines
516 B
Plaintext
|
--- aclocal.m4.orig Thu Aug 31 12:06:58 2000
|
||
|
+++ aclocal.m4 Fri Sep 1 10:42:51 2000
|
||
|
@@ -283,7 +283,7 @@
|
||
|
AC_DEFUN(AM_FUNC_VOID_SPRINTF,
|
||
|
[AC_CACHE_CHECK(whether sprintf returns void, ac_cv_func_void_sprintf,
|
||
|
[AC_TRY_RUN([#include <stdio.h>
|
||
|
-int sprintf(); main() { exit(sprintf(".")); }],
|
||
|
+int sprintf(); main() { char c; exit(sprintf(&c, "")); }],
|
||
|
ac_cv_func_void_sprintf=no, ac_cv_func_void_sprintf=yes, ac_cv_func_void_sprintf=yes)])
|
||
|
if test $ac_cv_func_void_sprintf = no; then
|
||
|
AC_DEFINE(VOID_SPRINTF,1,
|