helper scripts for autoconfing
authorMark Eichin <eichin@mit.edu>
Fri, 10 Jun 1994 14:16:12 +0000 (14:16 +0000)
committerMark Eichin <eichin@mit.edu>
Fri, 10 Jun 1994 14:16:12 +0000 (14:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3698 dc483132-0cff-0310-8789-dd5450dbe970

src/autotools/default-in-prefix [new file with mode: 0644]
src/autotools/makeaclocals [new file with mode: 0644]
src/autotools/reconf [new file with mode: 0644]

diff --git a/src/autotools/default-in-prefix b/src/autotools/default-in-prefix
new file mode 100644 (file)
index 0000000..0baddd1
--- /dev/null
@@ -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 (file)
index 0000000..558ef03
--- /dev/null
@@ -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 (file)
index 0000000..d32af15
--- /dev/null
@@ -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)