On 11-Nov-99 Brian Paul wrote:
> Uh, it looks like Makefile.in is generated from Makefile.am. I don't
> see how to change Makefile.in to implement your patch.
Argh.
> Could somebody familiar with auto-make please help?
I am not familiar, but I think here is the right(?) solution:
--- Makefile.am.orig Sat Nov 13 12:20:09 1999
+++ Makefile.am Sat Nov 13 12:33:06 1999
@@ -8,6 +8,8 @@
lib_LTLIBRARIES = libglut.la
libglut_la_LDFLAGS = -version-info $(LIBGLUT_VERSION)
+libglut_la_LIBADD = $(X_LIBS) $(X_LIBADD)
+
libglut_la_SOURCES = \
glut_8x13.c \
glut_9x15.c \
------------------------------------------------------------
I read a bit in libtool.info an _I_ think we should switch from
"-version-info" to "-release", which might not be "the right thing
to do" but at least we stay compatible with the older scheme.
Mesa (not to say other libGl's we wanna be compatible to) was not
developed with libtools understanding of "library versions".
So changing
libglut_la_LDFLAGS = -version-info $(LIBGLUT_VERSION)
to
libglut_la_LDFLAGS = -release $(LIBGLUT_VERSION)
and defining LIBGLUT_VERSION = 3.7.x in configure.in
(x = Mesa version)
Same for libglu and libGL.
Comments are welcome.
Andree
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev