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:
@@ -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
|
||||
])
|
||||
|
Reference in New Issue
Block a user