update to automake 1.4/autoconf 2.13
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5460 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -14,12 +14,9 @@ changequote([,])dnl
|
||||
snprintf(foo, 2, "12");
|
||||
return strcmp(foo, "1");
|
||||
}],:,ac_cv_func_snprintf_working=no,:))
|
||||
: << END
|
||||
@@@funcs="$funcs snprintf"@@@
|
||||
END
|
||||
|
||||
if test "$ac_cv_func_snprintf_working" = yes; then
|
||||
foo=HAVE_SNPRINTF
|
||||
AC_DEFINE_UNQUOTED($foo)
|
||||
AC_DEFINE_UNQUOTED(HAVE_SNPRINTF, 1, [define if you have a working snprintf])
|
||||
fi
|
||||
if test "$ac_cv_func_snprintf_working" = yes; then
|
||||
AC_NEED_PROTO([#include <stdio.h>],snprintf)
|
||||
@@ -51,12 +48,9 @@ int main()
|
||||
{
|
||||
return foo(0, "12");
|
||||
}],:,ac_cv_func_vsnprintf_working=no,:))
|
||||
: << END
|
||||
@@@funcs="$funcs vsnprintf"@@@
|
||||
END
|
||||
|
||||
if test "$ac_cv_func_vsnprintf_working" = yes; then
|
||||
foo=HAVE_VSNPRINTF
|
||||
AC_DEFINE_UNQUOTED($foo)
|
||||
AC_DEFINE_UNQUOTED(HAVE_VSNPRINTF, 1, [define if you have a working vsnprintf])
|
||||
fi
|
||||
if test "$ac_cv_func_vsnprintf_working" = yes; then
|
||||
AC_NEED_PROTO([#include <stdio.h>],vsnprintf)
|
||||
|
Reference in New Issue
Block a user