diff options
Diffstat (limited to 'cpukit/aclocal')
-rw-r--r-- | cpukit/aclocal/env-rtemscpu.m4 | 19 | ||||
-rw-r--r-- | cpukit/aclocal/lead-dot.m4 | 32 |
2 files changed, 8 insertions, 43 deletions
diff --git a/cpukit/aclocal/env-rtemscpu.m4 b/cpukit/aclocal/env-rtemscpu.m4 index f22ea3b25e..16f942f59b 100644 --- a/cpukit/aclocal/env-rtemscpu.m4 +++ b/cpukit/aclocal/env-rtemscpu.m4 @@ -14,9 +14,9 @@ AC_DEFUN([RTEMS_ENV_RTEMSCPU], [MULTISUBDIR="/$with_multisubdir"]) AC_SUBST(MULTISUBDIR) - project_includedir="\$(PROJECT_ROOT)/include" - project_libdir="\$(PROJECT_ROOT)/lib\$(MULTISUBDIR)" - + AC_SUBST([PROJECT_INCLUDE],["\$(PROJECT_ROOT)/lib/include"]) + AC_SUBST([PROJECT_RELEASE],["\$(PROJECT_ROOT)"]) + includedir="\${exec_prefix}/include" libdir="${libdir}\$(MULTISUBDIR)" ], @@ -39,22 +39,19 @@ AC_DEFUN([RTEMS_ENV_RTEMSCPU], AC_MSG_RESULT(${RTEMS_BSP}) AC_SUBST(RTEMS_BSP) - project_includedir="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include" - project_libdir="${PROJECT_ROOT}/$RTEMS_BSP/lib" - includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include" libdir="\${exec_prefix}/${RTEMS_BSP}/lib" + AC_SUBST([PROJECT_INCLUDE],["\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"]) + AC_SUBST([PROJECT_RELEASE],["\$(PROJECT_ROOT)/$RTEMS_BSP"]) + RTEMS_ENABLE_BARE AC_SUBST(BARE_CPU_MODEL) AC_SUBST(BARE_CPU_CFLAGS) ]) - AC_SUBST(project_libdir) - AC_SUBST(project_includedir) + AC_SUBST([project_libdir],["\$(libdir)"]) + AC_SUBST([project_includedir],["\$(includedir)"]) - # FIXME: Deprecated, to be removed - AC_SUBST(PROJECT_INCLUDE,[$project_includedir]) - AM_CONDITIONAL([MULTILIB],[test x"$multilib" = x"yes"]) ]) diff --git a/cpukit/aclocal/lead-dot.m4 b/cpukit/aclocal/lead-dot.m4 deleted file mode 100644 index c8789fb2ce..0000000000 --- a/cpukit/aclocal/lead-dot.m4 +++ /dev/null @@ -1,32 +0,0 @@ -# -*- Autoconf -*- -# Copyright (C) 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 1 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) |