summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane1998-10-30 15:05:23 +0000
committerTom Lane1998-10-30 15:05:23 +0000
commit54789138bd8ce718898f13d3cf2e58b40659c673 (patch)
treed3d458dddec4736bc6c4540e79d6e9f9075ba707
parente337249f23fab9b61a905dcce8916a4103fe2f75 (diff)
Behave reasonably on a system without shared libraries.
-rw-r--r--src/pl/plpgsql/src/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pl/plpgsql/src/Makefile.in b/src/pl/plpgsql/src/Makefile.in
index bd6118d4bd..637ede6192 100644
--- a/src/pl/plpgsql/src/Makefile.in
+++ b/src/pl/plpgsql/src/Makefile.in
@@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.11 1998/10/28 17:07:15 momjian Exp $
+# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.12 1998/10/30 15:05:23 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -37,7 +37,11 @@ include $(SRCDIR)/Makefile.shlib
# instead:
install: $(shlib)
+ifneq ($(shlib),)
$(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) $(LIBDIR)/plpgsql$(DLSUFFIX)
+else
+ @echo "plpgsql not installed due to lack of shared library support."
+endif
pl_handler.o: pl_handler.c plpgsql.h pl.tab.h
@@ -65,7 +69,7 @@ scan.c: scan.l
pl.tab.h: pl_gram.c
-.PHONY: clean
+.PHONY: install clean
clean:
rm -f lib$(NAME).a $(shlib)