krb5_keyblock.3 replaced with doxygen
[heimdal.git] / cf / krb-prog-ln-s.m4
blob35ab877ef13b497f0aa3a7d12a9b3d72e2283211
1 dnl $Id$
2 dnl
3 dnl
4 dnl Better test for ln -s, ln or cp
5 dnl
7 AC_DEFUN([AC_KRB_PROG_LN_S],
8 [AC_MSG_CHECKING(for ln -s or something else)
9 AC_CACHE_VAL(ac_cv_prog_LN_S,
10 [rm -f conftestdata
11 if ln -s X conftestdata 2>/dev/null
12 then
13   rm -f conftestdata
14   ac_cv_prog_LN_S="ln -s"
15 else
16   touch conftestdata1
17   if ln conftestdata1 conftestdata2; then
18     rm -f conftestdata*
19     ac_cv_prog_LN_S=ln
20   else
21     ac_cv_prog_LN_S=cp
22   fi
23 fi])dnl
24 LN_S="$ac_cv_prog_LN_S"
25 AC_MSG_RESULT($ac_cv_prog_LN_S)
26 AC_SUBST(LN_S)dnl