Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
8c672e8d
Commit
8c672e8d
authored
Jun 01, 2006
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* bootstrap: simplified automake detection and added support for the FreeBSD
automake naming scheme.
parent
5c8a0261
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
31 deletions
+24
-31
bootstrap
bootstrap
+24
-31
No files found.
bootstrap
View file @
8c672e8d
...
...
@@ -51,40 +51,33 @@ if test -d extras/contrib/bin; then
fi
# Check for automake
amvers
=
"none"
if
automake-1.9
--version
>
/dev/null 2>&1
;
then
amvers
=
"-1.9"
elif
automake-1.8
--version
>
/dev/null 2>&1
;
then
amvers
=
"-1.8"
elif
automake-1.7
--version
>
/dev/null 2>&1
;
then
amvers
=
"-1.7"
elif
automake-1.6
--version
>
/dev/null 2>&1
;
then
amvers
=
"-1.6"
if
expr
"
`
automake-1.6
--version
|
sed
-e
'1s/[^0-9]*//'
-e
q
`
"
"<="
"1.6.1"
>
/dev/null 2>&1
;
then
AUTOMAKESUCKS
=
yes
amvers
=
"no"
for
v
in
"-1.9"
"19"
"-1.8"
"18"
"-1.7"
"17"
"-1.6"
"16"
"-1.5"
"15"
;
do
if
automake
${
v
}
--version
>
/dev/null 2>&1
;
then
amsuff
=
"
${
v
}
"
amvers
=
"
${
v
}
"
break
fi
elif
automake-1.5
--version
>
/dev/null 2>&1
;
then
INSTALLSUCKS
=
yes
amvers
=
"-1.5"
elif
automake
--version
>
/dev/null 2>&1
;
then
amvers
=
""
case
"
`
automake
--version
|
sed
-e
'1s/[^0-9]*//'
-e
q
`
"
in
0|0.
*
|
1|1.[01234]|1.[01234][-.]
*
)
amvers
=
"none"
;;
1.5|1.5.
*
)
INSTALLSUCKS
=
yes
;;
1.6|1.6.0|1.6.1
)
AUTOMAKESUCKS
=
yes
;;
1.9|1.9.2
)
;;
esac
done
if
test
"
${
amvers
}
"
=
"no"
&&
automake
--version
>
/dev/null 2>&1
;
then
amvers
=
"
`
automake
--version
|
sed
-e
'1s/[^0-9]*//'
-e
q
`
"
amsuff
=
""
fi
if
test
"
${
amvers
}
"
=
"none"
;
then
case
"
${
amvers
}
"
in
-1
.6|16|1.6|1.6.0
*
|
1.6.1
*
)
AUTOMAKESUCKS
=
yes
;;
-1
.5|15|1.5|1.5.
*
)
INSTALLSUCKS
=
yes
;;
no|1.[01234]|1.[01234].
*
|
1[01234]
)
set
+x
echo
"
$0
: you need automake version 1.5 or later"
exit
1
fi
;;
esac
# Check for libtool
libtoolize
=
"no"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment