1 AC_DEFUN([OPENAFS_CROSSTOOLS],[
2 if test "x$with_crosstools_dir" != "x"; then
3 if test -f "$with_crosstools_dir/rxgen" -a -f "$with_crosstools_dir/compile_et" -a -f "$with_crosstools_dir/config"; then
4 COMPILE_ET_PATH=$with_crosstools_dir/compile_et
5 CONFIGTOOL_PATH=$with_crosstools_dir/config
6 RXGEN_PATH=$with_crosstools_dir/rxgen
8 AC_MSG_ERROR(Tools not found in $with_crosstools_dir)
12 COMPILE_ET_PATH="${SRCDIR_PARENT}/src/comerr/compile_et"
13 CONFIGTOOL_PATH="${SRCDIR_PARENT}/src/config/config"
14 RXGEN_PATH="${SRCDIR_PARENT}/src/rxgen/rxgen"
16 AC_SUBST(COMPILE_ET_PATH)
17 AC_SUBST(CONFIGTOOL_PATH)