Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
libmpeg2
Commits
c5b7acd2
Commit
c5b7acd2
authored
Feb 18, 2002
by
Michel Lespinasse
Browse files
more compiler support
parent
d127d68c
Changes
3
Hide whitespace changes
Inline
Side-by-side
mpeg2dec/configure.in
View file @
c5b7acd2
...
...
@@ -61,6 +61,9 @@ elif test x"$CC" = x"tcc" -a x"`$CC -version 2>&1 | grep TenDRA`" != x""; then
enable_mlib=no
no_x=yes
enable_sdl=no
elif test x"$CC" = x"icc" -a x"`$CC -V 2>&1 | grep Intel`" != x""; then
dnl Intel C++ compiler
CFLAGS="-g -O3 -unroll -ip"
else
dnl non-gcc flags - we probably need exact configuration triplets here.
case "$host_alias" in
...
...
mpeg2dec/test/compile
View file @
c5b7acd2
...
...
@@ -25,7 +25,7 @@ basedir=`cd $basedir;pwd`
cd
$builddir
rm
-fr
compile_test
for
compiler
in
gcc gcc272 gcc-3.0 cc
t
cc
;
do
for
compiler
in
gcc gcc272 gcc-3.0 cc
checkergcc tcc i
cc
;
do
compiler_path
=
`
which
$compiler
`
;
if
test
x
"
$compiler_path
"
=
x
""
;
then continue
;
fi
compiler_inode
=
`
ls
-Li
$compiler_path
|awk
'{print $1}'
`
...
...
mpeg2dec/test/globals
View file @
c5b7acd2
...
...
@@ -13,7 +13,7 @@ srcdir=`cd $srcdir;pwd`
builddir
=
`
cd
$builddir
;
pwd
`
bad_globals
=
`
nm
-g
--defined-only
$builddir
/../libmpeg2/
*
.o|
\
awk
'{if ($3) print $3}'
|grep
-v
'^mpeg2_'
`
awk
'{if ($3) print $3}'
|grep
-v
'^
_\?
mpeg2_'
`
if
test
x
"
$bad_globals
"
!=
x
""
;
then
echo
BAD GLOBAL SYMBOLS:
...
...
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