Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
cba6a24e
Commit
cba6a24e
authored
Feb 21, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./configure.in: gtk*-config detection fix for FreeBSD.
parent
8cc8d957
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
102 additions
and
56 deletions
+102
-56
configure
configure
+81
-40
configure.in
configure.in
+21
-16
No files found.
configure
View file @
cba6a24e
...
@@ -7512,10 +7512,49 @@ if test "${with_gtk_config_path+set}" = set; then
...
@@ -7512,10 +7512,49 @@ if test "${with_gtk_config_path+set}" = set; then
fi
fi
# look for gtk-config
# look for gtk-config
# Extract the first word of "gtk-config", so it can be a program name with args.
# Extract the first word of "gtk
12
-config", so it can be a program name with args.
set
dummy gtk-config
;
ac_word
=
$2
set
dummy gtk
12
-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7519: checking for
$ac_word
"
>
&5
echo
"configure:7519: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_GTK12_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
case
"
$GTK12_CONFIG
"
in
/
*
)
ac_cv_path_GTK12_CONFIG
=
"
$GTK12_CONFIG
"
# Let the user override the test with a path.
;;
?:/
*
)
ac_cv_path_GTK12_CONFIG
=
"
$GTK12_CONFIG
"
# Let the user override the test with a dos path.
;;
*
)
IFS
=
"
${
IFS
=
}
"
;
ac_save_ifs
=
"
$IFS
"
;
IFS
=
":"
ac_dummy
=
"
$GTK_PATH
"
for
ac_dir
in
$ac_dummy
;
do
test
-z
"
$ac_dir
"
&&
ac_dir
=
.
if
test
-f
$ac_dir
/
$ac_word
;
then
ac_cv_path_GTK12_CONFIG
=
"
$ac_dir
/
$ac_word
"
break
fi
done
IFS
=
"
$ac_save_ifs
"
test
-z
"
$ac_cv_path_GTK12_CONFIG
"
&&
ac_cv_path_GTK12_CONFIG
=
"no"
;;
esac
fi
GTK12_CONFIG
=
"
$ac_cv_path_GTK12_CONFIG
"
if
test
-n
"
$GTK12_CONFIG
"
;
then
echo
"
$ac_t
""
$GTK12_CONFIG
"
1>&6
else
echo
"
$ac_t
""no"
1>&6
fi
GTK_CONFIG
=
${
GTK12_CONFIG
}
if
test
x
${
GTK_CONFIG
}
=
xno
then
# Extract the first word of "gtk-config", so it can be a program name with args.
set
dummy gtk-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:7558: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_GTK_CONFIG
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_GTK_CONFIG
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
...
@@ -7548,7 +7587,8 @@ else
...
@@ -7548,7 +7587,8 @@ else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
fi
fi
if
test
-x
${
GTK_CONFIG
}
fi
if
test
x
${
GTK_CONFIG
}
!=
xno
then
then
if
expr
1.2.0
\>
`
$GTK_CONFIG
--version
`
>
/dev/null
if
expr
1.2.0
\>
`
$GTK_CONFIG
--version
`
>
/dev/null
then
then
...
@@ -7556,26 +7596,25 @@ fi
...
@@ -7556,26 +7596,25 @@ fi
fi
fi
CFLAGS_GTK
=
"
${
CFLAGS_GTK
}
`
${
GTK_CONFIG
}
--cflags
gtk
`
"
CFLAGS_GTK
=
"
${
CFLAGS_GTK
}
`
${
GTK_CONFIG
}
--cflags
gtk
`
"
LIB_GTK
=
"
${
LIB_GTK
}
`
${
GTK_CONFIG
}
--libs
gtk |
sed
's,-rdynamic,,'
`
"
LIB_GTK
=
"
${
LIB_GTK
}
`
${
GTK_CONFIG
}
--libs
gtk |
sed
's,-rdynamic,,'
`
"
fi
# now look for the gtk.h header
# now look for the gtk.h header
saved_CPPFLAGS
=
$CPPFLAGS
saved_CPPFLAGS
=
$CPPFLAGS
CPPFLAGS
=
"
$CPPFLAGS
$CFLAGS_GTK
"
CPPFLAGS
=
"
$CPPFLAGS
$CFLAGS_GTK
"
ac_cv_gtk_headers
=
yes
ac_cv_gtk_headers
=
yes
for
ac_hdr
in
gtk/gtk.h glib.h gdk/gdk.h
for
ac_hdr
in
gtk/gtk.h glib.h gdk/gdk.h
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:7
569
: checking for
$ac_hdr
"
>
&5
echo
"configure:7
608
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
574
"configure"
#line 7
613
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:7
579
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
618
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -7599,17 +7638,18 @@ EOF
...
@@ -7599,17 +7638,18 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
ac_cv_gtk_headers
=
no
ac_cv_gtk_headers
=
no
echo
"Cannot find gtk development headers."
echo
"Cannot find gtk development headers."
fi
fi
done
done
if
test
"x
$ac_cv_gtk_headers
"
=
xyes
if
test
"x
$ac_cv_gtk_headers
"
=
xyes
then
then
PLUGINS
=
"
${
PLUGINS
}
gtk"
PLUGINS
=
"
${
PLUGINS
}
gtk"
ALIASES
=
"
${
ALIASES
}
gvlc"
ALIASES
=
"
${
ALIASES
}
gvlc"
fi
CPPFLAGS
=
$saved_CPPFLAGS
fi
fi
CPPFLAGS
=
$saved_CPPFLAGS
fi
fi
# Check whether --enable-x11 or --disable-x11 was given.
# Check whether --enable-x11 or --disable-x11 was given.
...
@@ -7632,17 +7672,17 @@ if test x$enable_x11 != xno &&
...
@@ -7632,17 +7672,17 @@ if test x$enable_x11 != xno &&
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:76
3
6: checking for
$ac_hdr
"
>
&5
echo
"configure:76
7
6: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 76
4
1 "configure"
#line 76
8
1 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:76
4
6:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:76
8
6:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -7695,17 +7735,17 @@ if test x$enable_xvideo != xno &&
...
@@ -7695,17 +7735,17 @@ if test x$enable_xvideo != xno &&
do
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:7
69
9: checking for
$ac_hdr
"
>
&5
echo
"configure:7
73
9: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 77
0
4 "configure"
#line 77
4
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <
$ac_hdr
>
#include <
$ac_hdr
>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:77
0
9:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:77
4
9:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -7729,7 +7769,7 @@ EOF
...
@@ -7729,7 +7769,7 @@ EOF
saved_CFLAGS
=
$CFLAGS
saved_CFLAGS
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-L
$x_libraries
-lX11 -lXext"
CFLAGS
=
"
$CFLAGS
-L
$x_libraries
-lX11 -lXext"
echo
$ac_n
"checking for XvSetPortAttribute in -lXv_pic""...
$ac_c
"
1>&6
echo
$ac_n
"checking for XvSetPortAttribute in -lXv_pic""...
$ac_c
"
1>&6
echo
"configure:77
3
3: checking for XvSetPortAttribute in -lXv_pic"
>
&5
echo
"configure:77
7
3: checking for XvSetPortAttribute in -lXv_pic"
>
&5
ac_lib_var
=
`
echo
Xv_pic
'_'
XvSetPortAttribute |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
Xv_pic
'_'
XvSetPortAttribute |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -7737,7 +7777,7 @@ else
...
@@ -7737,7 +7777,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXv_pic
$LIBS
"
LIBS
=
"-lXv_pic
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 77
4
1 "configure"
#line 77
8
1 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -7748,7 +7788,7 @@ int main() {
...
@@ -7748,7 +7788,7 @@ int main() {
XvSetPortAttribute()
XvSetPortAttribute()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:77
5
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:77
9
2:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -7795,17 +7835,17 @@ if test x$enable_lirc = xyes
...
@@ -7795,17 +7835,17 @@ if test x$enable_lirc = xyes
then
then
ac_safe
=
`
echo
"lirc/lirc_client.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"lirc/lirc_client.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for lirc/lirc_client.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for lirc/lirc_client.h""...
$ac_c
"
1>&6
echo
"configure:7
79
9: checking for lirc/lirc_client.h"
>
&5
echo
"configure:7
83
9: checking for lirc/lirc_client.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 78
0
4 "configure"
#line 78
4
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <lirc/lirc_client.h>
#include <lirc/lirc_client.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:78
0
9:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:78
4
9:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -7822,7 +7862,7 @@ fi
...
@@ -7822,7 +7862,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
echo
$ac_n
"checking for lirc_init in -llirc_client""...
$ac_c
"
1>&6
echo
$ac_n
"checking for lirc_init in -llirc_client""...
$ac_c
"
1>&6
echo
"configure:78
2
6: checking for lirc_init in -llirc_client"
>
&5
echo
"configure:78
6
6: checking for lirc_init in -llirc_client"
>
&5
ac_lib_var
=
`
echo
lirc_client
'_'
lirc_init |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
lirc_client
'_'
lirc_init |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -7830,7 +7870,7 @@ else
...
@@ -7830,7 +7870,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-llirc_client
$LIBS
"
LIBS
=
"-llirc_client
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 78
3
4 "configure"
#line 78
7
4 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -7841,7 +7881,7 @@ int main() {
...
@@ -7841,7 +7881,7 @@ int main() {
lirc_init()
lirc_init()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:78
4
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:78
8
5:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -7881,17 +7921,17 @@ if test "${enable_alsa+set}" = set; then
...
@@ -7881,17 +7921,17 @@ if test "${enable_alsa+set}" = set; then
then
then
ac_safe
=
`
echo
"alsa/asoundlib.h"
|
sed
'y%./+-%__p_%'
`
ac_safe
=
`
echo
"alsa/asoundlib.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for alsa/asoundlib.h""...
$ac_c
"
1>&6
echo
$ac_n
"checking for alsa/asoundlib.h""...
$ac_c
"
1>&6
echo
"configure:7
88
5: checking for alsa/asoundlib.h"
>
&5
echo
"configure:7
92
5: checking for alsa/asoundlib.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 7
89
0 "configure"
#line 7
93
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <alsa/asoundlib.h>
#include <alsa/asoundlib.h>
EOF
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:7
89
5:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:7
93
5:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
...
@@ -7908,7 +7948,7 @@ fi
...
@@ -7908,7 +7948,7 @@ fi
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
if
eval
"test
\"
`
echo
'$ac_cv_header_'
$ac_safe
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
echo
$ac_n
"checking for main in -lasound""...
$ac_c
"
1>&6
echo
$ac_n
"checking for main in -lasound""...
$ac_c
"
1>&6
echo
"configure:79
1
2: checking for main in -lasound"
>
&5
echo
"configure:79
5
2: checking for main in -lasound"
>
&5
ac_lib_var
=
`
echo
asound
'_'
main |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
asound
'_'
main |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -7916,14 +7956,14 @@ else
...
@@ -7916,14 +7956,14 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lasound
$LIBS
"
LIBS
=
"-lasound
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 79
2
0 "configure"
#line 79
6
0 "configure"
#include "confdefs.h"
#include "confdefs.h"
int main() {
int main() {
main()
main()
; return 0; }
; return 0; }
EOF
EOF
if
{
(
eval echo
configure:79
2
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:79
6
7:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -8282,6 +8322,7 @@ s%@SDL12_CONFIG@%$SDL12_CONFIG%g
...
@@ -8282,6 +8322,7 @@ s%@SDL12_CONFIG@%$SDL12_CONFIG%g
s%@SDL11_CONFIG@%
$SDL11_CONFIG
%g
s%@SDL11_CONFIG@%
$SDL11_CONFIG
%g
s%@SDL_CONFIG@%
$SDL_CONFIG
%g
s%@SDL_CONFIG@%
$SDL_CONFIG
%g
s%@GNOME_CONFIG@%
$GNOME_CONFIG
%g
s%@GNOME_CONFIG@%
$GNOME_CONFIG
%g
s%@GTK12_CONFIG@%
$GTK12_CONFIG
%g
s%@GTK_CONFIG@%
$GTK_CONFIG
%g
s%@GTK_CONFIG@%
$GTK_CONFIG
%g
s%@DATA_PATH@%
$DATA_PATH
%g
s%@DATA_PATH@%
$DATA_PATH
%g
s%@PLUGIN_PATH@%
$PLUGIN_PATH
%g
s%@PLUGIN_PATH@%
$PLUGIN_PATH
%g
...
...
configure.in
View file @
cba6a24e
...
@@ -1333,8 +1333,13 @@ then
...
@@ -1333,8 +1333,13 @@ then
GTK_PATH=$withval:$PATH
GTK_PATH=$withval:$PATH
fi ])
fi ])
# look for gtk-config
# look for gtk-config
AC_PATH_PROG(GTK_CONFIG, gtk-config, no, $GTK_PATH)
AC_PATH_PROG(GTK12_CONFIG, gtk12-config, no, $GTK_PATH)
if test -x ${GTK_CONFIG}
GTK_CONFIG=${GTK12_CONFIG}
if test x${GTK_CONFIG} = xno
then
AC_PATH_PROG(GTK_CONFIG, gtk-config, no, $GTK_PATH)
fi
if test x${GTK_CONFIG} != xno
then
then
if expr 1.2.0 \> `$GTK_CONFIG --version` >/dev/null
if expr 1.2.0 \> `$GTK_CONFIG --version` >/dev/null
then
then
...
@@ -1342,21 +1347,21 @@ then
...
@@ -1342,21 +1347,21 @@ then
fi
fi
CFLAGS_GTK="${CFLAGS_GTK} `${GTK_CONFIG} --cflags gtk`"
CFLAGS_GTK="${CFLAGS_GTK} `${GTK_CONFIG} --cflags gtk`"
LIB_GTK="${LIB_GTK} `${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`"
LIB_GTK="${LIB_GTK} `${GTK_CONFIG} --libs gtk | sed 's,-rdynamic,,'`"
# now look for the gtk.h header
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CFLAGS_GTK"
ac_cv_gtk_headers=yes
AC_CHECK_HEADERS(gtk/gtk.h glib.h gdk/gdk.h, , [
ac_cv_gtk_headers=no
echo "Cannot find gtk development headers."
])
if test "x$ac_cv_gtk_headers" = xyes
then
PLUGINS="${PLUGINS} gtk"
ALIASES="${ALIASES} gvlc"
fi
CPPFLAGS=$saved_CPPFLAGS
fi
fi
# now look for the gtk.h header
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CFLAGS_GTK"
ac_cv_gtk_headers=yes
AC_CHECK_HEADERS(gtk/gtk.h glib.h gdk/gdk.h, , [
ac_cv_gtk_headers=no
echo "Cannot find gtk development headers."
])
if test "x$ac_cv_gtk_headers" = xyes
then
PLUGINS="${PLUGINS} gtk"
ALIASES="${ALIASES} gvlc"
fi
CPPFLAGS=$saved_CPPFLAGS
fi
fi
dnl
dnl
...
...
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