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
266e3eab
Commit
266e3eab
authored
Nov 29, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppro and mmx optimizations are now enabled by default (K6 users should
buy real processors).
parent
4676ccbc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
11 deletions
+18
-11
configure
configure
+12
-7
configure.in
configure.in
+6
-4
No files found.
configure
View file @
266e3eab
...
...
@@ -3056,19 +3056,22 @@ fi
PLUGINS
=
${
PLUGINS
}
"yuv "
;
OPTIMS
=
1
;
ARCH
=
${
host_cpu
}
# Check whether --enable-ppro or --disable-ppro was given.
if
test
"
${
enable_ppro
+set
}
"
=
set
;
then
enableval
=
"
$enable_ppro
"
if
test
x
$enableval
=
xyes
;
then
ARCH
=
${
ARCH
}
" ppro"
;
fi
else
if
test
x
${
host_cpu
}
=
xi686
;
then
ARCH
=
${
ARCH
}
" ppro"
;
fi
fi
# Check whether --enable-mmx or --disable-mmx was given.
if
test
"
${
enable_mmx
+set
}
"
=
set
;
then
enableval
=
"
$enable_mmx
"
if
test
x
`
echo
$ARCH
|
cut
-b3-4
`
=
x86
;
then if
test
x
$enableval
=
xyes
;
then
ARCH
=
${
ARCH
}
" mmx"
;
PLUGINS
=
${
PLUGINS
}
"yuvmmx "
;
fi
;
fi
else
if
test
x
${
host_cpu
}
=
xi686
-o
x
${
host_cpu
}
=
xi586
;
then
ARCH
=
${
ARCH
}
" mmx"
;
PLUGINS
=
${
PLUGINS
}
"yuvmmx "
;
fi
fi
# Check whether --enable-debug or --disable-debug was given.
...
...
@@ -3087,6 +3090,8 @@ fi
if
test
"
${
enable_optimizations
+set
}
"
=
set
;
then
enableval
=
"
$enable_optimizations
"
if
test
x
$enableval
=
xno
;
then
OPTIMS
=
0
;
fi
else
OPTIMS
=
1
fi
...
...
@@ -3159,17 +3164,17 @@ if test "${enable_alsa+set}" = set; then
enableval
=
"
$enable_alsa
"
if
test
x
$enable_alsa
=
xyes
;
then
ac_safe
=
`
echo
"sys/asoundlib.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for sys/asoundlib.h""...
$ac_c
"
1>&6
echo
"configure:316
3
: checking for sys/asoundlib.h"
>
&5
echo
"configure:316
8
: checking for sys/asoundlib.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 31
68
"configure"
#line 31
73
"configure"
#include "confdefs.h"
#include <sys/asoundlib.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:317
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:317
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3186,7 +3191,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
$ac_n
"checking for main in -lasound""...
$ac_c
"
1>&6
echo
"configure:319
0
: checking for main in -lasound"
>
&5
echo
"configure:319
5
: checking for main in -lasound"
>
&5
ac_lib_var
=
`
echo
asound
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3194,14 +3199,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lasound
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 3
198
"configure"
#line 3
203
"configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if
{
(
eval echo
configure:32
05
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:32
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
configure.in
View file @
266e3eab
...
...
@@ -64,15 +64,16 @@ AC_HEADER_TIME
dnl default plugins
PLUGINS=${PLUGINS}"yuv ";
OPTIMS=1;
ARCH=${host_cpu}
AC_ARG_ENABLE(ppro,
[ --enable-ppro Enable PentiumPro optimizations (default is no)],
[ if test x$enableval = xyes; then ARCH=${ARCH}" ppro"; fi ])
[ if test x$enableval = xyes; then ARCH=${ARCH}" ppro"; fi ],
[ if test x${host_cpu} = xi686; then ARCH=${ARCH}" ppro"; fi ])
AC_ARG_ENABLE(mmx,
[ --enable-mmx Enable MMX optimizations (default is no)],
[ if test x`echo $ARCH | cut -b3-4` = x86 ; then if test x$enableval = xyes; then ARCH=${ARCH}" mmx"; PLUGINS=${PLUGINS}"yuvmmx "; fi; fi ])
[ if test x`echo $ARCH | cut -b3-4` = x86 ; then if test x$enableval = xyes; then ARCH=${ARCH}" mmx"; PLUGINS=${PLUGINS}"yuvmmx "; fi; fi ],
[ if test x${host_cpu} = xi686 -o x${host_cpu} = xi586; then ARCH=${ARCH}" mmx"; PLUGINS=${PLUGINS}"yuvmmx "; fi ] )
AC_ARG_ENABLE(debug,
[ --enable-debug Enable debug mode (default is no)],
[ if test x$enableval = xyes; then DEBUG=1; fi ])
...
...
@@ -81,7 +82,8 @@ AC_ARG_ENABLE(stats,
[ if test x$enableval = xyes; then STATS=1; fi ])
AC_ARG_ENABLE(optimizations,
[ --enable-optimizations Enable compiler optimizations (default enabled)],
[ if test x$enableval = xno; then OPTIMS=0; fi ])
[ if test x$enableval = xno; then OPTIMS=0; fi ],
[ OPTIMS=1 ])
SYS=${host_os}
...
...
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