From 9b07faeb84e8316b5e53eee72147d6df7ad5d408 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Fri, 10 Jun 1994 14:16:12 +0000 Subject: [PATCH] helper scripts for autoconfing git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3698 dc483132-0cff-0310-8789-dd5450dbe970 --- src/autotools/default-in-prefix | 19 +++++++++++++++++++ src/autotools/makeaclocals | 15 +++++++++++++++ src/autotools/reconf | 8 ++++++++ 3 files changed, 42 insertions(+) create mode 100644 src/autotools/default-in-prefix create mode 100644 src/autotools/makeaclocals create mode 100644 src/autotools/reconf diff --git a/src/autotools/default-in-prefix b/src/autotools/default-in-prefix new file mode 100644 index 000000000..0baddd1a7 --- /dev/null +++ b/src/autotools/default-in-prefix @@ -0,0 +1,19 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + diff --git a/src/autotools/makeaclocals b/src/autotools/makeaclocals new file mode 100644 index 000000000..558ef03ef --- /dev/null +++ b/src/autotools/makeaclocals @@ -0,0 +1,15 @@ +#!/bin/csh -f +foreach i (`find . -type d -print`) + set j=`echo $i | sed -e "s/^\.\///"` + if ($j:t == CVS) then +# echo skipping CVS + else if ($j:t == .) then +# echo skipping . + else + set k=`echo $j | sed -e 's/[^/]//g' | sed -e 's/\//..\//g'` + echo match: $j $k + echo 'sinclude(['$k'../aclocal.m4])' > $j/aclocal.m4 +# echo 'sinclude(['$k'../aclocal.m4])' + endif +end + diff --git a/src/autotools/reconf b/src/autotools/reconf new file mode 100644 index 000000000..d32af15df --- /dev/null +++ b/src/autotools/reconf @@ -0,0 +1,8 @@ +#!/bin/sh +for i in `find . -name configure.in -print`; do + j=`echo $i | sed s/configure.in//` + echo $j + (cd $j; autoconf) +done +echo include/krb5 +(cd include/krb5; autoheader) -- 2.26.2