diff options
| author | Mark Eichin <eichin@mit.edu> | 1994-06-10 14:16:12 +0000 |
|---|---|---|
| committer | Mark Eichin <eichin@mit.edu> | 1994-06-10 14:16:12 +0000 |
| commit | 9b07faeb84e8316b5e53eee72147d6df7ad5d408 (patch) | |
| tree | 558625615260d6d6ed0dfad7e4d09d0472a11aec /src/autotools | |
| parent | 90864cc89d4323e379b5cc2270865627cd7fc665 (diff) | |
| download | krb5-9b07faeb84e8316b5e53eee72147d6df7ad5d408.tar.gz krb5-9b07faeb84e8316b5e53eee72147d6df7ad5d408.tar.xz krb5-9b07faeb84e8316b5e53eee72147d6df7ad5d408.zip | |
helper scripts for autoconfing
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3698 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/autotools')
| -rw-r--r-- | src/autotools/default-in-prefix | 19 | ||||
| -rw-r--r-- | src/autotools/makeaclocals | 15 | ||||
| -rw-r--r-- | src/autotools/reconf | 8 |
3 files changed, 42 insertions, 0 deletions
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) |
