use AC_LIBOBJ

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11000 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-05-19 19:17:47 +00:00
parent ff3e2cf70f
commit 4de66b10ed
5 changed files with 23 additions and 40 deletions

View File

@@ -32,8 +32,7 @@ int main()
])
if test "$ac_cv_func_getcwd_broken" = yes; then
AC_DEFINE(BROKEN_GETCWD, 1, [Define if getcwd is broken (like in SunOS 4).])dnl
LIBOBJS="$LIBOBJS getcwd.o"
AC_SUBST(LIBOBJS)dnl
AC_LIBOBJ(getcwd)
AC_MSG_RESULT($ac_cv_func_getcwd_broken)
else
AC_MSG_RESULT([seems ok])