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
f21bc46e
Commit
f21bc46e
authored
19 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Modified to use 'head -n 1' instead of 'head -1' since some versions of head
complains and claims this is deprecated.
parent
044327a4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildconf
+5
-5
5 additions, 5 deletions
buildconf
with
5 additions
and
5 deletions
buildconf
+
5
−
5
View file @
f21bc46e
...
...
@@ -24,7 +24,7 @@ findtool(){
# autoconf 2.57 or newer
#
need_autoconf
=
"2.57"
ac_version
=
`
${
AUTOCONF
:-
autoconf
}
--version
2>/dev/null|head
-1
|
sed
-e
's/^[^0-9]*//'
-e
's/[a-z]* *$//'
`
ac_version
=
`
${
AUTOCONF
:-
autoconf
}
--version
2>/dev/null|head
-
n
1|
sed
-e
's/^[^0-9]*//'
-e
's/[a-z]* *$//'
`
if
test
-z
"
$ac_version
"
;
then
echo
"buildconf: autoconf not found."
echo
" You need autoconf version
$need_autoconf
or newer installed."
...
...
@@ -45,7 +45,7 @@ echo "buildconf: autoconf version $ac_version (ok)"
#--------------------------------------------------------------------------
# autoheader 2.50 or newer
#
ah_version
=
`
${
AUTOHEADER
:-
autoheader
}
--version
2>/dev/null|head
-1
|
sed
-e
's/^[^0-9]*//'
-e
's/[a-z]* *$//'
`
ah_version
=
`
${
AUTOHEADER
:-
autoheader
}
--version
2>/dev/null|head
-
n
1|
sed
-e
's/^[^0-9]*//'
-e
's/[a-z]* *$//'
`
if
test
-z
"
$ah_version
"
;
then
echo
"buildconf: autoheader not found."
echo
" You need autoheader version 2.50 or newer installed."
...
...
@@ -67,7 +67,7 @@ echo "buildconf: autoheader version $ah_version (ok)"
# automake 1.7 or newer
#
need_automake
=
"1.7"
am_version
=
`
${
AUTOMAKE
:-
automake
}
--version
2>/dev/null|head
-1
|
sed
-e
's/^.* \([0-9]\)/\1/'
-e
's/[a-z]* *$//'
-e
's/\(.*\)\(-p.*\)/\1/'
`
am_version
=
`
${
AUTOMAKE
:-
automake
}
--version
2>/dev/null|head
-
n
1|
sed
-e
's/^.* \([0-9]\)/\1/'
-e
's/[a-z]* *$//'
-e
's/\(.*\)\(-p.*\)/\1/'
`
if
test
-z
"
$am_version
"
;
then
echo
"buildconf: automake not found."
echo
" You need automake version
$need_automake
or newer installed."
...
...
@@ -113,7 +113,7 @@ fi
# set the LIBTOOLIZE here so that glibtoolize is used if glibtool was found
LIBTOOLIZE
=
"
${
libtool
}
ize"
lt_pversion
=
`
$libtool
--version
2>/dev/null|head
-1
|sed
-e
's/^[^0-9]*//g'
-e
's/[- ].*//'
`
lt_pversion
=
`
$libtool
--version
2>/dev/null|head
-
n
1|sed
-e
's/^[^0-9]*//g'
-e
's/[- ].*//'
`
if
test
-z
"
$lt_pversion
"
;
then
echo
"buildconf: libtool not found."
echo
" You need libtool version
$LIBTOOL_WANTED_VERSION
or newer installed"
...
...
@@ -160,7 +160,7 @@ fi
#--------------------------------------------------------------------------
# m4 check
#
m4
=
`
${
M4
:-
m4
}
--version
2>/dev/null|head
-1
`
;
m4
=
`
${
M4
:-
m4
}
--version
2>/dev/null|head
-
n
1
`
;
m4_version
=
`
echo
$m4
|
sed
-e
's/^.* \([0-9]\)/\1/'
-e
's/[a-z]* *$//'
`
if
{
echo
$m4
|
grep
"GNU"
>
/dev/null 2>&1
;
}
then
...
...
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