summaryrefslogtreecommitdiffstats
path: root/aclocal/tool-paths.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-19 21:54:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-19 21:54:36 +0000
commit9ec964784bf2091673a83241ab113f422b1f84d8 (patch)
tree7fa1c566ebf1383d0bfbe6281ad0992e70ff8598 /aclocal/tool-paths.m4
parentaf0200363e8d0a69648bd78fd5ee2d0ee5f40624 (diff)
downloadrtems-9ec964784bf2091673a83241ab113f422b1f84d8.tar.bz2
Towards automake VIII patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
OK, I 've made up my mind to cut a big chunk of my automake-patches (:-). Below you can find a drop-in replacement of the aclocal directory. It contains a lot of new macro files, most of them are directly cut from rtems top-level configure script, some are new some are identical to former versions. The motivation behind these files is to reuse parts from rtems current top-level configure.in script in up-coming subdirectory configure.in scripts. I'd like to ask you to untar the archive ontop of the source tree and to add/commit these files to CVS. Adding these files should not have any influence on RTEMS momentary configuration (except of you are required to run aclocal -I aclocal && autoconf afterwards), because most of them currently are not used at all. --------- BTW: Please upgrade to autoconf-2.13 and automake-2.4, if you havn't done this already (egcs/CVS require them, too). My upcoming automake files require automake-2.4 which requires autoconf-2.13 or later.
Diffstat (limited to 'aclocal/tool-paths.m4')
-rw-r--r--aclocal/tool-paths.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/aclocal/tool-paths.m4 b/aclocal/tool-paths.m4
new file mode 100644
index 0000000000..b6a7f5500d
--- /dev/null
+++ b/aclocal/tool-paths.m4
@@ -0,0 +1,16 @@
+AC_DEFUN(RTEMS_TOOLPATHS,
+[
+# tooldir='$(exec_prefix)/'$target_alias
+# Temporary work-around until building in source tree is supported
+tooldir='$(PROJECT_ROOT)'
+AC_SUBST(tooldir)
+
+project_includedir='$(tooldir)'/include
+AC_SUBST(project_includedir)
+
+project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
+AC_SUBST(project_libdir)
+
+project_bindir='$(tooldir)/bin'
+AC_SUBST(project_bindir)
+])