forked from Imagelibrary/rtems
2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-host.m4: Abandon changequotes (autoconf-2.49b). * aclocal/check-newlib.m4: Let check message refer to RTEMS newlib. * aclocal/rtems-debug.m4: Fix formating and contents of the check's help string. * aclocal/rtems-top.m4: Remove AC_ARG_WITH(target-subdir).
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* aclocal/canonical-host.m4: Abandon changequotes (autoconf-2.49b).
|
||||||
|
* aclocal/check-newlib.m4: Let check message refer to RTEMS newlib.
|
||||||
|
* aclocal/rtems-debug.m4: Fix formating and contents of the check's
|
||||||
|
help string.
|
||||||
|
* aclocal/rtems-top.m4: Remove AC_ARG_WITH(target-subdir).
|
||||||
|
|
||||||
2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
|
2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
|
||||||
|
|
||||||
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
|
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
|
||||||
|
|||||||
@@ -4,16 +4,15 @@ AC_DEFUN(RTEMS_CANONICAL_HOST,
|
|||||||
[dnl
|
[dnl
|
||||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
RTEMS_HOST=$host_os
|
RTEMS_HOST=$host_os
|
||||||
changequote(,)dnl
|
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
# hpux unix port should go here
|
# hpux unix port should go here
|
||||||
i[34567]86-*linux*) # unix "simulator" port
|
i[[34567]]86-*linux*) # unix "simulator" port
|
||||||
RTEMS_HOST=Linux
|
RTEMS_HOST=Linux
|
||||||
;;
|
;;
|
||||||
i[34567]86-*freebsd*) # unix "simulator" port
|
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||||
RTEMS_HOST=FreeBSD
|
RTEMS_HOST=FreeBSD
|
||||||
;;
|
;;
|
||||||
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||||
RTEMS_HOST=Cygwin
|
RTEMS_HOST=Cygwin
|
||||||
;;
|
;;
|
||||||
sparc-sun-solaris*) # unix "simulator" port
|
sparc-sun-solaris*) # unix "simulator" port
|
||||||
@@ -22,6 +21,5 @@ case "${target}" in
|
|||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
changequote([,])dnl
|
|
||||||
AC_SUBST(RTEMS_HOST)
|
AC_SUBST(RTEMS_HOST)
|
||||||
])dnl
|
])dnl
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ AC_DEFUN(RTEMS_CHECK_NEWLIB,
|
|||||||
[dnl
|
[dnl
|
||||||
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
|
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
|
||||||
AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl
|
AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl
|
||||||
AC_CACHE_CHECK([for newlib],
|
AC_CACHE_CHECK([for RTEMS newlib],
|
||||||
rtems_cv_use_newlib,
|
rtems_cv_use_newlib,
|
||||||
[
|
[
|
||||||
dnl some versions of newlib provide not_required_by_rtems
|
dnl some versions of newlib provide not_required_by_rtems
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
AC_DEFUN(RTEMS_ENABLE_RTEMS_DEBUG,
|
AC_DEFUN(RTEMS_ENABLE_RTEMS_DEBUG,
|
||||||
[
|
[
|
||||||
AC_ARG_ENABLE(rtems-debug,
|
AC_ARG_ENABLE(rtems-debug,
|
||||||
[ --disable-rtems-debug disable RTEMS_DEBUG],
|
[ --enable-rtems-debug enable RTEMS_DEBUG],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) RTEMS_DEBUG=yes ;;
|
yes) RTEMS_DEBUG=yes ;;
|
||||||
no) RTEMS_DEBUG=no ;;
|
no) RTEMS_DEBUG=no ;;
|
||||||
|
|||||||
@@ -15,24 +15,19 @@ AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
|
|||||||
ENDIF=endif
|
ENDIF=endif
|
||||||
AC_SUBST(ENDIF)
|
AC_SUBST(ENDIF)
|
||||||
|
|
||||||
# with_target_subdir
|
|
||||||
AC_ARG_WITH(target-subdir,
|
|
||||||
[ --with-target-subdir=DIR],
|
|
||||||
with_target_subdir="$withval",
|
|
||||||
with_target_subdir=".")
|
|
||||||
|
|
||||||
RTEMS_TOPdir="$1";
|
RTEMS_TOPdir="$1";
|
||||||
AC_SUBST(RTEMS_TOPdir)
|
AC_SUBST(RTEMS_TOPdir)
|
||||||
|
|
||||||
|
## with_target_subdirs is handled implicitly by autoconf
|
||||||
|
test -n "$with_target_subdir" || with_target_subdir="."
|
||||||
|
|
||||||
if test "$with_target_subdir" = "." ; then
|
if test "$with_target_subdir" = "." ; then
|
||||||
# Native
|
# Native
|
||||||
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
||||||
else
|
else
|
||||||
# Cross
|
# Cross
|
||||||
changequote(, )dnl
|
|
||||||
dots=`echo $with_target_subdir|\
|
dots=`echo $with_target_subdir|\
|
||||||
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
|
sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
|
||||||
changequote([, ])dnl
|
|
||||||
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
||||||
fi
|
fi
|
||||||
AC_SUBST(PROJECT_TOPdir)
|
AC_SUBST(PROJECT_TOPdir)
|
||||||
@@ -50,10 +45,8 @@ dnl Determine RTEMS Version string from the VERSION file
|
|||||||
dnl Hopefully, Joel never changes its format ;-
|
dnl Hopefully, Joel never changes its format ;-
|
||||||
AC_MSG_CHECKING([for RTEMS Version])
|
AC_MSG_CHECKING([for RTEMS Version])
|
||||||
if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
|
if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
|
||||||
changequote(,)dnl
|
|
||||||
RTEMS_VERSION=`grep 'RTEMS Version' ${srcdir}/${RTEMS_TOPdir}/VERSION | \
|
RTEMS_VERSION=`grep 'RTEMS Version' ${srcdir}/${RTEMS_TOPdir}/VERSION | \
|
||||||
sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'`
|
sed -e 's%RTEMS[[ ]]*Version[[ ]]*\(.*\)[[ ]]*%\1%g'`
|
||||||
changequote([,])dnl
|
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
|
AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user