use AS_TR_CPP

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11199 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-22 15:43:37 +00:00
parent b47783e83f
commit 5ed35136ed

View File

@@ -16,10 +16,9 @@ $2(&xx);
],
eval "ac_cv_func_$2_noproto=yes",
eval "ac_cv_func_$2_noproto=no"))
define([foo], [NEED_]translit($2, [a-z], [A-Z])[_PROTO])
if test "$ac_cv_func_$2_noproto" = yes; then
AC_DEFINE(foo, 1, [define if the system is missing a prototype for $2()])
AC_DEFINE(AS_TR_CPP(NEED_[]$2[]_PROTO), 1
[define if the system is missing a prototype for $2()])
fi
undefine([foo])
fi
])