From aaf601df99a779d673037a94ca2984ed14e8b484 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 8 Aug 2007 22:16:44 +0000 Subject: [PATCH] Get rid of some old SunOS 4 config stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19762 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/build.texinfo | 2 +- src/aclocal.m4 | 3 +-- src/appl/bsd/configure.in | 3 --- src/config/shlib.conf | 18 ------------------ 4 files changed, 2 insertions(+), 24 deletions(-) diff --git a/doc/build.texinfo b/doc/build.texinfo index f92a4d249..8bf08157e 100644 --- a/doc/build.texinfo +++ b/doc/build.texinfo @@ -754,7 +754,7 @@ HP/UX 10.20. Platforms for which there is shared library support but not significant testing include FreeBSD, OpenBSD, AIX (4.3.3), Linux, NetBSD 1.4.x -(i386), and SunOS 4.x. +(i386). To enable shared libraries on the above platforms, run the configure script with the option @samp{--enable-shared}. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 50715e5eb..8cdbc4788 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1,5 +1,5 @@ AC_PREREQ(2.52) -AC_COPYRIGHT([Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +AC_COPYRIGHT([Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 Massachusetts Institute of Technology. ]) dnl @@ -609,7 +609,6 @@ if test "$GCC" = yes; then fi fi]) # maybe add -Waggregate-return, or can we assume that actually works by now? -# -Wno-comment used to be used for SunOS system header # -Wno-long-long, if needed, for k5-platform.h without inttypes.h etc. extra_gcc_warn_opts="-Wall -Wmissing-prototypes -Wcast-qual \ -Wcast-align -Wconversion -Wshadow" diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index 9a425edb9..8cf0213ba 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -40,9 +40,6 @@ alpha*-dec-osf*) LOGINLIBS="$LOGINLIBS -lsecurity" ) ;; -*-*-sunos4*) - ac_cv_header_termios_h=no - ;; esac dnl dnl krshd does not use krb524... diff --git a/src/config/shlib.conf b/src/config/shlib.conf index c10ce4f26..bc4a51efd 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -344,24 +344,6 @@ mips-*-netbsd*) RUN_ENV='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH;' ;; -*-*-sunos*) - PICFLAGS=-fpic - SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)' - SHLIBEXT=.so - # The following grossness is to prevent relative paths from - # creeping into the RPATH of an executable or library built - # under SunOS; the explicit setting of LD_LIBRARY_PATH does - # does not make it into the output file, while directories - # passed by "-Ldirname" do. - LDCOMBINE='LD_LIBRARY_PATH=`echo $(SHLIB_DIRS) | sed -e "s/-L//g" -e "s/ /:/g"` ld -dp -assert pure-text' - SHLIB_EXPFLAGS='-L$(SHLIB_RDIRS) $(SHLIB_EXPLIBS)' - PROFFLAGS=-pg - # ick. - RPATH_FLAG=-L - CC_LINK_SHARED='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"` $(PURE) $(CC) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(LDFLAGS)' - CC_LINK_STATIC='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g` $(PURE) $(CC) $(CFLAGS) $(LDFLAGS)' - RUN_ENV='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH;' - ;; *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu) PICFLAGS=-fPIC SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)' -- 2.26.2