* configure.in: inactivate the old case statement that determined
shared lib parameters; keep it around just for reference, though.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9865
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Feb 14 15:52:14 1997 Tom Yu <tlyu@mit.edu>
+
+ * aclocal.m4: Add shared library support for Irix.
+
+ * configure.in: inactivate the old case statement that determined
+ shared lib parameters; keep it around just for reference, though.
+
Wed Feb 12 16:17:44 1997 Tom Yu <tlyu@mit.edu>
* aclocal.m4: Remove INSTALL_VARIABLE_HACK, as it's no longer
# $(PROG_RPATH) is here to handle things like a shared tcl library
RUN_ENV='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`:$(PROG_RPATH):/usr/shlib:/usr/ccs/lib:/usr/lib/cmplrs/cc:/usr/lib:/usr/local/lib; export LD_LIBRARY_PATH; _RLD_ROOT=/dev/dummy/d; export _RLD_ROOT;'
;;
+mips-sgi-irix*)
+ SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
+ SHLIBEXT=.so
+ SHOBJEXT=.o
+ LDCOMBINE='ld -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations'
+ SHLIB_EXPFLAGS='-rpath $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
+ # no gprof for Irix...
+ PROFFLAGS=-p
+ CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -Wl,-rpath -Wl,$(PROG_RPATH)'
+ CC_LINK_STATIC='$(CC) $(PROG_LIBPATH)'
+ RUN_ENV='LD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH;'
+ ;;
*-*-netbsd*)
PICFLAGS=-fpic
SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
])dnl
AC_MSG_RESULT($krb5_cv_prog_gcc)
dnl
-AC_MSG_CHECKING([for build host])
+ifelse([AC_MSG_CHECKING([for build host])
AC_CACHE_VAL(krb5_cv_host, [export CC
AC_CANONICAL_HOST
krb5_cv_host=$host])
krb5_cv_shlibs_tail_comp=
krb5_cv_staticlibs_enabled=yes
krb5_cv_shlibs_enabled=])
-
+])
AC_KRB5_TCL
AC_ARG_ENABLE([athena],
[ --enable-athena build with MIT Project Athena configuration],,)