Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
a620ded0
Commit
a620ded0
authored
Nov 06, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* bootstrap: imported libdvdcss's bootstrap file.
parent
a8e08ab1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
37 deletions
+53
-37
bootstrap
bootstrap
+53
-37
No files found.
bootstrap
View file @
a620ded0
#! /bin/sh
#! /bin/sh
## bootstrap file for libdvbpsi -- Sam Hocevar <sam@zoy.org>
## $Id: bootstrap,v 1.5 2003/11/06 10:13:40 sam Exp $
set
-x
set
-x
set
-e
rm
-f
aclocal.m4 configure config.guess config.log config.sub ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh
# Get a sane environment, just in case
LANG
=
C
export
LANG
CYGWIN
=
binmode
export
CYGWIN
# Check for automake
# Check for automake
amvers
=
"none"
amvers
=
"no"
if
automake-1.7
--version
>
/dev/null 2>&1
if
automake-1.7
--version
>
/dev/null 2>&1
;
then
then
amvers
=
"-1.7"
amvers
=
"-1.7"
else
elif
automake-1.6
--version
>
/dev/null 2>&1
;
then
if
automake-1.6
--version
>
/dev/null 2>&1
amvers
=
"-1.6"
then
elif
automake-1.5
--version
>
/dev/null 2>&1
;
then
amvers
=
"-1.6"
amvers
=
"-1.5"
elif
automake
--version
>
/dev/null 2>&1
;
then
amvers
=
"
`
automake
--version
|
sed
-e
'1s/[^0-9]*//'
-e
q
`
"
if
expr
"
$amvers
"
"<"
"1.5"
>
/dev/null 2>&1
;
then
amvers
=
"no"
else
else
if
automake-1.5
--version
>
/dev/null 2>&1
amvers
=
""
then
amvers
=
"-1.5"
else
if
automake
--version
>
/dev/null 2>&1
then
amvers
=
`
automake
--version
|
sed
-e
'1s/[^0-9]*//'
-e
q
`
if
expr
"
$amvers
"
"<"
"1.5"
>
/dev/null 2>&1
then
amvers
=
"none"
else
amvers
=
""
fi
fi
fi
fi
fi
fi
fi
if
test
x
$amvers
=
xnone
if
test
"
$amvers
"
=
"no"
;
then
then
set
+x
echo
"
$0
: you need automake version 1.5 or later"
exit
1
fi
# Check for libtool
libtoolize
=
"no"
if
libtoolize
--version
>
/dev/null 2>&1
;
then
libtoolize
=
"libtoolize"
elif
glibtoolize
--version
>
/dev/null 2>&1
;
then
libtoolize
=
"glibtoolize"
fi
if
test
"
$libtoolize
"
=
"no"
;
then
set
+x
set
+x
echo
"
you need automake version 1.5 or later
"
echo
"
$0
: you need libtool
"
exit
1
exit
1
fi
fi
aclocal
${
amvers
}
||
exit
1
# Remove old cruft
if
libtoolize
--version
>
/dev/null 2>&1
rm
-f
aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh
then
rm
-Rf
autom4te.cache
libtoolize
--force
--copy
||
exit
1
(
cd
autotools
&&
rm
-f
config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh
)
else
glibtoolize
--force
--copy
||
exit
1
aclocal
${
amvers
}
${
libtoolize
}
--copy
--force
if
test
-f
"ltmain.sh"
;
then
echo
"
$0
: working around a minor libtool issue"
mv
ltmain.sh autotools/
fi
fi
autoheader
||
exit
1
#add --include-deps if you want to bootstrap with any other compiler than gcc
autoconf
#automake${amvers} --add-missing --copy --include-deps || exit 1
autoheader
automake
${
amvers
}
--add-missing
--copy
||
exit
1
automake
${
amvers
}
--add-missing
--copy
autoconf
||
exit
1
rm
-f
config.cache
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