* aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Look for perl.
* config/pre.in (PERL): New variable.
* config/lib.in (lib$(LIB)$(SHLIBVEXT)): Use one perl invocation rather than
n+1 sed invocations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16266
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-04-24 Ken Raeburn <raeburn@mit.edu>
+
+ * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Look for perl.
+
2004-04-22 Ken Raeburn <raeburn@mit.edu>
* aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute
AC_REQUIRE([AC_PROG_ARCHIVE_ADD])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_CHECK_PROG(AR, ar, ar, false)
+AC_CHECK_PROG(PERL, perl, false)
AC_SUBST(LIBLIST)
AC_SUBST(LIBLINKS)
AC_SUBST(MAKE_SHLIB_COMMAND)
+2004-04-24 Ken Raeburn <raeburn@mit.edu>
+
+ * pre.in (PERL): New variable.
+ * lib.in (lib$(LIB)$(SHLIBVEXT)): Use one perl invocation rather
+ than n+1 sed invocations.
+
2004-04-22 Ken Raeburn <raeburn@mit.edu>
* pre.in (DO_MAKE_SHLIB, SHLIB_STATIC_TARGET, LDCOMBINE,
lib$(LIB)$(SHLIBVEXT): $(SHOBJLISTS) $(SHLIB_EXPDEPS) $(SHLIB_EXPORT_FILE_DEP)
$(RM) $@
@echo "building shared $(LIB) library ($(LIBMAJOR).$(LIBMINOR))"
- @dirs=`echo $(SHOBJLISTS) | \
- sed -e 's%/OBJS.SH%%g' -e 's%OBJS.SH%.%'`; \
- objlist=`for d in $$dirs; do \
- sed -e '/^$$/d' -e "s%^%$$d/%" -e "s% % $$d/%g" \
- $$d/OBJS.SH; done` ; \
- set -x ; $(MAKE_SHLIB_COMMAND)
+ @objlist=`set -x && $(PERL) -p -e '$$e=$$ARGV; $$e =~ s/OBJS.SH$$//; s/^/ /; s/ $$//; s/ / $$e/g;' $(SHOBJLISTS)` && \
+ set -x && \
+ $(MAKE_SHLIB_COMMAND)
lib$(LIB)$(SHLIBSEXT): lib$(LIB)$(SHLIBVEXT)
$(RM) $@
LEX = @LEX@
LEXLIB = @LEXLIB@
YACC = @YACC@
+PERL = @PERL@
AUTOCONF = @AUTOCONF@
AUTOCONFFLAGS = @AUTOCONFFLAGS@
AUTOCONFINCFLAGS = @AUTOCONFINCFLAGS@