diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-06-28 20:05:36 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-06-28 20:07:02 +0300 |
commit | dcd5af6c3498a265053aa3292d41c3946e225627 (patch) | |
tree | 667594d6367b999a95806567404870df36d06a1a /src | |
parent | 39715af23ae459684963c350dd69eafa2d502e7e (diff) | |
download | postgresql-dcd5af6c3498a265053aa3292d41c3946e225627.tar.gz postgresql-dcd5af6c3498a265053aa3292d41c3946e225627.zip |
Further fix install program detection
The $(or) make function was introduced in GNU make 3.81, so the
previous coding didn't work in 3.80. Write it differently, and
improve the variable naming to make more sense in the new coding.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.global.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 1e61e73b0df..3941d969b86 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -289,8 +289,9 @@ BZIP2 = bzip2 # Installation. +install_bin = @install_bin@ install_sh = $(SHELL) $(top_srcdir)/config/install-sh -c -INSTALL = $(if $(use_install_sh),$(install_sh),$(or @INSTALL_@,$(install_sh))) +INSTALL = $(if $(use_install_sh),$(install_sh),$(if $(install_bin),$(install_bin),$(install_sh))) INSTALL_SCRIPT_MODE = 755 INSTALL_DATA_MODE = 644 |