361 fi |
361 fi |
362 if test "x$with_tools_dir" != x; then |
362 if test "x$with_tools_dir" != x; then |
363 AC_MSG_ERROR([Cannot specify both --with-devkit and --with-tools-dir at the same time]) |
363 AC_MSG_ERROR([Cannot specify both --with-devkit and --with-tools-dir at the same time]) |
364 fi |
364 fi |
365 TOOLS_DIR=$with_devkit/bin |
365 TOOLS_DIR=$with_devkit/bin |
366 SYS_ROOT=$with_devkit/$host_alias/libc |
366 if test -d "$with_devkit/$host_alias/libc"; then |
|
367 SYS_ROOT=$with_devkit/$host_alias/libc |
|
368 elif test -d "$with_devkit/$host/sys-root"; then |
|
369 SYS_ROOT=$with_devkit/$host/sys-root |
|
370 fi |
367 ]) |
371 ]) |
368 |
372 |
369 ]) |
373 ]) |
370 |
374 |
371 AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR], |
375 AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR], |