Blame SOURCES/wordnet-3.0-libtool.patch

f3e103
diff -up WordNet-3.0/configure.ac.orig WordNet-3.0/configure.ac
f3e103
--- WordNet-3.0/configure.ac.orig	2009-05-27 11:57:53.000000000 +0200
f3e103
+++ WordNet-3.0/configure.ac	2009-05-27 11:58:30.000000000 +0200
f3e103
@@ -8,7 +8,8 @@ AC_CONFIG_HEADER([config.h])
f3e103
 
f3e103
 # Checks for programs.
f3e103
 AC_PROG_CC
f3e103
-AC_PROG_RANLIB
f3e103
+AM_PROG_CC_C_O
f3e103
+AC_PROG_LIBTOOL
f3e103
 AC_PROG_INSTALL
f3e103
 
f3e103
 # Checks for header files.
f3e103
diff -up WordNet-3.0/lib/Makefile.am.orig WordNet-3.0/lib/Makefile.am
f3e103
--- WordNet-3.0/lib/Makefile.am.orig	2009-05-27 11:58:03.000000000 +0200
f3e103
+++ WordNet-3.0/lib/Makefile.am	2009-05-27 11:59:35.000000000 +0200
f3e103
@@ -1,5 +1,6 @@
f3e103
-lib_LIBRARIES = libWN.a
f3e103
-libWN_a_SOURCES = binsrch.c morph.c search.c wnglobal.c wnhelp.c wnrtl.c wnutil.c
f3e103
-libWN_a_CPPFLAGS = $(INCLUDES)
f3e103
+lib_LTLIBRARIES = libWN.la
f3e103
+libWN_la_SOURCES = binsrch.c morph.c search.c wnglobal.c wnhelp.c wnrtl.c wnutil.c
f3e103
+libWN_la_CPPFLAGS = $(INCLUDES)
f3e103
+libWN_la_LDFLAGS = -version-number 3:0:0
f3e103
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include
f3e103
 SUBDIRS = wnres