summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-29 21:08:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-29 21:08:04 +0000
commit7e03d107d780ca0e1690a7cdecfb35834832c3d5 (patch)
tree80a861661e7e88f0dedc77ba30aee4350300a9eb /aclocal.m4
parentRemoved an uninitialized variable. (diff)
downloadrtems-7e03d107d780ca0e1690a7cdecfb35834832c3d5.tar.bz2
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Yet some more modifications, I would recommend to be considered before releasing a snapshot: 1. Cleanup to aclocal/ cvs rm -f aclocal/cygwin.m4 cvs rm -f aclocal/exeext.m4 They are neither used nor needed anymore, however they also don't disturb (we use autoconf-2.13's AC_EXEEXT instead, now) ---------- 2. rtems-rc-19990328-0.diff Some (minor) bug-fixes: * make/Templates/Makefile.inc.in: use the new installation directory ($(prefix)/ instead of $(prefix)/rtems/) * c/src/exec/score/tools/generic/Makefile.am: added line to include local.am * c/src/exec/score/tools/*/configure.in: added CVS Id header ---------- 3. rtems-rc-19990328-1.diff Enhancements and cleanups to autogen, rtems-polish.sh, configure.in etc. * autogen: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, use "find -print" * c/update-tools/cipolish: New script to beautify configure.in scripts * c/update-tools/rtems-polish.sh: Use the file "VERSION" to detect RTEMS toplevel directory, extended usage-message, added variable for perl scripts' subdirectory, use "find -print", cipolish support, new options -ac -am -ci. * aclocal/*.m4, configure.in: moved some AC_SUBST lines to aclocal/*.m4 (reduces size of configure.in scripts, eases splitting configure.in scripts). ----------
Diffstat (limited to '')
-rw-r--r--aclocal.m413
1 files changed, 11 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 619dc3bc0c..5a602f04ca 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -60,6 +60,7 @@ AC_ARG_ENABLE(gmake-print-directory,
*) AC_MSG_ERROR(bad value ${enableval} for gmake-print-directory option)
;;
esac],[RTEMS_USE_OWN_PDIR=yes])
+AC_SUBST(RTEMS_USE_OWN_PDIR)dnl
])
dnl $Id$
@@ -73,6 +74,7 @@ AC_ARG_ENABLE(multiprocessing,
no) RTEMS_HAS_MULTIPROCESSING=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
esac],[RTEMS_HAS_MULTIPROCESSING=no])
+AC_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl
])
dnl $Id$
@@ -86,6 +88,7 @@ AC_ARG_ENABLE(posix,
no) RTEMS_HAS_POSIX_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
esac],[RTEMS_HAS_POSIX_API=yes])
+AC_SUBST(RTEMS_HAS_POSIX_API)
changequote(,)dnl
case "${target}" in
@@ -123,6 +126,7 @@ AC_ARG_ENABLE(networking,
no) RTEMS_HAS_NETWORKING=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
esac],[RTEMS_HAS_NETWORKING=yes])
+AC_SUBST(RTEMS_HAS_NETWORKING)dnl
])
dnl $Id$
@@ -136,6 +140,7 @@ AC_ARG_ENABLE(rdbg,
no) RTEMS_HAS_RDBG=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
esac],[RTEMS_HAS_RDBG=no])
+AC_SUBST(RTEMS_HAS_RDBG)dnl
])
dnl $Id$
@@ -149,6 +154,7 @@ AC_DEFUN(RTEMS_ENABLE_INLINES,
no) RTEMS_USE_MACROS=yes ;;
*) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
esac],[RTEMS_USE_MACROS=no])
+AC_SUBST(RTEMS_USE_MACROS)dnl
])
dnl $Id$
@@ -186,6 +192,7 @@ AC_ARG_ENABLE(libcdir,
[ --enable-libcdir=directory set the directory for the C library],
[ RTEMS_LIBC_DIR="${enableval}" ; \
test -d ${enableval} || AC_MSG_ERROR("$enableval is not a directory" ) ] )
+AC_SUBST(RTEMS_LIBC_DIR)dnl
])
AC_DEFUN(RTEMS_ENABLE_BARE,
@@ -703,7 +710,7 @@ dnl check for i386 gas supporting 16 bit mode
dnl - binutils 2.9.1.0.7 and higher
AC_DEFUN(RTEMS_I386_GAS_CODE16,
- if test "${target_cpu}" = "i386"; then
+[ if test "${target_cpu}" = "i386"; then
AC_CACHE_CHECK([for 16 bit mode assembler support],
rtems_cv_prog_gas_code16,
[cat > conftest.s << EOF
@@ -719,7 +726,8 @@ EOF
fi])
RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
fi
-)
+ AC_SUBST(RTEMS_GAS_CODE16)
+])
dnl
@@ -886,5 +894,6 @@ AC_ARG_ENABLE(hwapi, \
no) RTEMS_HAS_HWAPI=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for hwapi option) ;;
esac],[RTEMS_HAS_HWAPI=no])
+AC_SUBST(RTEMS_HAS_HWAPI)dnl
])dnl