diff options
Diffstat (limited to 'crypto/kerberosIV/cf/broken.m4')
-rw-r--r-- | crypto/kerberosIV/cf/broken.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crypto/kerberosIV/cf/broken.m4 b/crypto/kerberosIV/cf/broken.m4 new file mode 100644 index 0000000..4044064 --- /dev/null +++ b/crypto/kerberosIV/cf/broken.m4 @@ -0,0 +1,19 @@ +dnl $Id: broken.m4,v 1.3 1998/03/16 22:16:19 joda Exp $ +dnl +dnl +dnl Same as AC _REPLACE_FUNCS, just define HAVE_func if found in normal +dnl libraries + +AC_DEFUN(AC_BROKEN, +[for ac_func in $1 +do +AC_CHECK_FUNC($ac_func, [ +ac_tr_func=HAVE_[]upcase($ac_func) +AC_DEFINE_UNQUOTED($ac_tr_func)],[LIBOBJS[]="$LIBOBJS ${ac_func}.o"]) +dnl autoheader tricks *sigh* +: << END +@@@funcs="$funcs $1"@@@ +END +done +AC_SUBST(LIBOBJS)dnl +]) |