Home | History | Annotate | Line # | Download | only in cf
      1      1.1  elric dnl
      2  1.1.1.2  elric dnl Id
      3      1.1  elric dnl
      4      1.1  elric 
      5      1.1  elric AC_DEFUN([rk_DESTDIRS], [
      6      1.1  elric # This is done by AC_OUTPUT but we need the result here.
      7      1.1  elric test "x$prefix" = xNONE && prefix=$ac_default_prefix
      8      1.1  elric test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
      9      1.1  elric 
     10      1.1  elric AC_FOREACH([rk_dir], [bin lib libexec localstate sbin sysconf], [
     11      1.1  elric 	x="${rk_dir[]dir}"
     12      1.1  elric 	eval y="$x"
     13      1.1  elric 	while test "x$y" != "x$x"; do
     14      1.1  elric 		x="$y"
     15      1.1  elric 		eval y="$x"
     16      1.1  elric 	done
     17      1.1  elric 	AC_DEFINE_UNQUOTED(AS_TR_CPP(rk_dir[]dir), "$x", [path to ]rk_dir[])])
     18      1.1  elric ])
     19