use cleaner autoheader trick

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8679 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-07-15 18:10:19 +00:00
parent 9d9fe911b2
commit 9ef25327d7
4 changed files with 17 additions and 24 deletions

View File

@@ -10,10 +10,9 @@ 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
if false; then
AC_CHECK_FUNCS($1)
fi
done
AC_SUBST(LIBOBJS)dnl
])