From: Mark Eichin Date: Fri, 10 Jun 1994 14:16:12 +0000 (+0000) Subject: helper scripts for autoconfing X-Git-Tag: krb5-1.0-beta4~153 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b07faeb84e8316b5e53eee72147d6df7ad5d408;p=krb5.git helper scripts for autoconfing git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3698 dc483132-0cff-0310-8789-dd5450dbe970 --- 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)