aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-06-12 18:36:42 +0000
committerBruce Momjian <bruce@momjian.us>1998-06-12 18:36:42 +0000
commit6f1a50746cec3c3601263cdcc857d033aeed525a (patch)
treed5837f07c9e6aefc9774d3e5b7471ac4fa12c9d8
parentbe1d4719b44b7577c835802ccbd5bd41a694ca74 (diff)
downloadpostgresql-6f1a50746cec3c3601263cdcc857d033aeed525a.tar.gz
postgresql-6f1a50746cec3c3601263cdcc857d033aeed525a.zip
Clean up template names and remove LINUX_ELF hack. No longer
needed.
-rw-r--r--src/configure.in7
-rw-r--r--src/interfaces/libpgtcl/Makefile.in13
-rw-r--r--src/interfaces/libpq/Makefile.in12
3 files changed, 10 insertions, 22 deletions
diff --git a/src/configure.in b/src/configure.in
index b3b2d80abde..aa65848bc67 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -87,13 +87,6 @@ AC_ARG_WITH(template,
])
AC_MSG_RESULT($TEMPLATE)
-if test "$TEMPLATE" = "linux-elf"; then
- LINUX_ELF=yes
-else
- LINUX_ELF=no
-fi
-AC_SUBST(LINUX_ELF)
-
export TEMPLATE
if test ! -f "template/$TEMPLATE"; then
echo ""
diff --git a/src/interfaces/libpgtcl/Makefile.in b/src/interfaces/libpgtcl/Makefile.in
index 969111eab87..59caedf1c12 100644
--- a/src/interfaces/libpgtcl/Makefile.in
+++ b/src/interfaces/libpgtcl/Makefile.in
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.15 1998/05/24 03:48:58 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.16 1998/06/12 18:36:40 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -34,13 +34,10 @@ shlib :=
LIBPQ = -L$(SRCDIR)/interfaces/libpq -lpq
ifeq ($(PORTNAME), linux)
- LINUX_ELF=@LINUX_ELF@
- ifdef LINUX_ELF
- install-shlib-dep := install-shlib
- shlib := libpgtcl.so.1
- CFLAGS += $(CFLAGS_SL)
- LDFLAGS_SL = -shared
- endif
+ install-shlib-dep := install-shlib
+ shlib := libpgtcl.so.1
+ CFLAGS += $(CFLAGS_SL)
+ LDFLAGS_SL = -shared
endif
ifeq ($(PORTNAME), bsd)
diff --git a/src/interfaces/libpq/Makefile.in b/src/interfaces/libpq/Makefile.in
index 5aa507e47a1..3cd5660c93c 100644
--- a/src/interfaces/libpq/Makefile.in
+++ b/src/interfaces/libpq/Makefile.in
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.18 1998/05/12 21:44:02 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.19 1998/06/12 18:36:42 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -32,12 +32,10 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
shlib :=
install-shlib-dep :=
ifeq ($(PORTNAME), linux)
- ifdef LINUX_ELF
- install-shlib-dep := install-shlib
- shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
- LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
- CFLAGS += $(CFLAGS_SL)
- endif
+ install-shlib-dep := install-shlib
+ shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+ LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
+ CFLAGS += $(CFLAGS_SL)
endif
ifeq ($(PORTNAME), bsd)
ifdef BSD_SHLIB