From: Ken Raeburn Date: Wed, 1 May 1996 03:30:20 +0000 (+0000) Subject: * Makefile.in (tgz-bin, pkgdir): New targets. X-Git-Tag: krb5-1.0-beta6~160 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=36b18019927a7882d017300c77f8702019cdf6d6;p=krb5.git * Makefile.in (tgz-bin, pkgdir): New targets. (PKGDIR, GZIPPROG): New variables. * aclocal.m4 (WITH_NETLIB): Don't look for socket lib on Irix. * aclocal.m4 (MAKE_SUBDIRS): Disable hack that tries to determine if "-k" or "-i" was given. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7882 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 8e3c1152a..d1632dbe1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,13 @@ +Tue Apr 30 23:25:07 1996 Ken Raeburn + + * Makefile.in (tgz-bin, pkgdir): New targets. + (PKGDIR, GZIPPROG): New variables. + + * aclocal.m4 (WITH_NETLIB): Don't look for socket lib on Irix. + + * aclocal.m4 (MAKE_SUBDIRS): Disable hack that tries to determine + if "-k" or "-i" was given. + Wed Apr 24 03:49:06 1996 Ezra Peisach * aclocal.m4 (V5_USE_SHARED_LIB): Remove another dependency in the diff --git a/src/Makefile.in b/src/Makefile.in index aef4af1f4..3c104065d 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -80,6 +80,17 @@ dist: $(DISTFILES) tar chzf `cat .fname`.tar.gz `cat .fname` rm -rf `cat .fname` .fname +GZIPPROG= gzip -9v +PKGDIR=`pwd`/pkgdir +pkgdir: + if test ! -d $(PKGDIR); then mkdir $(PKGDIR); else true; fi +tgz-bin: pkgdir + rm -rf $(PKGDIR)/install cns5-bin.tgz + mkdir $(PKGDIR)/install + $(MAKE) install DESTDIR=$(PKGDIR)/install + (cd $(PKGDIR)/install && tar cf - usr/cygnus) | $(GZIPPROG) > cns5-bin.tgz + rm -rf $(PKGDIR)/install + # Macintosh build process... # Build all things for the Mac build, which need to be built on diff --git a/src/acconfig.h b/src/acconfig.h index efdcaa494..5005671a5 100644 --- a/src/acconfig.h +++ b/src/acconfig.h @@ -3,6 +3,9 @@ as aclocal.m4, so autoreconf causes autoheader to find it. Nothing actually includes this file, it is always processed into something else. */ +/* Don't use too large a block, because the autoheader processing can't + handle it on some systems. */ + #undef ANSI_STDIO #undef HAS_SETVBUF #undef HAS_STDLIB_H diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 38433549c..c70348eed 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -82,9 +82,11 @@ define(MAKE_SUBDIRS,[dnl AC_PUSH_MAKEFILE()dnl changequote(<<<,>>>)dnl -$2::<<< - @case "`echo '$(MAKEFLAGS)'|sed -e 's/ --.*$$//'`" in \ - *[ik]*) e=:;; *) e="exit 1";; esac; \ +$2:: +dnl These don't work well with some versions of GNU make. +dnl @case "`echo '$(MAKEFLAGS)'|sed -e 's/ --.*$$//'`" in \ +dnl *[ik]*) e=:;; *) e="exit 1";; esac; \ +<<< @e="exit 1";\ for i in $(SUBDIRS) ; do \ if test -d $$i ; then \ echo>>> $1 <<<"in $(CURRENT_DIR)$$i..."; \ @@ -790,7 +792,9 @@ AC_ARG_WITH([netlib], AC_MSG_RESULT("netlib will use \'$withval\'") fi ,dnl -[AC_CHECK_LIB(socket,main) +[if test "`(uname) 2>/dev/null`" != IRIX ; then + AC_CHECK_LIB(socket,main) +fi AC_CHECK_LIB(nsl,main)] )])dnl dnl