Update from Ralf Corsepius:

6) The macro files from aclocal/*.m4 contain the buggy sed-rules formerly
  contained in aclocal..m4, i.e. the sed/sort-bug fix to aclocal.m4 didn't
  make it to aclocal/*.m4. I think I should feel guilty for that - Obviously I
  submitted the contents of an old aclocal-directory last time. - Sorry.
This commit is contained in:
Joel Sherrill
1998-02-17 13:49:06 +00:00
parent 3771cc6ee8
commit 81e0232b13
2 changed files with 4 additions and 5 deletions

View File

@@ -3,14 +3,14 @@ dnl $Id$
dnl RTEMS_CHECK_FILES_IN(path,file,var) dnl RTEMS_CHECK_FILES_IN(path,file,var)
dnl path .. path relative to srcdir, where to start searching for files dnl path .. path relative to srcdir, where to start searching for files
dnl file .. name of the files to search for dnl file .. name of the files to search for
dnl var .. shell variable to append found files dnl var .. shell variable to append files found
AC_DEFUN(RTEMS_CHECK_FILES_IN, AC_DEFUN(RTEMS_CHECK_FILES_IN,
[ [
AC_MSG_CHECKING(for $2 in $1) AC_MSG_CHECKING(for $2.in in $1)
if test -d $srcdir/$1; then if test -d $srcdir/$1; then
rtems_av_save_dir=`pwd`; rtems_av_save_dir=`pwd`;
cd $srcdir; cd $srcdir;
rtems_av_tmp=`find $1 -name $2 -print | sed 's%\.in%%' | sort`; rtems_av_tmp=`find $1 -name "$2.in" -print | sed "s/$2\.in/%/" | sort | sed "s/%/$2/"`
$3="$$3 $rtems_av_tmp"; $3="$$3 $rtems_av_tmp";
cd $rtems_av_save_dir; cd $rtems_av_save_dir;
AC_MSG_RESULT(done) AC_MSG_RESULT(done)

View File

@@ -6,6 +6,5 @@ dnl at path and append an entry for Makefile to global variable
dnl "makefiles" (from configure.in) for each Makefile.in found dnl "makefiles" (from configure.in) for each Makefile.in found
dnl dnl
AC_DEFUN(RTEMS_CHECK_MAKEFILE, AC_DEFUN(RTEMS_CHECK_MAKEFILE,
[RTEMS_CHECK_FILES_IN($1,Makefile.in,makefiles) [RTEMS_CHECK_FILES_IN($1,Makefile,makefiles)
]) ])