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
ebf1f255
Commit
ebf1f255
authored
Apr 25, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./configure.in: dropped usage of $withval and $enableval in favor of the
safer variants $with_foo and $enable_foo.
parent
4c364385
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
91 deletions
+91
-91
configure
configure
+46
-46
configure.in
configure.in
+45
-45
No files found.
configure
View file @
ebf1f255
...
@@ -5700,8 +5700,8 @@ if test "${with_tuning+set}" = set; then
...
@@ -5700,8 +5700,8 @@ if test "${with_tuning+set}" = set; then
:
:
fi
fi
if
test
"x
$with
val
"
!=
"x"
;
then
if
test
"x
$with
_tuning
"
!=
"x"
;
then
TUNING
=
$withval
TUNING
=
"
$with_tuning
"
else
else
if
test
x
${
target_cpu
}
=
xi686
-o
x
${
target_cpu
}
=
xi586
-o
x
${
target_cpu
}
=
xi486
-o
x
${
target_cpu
}
=
xi386
;
then
TUNING
=
"pentiumpro"
if
test
x
${
target_cpu
}
=
xi686
-o
x
${
target_cpu
}
=
xi586
-o
x
${
target_cpu
}
=
xi486
-o
x
${
target_cpu
}
=
xi386
;
then
TUNING
=
"pentiumpro"
else
else
...
@@ -5718,7 +5718,7 @@ fi
...
@@ -5718,7 +5718,7 @@ fi
# Check whether --enable-optimizations or --disable-optimizations was given.
# Check whether --enable-optimizations or --disable-optimizations was given.
if
test
"
${
enable_optimizations
+set
}
"
=
set
;
then
if
test
"
${
enable_optimizations
+set
}
"
=
set
;
then
enableval
=
"
$enable_optimizations
"
enableval
=
"
$enable_optimizations
"
if
test
x
$enable
val
=
xno
;
then
OPTIMS
=
0
;
fi
if
test
x
$enable
_optimizations
=
xno
;
then
OPTIMS
=
0
;
fi
else
else
OPTIMS
=
1
OPTIMS
=
1
fi
fi
...
@@ -5727,7 +5727,7 @@ fi
...
@@ -5727,7 +5727,7 @@ fi
# Check whether --enable-altivec or --disable-altivec was given.
# Check whether --enable-altivec or --disable-altivec was given.
if
test
"
${
enable_altivec
+set
}
"
=
set
;
then
if
test
"
${
enable_altivec
+set
}
"
=
set
;
then
enableval
=
"
$enable_altivec
"
enableval
=
"
$enable_altivec
"
if
test
x
$enable
val
=
xyes
;
then
ARCH
=
"
${
ARCH
}
altivec"
;
if
test
x
$enable
_altivec
=
xyes
;
then
ARCH
=
"
${
ARCH
}
altivec"
;
BUILTINS
=
"
${
BUILTINS
}
${
ACCEL_MODULES
}
"
;
fi
BUILTINS
=
"
${
BUILTINS
}
${
ACCEL_MODULES
}
"
;
fi
else
else
if
test
x
${
target_cpu
}
=
xpowerpc
;
then
ARCH
=
"
${
ARCH
}
altivec"
;
if
test
x
${
target_cpu
}
=
xpowerpc
;
then
ARCH
=
"
${
ARCH
}
altivec"
;
...
@@ -5739,7 +5739,7 @@ DEBUG=0
...
@@ -5739,7 +5739,7 @@ DEBUG=0
# Check whether --enable-debug or --disable-debug was given.
# Check whether --enable-debug or --disable-debug was given.
if
test
"
${
enable_debug
+set
}
"
=
set
;
then
if
test
"
${
enable_debug
+set
}
"
=
set
;
then
enableval
=
"
$enable_debug
"
enableval
=
"
$enable_debug
"
if
test
x
$enable
val
=
xyes
;
then
DEBUG
=
1
;
fi
if
test
x
$enable
_debug
=
xyes
;
then
DEBUG
=
1
;
fi
fi
fi
...
@@ -5747,7 +5747,7 @@ RELEASE=0
...
@@ -5747,7 +5747,7 @@ RELEASE=0
# Check whether --enable-release or --disable-release was given.
# Check whether --enable-release or --disable-release was given.
if
test
"
${
enable_release
+set
}
"
=
set
;
then
if
test
"
${
enable_release
+set
}
"
=
set
;
then
enableval
=
"
$enable_release
"
enableval
=
"
$enable_release
"
if
test
x
$enable
val
=
xyes
;
then
RELEASE
=
1
;
fi
if
test
x
$enable
_release
=
xyes
;
then
RELEASE
=
1
;
fi
else
else
VERSION
=
"
${
VERSION
}
_
`
date
+%Y-%m-%d
`
"
VERSION
=
"
${
VERSION
}
_
`
date
+%Y-%m-%d
`
"
fi
fi
...
@@ -5767,7 +5767,7 @@ if test "${enable_dvd+set}" = set; then
...
@@ -5767,7 +5767,7 @@ if test "${enable_dvd+set}" = set; then
:
:
fi
fi
if
test
"x
$enable
val
"
!=
"xno"
if
test
"x
$enable
_dvd
"
!=
"xno"
then
then
# Check whether --with-dvdcss or --without-dvdcss was given.
# Check whether --with-dvdcss or --without-dvdcss was given.
if
test
"
${
with_dvdcss
+set
}
"
=
set
;
then
if
test
"
${
with_dvdcss
+set
}
"
=
set
;
then
...
@@ -5885,13 +5885,13 @@ if test "${with_dvdread+set}" = set; then
...
@@ -5885,13 +5885,13 @@ if test "${with_dvdread+set}" = set; then
:
:
fi
fi
if
test
"x
$with
val
"
=
x
if
test
"x
$with
_dvdread
"
=
x
then
then
test_LDFLAGS
=
""
test_LDFLAGS
=
""
test_CFLAGS
=
""
test_CFLAGS
=
""
else
else
test_LDFLAGS
=
"-L
${
with
val
}
/lib"
test_LDFLAGS
=
"-L
${
with
_dvdread
}
/lib"
test_CFLAGS
=
"-I
${
with
val
}
/include"
test_CFLAGS
=
"-I
${
with
_dvdread
}
/include"
fi
fi
CPPFLAGS
=
"
$save_CPPFLAGS
$test_CFLAGS
"
CPPFLAGS
=
"
$save_CPPFLAGS
$test_CFLAGS
"
for
ac_hdr
in
dvdread/dvd_reader.h
for
ac_hdr
in
dvdread/dvd_reader.h
...
@@ -5961,9 +5961,9 @@ else
...
@@ -5961,9 +5961,9 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
if
test
"x
$enable_dvdread
"
!=
x
if
test
"x
$enable_dvdread
"
!=
x
then
then
if
test
"x
$with
val
"
!=
x
if
test
"x
$with
_dvdread
"
!=
x
then
then
{
echo
"configure: error: Cannot find dvdread/dvd_reader.h in
${
with
val
}
/include"
1>&2
;
exit
1
;
}
{
echo
"configure: error: Cannot find dvdread/dvd_reader.h in
${
with
_dvdread
}
/include"
1>&2
;
exit
1
;
}
else
else
{
echo
"configure: error: Cannot find dvdread/dvd_reader.h"
1>&2
;
exit
1
;
}
{
echo
"configure: error: Cannot find dvdread/dvd_reader.h"
1>&2
;
exit
1
;
}
fi
fi
...
@@ -5981,15 +5981,15 @@ if test "${enable_dvbpsi+set}" = set; then
...
@@ -5981,15 +5981,15 @@ if test "${enable_dvbpsi+set}" = set; then
:
:
fi
fi
if
test
"x
$enable_dv
dread
"
!=
"xno"
if
test
"x
$enable_dv
bpsi
"
!=
"xno"
then
then
if
test
"x
$with
val
"
=
x
if
test
"x
$with
_dvbpsi
"
=
x
then
then
test_LDFLAGS
=
""
test_LDFLAGS
=
""
test_CFLAGS
=
""
test_CFLAGS
=
""
else
else
test_LDFLAGS
=
"-L
${
with
val
}
/lib"
test_LDFLAGS
=
"-L
${
with
_dvbpsi
}
/lib"
test_CFLAGS
=
"-I
${
with
val
}
/include"
test_CFLAGS
=
"-I
${
with
_dvbpsi
}
/include"
fi
fi
CPPFLAGS
=
"
$save_CPPFLAGS
$test_CFLAGS
"
CPPFLAGS
=
"
$save_CPPFLAGS
$test_CFLAGS
"
ac_safe
=
`
echo
"dvbpsi/dvbpsi.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"dvbpsi/dvbpsi.h"
|
sed
'y%./+-%__p_%'
`
...
@@ -6165,10 +6165,10 @@ then
...
@@ -6165,10 +6165,10 @@ then
# Check whether --with-mad or --without-mad was given.
# Check whether --with-mad or --without-mad was given.
if
test
"
${
with_mad
+set
}
"
=
set
;
then
if
test
"
${
with_mad
+set
}
"
=
set
;
then
withval
=
"
$with_mad
"
withval
=
"
$with_mad
"
if
test
"x
$with_
val
"
!=
"xno"
-a
"x
$with_val
"
!=
"x"
if
test
"x
$with_
mad
"
!=
"xno"
-a
"x
$with_mad
"
!=
"x"
then
then
mad_CFLAGS
=
"
${
mad_CFLAGS
}
-I
$with_
val
/include"
mad_CFLAGS
=
"
${
mad_CFLAGS
}
-I
$with_
mad
/include"
mad_LDFLAGS
=
"
${
mad_LDFLAGS
}
-L
$with_
val
/lib"
mad_LDFLAGS
=
"
${
mad_LDFLAGS
}
-L
$with_
mad
/lib"
fi
fi
fi
fi
...
@@ -6279,7 +6279,7 @@ if test "${enable_ffmpeg+set}" = set; then
...
@@ -6279,7 +6279,7 @@ if test "${enable_ffmpeg+set}" = set; then
:
:
fi
fi
if
test
"x
$enable
val
"
=
"xyes"
if
test
"x
$enable
_ffmpeg
"
=
"xyes"
then
then
# Check whether --with-ffmpeg-tree or --without-ffmpeg-tree was given.
# Check whether --with-ffmpeg-tree or --without-ffmpeg-tree was given.
if
test
"
${
with_ffmpeg_tree
+set
}
"
=
set
;
then
if
test
"
${
with_ffmpeg_tree
+set
}
"
=
set
;
then
...
@@ -6324,7 +6324,7 @@ if test "${enable_a52+set}" = set; then
...
@@ -6324,7 +6324,7 @@ if test "${enable_a52+set}" = set; then
:
:
fi
fi
if
test
"x
$enable
val
"
!=
"xno"
-a
x
$SYS
!=
xmingw32
if
test
"x
$enable
_a52
"
!=
"xno"
-a
x
$SYS
!=
xmingw32
then
then
for
ac_hdr
in
a52dec/a52.h
for
ac_hdr
in
a52dec/a52.h
do
do
...
@@ -6377,7 +6377,7 @@ if test "${enable_vorbis+set}" = set; then
...
@@ -6377,7 +6377,7 @@ if test "${enable_vorbis+set}" = set; then
:
:
fi
fi
if
test
"x
$enable
val
"
!=
"xno"
if
test
"x
$enable
_vorbis
"
!=
"xno"
then
then
for
ac_hdr
in
ogg/ogg.h
for
ac_hdr
in
ogg/ogg.h
do
do
...
@@ -6616,9 +6616,9 @@ then
...
@@ -6616,9 +6616,9 @@ then
# Check whether --with-sdl-config-path or --without-sdl-config-path was given.
# Check whether --with-sdl-config-path or --without-sdl-config-path was given.
if
test
"
${
with_sdl_config_path
+set
}
"
=
set
;
then
if
test
"
${
with_sdl_config_path
+set
}
"
=
set
;
then
withval
=
"
$with_sdl_config_path
"
withval
=
"
$with_sdl_config_path
"
if
test
"x
$with
va
l
"
!=
"xno"
if
test
"x
$with
_sd
l
"
!=
"xno"
then
then
SDL_PATH
=
$withval
:
$PATH
SDL_PATH
=
"
$with_sdl
:
$PATH
"
fi
fi
fi
fi
...
@@ -6815,7 +6815,7 @@ if test "${enable_directx+set}" = set; then
...
@@ -6815,7 +6815,7 @@ if test "${enable_directx+set}" = set; then
:
:
fi
fi
if
test
"x
$enable
val
"
!=
"xno"
if
test
"x
$enable
_directx
"
!=
"xno"
then
then
if
test
x
$SYS
=
xmingw32
if
test
x
$SYS
=
xmingw32
then
then
...
@@ -6869,17 +6869,17 @@ fi
...
@@ -6869,17 +6869,17 @@ fi
done
done
else
else
echo
$ac_n
"checking for directX headers in
${
with
val
}
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for directX headers in
${
with
_directx
}
""...
$ac_c
"
1>&6
echo
"configure:6874: checking for directX headers in
${
with
val
}
"
>
&5
echo
"configure:6874: checking for directX headers in
${
with
_directx
}
"
>
&5
if
test
-f
${
with
val
}
/ddraw.h
if
test
-f
${
with
_directx
}
/ddraw.h
then
then
PLUGINS
=
"
${
PLUGINS
}
directx"
PLUGINS
=
"
${
PLUGINS
}
directx"
directx_LDFLAGS
=
"
${
directx_LDFLAGS
}
-L
${
with
val
}
/lib -lgdi32"
directx_LDFLAGS
=
"
${
directx_LDFLAGS
}
-L
${
with
_directx
}
/lib -lgdi32"
directx_CFLAGS
=
"
${
directx_CFLAGS
}
-I
${
with
val
}
"
directx_CFLAGS
=
"
${
directx_CFLAGS
}
-I
${
with
_directx
}
"
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: Cannot find
${
with
val
}
/ddraw.h!"
1>&2
;
exit
1
;
}
{
echo
"configure: error: Cannot find
${
with
_directx
}
/ddraw.h!"
1>&2
;
exit
1
;
}
fi
fi
fi
fi
fi
fi
...
@@ -6960,10 +6960,10 @@ then
...
@@ -6960,10 +6960,10 @@ then
# Check whether --with-ggi or --without-ggi was given.
# Check whether --with-ggi or --without-ggi was given.
if
test
"
${
with_ggi
+set
}
"
=
set
;
then
if
test
"
${
with_ggi
+set
}
"
=
set
;
then
withval
=
"
$with_ggi
"
withval
=
"
$with_ggi
"
if
test
"x
$with_
val
"
!=
"xno"
-a
"x
$with_val
"
!=
"x"
if
test
"x
$with_
ggi
"
!=
"xno"
-a
"x
$with_ggi
"
!=
"x"
then
then
CFLAGS_GGI
=
"
${
CFLAGS_GGI
}
-I
$with_
val
/include"
CFLAGS_GGI
=
"
${
CFLAGS_GGI
}
-I
$with_
ggi
/include"
ggi_LDFLAGS
=
"
${
ggi_LDFLAGS
}
-L
$with_
val
/lib"
ggi_LDFLAGS
=
"
${
ggi_LDFLAGS
}
-L
$with_
ggi
/lib"
fi
fi
fi
fi
...
@@ -6983,10 +6983,10 @@ then
...
@@ -6983,10 +6983,10 @@ then
# Check whether --with-glide or --without-glide was given.
# Check whether --with-glide or --without-glide was given.
if
test
"
${
with_glide
+set
}
"
=
set
;
then
if
test
"
${
with_glide
+set
}
"
=
set
;
then
withval
=
"
$with_glide
"
withval
=
"
$with_glide
"
if
test
"x
$with_
val
"
!=
"xno"
-a
"x
$with_val
"
!=
"x"
if
test
"x
$with_
glide
"
!=
"xno"
-a
"x
$with_glide
"
!=
"x"
then
then
glide_CFLAGS
=
"
${
glide_CFLAGS
}
-I
$with_
val
/include"
glide_CFLAGS
=
"
${
glide_CFLAGS
}
-I
$with_
glide
/include"
glide_LDFLAGS
=
"
${
glide_LDFLAGS
}
-L
$with_
val
/lib"
glide_LDFLAGS
=
"
${
glide_LDFLAGS
}
-L
$with_
glide
/lib"
fi
fi
fi
fi
...
@@ -7331,7 +7331,7 @@ if test "${enable_waveout+set}" = set; then
...
@@ -7331,7 +7331,7 @@ if test "${enable_waveout+set}" = set; then
:
:
fi
fi
if
test
"x
$enable
val
"
!=
"xno"
-a
x
$SYS
=
xmingw32
if
test
"x
$enable
_waveout
"
!=
"xno"
-a
x
$SYS
=
xmingw32
then
then
PLUGINS
=
"
${
PLUGINS
}
waveout"
PLUGINS
=
"
${
PLUGINS
}
waveout"
waveout_LDFLAGS
=
"-lwinmm"
waveout_LDFLAGS
=
"-lwinmm"
...
@@ -7357,9 +7357,9 @@ then
...
@@ -7357,9 +7357,9 @@ then
# Check whether --with-gtk-config-path or --without-gtk-config-path was given.
# Check whether --with-gtk-config-path or --without-gtk-config-path was given.
if
test
"
${
with_gtk_config_path
+set
}
"
=
set
;
then
if
test
"
${
with_gtk_config_path
+set
}
"
=
set
;
then
withval
=
"
$with_gtk_config_path
"
withval
=
"
$with_gtk_config_path
"
if
test
"x
$with
val
"
!=
"xno"
if
test
"x
$with
_gtk
"
!=
"xno"
then
then
GTK_PATH
=
$withval
:
$PATH
GTK_PATH
=
"
$with_gtk
:
$PATH
"
fi
fi
fi
fi
...
@@ -7753,7 +7753,7 @@ done
...
@@ -7753,7 +7753,7 @@ done
# Check whether --enable-intfwin or --disable-intfwin was given.
# Check whether --enable-intfwin or --disable-intfwin was given.
if
test
"
${
enable_intfwin
+set
}
"
=
set
;
then
if
test
"
${
enable_intfwin
+set
}
"
=
set
;
then
enableval
=
"
$enable_intfwin
"
enableval
=
"
$enable_intfwin
"
if
test
"x
$enable
val
"
!=
"xno"
if
test
"x
$enable
_intfwin
"
!=
"xno"
then
then
# Check whether --with-bcbuilder or --without-bcbuilder was given.
# Check whether --with-bcbuilder or --without-bcbuilder was given.
if
test
"
${
with_bcbuilder
+set
}
"
=
set
;
then
if
test
"
${
with_bcbuilder
+set
}
"
=
set
;
then
...
@@ -7882,7 +7882,7 @@ if test "${with_words+set}" = set; then
...
@@ -7882,7 +7882,7 @@ if test "${with_words+set}" = set; then
:
:
fi
fi
case
"x
$with
val
"
in
case
"x
$with
_words
"
in
xbig
)
xbig
)
ac_cv_c_bigendian
=
yes
ac_cv_c_bigendian
=
yes
;;
;;
...
@@ -7943,7 +7943,7 @@ GPROF=0
...
@@ -7943,7 +7943,7 @@ GPROF=0
# Check whether --enable-gprof or --disable-gprof was given.
# Check whether --enable-gprof or --disable-gprof was given.
if
test
"
${
enable_gprof
+set
}
"
=
set
;
then
if
test
"
${
enable_gprof
+set
}
"
=
set
;
then
enableval
=
"
$enable_gprof
"
enableval
=
"
$enable_gprof
"
if
test
x
$enableval
=
xyes
;
then
GPROF
=
1
;
fi
if
test
"x
$enable_gprof
"
=
"xyes"
;
then
GPROF
=
1
;
fi
fi
fi
...
@@ -7951,7 +7951,7 @@ CPROF=0
...
@@ -7951,7 +7951,7 @@ CPROF=0
# Check whether --enable-cprof or --disable-cprof was given.
# Check whether --enable-cprof or --disable-cprof was given.
if
test
"
${
enable_cprof
+set
}
"
=
set
;
then
if
test
"
${
enable_cprof
+set
}
"
=
set
;
then
enableval
=
"
$enable_cprof
"
enableval
=
"
$enable_cprof
"
if
test
x
$enableval
=
xyes
;
if
test
"x
$enable_cprof
"
=
"xyes"
;
then
then
LDFLAGS
=
"
${
LDFLAGS
}
-lcprof"
LDFLAGS
=
"
${
LDFLAGS
}
-lcprof"
CPROF
=
1
CPROF
=
1
...
@@ -7963,7 +7963,7 @@ fi
...
@@ -7963,7 +7963,7 @@ fi
# Check whether --enable-pth or --disable-pth was given.
# Check whether --enable-pth or --disable-pth was given.
if
test
"
${
enable_pth
+set
}
"
=
set
;
then
if
test
"
${
enable_pth
+set
}
"
=
set
;
then
enableval
=
"
$enable_pth
"
enableval
=
"
$enable_pth
"
if
test
x
$enableval
=
xyes
;
then
if
test
"x
$enable_pth
"
=
"xyes"
;
then
echo
$ac_n
"checking for pth_init in -lpth""...
$ac_c
"
1>&6
echo
$ac_n
"checking for pth_init in -lpth""...
$ac_c
"
1>&6
echo
"configure:7969: checking for pth_init in -lpth"
>
&5
echo
"configure:7969: checking for pth_init in -lpth"
>
&5
ac_lib_var
=
`
echo
pth
'_'
pth_init |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
pth
'_'
pth_init |
sed
'y%./+-%__p_%'
`
...
@@ -8036,7 +8036,7 @@ fi
...
@@ -8036,7 +8036,7 @@ fi
# Check whether --enable-st or --disable-st was given.
# Check whether --enable-st or --disable-st was given.
if
test
"
${
enable_st
+set
}
"
=
set
;
then
if
test
"
${
enable_st
+set
}
"
=
set
;
then
enableval
=
"
$enable_st
"
enableval
=
"
$enable_st
"
if
test
x
$enableval
=
xyes
;
then
if
test
"x
$enable_st
"
=
"xyes"
;
then
echo
$ac_n
"checking for st_init in -lst""...
$ac_c
"
1>&6
echo
$ac_n
"checking for st_init in -lst""...
$ac_c
"
1>&6
echo
"configure:8042: checking for st_init in -lst"
>
&5
echo
"configure:8042: checking for st_init in -lst"
>
&5
ac_lib_var
=
`
echo
st
'_'
st_init |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
st
'_'
st_init |
sed
'y%./+-%__p_%'
`
...
...
configure.in
View file @
ebf1f255
...
@@ -510,8 +510,8 @@ dnl
...
@@ -510,8 +510,8 @@ dnl
AC_ARG_WITH(tuning,
AC_ARG_WITH(tuning,
[ --with-tuning=ARCH enable special tuning for an architecture
[ --with-tuning=ARCH enable special tuning for an architecture
(default i686 on IA-32 and 750 on PPC)])
(default i686 on IA-32 and 750 on PPC)])
if test "x$with
val
" != "x"; then
if test "x$with
_tuning
" != "x"; then
TUNING=
$withval
TUNING=
"$with_tuning"
else
else
if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xi486 -o x${target_cpu} = xi386; then TUNING="pentiumpro"
if test x${target_cpu} = xi686 -o x${target_cpu} = xi586 -o x${target_cpu} = xi486 -o x${target_cpu} = xi386; then TUNING="pentiumpro"
else
else
...
@@ -533,7 +533,7 @@ dnl Enable/disable optimizations
...
@@ -533,7 +533,7 @@ dnl Enable/disable optimizations
dnl
dnl
AC_ARG_ENABLE(optimizations,
AC_ARG_ENABLE(optimizations,
[ --disable-optimizations disable compiler optimizations (default enabled)],
[ --disable-optimizations disable compiler optimizations (default enabled)],
[ if test x$enable
val
= xno; then OPTIMS=0; fi ],
[ if test x$enable
_optimizations
= xno; then OPTIMS=0; fi ],
[ OPTIMS=1 ])
[ OPTIMS=1 ])
dnl
dnl
...
@@ -541,7 +541,7 @@ dnl AltiVec acceleration
...
@@ -541,7 +541,7 @@ dnl AltiVec acceleration
dnl
dnl
AC_ARG_ENABLE(altivec,
AC_ARG_ENABLE(altivec,
[ --disable-altivec disable altivec optimizations (default enabled on PPC)],
[ --disable-altivec disable altivec optimizations (default enabled on PPC)],
[ if test x$enable
val
= xyes; then ARCH="${ARCH} altivec";
[ if test x$enable
_altivec
= xyes; then ARCH="${ARCH} altivec";
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ],
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ],
[ if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
[ if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ])
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ])
...
@@ -552,7 +552,7 @@ dnl
...
@@ -552,7 +552,7 @@ dnl
DEBUG=0
DEBUG=0
AC_ARG_ENABLE(debug,
AC_ARG_ENABLE(debug,
[ --enable-debug debug mode (default disabled)],
[ --enable-debug debug mode (default disabled)],
[ if test x$enable
val
= xyes; then DEBUG=1; fi ])
[ if test x$enable
_debug
= xyes; then DEBUG=1; fi ])
dnl
dnl
dnl Enable release-specific flags
dnl Enable release-specific flags
...
@@ -560,7 +560,7 @@ dnl
...
@@ -560,7 +560,7 @@ dnl
RELEASE=0
RELEASE=0
AC_ARG_ENABLE(release,
AC_ARG_ENABLE(release,
[ --enable-release activate extra optimizations (default disabled)],
[ --enable-release activate extra optimizations (default disabled)],
[ if test x$enable
val
= xyes; then RELEASE=1; fi ],
[ if test x$enable
_release
= xyes; then RELEASE=1; fi ],
[ VERSION="${VERSION}_`date +%Y-%m-%d`" ])
[ VERSION="${VERSION}_`date +%Y-%m-%d`" ])
dnl
dnl
...
@@ -574,7 +574,7 @@ dnl DVD module: optionally check for installed libdvdcss
...
@@ -574,7 +574,7 @@ dnl DVD module: optionally check for installed libdvdcss
dnl
dnl
AC_ARG_ENABLE(dvd,
AC_ARG_ENABLE(dvd,
[ --enable-dvd DVD input module (default enabled)])
[ --enable-dvd DVD input module (default enabled)])
if test "x$enable
val
" != "xno"
if test "x$enable
_dvd
" != "xno"
then
then
AC_ARG_WITH(dvdcss,
AC_ARG_WITH(dvdcss,
[ --with-dvdcss=PATH libdvdcss headers and libraries])
[ --with-dvdcss=PATH libdvdcss headers and libraries])
...
@@ -645,13 +645,13 @@ if test "x$enable_dvdread" != "xno"
...
@@ -645,13 +645,13 @@ if test "x$enable_dvdread" != "xno"
then
then
AC_ARG_WITH(dvdread,
AC_ARG_WITH(dvdread,
[ --with-dvdread=PATH libdvdread headers and libraries])
[ --with-dvdread=PATH libdvdread headers and libraries])
if test "x$with
val
" = x
if test "x$with
_dvdread
" = x
then
then
test_LDFLAGS=""
test_LDFLAGS=""
test_CFLAGS=""
test_CFLAGS=""
else
else
test_LDFLAGS="-L${with
val
}/lib"
test_LDFLAGS="-L${with
_dvdread
}/lib"
test_CFLAGS="-I${with
val
}/include"
test_CFLAGS="-I${with
_dvdread
}/include"
fi
fi
CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
AC_CHECK_HEADERS(dvdread/dvd_reader.h, [
AC_CHECK_HEADERS(dvdread/dvd_reader.h, [
...
@@ -669,9 +669,9 @@ then
...
@@ -669,9 +669,9 @@ then
],[
],[
if test "x$enable_dvdread" != x
if test "x$enable_dvdread" != x
then
then
if test "x$with
val
" != x
if test "x$with
_dvdread
" != x
then
then
AC_MSG_ERROR([Cannot find dvdread/dvd_reader.h in ${with
val
}/include])
AC_MSG_ERROR([Cannot find dvdread/dvd_reader.h in ${with
_dvdread
}/include])
else
else
AC_MSG_ERROR([Cannot find dvdread/dvd_reader.h])
AC_MSG_ERROR([Cannot find dvdread/dvd_reader.h])
fi
fi
...
@@ -685,15 +685,15 @@ dnl libdvbpsi ts demux
...
@@ -685,15 +685,15 @@ dnl libdvbpsi ts demux
dnl
dnl
AC_ARG_ENABLE(dvbpsi,
AC_ARG_ENABLE(dvbpsi,
[ --enable-dvbpsi dvbpsi ts demux module (default disabled)])
[ --enable-dvbpsi dvbpsi ts demux module (default disabled)])
if test "x$enable_dv
dread
" != "xno"
if test "x$enable_dv
bpsi
" != "xno"
then
then
if test "x$with
val
" = x
if test "x$with
_dvbpsi
" = x
then
then
test_LDFLAGS=""
test_LDFLAGS=""
test_CFLAGS=""
test_CFLAGS=""
else
else
test_LDFLAGS="-L${with
val
}/lib"
test_LDFLAGS="-L${with
_dvbpsi
}/lib"
test_CFLAGS="-I${with
val
}/include"
test_CFLAGS="-I${with
_dvbpsi
}/include"
fi
fi
CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
AC_CHECK_HEADER([dvbpsi/dvbpsi.h],[
AC_CHECK_HEADER([dvbpsi/dvbpsi.h],[
...
@@ -775,10 +775,10 @@ then
...
@@ -775,10 +775,10 @@ then
mad_LDFLAGS="${mad_LDFLAGS} -lmad"
mad_LDFLAGS="${mad_LDFLAGS} -lmad"
AC_ARG_WITH(mad,
AC_ARG_WITH(mad,
[ --with-mad=PATH path to libmad],
[ --with-mad=PATH path to libmad],
[ if test "x$with_
val" != "xno" -a "x$with_val
" != "x"
[ if test "x$with_
mad" != "xno" -a "x$with_mad
" != "x"
then
then
mad_CFLAGS="${mad_CFLAGS} -I$with_
val
/include"
mad_CFLAGS="${mad_CFLAGS} -I$with_
mad
/include"
mad_LDFLAGS="${mad_LDFLAGS} -L$with_
val
/lib"
mad_LDFLAGS="${mad_LDFLAGS} -L$with_
mad
/lib"
fi ])
fi ])
save_CFLAGS=$CFLAGS
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
save_LDFLAGS=$LDFLAGS
...
@@ -801,7 +801,7 @@ dnl ffmpeg decoder plugin
...
@@ -801,7 +801,7 @@ dnl ffmpeg decoder plugin
dnl
dnl
AC_ARG_ENABLE(ffmpeg,
AC_ARG_ENABLE(ffmpeg,
[ --enable-ffmpeg ffmpeg codec (default disabled)])
[ --enable-ffmpeg ffmpeg codec (default disabled)])
if test "x$enable
val
" = "xyes"
if test "x$enable
_ffmpeg
" = "xyes"
then
then
AC_ARG_WITH(ffmpeg-tree,
AC_ARG_WITH(ffmpeg-tree,
[ --with-ffmpeg-tree=PATH ffmpeg tree for static linking])
[ --with-ffmpeg-tree=PATH ffmpeg tree for static linking])
...
@@ -844,7 +844,7 @@ dnl a52 AC3 decoder plugin
...
@@ -844,7 +844,7 @@ dnl a52 AC3 decoder plugin
dnl
dnl
AC_ARG_ENABLE(a52,
AC_ARG_ENABLE(a52,
[ --enable-a52 AC3 support with liba52 (default enabled)])
[ --enable-a52 AC3 support with liba52 (default enabled)])
if test "x$enable
val
" != "xno" -a x$SYS != xmingw32
if test "x$enable
_a52
" != "xno" -a x$SYS != xmingw32
then
then
AC_CHECK_HEADERS(a52dec/a52.h, [
AC_CHECK_HEADERS(a52dec/a52.h, [
BUILTINS="${BUILTINS} a52"
BUILTINS="${BUILTINS} a52"
...
@@ -857,7 +857,7 @@ dnl ogg vorbis plugin
...
@@ -857,7 +857,7 @@ dnl ogg vorbis plugin
dnl
dnl
AC_ARG_ENABLE(vorbis,
AC_ARG_ENABLE(vorbis,
[ --enable-vorbis Ogg/Vorbis decoder support (default enabled)])
[ --enable-vorbis Ogg/Vorbis decoder support (default enabled)])
if test "x$enable
val
" != "xno"
if test "x$enable
_vorbis
" != "xno"
then
then
AC_CHECK_HEADERS(ogg/ogg.h, [
AC_CHECK_HEADERS(ogg/ogg.h, [
dnl disabled for the moment
dnl disabled for the moment
...
@@ -938,9 +938,9 @@ then
...
@@ -938,9 +938,9 @@ then
SDL_PATH=$PATH
SDL_PATH=$PATH
AC_ARG_WITH(sdl-config-path,
AC_ARG_WITH(sdl-config-path,
[ --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)],
[ --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)],
[ if test "x$with
va
l" != "xno"
[ if test "x$with
_sd
l" != "xno"
then
then
SDL_PATH=
$withval:$PATH
SDL_PATH=
"$with_sdl:$PATH"
fi ])
fi ])
AC_PATH_PROG(SDL12_CONFIG, sdl12-config, no, $SDL_PATH)
AC_PATH_PROG(SDL12_CONFIG, sdl12-config, no, $SDL_PATH)
SDL_CONFIG=${SDL12_CONFIG}
SDL_CONFIG=${SDL12_CONFIG}
...
@@ -988,7 +988,7 @@ dnl Windows DirectX module
...
@@ -988,7 +988,7 @@ dnl Windows DirectX module
dnl
dnl
AC_ARG_ENABLE(directx,
AC_ARG_ENABLE(directx,
[ --enable-directx Win32 DirectX support (default enabled on Win32)])
[ --enable-directx Win32 DirectX support (default enabled on Win32)])
if test "x$enable
val
" != "xno"
if test "x$enable
_directx
" != "xno"
then
then
if test x$SYS = xmingw32
if test x$SYS = xmingw32
then
then
...
@@ -1000,16 +1000,16 @@ then
...
@@ -1000,16 +1000,16 @@ then
[ PLUGINS="${PLUGINS} directx"
[ PLUGINS="${PLUGINS} directx"
directx_LDFLAGS="${directx_LDFLAGS} -lgdi32" ])
directx_LDFLAGS="${directx_LDFLAGS} -lgdi32" ])
else
else
AC_MSG_CHECKING(for directX headers in ${with
val
})
AC_MSG_CHECKING(for directX headers in ${with
_directx
})
if test -f ${with
val
}/ddraw.h
if test -f ${with
_directx
}/ddraw.h
then
then
PLUGINS="${PLUGINS} directx"
PLUGINS="${PLUGINS} directx"
directx_LDFLAGS="${directx_LDFLAGS} -L${with
val
}/lib -lgdi32"
directx_LDFLAGS="${directx_LDFLAGS} -L${with
_directx
}/lib -lgdi32"
directx_CFLAGS="${directx_CFLAGS} -I${with
val
}"
directx_CFLAGS="${directx_CFLAGS} -I${with
_directx
}"
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)
else
else
AC_MSG_RESULT(no)
AC_MSG_RESULT(no)
AC_MSG_ERROR([Cannot find ${with
val
}/ddraw.h!])
AC_MSG_ERROR([Cannot find ${with
_directx
}/ddraw.h!])
fi
fi
fi
fi
fi
fi
...
@@ -1048,10 +1048,10 @@ then
...
@@ -1048,10 +1048,10 @@ then
ggi_LDFLAGS="${ggi_LDFLAGS} -lggi"
ggi_LDFLAGS="${ggi_LDFLAGS} -lggi"
AC_ARG_WITH(ggi,
AC_ARG_WITH(ggi,
[ --with-ggi=PATH path to libggi],
[ --with-ggi=PATH path to libggi],
[ if test "x$with_
val" != "xno" -a "x$with_val
" != "x"
[ if test "x$with_
ggi" != "xno" -a "x$with_ggi
" != "x"
then
then
CFLAGS_GGI="${CFLAGS_GGI} -I$with_
val
/include"
CFLAGS_GGI="${CFLAGS_GGI} -I$with_
ggi
/include"
ggi_LDFLAGS="${ggi_LDFLAGS} -L$with_
val
/lib"
ggi_LDFLAGS="${ggi_LDFLAGS} -L$with_
ggi
/lib"
fi ])
fi ])
fi
fi
...
@@ -1067,10 +1067,10 @@ then
...
@@ -1067,10 +1067,10 @@ then
glide_CFLAGS="${glide_CFLAGS} -I/usr/include/glide"
glide_CFLAGS="${glide_CFLAGS} -I/usr/include/glide"
AC_ARG_WITH(glide,
AC_ARG_WITH(glide,
[ --with-glide=PATH path to libglide],
[ --with-glide=PATH path to libglide],
[ if test "x$with_
val" != "xno" -a "x$with_val
" != "x"
[ if test "x$with_
glide" != "xno" -a "x$with_glide
" != "x"
then
then
glide_CFLAGS="${glide_CFLAGS} -I$with_
val
/include"
glide_CFLAGS="${glide_CFLAGS} -I$with_
glide
/include"
glide_LDFLAGS="${glide_LDFLAGS} -L$with_
val
/lib"
glide_LDFLAGS="${glide_LDFLAGS} -L$with_
glide
/lib"
fi ])
fi ])
fi
fi
...
@@ -1162,7 +1162,7 @@ dnl win32 waveOut plugin
...
@@ -1162,7 +1162,7 @@ dnl win32 waveOut plugin
dnl
dnl
AC_ARG_ENABLE(waveout,
AC_ARG_ENABLE(waveout,
[ --enable-waveout Win32 waveOut module (default enabled on Win32)])
[ --enable-waveout Win32 waveOut module (default enabled on Win32)])
if test "x$enable
val
" != "xno" -a x$SYS = xmingw32
if test "x$enable
_waveout
" != "xno" -a x$SYS = xmingw32
then
then
PLUGINS="${PLUGINS} waveout"
PLUGINS="${PLUGINS} waveout"
waveout_LDFLAGS="-lwinmm"
waveout_LDFLAGS="-lwinmm"
...
@@ -1184,9 +1184,9 @@ then
...
@@ -1184,9 +1184,9 @@ then
GTK_PATH=$PATH
GTK_PATH=$PATH
AC_ARG_WITH(gtk-config-path,
AC_ARG_WITH(gtk-config-path,
[ --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)],
[ --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)],
[ if test "x$with
val
" != "xno"
[ if test "x$with
_gtk
" != "xno"
then
then
GTK_PATH=
$withval:$PATH
GTK_PATH=
"$with_gtk:$PATH"
fi ])
fi ])
# look for gtk-config
# look for gtk-config
AC_PATH_PROG(GTK12_CONFIG, gtk12-config, no, $GTK_PATH)
AC_PATH_PROG(GTK12_CONFIG, gtk12-config, no, $GTK_PATH)
...
@@ -1318,7 +1318,7 @@ dnl Windows native interface module, built with Borland C++ Builder
...
@@ -1318,7 +1318,7 @@ dnl Windows native interface module, built with Borland C++ Builder
dnl
dnl
AC_ARG_ENABLE(intfwin,
AC_ARG_ENABLE(intfwin,
[ --enable-intfwin Win32 interface support (default disabled)],
[ --enable-intfwin Win32 interface support (default disabled)],
[ if test "x$enable
val
" != "xno"
[ if test "x$enable
_intfwin
" != "xno"
then
then
AC_ARG_WITH(bcbuilder,
AC_ARG_WITH(bcbuilder,
[ --with-bcbuilder=PATH Borland C++ Builder installation path])
[ --with-bcbuilder=PATH Borland C++ Builder installation path])
...
@@ -1364,7 +1364,7 @@ dnl --with-words=big or --with-words=little ; otherwise, try to guess
...
@@ -1364,7 +1364,7 @@ dnl --with-words=big or --with-words=little ; otherwise, try to guess
dnl
dnl
AC_ARG_WITH(words,
AC_ARG_WITH(words,
[ --with-words=endianness set endianness (big or little)])
[ --with-words=endianness set endianness (big or little)])
case "x$with
val
" in
case "x$with
_words
" in
xbig)
xbig)
ac_cv_c_bigendian=yes
ac_cv_c_bigendian=yes
;;
;;
...
@@ -1421,12 +1421,12 @@ dnl
...
@@ -1421,12 +1421,12 @@ dnl
GPROF=0
GPROF=0
AC_ARG_ENABLE(gprof,
AC_ARG_ENABLE(gprof,
[ --enable-gprof gprof profiling (default disabled)],
[ --enable-gprof gprof profiling (default disabled)],
[ if test
x$enableval = xyes
; then GPROF=1; fi ])
[ if test
"x$enable_gprof" = "xyes"
; then GPROF=1; fi ])
CPROF=0
CPROF=0
AC_ARG_ENABLE(cprof,
AC_ARG_ENABLE(cprof,
[ --enable-cprof cprof profiling (default disabled)],
[ --enable-cprof cprof profiling (default disabled)],
[ if test
x$enableval = xyes
;
[ if test
"x$enable_cprof" = "xyes"
;
then
then
LDFLAGS="${LDFLAGS} -lcprof"
LDFLAGS="${LDFLAGS} -lcprof"
CPROF=1
CPROF=1
...
@@ -1438,7 +1438,7 @@ dnl GNU portable threads
...
@@ -1438,7 +1438,7 @@ dnl GNU portable threads
dnl
dnl
AC_ARG_ENABLE(pth,
AC_ARG_ENABLE(pth,
[ --enable-pth GNU Pth support (default disabled)],
[ --enable-pth GNU Pth support (default disabled)],
[ if test
x$enableval = xyes
; then
[ if test
"x$enable_pth" = "xyes"
; then
AC_CHECK_LIB(pth,pth_init)
AC_CHECK_LIB(pth,pth_init)
AC_EGREP_HEADER(pth_init,pth.h,[
AC_EGREP_HEADER(pth_init,pth.h,[
AC_DEFINE(PTH_INIT_IN_PTH_H, 1,
AC_DEFINE(PTH_INIT_IN_PTH_H, 1,
...
@@ -1452,7 +1452,7 @@ dnl State Threads
...
@@ -1452,7 +1452,7 @@ dnl State Threads
dnl
dnl
AC_ARG_ENABLE(st,
AC_ARG_ENABLE(st,
[ --enable-st State Threads (default disabled)],
[ --enable-st State Threads (default disabled)],
[ if test
x$enableval = xyes
; then
[ if test
"x$enable_st" = "xyes"
; then
AC_CHECK_LIB(st,st_init)
AC_CHECK_LIB(st,st_init)
AC_EGREP_HEADER(st_init,st.h,[
AC_EGREP_HEADER(st_init,st.h,[
AC_DEFINE(ST_INIT_IN_ST_H, 1,
AC_DEFINE(ST_INIT_IN_ST_H, 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