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

@@ -28,12 +28,10 @@ fi
eval "ac_res=\$ac_cv_funclib_$1"
dnl autoheader tricks *sigh*
: << END
@@@funcs="$funcs $1"@@@
@@@libs="$libs $2"@@@
END
if false; then
AC_CHECK_FUNCS($1)
dnl AC_CHECK_LIBS($2, foo)
fi
# $1
eval "ac_tr_func=HAVE_[]upcase($1)"
eval "ac_tr_lib=HAVE_LIB[]upcase($ac_res | sed -e 's/-l//')"