2004-03-25 Ralf Corsepius <ralf_corsepius@rtems.org>

* configure.ac: Reflect changes to testsuites's configuration.
This commit is contained in:
Ralf Corsepius
2004-03-25 11:09:19 +00:00
parent a7c4e12216
commit 8ae203e3a6
2 changed files with 20 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2004-03-25 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Reflect changes to testsuites's configuration.
2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
PR/589 rtems PR/589 rtems

View File

@@ -168,17 +168,27 @@ AC_ARG_ENABLE([ada],
*) AC_MSG_ERROR(bad value ${enable_ada} for --enable-ada) ;; *) AC_MSG_ERROR(bad value ${enable_ada} for --enable-ada) ;;
esac],[enable_ada=no]) esac],[enable_ada=no])
# FIXME: We should compute project_top from target-subdir
if test -n "$with_target_subdir"; then
project_top=../../../../
else
project_top=../../../
fi
AS_IF([test x"$enable_ada" = x"yes"],[ AS_IF([test x"$enable_ada" = x"yes"],[
AS_IF([test -d ${srcdir}/ada-tests],[ RTEMS_BSP_CONFIG_SUBDIR(
AC_CONFIG_SUBDIRS([ada-tests]) [ada-tests],[ada-tests],
BSP_SUBDIRS="$BSP_SUBDIRS ada-tests" ['--with-project-top=$project_top' \
]) '--enable-rtems-root=../' \
'--with-project-root=../../../' \
'--enable-rtemsbsp=$RTEMS_BSP' \
],
[test x"$enable_tests" != x"no"])
]) ])
RTEMS_BSP_CONFIG_SUBDIR( RTEMS_BSP_CONFIG_SUBDIR(
[testsuites],[../../testsuites], [testsuites],[../../testsuites],
['--with-target-subdir=$with_target_subdir/c/$RTEMS_BSP' \ ['--with-project-top=$project_top' \
'--with-rtems-root=../' \ '--enable-rtems-root=../' \
'--with-project-root=../../../' \ '--with-project-root=../../../' \
'--enable-rtemsbsp=$RTEMS_BSP' \ '--enable-rtemsbsp=$RTEMS_BSP' \
], ],