Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
e93bcbee
Commit
e93bcbee
authored
16 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
For debugging purposes, show all sed's available in PATH on SunOS systems.
parent
adc032e7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildconf
+22
-3
22 additions, 3 deletions
buildconf
with
22 additions
and
3 deletions
buildconf
+
22
−
3
View file @
e93bcbee
...
...
@@ -27,20 +27,24 @@ die(){
exit
}
# this works as 'which' but we use a different name to make it more obvious we
# aren't using 'which'! ;-)
#--------------------------------------------------------------------------
# findtool works as 'which' but we use a different name to make it more
# obvious we aren't using 'which'! ;-)
#
findtool
(){
file
=
"
$1
"
IFS
=
":"
old_IFS
=
$IFS
;
IFS
=
':'
for
path
in
$PATH
do
IFS
=
$old_IFS
# echo "checks for $file in $path" >&2
if
test
-f
"
$path
/
$file
"
;
then
echo
"
$path
/
$file
"
return
fi
done
IFS
=
$old_IFS
}
#--------------------------------------------------------------------------
...
...
@@ -293,6 +297,21 @@ fi
tmp_host_type
=
`
uname
-a
|
sed
'/SunOS/s/.*\(SunOS\).*/\1/'
`
if
test
"x
$tmp_host_type
"
=
"xSunOS"
;
then
ACLOCAL_FLAGS
=
"
$ACLOCAL_FLAGS
--verbose"
echo
"buildconf: PATH:
$PATH
"
# show all available sed's in PATH order
old_IFS
=
$IFS
;
IFS
=
':'
for
path
in
$PATH
do
IFS
=
$old_IFS
if
test
-f
"
$path
/sed"
;
then
echo
"buildconf: sed:
$path
/sed"
fi
done
IFS
=
$old_IFS
echo
"buildconf: SED:
$SED
"
fi
echo
"buildconf: running libtoolize"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment