Commit | Line | Data |
---|---|---|
805e021f CE |
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 | |
7 | else | |
8 | AC_MSG_ERROR(Tools not found in $with_crosstools_dir) | |
9 | exit 1 | |
10 | fi | |
11 | else | |
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" | |
15 | fi | |
16 | AC_SUBST(COMPILE_ET_PATH) | |
17 | AC_SUBST(CONFIGTOOL_PATH) | |
18 | AC_SUBST(RXGEN_PATH) | |
19 | ]) |