diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-11-09 17:01:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-11-09 17:01:25 +0000 |
commit | 5913d94de8d52e6a69c0123abf42f633cf24af94 (patch) | |
tree | f8c191ccdf979fe85f2e279791c39f6a1e5b845a /aclocal | |
parent | 2000-11-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-5913d94de8d52e6a69c0123abf42f633cf24af94.tar.bz2 |
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-itron.m4: Remove changequotes (autoconf-2.49b).
* aclocal/enable-posix.m4: Remove changequotes (autoconf-2.49b), use
$host instead of $target (BUG-FIX).
* configure.in: Use $target and $host instead of $target_alias and
$host_alias (autoconf-2.49b).
* aclocal/check-newlib.m4: Remove CC_FOR_TARGET (BUG-FIX)
* aclocal/sysv-ipc.m4: Move AC_DEFINE outside of AC_CACHE (BUG-FIX)
NOTES:
* autoconf-2.49b depredicates using changequotes.
* The changes to configure.in are due to cleanups in
autoconf-2.49b's implemention of canonicalization. With
autoconf-2.1x it wasn't always clear, when to use $xxx or
$xxx_alias. Now this is clear.
Diffstat (limited to '')
-rw-r--r-- | aclocal/check-newlib.m4 | 5 | ||||
-rw-r--r-- | aclocal/enable-itron.m4 | 8 | ||||
-rw-r--r-- | aclocal/enable-posix.m4 | 8 | ||||
-rw-r--r-- | aclocal/sysv-ipc.m4 | 4 |
4 files changed, 9 insertions, 16 deletions
diff --git a/aclocal/check-newlib.m4 b/aclocal/check-newlib.m4 index 1984001dc8..326c58c1aa 100644 --- a/aclocal/check-newlib.m4 +++ b/aclocal/check-newlib.m4 @@ -7,8 +7,6 @@ AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl AC_CACHE_CHECK([for newlib], rtems_cv_use_newlib, [ - rtems_save_CC=$CC - dnl some versions of newlib provide not_required_by_rtems AC_TRY_LINK( [extern void not_required_by_rtems() ;], @@ -23,7 +21,7 @@ dnl some versions of newlib provide rtems_provides_crt0() rtems_cv_use_newlib="yes", rtems_cv_use_newlib="no") fi - CC=$rtems_save_CC]) + ]) RTEMS_USE_NEWLIB="$rtems_cv_use_newlib" AC_SUBST(RTEMS_USE_NEWLIB) @@ -33,4 +31,3 @@ then AC_DEFINE_UNQUOTED(MALLOC_PROVIDED,1,[if malloc is provided]) fi ]) - diff --git a/aclocal/enable-itron.m4 b/aclocal/enable-itron.m4 index bb622079e9..efe99115f4 100644 --- a/aclocal/enable-itron.m4 +++ b/aclocal/enable-itron.m4 @@ -12,13 +12,12 @@ AC_ARG_ENABLE(itron, *) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;; esac],[RTEMS_HAS_ITRON_API=yes]) -changequote(,)dnl -case "${target}" in +case "${host}" in # hpux unix port should go here - i[34567]86-pc-linux*) # unix "simulator" port + i[[34567]]86-pc-linux*) # unix "simulator" port RTEMS_HAS_ITRON_API=no ;; - i[34567]86-*freebsd*) # unix "simulator" port + i[[34567]]86-*freebsd*) # unix "simulator" port RTEMS_HAS_ITRON_API=no ;; no_cpu-*rtems*) @@ -30,6 +29,5 @@ case "${target}" in *) ;; esac -changequote([,])dnl AC_SUBST(RTEMS_HAS_ITRON_API) ]) diff --git a/aclocal/enable-posix.m4 b/aclocal/enable-posix.m4 index bbf2889b63..1a8197e1cd 100644 --- a/aclocal/enable-posix.m4 +++ b/aclocal/enable-posix.m4 @@ -12,13 +12,12 @@ AC_ARG_ENABLE(posix, *) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;; esac],[RTEMS_HAS_POSIX_API=yes]) -changequote(,)dnl -case "${target}" in +case "${host}" in # hpux unix port should go here - i[34567]86-pc-linux*) # unix "simulator" port + i[[34567]]86-pc-linux*) # unix "simulator" port RTEMS_HAS_POSIX_API=no ;; - i[34567]86-*freebsd*) # unix "simulator" port + i[[34567]]86-*freebsd*) # unix "simulator" port RTEMS_HAS_POSIX_API=no ;; no_cpu-*rtems*) @@ -30,6 +29,5 @@ case "${target}" in *) ;; esac -changequote([,])dnl AC_SUBST(RTEMS_HAS_POSIX_API) ]) diff --git a/aclocal/sysv-ipc.m4 b/aclocal/sysv-ipc.m4 index 883921e2c8..00aa1bf32e 100644 --- a/aclocal/sysv-ipc.m4 +++ b/aclocal/sysv-ipc.m4 @@ -27,10 +27,10 @@ AC_CACHE_CHECK([whether $RTEMS_HOST defines union semun], [union semun arg ;], [rtems_cv_HAS_UNION_SEMUN="yes"], [rtems_cv_HAS_UNION_SEMUN="no"]) - +]) if test "$rtems_cv_HAS_UNION_SEMUN" = "yes"; then AC_DEFINE(HAS_UNION_SEMUN) -fi]) +fi ]) AC_DEFUN(RTEMS_SYSV_SEM, |