tests: Use here-doc kadmin in Java test
[heimdal.git] / cf / destdirs.m4
blob36baafd3eb18a4c7803c9d9c9af2981ecda79474
1 dnl
2 dnl $Id$
3 dnl
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}'
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[])])