Last change
on this file since 4 was 1, checked in by Paul Smedley, 10 years ago |
Initial commit of Heimdal 1.5.3
|
File size:
508 bytes
|
Line | |
---|
1 | dnl $Id$
|
---|
2 | dnl
|
---|
3 | dnl
|
---|
4 | dnl Better test for ln -s, ln or cp
|
---|
5 | dnl
|
---|
6 |
|
---|
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
|
---|
27 | ])
|
---|
28 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.