]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - crypto/heimdal/cf/destdirs.m4
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / crypto / heimdal / cf / destdirs.m4
1 dnl
2 dnl $Id: destdirs.m4 11082 2002-08-12 15:12:50Z joda $
3 dnl
4
5 AC_DEFUN([rk_DESTDIRS], [
6 # This is done by AC_OUTPUT but we need the result here.
7 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9
10 AC_FOREACH([rk_dir], [bin lib libexec localstate sbin sysconf], [
11         x="${rk_dir[]dir}"
12         eval y="$x"
13         while test "x$y" != "x$x"; do
14                 x="$y"
15                 eval y="$x"
16         done
17         AC_DEFINE_UNQUOTED(AS_TR_CPP(rk_dir[]dir), "$x", [path to ]rk_dir[])])
18 ])