* configure.in: attempt to autoconf
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4005
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Jul 21 01:01:20 1994 Tom Yu (tlyu at dragons-lair)
+
+ * Makefile.in:
+ * configure.in: attempt to autoconf
+
Sat Jul 16 03:02:17 1994 Tom Yu (tlyu at dragons-lair)
* ksu.c: frob error codes
--- /dev/null
+DEFINES = -DLOCAL_REALM='"."' -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"'
+CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE)
+LDFLAGS = -g
+
+ISODELIB=@ISODELIB@
+COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
+DBMLIB=
+
+SRCS = \
+ $(srcdir)/krb_auth_su.c \
+ $(srcdir)/ccache.c \
+ $(srcdir)/authorization.c \
+ $(srcdir)/main.c \
+ $(srcdir)/heuristic.c
+OBJS = \
+ krb_auth_su.o \
+ ccache.o \
+ authorization.o \
+ main.o \
+ heuristic.o
+
+all:: ksu
+
+KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
+
+ksu: $(OBJS)
+ $(CC) $(CFLAGS) -o ksu $(OBJS) $(KLIB) $(LIBS)
+
+clean::
+ $(RM) ksu
+
+install::
+ $(INSTALL_PROGRAM) ksu ${DESTDIR}$(CLIENT_BINDIR)/ksu
+ $(INSTALL_DATA) ksu.1 ${DESTDIR}$(CLIENT_MANDIR)/ksu.1
--- /dev/null
+AC_INIT(krb_auth_su.c)
+WITH_CCOPTS
+CONFIG_RULES
+AC_SET_BUILDTOP
+AC_PROG_INSTALL
+AC_HAVE_LIBRARY(socket)
+AC_HAVE_LIBRARY(nsl)
+KRB_INCLUDE
+ISODE_INCLUDE
+WITH_KRB5ROOT
+AC_OUTPUT(Makefile,[EXTRA_RULES])