aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-09-24 23:02:40 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-12-31 22:31:30 +0200
commitc9a8071e6690a8db8a485c075920df254e7c70ea (patch)
tree9a9c7b8bd6adce8afeb87a91283126101426d3c0 /src
parentFix comment typos in tuklib_mbstr* files. (diff)
downloadxz-c9a8071e6690a8db8a485c075920df254e7c70ea.tar.xz
Scripts: Put /usr/xpg4/bin to the beginning of PATH on Solaris.
This adds a configure option --enable-path-for-scripts=PREFIX which defaults to empty except on Solaris it is /usr/xpg4/bin to make POSIX grep and others available. The Solaris case had been documented in INSTALL with a manual fix but it's better to do this automatically since it is needed on most Solaris systems anyway. Thanks to Daniel Richard G.
Diffstat (limited to 'src')
-rw-r--r--src/scripts/xzdiff.in1
-rw-r--r--src/scripts/xzgrep.in1
-rw-r--r--src/scripts/xzless.in1
-rw-r--r--src/scripts/xzmore.in1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/scripts/xzdiff.in b/src/scripts/xzdiff.in
index 6aa6b989..eb7825c1 100644
--- a/src/scripts/xzdiff.in
+++ b/src/scripts/xzdiff.in
@@ -15,6 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
+@enable_path_for_scripts@
#SET_PATH - This line is a placeholder to ease patching this script.
# Instead of unsetting XZ_OPT, just make sure that xz will use file format
diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in
index a570a905..9db5c3a8 100644
--- a/src/scripts/xzgrep.in
+++ b/src/scripts/xzgrep.in
@@ -18,6 +18,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
+@enable_path_for_scripts@
#SET_PATH - This line is a placeholder to ease patching this script.
# Instead of unsetting XZ_OPT, just make sure that xz will use file format
diff --git a/src/scripts/xzless.in b/src/scripts/xzless.in
index 1b85ad6f..cf61ab29 100644
--- a/src/scripts/xzless.in
+++ b/src/scripts/xzless.in
@@ -15,6 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
+@enable_path_for_scripts@
#SET_PATH - This line is a placeholder to ease patching this script.
# Instead of unsetting XZ_OPT, just make sure that xz will use file format
diff --git a/src/scripts/xzmore.in b/src/scripts/xzmore.in
index 940d6614..ea832a30 100644
--- a/src/scripts/xzmore.in
+++ b/src/scripts/xzmore.in
@@ -15,6 +15,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
+@enable_path_for_scripts@
#SET_PATH - This line is a placeholder to ease patching this script.
# Instead of unsetting XZ_OPT, just make sure that xz will use file format