From 5ed35136edd2f2514d29b89f82b03abcdd52f06c Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 22 Aug 2002 15:43:37 +0000 Subject: [PATCH] use AS_TR_CPP git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11199 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/need-proto.m4 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cf/need-proto.m4 b/cf/need-proto.m4 index 09eed4092..ed4c69974 100644 --- a/cf/need-proto.m4 +++ b/cf/need-proto.m4 @@ -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 ])