Delete old placeholders for framework support; implement it anew soon,
authorKen Raeburn <raeburn@mit.edu>
Sat, 14 Sep 2002 01:01:22 +0000 (01:01 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 14 Sep 2002 01:01:22 +0000 (01:01 +0000)
when we're more certain what we need.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14860 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4
src/config/ChangeLog
src/config/lib.in
src/config/pre.in
src/config/shlib.conf

index c8b1cd4651b24da4420f8d9f0013dd451ac7302b..df8d381986df4aa427c99f4e2748e5edcb5223ce 100644 (file)
@@ -2,6 +2,10 @@
 
        * aclocal.m4 (KRB5_AC_CHOOSE_DB): New macro.
        (CONFIG_RULES): Invoke it.
+       (KRB5_LIB_PARAMS): Don't substitute LIB_LINK_OPT.
+       (KRB5_LIB_AUX): Don't substitute EXTRA_CLEAN_TARGETS,
+       EXTRA_CLEAN_LINKS, and don't update LIBLIST, LIBLINKS, LIBINSTLIST
+       to add the EXTRA_ values.
 
        * configure.in: Configure util/db2 only if we're going to use it.
 
index 2ea5ba82ad81b1f3f087a33ab6ffde96fdf52f90..3ccec6b62bc258134d9a9e96827e42482a45612d 100644 (file)
@@ -1129,14 +1129,6 @@ fi],
        SHLIBSEXT=.so.s-nobuild
 )dnl
 
-if test -n "$EXTRA_LIB_TARGETS"; then
-  LIBLIST="$LIBLIST $EXTRA_LIB_TARGETS"
-fi
-LIBLINKS="$LIBLINKS $EXTRA_LIBLINK_TARGETS"
-LIBINSTLIST="$LIBINSTLIST $EXTRA_LIBINST_TARGETS"
-AC_SUBST(EXTRA_CLEAN_TARGETS)
-AC_SUBST(EXTRA_CLEAN_LINKS)
-
 if test -z "$LIBLIST"; then
        AC_MSG_ERROR([must enable one of shared or static libraries])
 fi
@@ -1170,8 +1162,7 @@ krb5_cv_host=$host
 AC_SUBST(krb5_cv_host)
 AC_REQUIRE([AC_PROG_CC])
 AC_REQUIRE([V5_SET_TOPDIR])
-. $ac_topdir/config/shlib.conf
-AC_SUBST(LIB_LINK_OPT)])
+. $ac_topdir/config/shlib.conf])
 dnl
 dnl The following was written by jhawk@mit.edu
 dnl
index 2ee17c77d6349d1515c5ce7a5812b5f13db049fe..b7d51e1645ae024837faed6d976b70dcce7454c1 100644 (file)
@@ -1,5 +1,20 @@
 2002-09-13  Ken Raeburn  <raeburn@mit.edu>
 
+       * pre.in (KRB5_LIB_libopt, KRB5_LIB_frameworkopt,
+       K5CRYPTO_LIB_libopt, K5CRYPTO_LIB_frameworkopt,
+       GSS_KRB5_LIB_libopt, GSS_KRB5_LIB_frameworkopt): Variables
+       deleted.
+       (KRB5_LIB, K5CRYPTO_LIB, GSS_KRB5_LIB): Use old _libopt values.
+       * lib.in (EXTRA_CLEAN_TARGETS, EXTRA_CLEAN_LINKS): Variables
+       deleted.
+       (clean-libs, clean-liblinks): Don't depend on them.
+       (all-framework, link-framework, clean-framework,
+       clean-framework-link, install-framework): Placeholder targets
+       deleted.
+       * shlib.conf: Don't define LIB_LINK_OPT, EXTRA_LIB_TARGETS,
+       EXTRA_LIBLINK_TARGETS, EXTRA_LIBINST_TARGETS, EXTRA_CLEAN_TARGETS,
+       EXTRA_CLEAN_LINKS.
+
        * post.in (depend-verify-et-sys, depend-verify-et-k5,
        depend-verify-ss-sys, depend-verify-ss-k5, depend-verify-db-sys,
        depend-verify-db-k5): New targets.  Report errors in the -sys
index 3d9d86a7256629ffbefca318f335287575bf5e1e..7d7bc71497cefc7ab1a8f67b2c6a3a2817cc9fb5 100644 (file)
@@ -40,10 +40,6 @@ LIBLINKS=@LIBLINKS@
 # Set by configure; list of install targets
 LIBINSTLIST=@LIBINSTLIST@
 
-# Set by configure; list of extra targets when cleaning
-EXTRA_CLEAN_TARGETS=@EXTRA_CLEAN_TARGETS@
-EXTRA_CLEAN_LINKS=@EXTRA_CLEAN_LINKS@
-
 # Some of these should really move to pre.in, since programs will need
 # it too. (e.g. stuff that has dependencies on the libraries)
 
