forked from Imagelibrary/rtems
2001-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* canonical-target-name.m4: Fix m4-quoting for autoconf-2.49f. * aclocal/config-subdirs.m: Fix m4-quoting for autoconf-2.49f, Add support for DOS-drive-letters.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2001-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* canonical-target-name.m4: Fix m4-quoting for autoconf-2.49f.
|
||||||
|
* aclocal/config-subdirs.m: Fix m4-quoting for autoconf-2.49f,
|
||||||
|
Add support for DOS-drive-letters.
|
||||||
|
|
||||||
2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* aclocal/prog-cc.m4: Add CPPFLAGS and CFLAGS handling to
|
* aclocal/prog-cc.m4: Add CPPFLAGS and CFLAGS handling to
|
||||||
|
|||||||
@@ -12,16 +12,15 @@ AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
|
|||||||
[
|
[
|
||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_SYSTEM
|
||||||
AC_MSG_CHECKING(rtems target cpu)
|
AC_MSG_CHECKING(rtems target cpu)
|
||||||
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_CPU=unix
|
RTEMS_CPU=unix
|
||||||
;;
|
;;
|
||||||
i[34567]86-*freebsd*) # unix "simulator" port
|
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||||
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
||||||
;;
|
;;
|
||||||
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||||
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
||||||
;;
|
;;
|
||||||
no_cpu-*rtems*)
|
no_cpu-*rtems*)
|
||||||
@@ -31,10 +30,9 @@ case "${target}" in
|
|||||||
RTEMS_CPU=unix
|
RTEMS_CPU=unix
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
|
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
changequote([,])dnl
|
|
||||||
AC_SUBST(RTEMS_CPU)
|
AC_SUBST(RTEMS_CPU)
|
||||||
AC_MSG_RESULT($RTEMS_CPU)
|
AC_MSG_RESULT($RTEMS_CPU)
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -45,11 +45,9 @@ dnl _RTEMS_GIVEN_INSTALL
|
|||||||
dnl
|
dnl
|
||||||
AC_DEFUN(_RTEMS_GIVEN_INSTALL,
|
AC_DEFUN(_RTEMS_GIVEN_INSTALL,
|
||||||
[
|
[
|
||||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
ifdef([AC_PROVIDE_AC_PROG_INSTALL],[
|
||||||
[ case "$ac_given_INSTALL" in
|
case "$ac_given_INSTALL" in
|
||||||
changequote(, )dnl
|
[[\\/]]* | ?:[[\\/]]*) INSTALL="$ac_given_INSTALL" ;;
|
||||||
[/$]*) INSTALL="$ac_given_INSTALL" ;;
|
|
||||||
changequote([, ])dnl
|
|
||||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||||
esac
|
esac
|
||||||
])dnl
|
])dnl
|
||||||
@@ -73,7 +71,7 @@ AC_DEFUN(_RTEMS_ADJUST_SRCDIR,[
|
|||||||
case "$srcdir" in
|
case "$srcdir" in
|
||||||
.) # No --srcdir option. We are building in place.
|
.) # No --srcdir option. We are building in place.
|
||||||
$1=$srcdir ;;
|
$1=$srcdir ;;
|
||||||
/*) # Absolute path.
|
[[\\/]]* | ?:[[\\/]]*) # Absolute path.
|
||||||
$1=$srcdir/$2 ;;
|
$1=$srcdir/$2 ;;
|
||||||
*) # Relative path.
|
*) # Relative path.
|
||||||
$1=$ac_dots$srcdir/$2 ;;
|
$1=$ac_dots$srcdir/$2 ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user