[1717] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

aclocal.m4: building shared libraries

daemon@ATHENA.MIT.EDU (Richard Basch)
Mon Nov 13 13:54:55 1995

Date: Mon, 13 Nov 1995 13:53:26 -0500
To: krb5-bugs@MIT.EDU
From: "Richard Basch" <basch@lehman.com>

I am a little confused how any shared-library building could possibly
work currently.  util/makeshlib.sh takes additional arguments, namely
"library version", but aclocal.m4 never passes this variable.  As such,
the shared libraries will always lack the first directory/file specified
as an argument.

Because I am at a loss as to why it worked before, or what dependency
was missing that caused the shell script to be regenerated such that it
just now started to fail, I wanted someone else to make sure this was
correct.

diff -u -r1.1 src/aclocal.m4
--- 1.1 1995/11/13 18:38:02
+++ src/aclocal.m4      1995/11/13 18:42:02
@@ -878,7 +878,7 @@
 $1.[$](SHEXT).$2: [$](LIBDONE) [$](DEPLIBS)
        [$](BUILDTOP)/util/makeshlib [$]@       \
                "[$](SHLIB_LIBDIRS)" \
-               "[$](SHLIB_LIBS)" "[$](SHLIB_LDFLAGS)" [$](LIB_SUBDIRS)
+               "[$](SHLIB_LIBS)" "[$](SHLIB_LDFLAGS)" $2 [$](LIB_SUBDIRS)
 AC_POP_MAKEFILE()dnl
 LinkFile($1.[$](SHEXT),$1.[$](SHEXT).$2)
 ],[

With this patch, my build is happier (still not as happy as it was a
week ago, but the problems are only in the admin server/client sections).

Richard Basch                   URL: http://web.mit.edu/basch/www/home.html
Lehman Brothers, Inc.           Email: basch@lehman.com, basch@mit.edu
101 Hudson St., 33rd Floor      Fax:   +1-201-524-5828
Jersey City, NJ  07302-3988     Voice: +1-201-524-5049


home help back first fref pref prev next nref lref last post