1437
1481
--disable-silent-rules verbose build output (undo: `make V=0')
1438
1482
--disable-dependency-tracking speeds up one-time build
1439
1483
--enable-dependency-tracking do not reject slow dependency extractors
1484
--enable-opengl enable OpenGL support [default=no]
1485
--enable-core build the core engine [default=yes]
1440
1486
--enable-alsa build the ALSA input plugin [default=yes]
1487
--enable-jack build the JACK Audio input plugin [default=yes]
1441
1488
--enable-pulseaudio build the PulseAudio input plugin [default=yes]
1442
1489
--enable-esd build the ESD input plugin [default=no]
1443
1490
--enable-sndfile build the SndFile input plugin [default=no]
1444
1491
--enable-twip build the Twip input plugin [default=no]
1445
1492
--enable-caca build the libcaca plugin [default=no]
1493
--enable-fixed="WIDTHxHEIGHT"
1494
Use fixed-size video buffers [default=no]
1495
--enable-camsize="WIDTHxHEIGHT"
1496
Set webcam capture size [default="640x480"]
1446
1497
--enable-debug turn on debugging [default=no]
1447
--enable-warnings treat warnings as errors [default=no]
1498
--enable-warnings treat warnings as errors [default=yes]
1448
1499
--enable-diskwriter compile the diskwriter output plugin [default=no]
1449
1500
--enable-erlang compile the Erlang output plugin (needs OpenGL
1450
development libs) [default=yes]
1501
development libs) [default=no]
1502
--enable-bew compile the Biniou Erlang wrapper [default=no]
1451
1503
--enable-webcam compile the Webcam plugin (Linux only) [default=yes]
1504
--enable-target Display a target when no plugins were run
1508
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1509
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1510
--with-pnglite Use embedded pnglite library
1453
1512
Some influential environment variables:
1454
1513
CC C compiler command
1472
1534
FFTW3_LIBS linker flags for FFTW3, overriding pkg-config
1473
1535
XML2_CFLAGS C compiler flags for XML2, overriding pkg-config
1474
1536
XML2_LIBS linker flags for XML2, overriding pkg-config
1537
FT2_CFLAGS C compiler flags for FT2, overriding pkg-config
1538
FT2_LIBS linker flags for FT2, overriding pkg-config
1539
GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
1540
GLU_LIBS linker flags for GLU, overriding pkg-config
1476
1542
C compiler flags for SWSCALE, overriding pkg-config
1478
1544
linker flags for SWSCALE, overriding pkg-config
1479
1545
ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1480
1546
ALSA_LIBS linker flags for ALSA, overriding pkg-config
1547
JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1548
JACK_LIBS linker flags for JACK, overriding pkg-config
1481
1549
PULSEAUDIO_CFLAGS
1482
1550
C compiler flags for PULSEAUDIO, overriding pkg-config
1483
1551
PULSEAUDIO_LIBS
1651
1719
} # ac_fn_cxx_try_compile
1721
# ac_fn_erl_try_run LINENO
1722
# ------------------------
1723
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1724
# that executables *can* be run.
1725
ac_fn_erl_try_run ()
1727
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728
if { { ac_try="$ac_link"
1730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1731
*) ac_try_echo=$ac_try;;
1733
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734
$as_echo "$ac_try_echo"; } >&5
1735
(eval "$ac_link") 2>&5
1737
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1739
{ { case "(($ac_try" in
1740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741
*) ac_try_echo=$ac_try;;
1743
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744
$as_echo "$ac_try_echo"; } >&5
1745
(eval "$ac_try") 2>&5
1747
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748
test $ac_status = 0; }; }; then :
1751
$as_echo "$as_me: program exited with status $ac_status" >&5
1752
$as_echo "$as_me: failed program was:" >&5
1753
sed 's/^/| /' conftest.$ac_ext >&5
1755
ac_retval=$ac_status
1757
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1758
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759
as_fn_set_status $ac_retval
1761
} # ac_fn_erl_try_run
1653
1763
# ac_fn_c_try_link LINENO
1654
1764
# -----------------------
1655
1765
# Try to link conftest.$ac_ext, and return whether this succeeded.
2944
3054
no) AM_DEFAULT_VERBOSITY=1;;
2945
3055
*) AM_DEFAULT_VERBOSITY=0;;
3057
am_make=${MAKE-make}
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3059
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3060
if ${am_cv_make_support_nested_variables+:} false; then :
3061
$as_echo_n "(cached) " >&6
3063
if $as_echo 'TRUE=$(BAR$(V))
3069
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3070
am_cv_make_support_nested_variables=yes
3072
am_cv_make_support_nested_variables=no
3075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3076
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3077
if test $am_cv_make_support_nested_variables = yes; then
3079
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3081
AM_V=$AM_DEFAULT_VERBOSITY
3082
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2947
3084
AM_BACKSLASH='\'
2952
3089
BINIOU_VERSION="$BINIOU_MAJOR.$BINIOU_MINOR"
2955
CFLAGS="$CFLAGS -O3"
2956
3092
LDFLAGS="$LDFLAGS -rdynamic"
2958
3094
OLD_FLAGS="$CFLAGS"
4588
if test -n "$ERLC"; then
4589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erlc" >&5
4590
$as_echo_n "checking for erlc... " >&6; }
4591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ERLC" >&5
4592
$as_echo "$ERLC" >&6; }
4594
if test -n "$ac_tool_prefix"; then
4595
# Extract the first word of "${ac_tool_prefix}erlc", so it can be a program name with args.
4596
set dummy ${ac_tool_prefix}erlc; ac_word=$2
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4598
$as_echo_n "checking for $ac_word... " >&6; }
4599
if ${ac_cv_path_ERLC+:} false; then :
4600
$as_echo_n "(cached) " >&6
4604
ac_cv_path_ERLC="$ERLC" # Let the user override the test with a path.
4607
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611
test -z "$as_dir" && as_dir=.
4612
for ac_exec_ext in '' $ac_executable_extensions; do
4613
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614
ac_cv_path_ERLC="$as_dir/$ac_word$ac_exec_ext"
4615
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625
ERLC=$ac_cv_path_ERLC
4626
if test -n "$ERLC"; then
4627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ERLC" >&5
4628
$as_echo "$ERLC" >&6; }
4630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631
$as_echo "no" >&6; }
4636
if test -z "$ac_cv_path_ERLC"; then
4638
# Extract the first word of "erlc", so it can be a program name with args.
4639
set dummy erlc; ac_word=$2
4640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641
$as_echo_n "checking for $ac_word... " >&6; }
4642
if ${ac_cv_path_ac_pt_ERLC+:} false; then :
4643
$as_echo_n "(cached) " >&6
4647
ac_cv_path_ac_pt_ERLC="$ac_pt_ERLC" # Let the user override the test with a path.
4650
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654
test -z "$as_dir" && as_dir=.
4655
for ac_exec_ext in '' $ac_executable_extensions; do
4656
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4657
ac_cv_path_ac_pt_ERLC="$as_dir/$ac_word$ac_exec_ext"
4658
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668
ac_pt_ERLC=$ac_cv_path_ac_pt_ERLC
4669
if test -n "$ac_pt_ERLC"; then
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ERLC" >&5
4671
$as_echo "$ac_pt_ERLC" >&6; }
4673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674
$as_echo "no" >&6; }
4677
if test "x$ac_pt_ERLC" = x; then
4680
case $cross_compiling:$ac_tool_warned in
4682
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4683
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4684
ac_tool_warned=yes ;;
4689
ERLC="$ac_cv_path_ERLC"
4578
4823
PLUGIN_CFLAGS="$PLUGIN_CFLAGS -I../../../../../src"
4580
4825
if test "x${COMPILER}" = "xgcc"; then
4581
PLUGIN_LDFLAGS="${PLUGIN_LDFLAGS} -module -export-dynamic"
4826
PLUGIN_LDFLAGS="${PLUGIN_LDFLAGS} -export-dynamic"
4587
4832
# Checks for libraries
4835
if test "x${ERLC}" != "x"; then
4836
if test -n "$ERL"; then
4837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erl" >&5
4838
$as_echo_n "checking for erl... " >&6; }
4839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ERL" >&5
4840
$as_echo "$ERL" >&6; }
4842
if test -n "$ac_tool_prefix"; then
4843
# Extract the first word of "${ac_tool_prefix}erl", so it can be a program name with args.
4844
set dummy ${ac_tool_prefix}erl; ac_word=$2
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846
$as_echo_n "checking for $ac_word... " >&6; }
4847
if ${ac_cv_path_ERL+:} false; then :
4848
$as_echo_n "(cached) " >&6
4852
ac_cv_path_ERL="$ERL" # Let the user override the test with a path.
4855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859
test -z "$as_dir" && as_dir=.
4860
for ac_exec_ext in '' $ac_executable_extensions; do
4861
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4862
ac_cv_path_ERL="$as_dir/$ac_word$ac_exec_ext"
4863
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4874
if test -n "$ERL"; then
4875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ERL" >&5
4876
$as_echo "$ERL" >&6; }
4878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879
$as_echo "no" >&6; }
4884
if test -z "$ac_cv_path_ERL"; then
4886
# Extract the first word of "erl", so it can be a program name with args.
4887
set dummy erl; ac_word=$2
4888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889
$as_echo_n "checking for $ac_word... " >&6; }
4890
if ${ac_cv_path_ac_pt_ERL+:} false; then :
4891
$as_echo_n "(cached) " >&6
4895
ac_cv_path_ac_pt_ERL="$ac_pt_ERL" # Let the user override the test with a path.
4898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902
test -z "$as_dir" && as_dir=.
4903
for ac_exec_ext in '' $ac_executable_extensions; do
4904
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4905
ac_cv_path_ac_pt_ERL="$as_dir/$ac_word$ac_exec_ext"
4906
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916
ac_pt_ERL=$ac_cv_path_ac_pt_ERL
4917
if test -n "$ac_pt_ERL"; then
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_ERL" >&5
4919
$as_echo "$ac_pt_ERL" >&6; }
4921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922
$as_echo "no" >&6; }
4925
if test "x$ac_pt_ERL" = x; then
4928
case $cross_compiling:$ac_tool_warned in
4930
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4931
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4932
ac_tool_warned=yes ;;
4937
ERL="$ac_cv_path_ERL"
4942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Erlang/OTP 'erl_interface' library subdirectory" >&5
4943
$as_echo_n "checking for Erlang/OTP 'erl_interface' library subdirectory... " >&6; }
4944
if ${ac_cv_erlang_lib_dir_erl_interface+:} false; then :
4945
$as_echo_n "(cached) " >&6
4948
ac_compile='$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5'
4949
ac_link='$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5 && echo "#!/bin/sh" > conftest$ac_exeext && $as_echo "\"$ERL\" -run conftest start -run init stop -noshell" >> conftest$ac_exeext && chmod +x conftest$ac_exeext'
4950
if test "$cross_compiling" = yes; then :
4951
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4952
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4953
as_fn_error $? "cannot run test program while cross compiling
4954
See \`config.log' for more details" "$LINENO" 5; }
4956
cat > conftest.$ac_ext <<_ACEOF
4961
ReturnValue = case code:lib_dir("erl_interface") of
4962
{error, bad_name} ->
4963
file:write_file("conftest.out", "not found\n"),
4966
file:write_file("conftest.out", LibDir),
4973
if ac_fn_erl_try_run "$LINENO"; then :
4974
ac_cv_erlang_lib_dir_erl_interface=`cat conftest.out`
4977
if test ! -f conftest.out; then
4978
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4979
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4980
as_fn_error $? "test Erlang program execution failed
4981
See \`config.log' for more details" "$LINENO" 5; }
4983
ac_cv_erlang_lib_dir_erl_interface="not found"
4987
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4988
conftest.$ac_objext conftest.beam conftest.$ac_ext
4992
ac_cpp='$CPP $CPPFLAGS'
4993
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4994
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4995
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_erlang_lib_dir_erl_interface" >&5
4999
$as_echo "$ac_cv_erlang_lib_dir_erl_interface" >&6; }
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Erlang/OTP 'erl_interface' library version" >&5
5001
$as_echo_n "checking for Erlang/OTP 'erl_interface' library version... " >&6; }
5002
if ${ac_cv_erlang_lib_ver_erl_interface+:} false; then :
5003
$as_echo_n "(cached) " >&6
5005
if test "$ac_cv_erlang_lib_dir_erl_interface" = "not found"; then :
5006
ac_cv_erlang_lib_ver_erl_interface="not found"
5008
ac_cv_erlang_lib_ver_erl_interface=`$as_echo "$ac_cv_erlang_lib_dir_erl_interface" | sed -n -e 's,^.*-\([^/-]*\)$,\1,p'`
5011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_erlang_lib_ver_erl_interface" >&5
5012
$as_echo "$ac_cv_erlang_lib_ver_erl_interface" >&6; }
5013
ERLANG_LIB_DIR_erl_interface=$ac_cv_erlang_lib_dir_erl_interface
5015
ERLANG_LIB_VER_erl_interface=$ac_cv_erlang_lib_ver_erl_interface
5017
if test "$ac_cv_erlang_lib_dir_erl_interface" = "not found"; then :
4808
5246
CPPFLAGS="$CPPFLAGS `pkg-config libxml-2.0 --cflags`"
5251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT2" >&5
5252
$as_echo_n "checking for FT2... " >&6; }
5254
if test -n "$FT2_CFLAGS"; then
5255
pkg_cv_FT2_CFLAGS="$FT2_CFLAGS"
5256
elif test -n "$PKG_CONFIG"; then
5257
if test -n "$PKG_CONFIG" && \
5258
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
5259
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
5261
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5262
test $ac_status = 0; }; then
5263
pkg_cv_FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
5264
test "x$?" != "x0" && pkg_failed=yes
5271
if test -n "$FT2_LIBS"; then
5272
pkg_cv_FT2_LIBS="$FT2_LIBS"
5273
elif test -n "$PKG_CONFIG"; then
5274
if test -n "$PKG_CONFIG" && \
5275
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
5276
($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
5278
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5279
test $ac_status = 0; }; then
5280
pkg_cv_FT2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
5281
test "x$?" != "x0" && pkg_failed=yes
5291
if test $pkg_failed = yes; then
5292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293
$as_echo "no" >&6; }
5295
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5296
_pkg_short_errors_supported=yes
5298
_pkg_short_errors_supported=no
5300
if test $_pkg_short_errors_supported = yes; then
5301
FT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
5303
FT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
5305
# Put the nasty error message in config.log where it belongs
5306
echo "$FT2_PKG_ERRORS" >&5
5308
as_fn_error $? "You must have libfreetype-dev for Free Type 2 installed" "$LINENO" 5
5309
elif test $pkg_failed = untried; then
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311
$as_echo "no" >&6; }
5312
as_fn_error $? "You must have libfreetype-dev for Free Type 2 installed" "$LINENO" 5
5314
FT2_CFLAGS=$pkg_cv_FT2_CFLAGS
5315
FT2_LIBS=$pkg_cv_FT2_LIBS
5316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5317
$as_echo "yes" >&6; }
5320
CPPFLAGS="$CPPFLAGS `pkg-config freetype2 --cflags`"
4810
5322
# zlib - we assume it's installed on most systems
4811
5323
LIBS="${GLIB_LIBS} ${FFTW3_LIBS} ${XML2_LIBS} -lz -lm"
5328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
5329
$as_echo_n "checking for GLU... " >&6; }
5331
if test -n "$GLU_CFLAGS"; then
5332
pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
5333
elif test -n "$PKG_CONFIG"; then
5334
if test -n "$PKG_CONFIG" && \
5335
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glu\""; } >&5
5336
($PKG_CONFIG --exists --print-errors "glu") 2>&5
5338
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5339
test $ac_status = 0; }; then
5340
pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "glu" 2>/dev/null`
5341
test "x$?" != "x0" && pkg_failed=yes
5348
if test -n "$GLU_LIBS"; then
5349
pkg_cv_GLU_LIBS="$GLU_LIBS"
5350
elif test -n "$PKG_CONFIG"; then
5351
if test -n "$PKG_CONFIG" && \
5352
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glu\""; } >&5
5353
($PKG_CONFIG --exists --print-errors "glu") 2>&5
5355
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356
test $ac_status = 0; }; then
5357
pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "glu" 2>/dev/null`
5358
test "x$?" != "x0" && pkg_failed=yes
5368
if test $pkg_failed = yes; then
5369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370
$as_echo "no" >&6; }
5372
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5373
_pkg_short_errors_supported=yes
5375
_pkg_short_errors_supported=no
5377
if test $_pkg_short_errors_supported = yes; then
5378
GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glu" 2>&1`
5380
GLU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glu" 2>&1`
5382
# Put the nasty error message in config.log where it belongs
5383
echo "$GLU_PKG_ERRORS" >&5
5386
elif test $pkg_failed = untried; then
5387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388
$as_echo "no" >&6; }
5391
GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
5392
GLU_LIBS=$pkg_cv_GLU_LIBS
5393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5394
$as_echo "yes" >&6; }
5398
# Check whether --enable-opengl was given.
5399
if test "${enable_opengl+set}" = set; then :
5400
enableval=$enable_opengl;
5405
if test "x${enable_opengl}" == "xyes"; then
5407
EXTRA_OPENGL_FALSE='#'
5409
EXTRA_OPENGL_TRUE='#'
4813
5414
# We need to know which prefix we used to find some default values
4814
5415
if test "x${prefix}" = "xNONE"; then
4815
5416
prefix="/usr/local"
5616
# Check whether --enable-jackaudio was given.
5617
if test "${enable_jackaudio+set}" = set; then :
5618
enableval=$enable_jackaudio;
5623
if test "x${enable_jack}" = "xyes"; then
5626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
5627
$as_echo_n "checking for JACK... " >&6; }
5629
if test -n "$JACK_CFLAGS"; then
5630
pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
5631
elif test -n "$PKG_CONFIG"; then
5632
if test -n "$PKG_CONFIG" && \
5633
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
5634
($PKG_CONFIG --exists --print-errors "jack") 2>&5
5636
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5637
test $ac_status = 0; }; then
5638
pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack" 2>/dev/null`
5639
test "x$?" != "x0" && pkg_failed=yes
5646
if test -n "$JACK_LIBS"; then
5647
pkg_cv_JACK_LIBS="$JACK_LIBS"
5648
elif test -n "$PKG_CONFIG"; then
5649
if test -n "$PKG_CONFIG" && \
5650
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
5651
($PKG_CONFIG --exists --print-errors "jack") 2>&5
5653
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5654
test $ac_status = 0; }; then
5655
pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack" 2>/dev/null`
5656
test "x$?" != "x0" && pkg_failed=yes
5666
if test $pkg_failed = yes; then
5667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668
$as_echo "no" >&6; }
5670
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5671
_pkg_short_errors_supported=yes
5673
_pkg_short_errors_supported=no
5675
if test $_pkg_short_errors_supported = yes; then
5676
JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack" 2>&1`
5678
JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack" 2>&1`
5680
# Put the nasty error message in config.log where it belongs
5681
echo "$JACK_PKG_ERRORS" >&5
5684
elif test $pkg_failed = untried; then
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686
$as_echo "no" >&6; }
5689
JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
5690
JACK_LIBS=$pkg_cv_JACK_LIBS
5691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5692
$as_echo "yes" >&6; }
5696
if test "x${jack_present}" = "xyes"; then
5698
JACK_PLUGIN_FALSE='#'
5700
JACK_PLUGIN_TRUE='#'
5704
if test "x${jack_present}" = "xyes"; then
5705
CPPFLAGS="$CPPFLAGS -DWITH_JACK"
5706
INPUT_PLUGINS+=", jackaudio"
4997
5710
pulseaudio_present="no"
4998
5711
# Check whether --enable-pulseaudio was given.
4999
5712
if test "${enable_pulseaudio+set}" = set; then :
6826
# Extract the first word of "ffmpeg", so it can be a program name with args.
6827
set dummy ffmpeg; ac_word=$2
6828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829
$as_echo_n "checking for $ac_word... " >&6; }
6830
if ${ac_cv_prog_have_ffmpeg+:} false; then :
6831
$as_echo_n "(cached) " >&6
6833
if test -n "$have_ffmpeg"; then
6834
ac_cv_prog_have_ffmpeg="$have_ffmpeg" # Let the user override the test.
6836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840
test -z "$as_dir" && as_dir=.
6841
for ac_exec_ext in '' $ac_executable_extensions; do
6842
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6843
ac_cv_prog_have_ffmpeg="yes"
6844
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851
test -z "$ac_cv_prog_have_ffmpeg" && ac_cv_prog_have_ffmpeg="no"
6854
have_ffmpeg=$ac_cv_prog_have_ffmpeg
6855
if test -n "$have_ffmpeg"; then
6856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ffmpeg" >&5
6857
$as_echo "$have_ffmpeg" >&6; }
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860
$as_echo "no" >&6; }
6864
if test "x${have_ffmpeg}" == "xyes"; then
6866
WITH_FFMPEG_FALSE='#'
6868
WITH_FFMPEG_TRUE='#'
6872
if test "x${have_ffmpeg}" = "xyes"; then
6873
OUTPUT_PLUGINS+=", RTMP"
6081
6876
for ac_header in linux/videodev2.h
6083
6878
ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
6154
6954
if test "x${enable_debug}" = "xyes"; then
6155
6955
CPPFLAGS="$CPPFLAGS -DDEBUG"
6956
CFLAGS="$CFLAGS -g -O0"
6158
6958
CPPFLAGS="$CPPFLAGS -DNDEBUG"
6159
CFLAGS="$CFLAGS -fomit-frame-pointer"
6959
CFLAGS="$CFLAGS -fomit-frame-pointer -O3"
6162
6962
# Check whether --enable-warnings was given.
6163
6963
if test "${enable_warnings+set}" = set; then :
6164
6964
enableval=$enable_warnings;
6166
enable_warnings="no"
6966
enable_warnings="yes"
6169
6969
if test "x${enable_warnings}" = "xyes" -a "x${GCC}" = "xyes"; then
6170
6970
CFLAGS="$CFLAGS -Wall -Werror -Wextra"
6974
# Check whether --with-pnglite was given.
6975
if test "${with_pnglite+set}" = set; then :
6976
withval=$with_pnglite;
6981
if test "x${with_pnglite}" != "xno"; then
6983
WITH_PNGLITE_FALSE='#'
6985
WITH_PNGLITE_TRUE='#'
6989
if test "x${with_pnglite}" == "xno"; then
6990
LIBS="$LIBS -lpnglite"
6173
6993
# Check whether --enable-diskwriter was given.
6174
6994
if test "${enable_diskwriter+set}" = set; then :
6175
6995
enableval=$enable_diskwriter;
6379
7235
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6380
7236
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7238
if test -z "${EXTRA_OPENGL_TRUE}" && test -z "${EXTRA_OPENGL_FALSE}"; then
7239
as_fn_error $? "conditional \"EXTRA_OPENGL\" was never defined.
7240
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7242
if test -z "${WITH_CORE_TRUE}" && test -z "${WITH_CORE_FALSE}"; then
7243
as_fn_error $? "conditional \"WITH_CORE\" was never defined.
7244
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6382
7246
if test -z "${ALSA_PLUGIN_TRUE}" && test -z "${ALSA_PLUGIN_FALSE}"; then
6383
7247
as_fn_error $? "conditional \"ALSA_PLUGIN\" was never defined.
6384
7248
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7250
if test -z "${JACK_PLUGIN_TRUE}" && test -z "${JACK_PLUGIN_FALSE}"; then
7251
as_fn_error $? "conditional \"JACK_PLUGIN\" was never defined.
7252
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6386
7254
if test -z "${PULSEAUDIO_PLUGIN_TRUE}" && test -z "${PULSEAUDIO_PLUGIN_FALSE}"; then
6387
7255
as_fn_error $? "conditional \"PULSEAUDIO_PLUGIN\" was never defined.
6388
7256
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7135
8016
"plugins/stable/main/yshaker/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/yshaker/Makefile" ;;
7136
8017
"plugins/stable/main/ywave/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/ywave/Makefile" ;;
7137
8018
"plugins/stable/main/zebu1/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/zebu1/Makefile" ;;
8019
"plugins/stable/main/GLCube/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/GLCube/Makefile" ;;
8020
"plugins/stable/main/QuarkTV/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/QuarkTV/Makefile" ;;
8021
"plugins/stable/main/StreakTV/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/StreakTV/Makefile" ;;
8022
"plugins/stable/main/1dTV/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/1dTV/Makefile" ;;
8023
"plugins/stable/main/NervousTV/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/NervousTV/Makefile" ;;
8024
"plugins/stable/main/PredatorTV/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/PredatorTV/Makefile" ;;
8025
"plugins/stable/main/FireTV/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/FireTV/Makefile" ;;
8026
"plugins/stable/main/DiffTV/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/main/DiffTV/Makefile" ;;
7138
8027
"plugins/stable/output/caca/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/output/caca/Makefile" ;;
7139
8028
"plugins/stable/output/diskwriter/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/output/diskwriter/Makefile" ;;
7140
8029
"plugins/stable/output/erlang/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/output/erlang/Makefile" ;;
7141
8030
"plugins/stable/output/SDL/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/output/SDL/Makefile" ;;
8031
"plugins/stable/output/GL/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/output/GL/Makefile" ;;
8032
"plugins/stable/output/bew/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/output/bew/Makefile" ;;
8033
"plugins/stable/output/RTMP/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/stable/output/RTMP/Makefile" ;;
7142
8034
"lebiniou.1.head") CONFIG_FILES="$CONFIG_FILES lebiniou.1.head" ;;
7143
8035
"lebiniou.1.tail") CONFIG_FILES="$CONFIG_FILES lebiniou.1.tail" ;;
7144
8036
"lebiniou.desktop") CONFIG_FILES="$CONFIG_FILES lebiniou.desktop" ;;
7888
8780
echo "=== Le Biniou v${BINIOU_VERSION} ==="
7890
8782
echo " * Build options:"
7891
echo " Prefix: ${prefix}"
7892
echo " Compiler flags: ${CFLAGS}"
8783
echo " OS family: ${os_family}"
8784
echo " Installation prefix: ${prefix}"
8785
echo " Preprocessor flags: ${CPPFLAGS}"
8786
echo " Compiler flags: ${CFLAGS}"
8787
echo " Linker flags: ${LDFLAGS}"
8788
echo " Libraries: ${LIBS}"
7893
8789
echo " Debug enabled: ${enable_debug}"
7894
8790
echo " Treat warnings as errors: ${enable_warnings}"
7895
echo " OS family: ${os_family}"
8792
echo " Core engine: ${enable_core}"
8793
echo " Embedded pnglite: ${with_pnglite}"
8794
if test "x${enable_fixed}" != "xno"; then
8795
echo " Fixed video buffers: ${enable_fixed}"
8797
echo -n " Webcam: ${enable_webcam}"
8798
if test "x${enable_webcam}" != "xno"; then
8799
echo " (capture at ${CAP_W}x${CAP_H})"
7898
8805
echo " * Input plugins:"
8807
yn ${jack_present} "JACK Audio"
7900
8808
if test "x${os_family}" == "xlinux"; then
7901
8809
yn ${alsa_present} "ALSA"
7902
8810
yn ${pulseaudio_present} "PulseAudio"