@@ -134,36 +130,20 @@ $(TOPLIBD)/lib$(LIB)$(PFLIBEXT): lib$(LIB)$(PFLIBEXT)
 all-libs: $(LIBLIST)
 all-liblinks: $(LIBLINKS)
 
-all-framework:
-       @echo lxs, put something here in config/lib.in for building frameworks
-       @false
-
-link-framework:
-       @echo lxs, put something here in config/lib.in for symlinking frameworks
-       @false
-
-clean-libs: $(EXTRA_CLEAN_TARGETS)
+clean-libs:
        $(RM) lib$(LIB)$(STLIBEXT)
        $(RM) lib$(LIB)$(SHLIBVEXT)
        $(RM) lib$(LIB)$(SHLIBSEXT)
        $(RM) lib$(LIB)$(SHLIBEXT)
        $(RM) lib$(LIB)$(PFLIBEXT)
 
-clean-liblinks: $(EXTRA_CLEAN_LINKS)
+clean-liblinks:
        $(RM) $(TOPLIBD)/lib$(LIB)$(STLIBEXT)
        $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBVEXT)
        $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBSEXT)
        $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBEXT)
        $(RM) $(TOPLIBD)/lib$(LIB)$(PFLIBEXT)
 
-clean-framework:
-       @echo lxs, put something here in config/lib.in for cleaning frameworks
-       @false
-
-clean-framework-link:
-       @echo lxs, put something here in config/lib.in for cleaning framework links
-       @false
-
 install-libs: $(LIBINSTLIST)
 install-static:
        $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(STLIBEXT)
@@ -184,10 +164,6 @@ install-profiled:
        $(INSTALL_DATA) lib$(LIB)$(PFLIBEXT) $(DESTDIR)$(KRB5_LIBDIR)
        $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(PFLIBEXT)
 
-install-framework:
-       @echo lxs, put something here in config/lib.in for installing frameworks
-       @false
-
 Makefile: $(SRCTOP)/config/lib.in
 config.status: $(SRCTOP)/config/shlib.conf
 
index 3ce05bda03271909b345483ca3aa9ff1e959246b..e7c751c15f13a11eefe390f1f302f8a1208b3cbb 100644 (file)
@@ -262,19 +262,10 @@ SS_LIB-k5 = $(TOPLIBD)/libss.a
 KDB5_LIB       = -lkdb5
 DB_LIB         = @DB_LIB@
 
-KRB5_LIB                       = $(KRB5_LIB_@LIB_LINK_OPT@)
-KRB5_LIB_libopt                        = -lkrb5
-KRB5_LIB_frameworkopt          = -framework Kerberos5
-
-K5CRYPTO_LIB                   = $(K5CRYPTO_LIB_@LIB_LINK_OPT@)
-K5CRYPTO_LIB_libopt            = -lk5crypto
-K5CRYPTO_LIB_frameworkopt      = -framework Kerberos5Crypto
-
+KRB5_LIB                       = -lkrb5
+K5CRYPTO_LIB                   = -lk5crypto
 COM_ERR_LIB                    = -lcom_err
-
-GSS_KRB5_LIB                   = $(GSS_KRB5_LIB_@LIB_LINK_OPT@)
-GSS_KRB5_LIB_libopt            = -lgssapi_krb5
-GSS_KRB5_LIB_frameworkopt      = -framework Krb5GSSAPILib
+GSS_KRB5_LIB                   = -lgssapi_krb5
 
 # KRB4_LIB is -lkrb4 if building --with-krb4
 # needs fixing if ever used on Mac OS X!
index f4d5d9c2b917197082a95cf530df97e454c6c951..351ca08ce2ca17662331154d60ffb3ec891b52c0 100644 (file)
@@ -1,7 +1,6 @@
 #
 # Set up some defaults.
 #
-LIB_LINK_OPT=libopt
 STLIBEXT=.a
 # Default to being unable to build shared libraries.
 SHLIBEXT=.so-nobuild
@@ -208,12 +207,6 @@ mips-*-netbsd*)
        CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -dynamic $(LDFLAGS)'
        CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(LDFLAGS)'
        RUN_ENV='DYLD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export DYLD_LIBRARY_PATH;'
-       LIB_LINK_OPT=frameworkopt
-       EXTRA_LIB_TARGETS=all-framework
-       EXTRA_LIBLINK_TARGETS=link-framework
-       EXTRA_LIBINST_TARGETS=install-framework
-       EXTRA_CLEAN_TARGETS=clean-framework
-       EXTRA_CLEAN_LINKS=clean-framework-link
        ;;
 
 *-*-solaris*)