aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-04-04 22:57:45 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-04-04 22:57:45 +0000
commit011f1e3169298b4782b9002cb1890dffefe535e3 (patch)
tree7e16927e71a5db1f1cbae8fb1858a3d15f1ec00a /src
parent8b588a19b42febf939048fe3b56005ad55fbb505 (diff)
downloadpostgresql-011f1e3169298b4782b9002cb1890dffefe535e3.tar.gz
postgresql-011f1e3169298b4782b9002cb1890dffefe535e3.zip
Clean up AIX makefile to recognize subversions of AIX 4.1 correctly.
This patch is Peter E's, but I'm applying it on his behalf so it'll get into 7.1RC3 tonight (I'm guessing Peter went to bed already).
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/Makefile.aix4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix
index c33c7a546c0..a9ba100305c 100644
--- a/src/makefiles/Makefile.aix
+++ b/src/makefiles/Makefile.aix
@@ -11,7 +11,7 @@ ifneq ($(GCC), yes)
ifeq ($(host_os), aix3.2.5)
LDFLAGS_SL = -e _nostart
endif
- ifeq ($(host_os), aix4.1)
+ ifneq (,$(findstring aix4.1, $(host_os)))
LDFLAGS_SL = -bnoentry
endif
endif
@@ -29,7 +29,7 @@ $(POSTGRES_IMP):
ifeq ($(host_os), aix3.2.5)
$(MKLDEXPORT) postgres $(bindir) > $@
else
- ifeq ($(host_os), aix4.1)
+ ifneq (,$(findstring aix4.1, $(host_os)))
$(MKLDEXPORT) postgres $(bindir) > $@
else
$(MKLDEXPORT) postgres . > $@