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=yes",
|
||||||
eval "ac_cv_func_$2_noproto=no"))
|
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
|
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
|
fi
|
||||||
undefine([foo])
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
Reference in New Issue
Block a user