--- plugins/text/Makefile.in.orig	Thu Dec 30 18:29:13 1999
+++ plugins/text/Makefile.in	Fri Dec 31 12:14:37 1999
@@ -153,13 +153,13 @@
 #
 # Where to install the plugin
 #
-plugindir = $(libdir)/gnumeric/plugins/$(VERSION)
+plugindir = $(datadir)/gnumeric/plugins/$(VERSION)
 
 plugin_LTLIBRARIES = libgnum_text.la
 
 libgnum_text_la_SOURCES = text-io.h text-io.c
 
-INCLUDES =  	-I$(GNUMERIC_SRC_DIR)					-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 		-DGNUMERIC_VERSION=\""$(VERSION)"\"             	-I$(includedir)						$(GNOME_INCLUDEDIR)
+INCLUDES =  	-I$(GNUMERIC_SRC_DIR)					-DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" 		-DGNUMERIC_VERSION=\""$(VERSION)"\"             	-I$(includedir)						$(GNOME_INCLUDEDIR)
 
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../../config.h
@@ -169,7 +169,7 @@
 
 DEFS = @DEFS@ -I. -I$(srcdir) -I../..
 LIBS = @LIBS@
-libgnum_text_la_LDFLAGS = 
+libgnum_text_la_LDFLAGS = -avoid-version
 libgnum_text_la_LIBADD = 
 libgnum_text_la_OBJECTS =  text-io.lo
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
