Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-omx
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
27
Issues
27
List
Boards
Labels
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gst-omx
Commits
2dd79f57
Commit
2dd79f57
authored
Apr 07, 2015
by
Tim-Philipp Müller
🐠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update autogen.sh to latest version
parent
f39f71ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
46 deletions
+51
-46
INSTALL
INSTALL
+12
-7
autogen.sh
autogen.sh
+39
-39
No files found.
INSTALL
View file @
2dd79f57
Installation
Instructions
*************************
Copyright
(
C
)
1994
,
1995
,
1996
,
1999
,
2000
,
2001
,
2002
,
2004
,
2005
,
2006
,
2007
,
2008
,
2009
Free
Software
Foundation
,
Inc
.
Copyright
(
C
)
1994
-
1996
,
1999
-
2002
,
2004
-
2013
Free
Software
Foundation
,
Inc
.
Copying
and
distribution
of
this
file
,
with
or
without
modification
,
are
permitted
in
any
medium
without
royalty
provided
the
copyright
...
...
@@ -12,8 +12,8 @@ without warranty of any kind.
Basic
Installation
==================
Briefly
,
the
shell
command
s
`./
configure
;
make
;
make
install
' should
configure, build, and install this package. The following
Briefly
,
the
shell
command
`./
configure
&&
make
&&
make
install
'
should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README'
file
for
instructions
specific
to
this
package
.
Some
packages
provide
this
`
INSTALL
' file but do not implement all of the features documented
...
...
@@ -226,6 +226,11 @@ order to use an ANSI C compiler:
and
if
that
doesn
't work, install pre-built binaries of GCC for HP-UX.
HP-UX `make'
updates
targets
which
have
the
same
time
stamps
as
their
prerequisites
,
which
makes
it
generally
unusable
when
shipped
generated
files
such
as
`
configure
' are involved. Use GNU `make'
instead
.
On
OSF
/
1
a
.
k
.
a
.
Tru64
,
some
versions
of
the
default
C
compiler
cannot
parse
its
`<
wchar
.
h
>
' header file. The option `-nodtk'
can
be
used
as
a
workaround
.
If
GNU
CC
is
not
installed
,
it
is
therefore
recommended
...
...
@@ -304,9 +309,10 @@ causes the specified `gcc' to be used as the C compiler (unless it is
overridden
in
the
site
shell
script
).
Unfortunately
,
this
technique
does
not
work
for
`
CONFIG_SHELL
' due to
an
Autoconf
bug
.
Until
the
bug
is
fixed
you
can
use
this
workaround
:
an Autoconf limitation. Until the limitation is lifted, you can use
this workaround:
CONFIG_SHELL
=/
bin
/
bash
/
bin
/
bash
./
configure
CONFIG_SHELL
=/
bin
/
bash
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure'
Invocation
======================
...
...
@@ -362,4 +368,3 @@ operates.
`configure'
also
accepts
some
other
,
not
widely
useful
,
options
.
Run
`
configure
--
help
' for more details.
autogen.sh
View file @
2dd79f57
#!/bin/sh
#
# gst-omx autogen.sh
#
# Run this to generate all the initial makefiles, etc.
#
# This file has been generated from common/autogen.sh.in via common/update-autogen
test
-n
"
$srcdir
"
||
srcdir
=
`
dirname
"
$0
"
`
test
-n
"
$srcdir
"
||
srcdir
=
.
olddir
=
`
pwd
`
cd
"
$srcdir
"
DIE
=
0
package
=
gst-omx
srcfile
=
omx/gstomx.c
srcfile
=
gst-omx.doap
# Make sure we have common
if
test
!
-f
common/gst-autogen.sh
;
...
...
@@ -29,31 +41,31 @@ then
ln
-s
../../common/hooks/pre-commit.hook .git/hooks/pre-commit
fi
# GNU gettext automake support doesn't get along with git.
# https://bugzilla.gnome.org/show_bug.cgi?id=661128
if
test
-d
po
;
then
touch
-t
200001010000 po/gst-omx-1.0.pot
fi
CONFIGURE_DEF_OPT
=
'--enable-maintainer-mode --enable-gtk-doc'
if
test
"x
$package
"
=
"xgstreamer"
;
then
CONFIGURE_DEF_OPT
=
"
$CONFIGURE_DEF_OPT
--enable-docbook --enable-failing-tests --enable-poisoning"
fi
autogen_options
$@
printf
"+ check for build tools"
if
test
!
-z
"
$NOCHECK
"
;
then
echo
" skipped"
;
else
echo
;
fi
version_check
"autoconf"
"
$AUTOCONF
autoconf autoconf270 autoconf269 autoconf268 autoconf267 autoconf266 autoconf265 autoconf264 autoconf263 autoconf262 autoconf261 autoconf260"
\
"ftp://ftp.gnu.org/pub/gnu/autoconf/"
2 60
||
DIE
=
1
version_check
"automake"
"
$AUTOMAKE
automake automake-1.11 automake-1.10"
\
"ftp://ftp.gnu.org/pub/gnu/automake/"
1 10
||
DIE
=
1
version_check
"libtoolize"
"
$LIBTOOLIZE
libtoolize glibtoolize"
\
"ftp://ftp.gnu.org/pub/gnu/libtool/"
1 5 0
||
DIE
=
1
if
test
!
-z
"
$NOCHECK
"
;
then
echo
": skipped version checks"
;
else
echo
;
fi
version_check
"autoreconf"
"autoreconf "
\
"ftp://ftp.gnu.org/pub/gnu/autoconf/"
2 68
||
DIE
=
1
version_check
"pkg-config"
""
\
"http://www.freedesktop.org/software/pkgconfig"
0 8 0
||
DIE
=
1
die_check
$DIE
aclocal_check
||
DIE
=
1
autoheader_check
||
DIE
=
1
die_check
$DIE
# if no arguments specified then this will be printed
if
test
-z
"
$*
"
;
then
if
test
-z
"
$*
"
&&
test
-z
"
$NOCONFIGURE
"
;
then
echo
"+ checking for autogen.sh options"
echo
" This autogen script will automatically run ./configure as:"
echo
" ./configure
$CONFIGURE_DEF_OPT
"
...
...
@@ -63,29 +75,15 @@ fi
toplevel_check
$srcfile
tool_run
"
$libtoolize
"
"--copy --force"
tool_run
"
$aclocal
"
"-I m4 -I common/m4
$ACLOCAL_FLAGS
"
tool_run
"
$autoheader
"
# touch the stamp-h.in build stamp so we don't re-run autoheader in maintainer mode
echo
timestamp
>
stamp-h.in 2> /dev/null
tool_run
"
$autoconf
"
tool_run
"
$automake
"
"-a -c"
# if enable exists, add an -enable option for each of the lines in that file
if
test
-f
enable
;
then
for
a
in
`
cat enable
`
;
do
CONFIGURE_FILE_OPT
=
"--enable-
$a
"
done
# autopoint
if
test
-d
po
;
then
tool_run
"autopoint"
"--force"
fi
# if disable exists, add an -disable option for each of the lines in that file
if
test
-f
disable
;
then
for
a
in
`
cat
disable
`
;
do
CONFIGURE_FILE_OPT
=
"
$CONFIGURE_FILE_OPT
--disable-
$a
"
done
fi
# aclocal
if
test
-f
acinclude.m4
;
then
rm
acinclude.m4
;
fi
autoreconf
--force
--install
||
exit
1
test
-n
"
$NOCONFIGURE
"
&&
{
echo
"+ skipping configure stage for package
$package
, as requested."
...
...
@@ -93,13 +91,15 @@ test -n "$NOCONFIGURE" && {
exit
0
}
cd
"
$olddir
"
echo
"+ running configure ... "
test
!
-z
"
$CONFIGURE_DEF_OPT
"
&&
echo
" ./configure default flags:
$CONFIGURE_DEF_OPT
"
test
!
-z
"
$CONFIGURE_EXT_OPT
"
&&
echo
" ./configure external flags:
$CONFIGURE_EXT_OPT
"
test
!
-z
"
$CONFIGURE_FILE_OPT
"
&&
echo
" ./configure enable/disable flags:
$CONFIGURE_FILE_OPT
"
test
!
-z
"
$CONFIGURE_DEF_OPT
"
&&
echo
" default flags:
$CONFIGURE_DEF_OPT
"
test
!
-z
"
$CONFIGURE_EXT_OPT
"
&&
echo
" external flags:
$CONFIGURE_EXT_OPT
"
echo
./configure
$CONFIGURE_DEF_OPT
$CONFIGURE_EXT_OPT
$CONFIGURE_FILE_OPT
||
{
echo
"
$srcdir
/configure"
$CONFIGURE_DEF_OPT
$CONFIGURE_EXT_OPT
"
$srcdir
/configure"
$CONFIGURE_DEF_OPT
$CONFIGURE_EXT_OPT
||
{
echo
" configure failed"
exit
1
}
...
...
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