Changeset 224
- Timestamp:
- 02/08/08 19:38:52 (4 years ago)
- Location:
- trunk/fm_server
- Files:
-
- 13 modified
-
Makefile.in (modified) (4 diffs)
-
config.h.in (modified) (1 diff)
-
configure (modified) (38 diffs)
-
configure.ac (modified) (4 diffs)
-
src/Makefile.am (modified) (4 diffs)
-
src/Makefile.in (modified) (16 diffs)
-
src/fm_input_gst/Makefile.am (modified) (2 diffs)
-
src/fm_input_gst/Makefile.in (modified) (7 diffs)
-
src/fm_song_db/Makefile.am (modified) (2 diffs)
-
src/fm_song_db/Makefile.in (modified) (7 diffs)
-
src/main.c (modified) (3 diffs)
-
test/Makefile.am (modified) (1 diff)
-
test/Makefile.in (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fm_server/Makefile.in
r220 r224 118 118 F77 = @F77@ 119 119 FFLAGS = @FFLAGS@ 120 FM_SERVER_CFLAGS = @FM_SERVER_CFLAGS@ 121 FM_SERVER_LIBS = @FM_SERVER_LIBS@ 122 FM_SERVER_TEST_CFLAGS = @FM_SERVER_TEST_CFLAGS@ 123 FM_SERVER_TEST_LIBS = @FM_SERVER_TEST_LIBS@ 120 GLIB_CFLAGS = @GLIB_CFLAGS@ 121 GLIB_LIBS = @GLIB_LIBS@ 124 122 GMSGFMT = @GMSGFMT@ 125 123 GMSGFMT_015 = @GMSGFMT_015@ 126 124 GREP = @GREP@ 125 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 126 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 127 127 INSTALL = @INSTALL@ 128 128 INSTALL_DATA = @INSTALL_DATA@ … … 140 140 LIBS = @LIBS@ 141 141 LIBTOOL = @LIBTOOL@ 142 LIBXML_CFLAGS = @LIBXML_CFLAGS@ 143 LIBXML_LIBS = @LIBXML_LIBS@ 142 144 LN_S = @LN_S@ 143 145 LTLIBICONV = @LTLIBICONV@ … … 170 172 PKG_CONFIG = @PKG_CONFIG@ 171 173 POSUB = @POSUB@ 174 PULSE_CFLAGS = @PULSE_CFLAGS@ 175 PULSE_LIBS = @PULSE_LIBS@ 172 176 RANLIB = @RANLIB@ 173 177 RGC_CLIENT_CFLAGS = @RGC_CLIENT_CFLAGS@ … … 175 179 RGC_SERVER_CFLAGS = @RGC_SERVER_CFLAGS@ 176 180 RGC_SERVER_LIBS = @RGC_SERVER_LIBS@ 181 SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ 182 SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ 177 183 SED = @SED@ 178 184 SET_MAKE = @SET_MAKE@ -
trunk/fm_server/config.h.in
r217 r224 82 82 /* Define to 1 if you have the `memset' function. */ 83 83 #undef HAVE_MEMSET 84 85 /* PulseAudio is available. */ 86 #undef HAVE_PULSE 84 87 85 88 /* Define to 1 if you have the `sched_setscheduler' function. */ -
trunk/fm_server/configure
r220 r224 892 892 LIBOBJS 893 893 PKG_CONFIG 894 FM_SERVER_CFLAGS 895 FM_SERVER_LIBS 896 FM_SERVER_TEST_CFLAGS 897 FM_SERVER_TEST_LIBS 894 GLIB_CFLAGS 895 GLIB_LIBS 896 LIBXML_CFLAGS 897 LIBXML_LIBS 898 GSTREAMER_CFLAGS 899 GSTREAMER_LIBS 900 SAMPLERATE_CFLAGS 901 SAMPLERATE_LIBS 898 902 RGC_SERVER_CFLAGS 899 903 RGC_SERVER_LIBS 900 904 RGC_CLIENT_CFLAGS 901 905 RGC_CLIENT_LIBS 906 ALSA_CFLAGS 907 ALSA_LIBS 908 HAVE_ALSA_TRUE 909 HAVE_ALSA_FALSE 902 910 JACK_CFLAGS 903 911 JACK_LIBS 904 912 HAVE_JACK_TRUE 905 913 HAVE_JACK_FALSE 906 ALSA_CFLAGS907 ALSA_LIBS908 HAVE_ ALSA_TRUE909 HAVE_ ALSA_FALSE914 PULSE_CFLAGS 915 PULSE_LIBS 916 HAVE_PULSE_TRUE 917 HAVE_PULSE_FALSE 910 918 NO_PREFIX_PACKAGE_DATA_DIR 911 919 PACKAGE_DATA_DIR … … 936 944 FFLAGS 937 945 PKG_CONFIG 938 FM_SERVER_CFLAGS 939 FM_SERVER_LIBS 940 FM_SERVER_TEST_CFLAGS 941 FM_SERVER_TEST_LIBS 946 GLIB_CFLAGS 947 GLIB_LIBS 948 LIBXML_CFLAGS 949 LIBXML_LIBS 950 GSTREAMER_CFLAGS 951 GSTREAMER_LIBS 952 SAMPLERATE_CFLAGS 953 SAMPLERATE_LIBS 942 954 RGC_SERVER_CFLAGS 943 955 RGC_SERVER_LIBS 944 956 RGC_CLIENT_CFLAGS 945 957 RGC_CLIENT_LIBS 958 ALSA_CFLAGS 959 ALSA_LIBS 946 960 JACK_CFLAGS 947 961 JACK_LIBS 948 ALSA_CFLAGS949 ALSA_LIBS'962 PULSE_CFLAGS 963 PULSE_LIBS' 950 964 951 965 … … 1565 1579 FFLAGS Fortran 77 compiler flags 1566 1580 PKG_CONFIG path to pkg-config utility 1567 FM_SERVER_CFLAGS 1568 C compiler flags for FM_SERVER, overriding pkg-config 1569 FM_SERVER_LIBS 1570 linker flags for FM_SERVER, overriding pkg-config 1571 FM_SERVER_TEST_CFLAGS 1572 C compiler flags for FM_SERVER_TEST, overriding pkg-config 1573 FM_SERVER_TEST_LIBS 1574 linker flags for FM_SERVER_TEST, overriding pkg-config 1581 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1582 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1583 LIBXML_CFLAGS 1584 C compiler flags for LIBXML, overriding pkg-config 1585 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config 1586 GSTREAMER_CFLAGS 1587 C compiler flags for GSTREAMER, overriding pkg-config 1588 GSTREAMER_LIBS 1589 linker flags for GSTREAMER, overriding pkg-config 1590 SAMPLERATE_CFLAGS 1591 C compiler flags for SAMPLERATE, overriding pkg-config 1592 SAMPLERATE_LIBS 1593 linker flags for SAMPLERATE, overriding pkg-config 1575 1594 RGC_SERVER_CFLAGS 1576 1595 C compiler flags for RGC_SERVER, overriding pkg-config … … 1581 1600 RGC_CLIENT_LIBS 1582 1601 linker flags for RGC_CLIENT, overriding pkg-config 1602 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config 1603 ALSA_LIBS linker flags for ALSA, overriding pkg-config 1583 1604 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config 1584 1605 JACK_LIBS linker flags for JACK, overriding pkg-config 1585 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config 1586 ALSA_LIBS linker flags for ALSA, overriding pkg-config 1606 PULSE_CFLAGS 1607 C compiler flags for PULSE, overriding pkg-config 1608 PULSE_LIBS linker flags for PULSE, overriding pkg-config 1587 1609 1588 1610 Use these variables to override the choices made by `configure' or to help … … 4403 4425 *-*-irix6*) 4404 4426 # Find out which ABI we are using. 4405 echo '#line 44 05"configure"' > conftest.$ac_ext4427 echo '#line 4427 "configure"' > conftest.$ac_ext 4406 4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4407 4429 (eval $ac_compile) 2>&5 … … 7435 7457 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7436 7458 -e 's:$: $lt_compiler_flag:'` 7437 (eval echo "\"\$as_me:74 37: $lt_compile\"" >&5)7459 (eval echo "\"\$as_me:7459: $lt_compile\"" >&5) 7438 7460 (eval "$lt_compile" 2>conftest.err) 7439 7461 ac_status=$? 7440 7462 cat conftest.err >&5 7441 echo "$as_me:74 41: \$? = $ac_status" >&57463 echo "$as_me:7463: \$? = $ac_status" >&5 7442 7464 if (exit $ac_status) && test -s "$ac_outfile"; then 7443 7465 # The compiler can only warn and ignore the option if not recognized … … 7725 7747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7726 7748 -e 's:$: $lt_compiler_flag:'` 7727 (eval echo "\"\$as_me:77 27: $lt_compile\"" >&5)7749 (eval echo "\"\$as_me:7749: $lt_compile\"" >&5) 7728 7750 (eval "$lt_compile" 2>conftest.err) 7729 7751 ac_status=$? 7730 7752 cat conftest.err >&5 7731 echo "$as_me:77 31: \$? = $ac_status" >&57753 echo "$as_me:7753: \$? = $ac_status" >&5 7732 7754 if (exit $ac_status) && test -s "$ac_outfile"; then 7733 7755 # The compiler can only warn and ignore the option if not recognized … … 7829 7851 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7830 7852 -e 's:$: $lt_compiler_flag:'` 7831 (eval echo "\"\$as_me:78 31: $lt_compile\"" >&5)7853 (eval echo "\"\$as_me:7853: $lt_compile\"" >&5) 7832 7854 (eval "$lt_compile" 2>out/conftest.err) 7833 7855 ac_status=$? 7834 7856 cat out/conftest.err >&5 7835 echo "$as_me:78 35: \$? = $ac_status" >&57857 echo "$as_me:7857: \$? = $ac_status" >&5 7836 7858 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7837 7859 then … … 10191 10213 lt_status=$lt_dlunknown 10192 10214 cat > conftest.$ac_ext <<EOF 10193 #line 10 193"configure"10215 #line 10215 "configure" 10194 10216 #include "confdefs.h" 10195 10217 … … 10291 10313 lt_status=$lt_dlunknown 10292 10314 cat > conftest.$ac_ext <<EOF 10293 #line 10 293"configure"10315 #line 10315 "configure" 10294 10316 #include "confdefs.h" 10295 10317 … … 12711 12733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12712 12734 -e 's:$: $lt_compiler_flag:'` 12713 (eval echo "\"\$as_me:127 13: $lt_compile\"" >&5)12735 (eval echo "\"\$as_me:12735: $lt_compile\"" >&5) 12714 12736 (eval "$lt_compile" 2>conftest.err) 12715 12737 ac_status=$? 12716 12738 cat conftest.err >&5 12717 echo "$as_me:127 17: \$? = $ac_status" >&512739 echo "$as_me:12739: \$? = $ac_status" >&5 12718 12740 if (exit $ac_status) && test -s "$ac_outfile"; then 12719 12741 # The compiler can only warn and ignore the option if not recognized … … 12815 12837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12816 12838 -e 's:$: $lt_compiler_flag:'` 12817 (eval echo "\"\$as_me:128 17: $lt_compile\"" >&5)12839 (eval echo "\"\$as_me:12839: $lt_compile\"" >&5) 12818 12840 (eval "$lt_compile" 2>out/conftest.err) 12819 12841 ac_status=$? 12820 12842 cat out/conftest.err >&5 12821 echo "$as_me:128 21: \$? = $ac_status" >&512843 echo "$as_me:12843: \$? = $ac_status" >&5 12822 12844 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12823 12845 then … … 14392 14414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14393 14415 -e 's:$: $lt_compiler_flag:'` 14394 (eval echo "\"\$as_me:14 394: $lt_compile\"" >&5)14416 (eval echo "\"\$as_me:14416: $lt_compile\"" >&5) 14395 14417 (eval "$lt_compile" 2>conftest.err) 14396 14418 ac_status=$? 14397 14419 cat conftest.err >&5 14398 echo "$as_me:14 398: \$? = $ac_status" >&514420 echo "$as_me:14420: \$? = $ac_status" >&5 14399 14421 if (exit $ac_status) && test -s "$ac_outfile"; then 14400 14422 # The compiler can only warn and ignore the option if not recognized … … 14496 14518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14497 14519 -e 's:$: $lt_compiler_flag:'` 14498 (eval echo "\"\$as_me:14 498: $lt_compile\"" >&5)14520 (eval echo "\"\$as_me:14520: $lt_compile\"" >&5) 14499 14521 (eval "$lt_compile" 2>out/conftest.err) 14500 14522 ac_status=$? 14501 14523 cat out/conftest.err >&5 14502 echo "$as_me:145 02: \$? = $ac_status" >&514524 echo "$as_me:14524: \$? = $ac_status" >&5 14503 14525 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14504 14526 then … … 16696 16718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16697 16719 -e 's:$: $lt_compiler_flag:'` 16698 (eval echo "\"\$as_me:16 698: $lt_compile\"" >&5)16720 (eval echo "\"\$as_me:16720: $lt_compile\"" >&5) 16699 16721 (eval "$lt_compile" 2>conftest.err) 16700 16722 ac_status=$? 16701 16723 cat conftest.err >&5 16702 echo "$as_me:167 02: \$? = $ac_status" >&516724 echo "$as_me:16724: \$? = $ac_status" >&5 16703 16725 if (exit $ac_status) && test -s "$ac_outfile"; then 16704 16726 # The compiler can only warn and ignore the option if not recognized … … 16986 17008 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16987 17009 -e 's:$: $lt_compiler_flag:'` 16988 (eval echo "\"\$as_me:1 6988: $lt_compile\"" >&5)17010 (eval echo "\"\$as_me:17010: $lt_compile\"" >&5) 16989 17011 (eval "$lt_compile" 2>conftest.err) 16990 17012 ac_status=$? 16991 17013 cat conftest.err >&5 16992 echo "$as_me:1 6992: \$? = $ac_status" >&517014 echo "$as_me:17014: \$? = $ac_status" >&5 16993 17015 if (exit $ac_status) && test -s "$ac_outfile"; then 16994 17016 # The compiler can only warn and ignore the option if not recognized … … 17090 17112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17091 17113 -e 's:$: $lt_compiler_flag:'` 17092 (eval echo "\"\$as_me:17 092: $lt_compile\"" >&5)17114 (eval echo "\"\$as_me:17114: $lt_compile\"" >&5) 17093 17115 (eval "$lt_compile" 2>out/conftest.err) 17094 17116 ac_status=$? 17095 17117 cat out/conftest.err >&5 17096 echo "$as_me:17 096: \$? = $ac_status" >&517118 echo "$as_me:17118: \$? = $ac_status" >&5 17097 17119 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17098 17120 then … … 24491 24513 24492 24514 pkg_failed=no 24493 { echo "$as_me:$LINENO: checking for FM_SERVER" >&524494 echo $ECHO_N "checking for FM_SERVER... $ECHO_C" >&6; }24515 { echo "$as_me:$LINENO: checking for GLIB" >&5 24516 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } 24495 24517 24496 24518 if test -n "$PKG_CONFIG"; then 24497 if test -n "$ FM_SERVER_CFLAGS"; then24498 pkg_cv_ FM_SERVER_CFLAGS="$FM_SERVER_CFLAGS"24519 if test -n "$GLIB_CFLAGS"; then 24520 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 24499 24521 else 24500 24522 if test -n "$PKG_CONFIG" && \ 24501 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10\"") >&524502 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10") 2>&524523 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0 gobject-2.0\"") >&5 24524 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0 gobject-2.0") 2>&5 24503 24525 ac_status=$? 24504 24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24505 24527 (exit $ac_status); }; then 24506 pkg_cv_ FM_SERVER_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`24528 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0 gobject-2.0" 2>/dev/null` 24507 24529 else 24508 24530 pkg_failed=yes … … 24513 24535 fi 24514 24536 if test -n "$PKG_CONFIG"; then 24515 if test -n "$ FM_SERVER_LIBS"; then24516 pkg_cv_ FM_SERVER_LIBS="$FM_SERVER_LIBS"24537 if test -n "$GLIB_LIBS"; then 24538 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 24517 24539 else 24518 24540 if test -n "$PKG_CONFIG" && \ 24519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10\"") >&524520 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10") 2>&524541 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0 gobject-2.0\"") >&5 24542 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0 gobject-2.0") 2>&5 24521 24543 ac_status=$? 24522 24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24523 24545 (exit $ac_status); }; then 24524 pkg_cv_ FM_SERVER_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`24546 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0 gobject-2.0" 2>/dev/null` 24525 24547 else 24526 24548 pkg_failed=yes … … 24541 24563 fi 24542 24564 if test $_pkg_short_errors_supported = yes; then 24543 FM_SERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10"`24565 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gthread-2.0 gobject-2.0"` 24544 24566 else 24545 FM_SERVER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10"`24567 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gthread-2.0 gobject-2.0"` 24546 24568 fi 24547 24569 # Put the nasty error message in config.log where it belongs 24548 echo "$ FM_SERVER_PKG_ERRORS" >&524549 24550 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) were not met:24551 24552 $ FM_SERVER_PKG_ERRORS24570 echo "$GLIB_PKG_ERRORS" >&5 24571 24572 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gthread-2.0 gobject-2.0) were not met: 24573 24574 $GLIB_PKG_ERRORS 24553 24575 24554 24576 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24555 24577 installed software in a non-standard prefix. 24556 24578 24557 Alternatively, you may set the environment variables FM_SERVER_CFLAGS24558 and FM_SERVER_LIBS to avoid the need to call pkg-config.24579 Alternatively, you may set the environment variables GLIB_CFLAGS 24580 and GLIB_LIBS to avoid the need to call pkg-config. 24559 24581 See the pkg-config man page for more details. 24560 24582 " >&5 24561 echo "$as_me: error: Package requirements (glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) were not met:24562 24563 $ FM_SERVER_PKG_ERRORS24583 echo "$as_me: error: Package requirements (glib-2.0 gthread-2.0 gobject-2.0) were not met: 24584 24585 $GLIB_PKG_ERRORS 24564 24586 24565 24587 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24566 24588 installed software in a non-standard prefix. 24567 24589 24568 Alternatively, you may set the environment variables FM_SERVER_CFLAGS24569 and FM_SERVER_LIBS to avoid the need to call pkg-config.24590 Alternatively, you may set the environment variables GLIB_CFLAGS 24591 and GLIB_LIBS to avoid the need to call pkg-config. 24570 24592 See the pkg-config man page for more details. 24571 24593 " >&2;} … … 24576 24598 path to pkg-config. 24577 24599 24578 Alternatively, you may set the environment variables FM_SERVER_CFLAGS24579 and FM_SERVER_LIBS to avoid the need to call pkg-config.24600 Alternatively, you may set the environment variables GLIB_CFLAGS 24601 and GLIB_LIBS to avoid the need to call pkg-config. 24580 24602 See the pkg-config man page for more details. 24581 24603 … … 24586 24608 path to pkg-config. 24587 24609 24588 Alternatively, you may set the environment variables FM_SERVER_CFLAGS24589 and FM_SERVER_LIBS to avoid the need to call pkg-config.24610 Alternatively, you may set the environment variables GLIB_CFLAGS 24611 and GLIB_LIBS to avoid the need to call pkg-config. 24590 24612 See the pkg-config man page for more details. 24591 24613 … … 24594 24616 { (exit 1); exit 1; }; } 24595 24617 else 24596 FM_SERVER_CFLAGS=$pkg_cv_FM_SERVER_CFLAGS24597 FM_SERVER_LIBS=$pkg_cv_FM_SERVER_LIBS24618 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 24619 GLIB_LIBS=$pkg_cv_GLIB_LIBS 24598 24620 { echo "$as_me:$LINENO: result: yes" >&5 24599 24621 echo "${ECHO_T}yes" >&6; } … … 24605 24627 24606 24628 pkg_failed=no 24607 { echo "$as_me:$LINENO: checking for FM_SERVER_TEST" >&524608 echo $ECHO_N "checking for FM_SERVER_TEST... $ECHO_C" >&6; }24629 { echo "$as_me:$LINENO: checking for LIBXML" >&5 24630 echo $ECHO_N "checking for LIBXML... $ECHO_C" >&6; } 24609 24631 24610 24632 if test -n "$PKG_CONFIG"; then 24611 if test -n "$ FM_SERVER_TEST_CFLAGS"; then24612 pkg_cv_ FM_SERVER_TEST_CFLAGS="$FM_SERVER_TEST_CFLAGS"24633 if test -n "$LIBXML_CFLAGS"; then 24634 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS" 24613 24635 else 24614 24636 if test -n "$PKG_CONFIG" && \ 24615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" glib-2.0 gthread-2.0 gobject-2.0\"") >&524616 ($PKG_CONFIG --exists --print-errors " glib-2.0 gthread-2.0 gobject-2.0") 2>&524637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5 24638 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5 24617 24639 ac_status=$? 24618 24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24619 24641 (exit $ac_status); }; then 24620 pkg_cv_ FM_SERVER_TEST_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0 gobject-2.0" 2>/dev/null`24642 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null` 24621 24643 else 24622 24644 pkg_failed=yes … … 24627 24649 fi 24628 24650 if test -n "$PKG_CONFIG"; then 24629 if test -n "$ FM_SERVER_TEST_LIBS"; then24630 pkg_cv_ FM_SERVER_TEST_LIBS="$FM_SERVER_TEST_LIBS"24651 if test -n "$LIBXML_LIBS"; then 24652 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS" 24631 24653 else 24632 24654 if test -n "$PKG_CONFIG" && \ 24633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" glib-2.0 gthread-2.0 gobject-2.0\"") >&524634 ($PKG_CONFIG --exists --print-errors " glib-2.0 gthread-2.0 gobject-2.0") 2>&524655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5 24656 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5 24635 24657 ac_status=$? 24636 24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24637 24659 (exit $ac_status); }; then 24638 pkg_cv_ FM_SERVER_TEST_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0 gobject-2.0" 2>/dev/null`24660 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null` 24639 24661 else 24640 24662 pkg_failed=yes … … 24655 24677 fi 24656 24678 if test $_pkg_short_errors_supported = yes; then 24657 FM_SERVER_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gthread-2.0 gobject-2.0"`24679 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0"` 24658 24680 else 24659 FM_SERVER_TEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gthread-2.0 gobject-2.0"`24681 LIBXML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0"` 24660 24682 fi 24661 24683 # Put the nasty error message in config.log where it belongs 24662 echo "$ FM_SERVER_TEST_PKG_ERRORS" >&524663 24664 { { echo "$as_me:$LINENO: error: Package requirements ( glib-2.0 gthread-2.0 gobject-2.0) were not met:24665 24666 $ FM_SERVER_TEST_PKG_ERRORS24684 echo "$LIBXML_PKG_ERRORS" >&5 24685 24686 { { echo "$as_me:$LINENO: error: Package requirements (libxml-2.0) were not met: 24687 24688 $LIBXML_PKG_ERRORS 24667 24689 24668 24690 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24669 24691 installed software in a non-standard prefix. 24670 24692 24671 Alternatively, you may set the environment variables FM_SERVER_TEST_CFLAGS24672 and FM_SERVER_TEST_LIBS to avoid the need to call pkg-config.24693 Alternatively, you may set the environment variables LIBXML_CFLAGS 24694 and LIBXML_LIBS to avoid the need to call pkg-config. 24673 24695 See the pkg-config man page for more details. 24674 24696 " >&5 24675 echo "$as_me: error: Package requirements ( glib-2.0 gthread-2.0 gobject-2.0) were not met:24676 24677 $ FM_SERVER_TEST_PKG_ERRORS24697 echo "$as_me: error: Package requirements (libxml-2.0) were not met: 24698 24699 $LIBXML_PKG_ERRORS 24678 24700 24679 24701 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24680 24702 installed software in a non-standard prefix. 24681 24703 24682 Alternatively, you may set the environment variables FM_SERVER_TEST_CFLAGS24683 and FM_SERVER_TEST_LIBS to avoid the need to call pkg-config.24704 Alternatively, you may set the environment variables LIBXML_CFLAGS 24705 and LIBXML_LIBS to avoid the need to call pkg-config. 24684 24706 See the pkg-config man page for more details. 24685 24707 " >&2;} … … 24690 24712 path to pkg-config. 24691 24713 24692 Alternatively, you may set the environment variables FM_SERVER_TEST_CFLAGS24693 and FM_SERVER_TEST_LIBS to avoid the need to call pkg-config.24714 Alternatively, you may set the environment variables LIBXML_CFLAGS 24715 and LIBXML_LIBS to avoid the need to call pkg-config. 24694 24716 See the pkg-config man page for more details. 24695 24717 … … 24700 24722 path to pkg-config. 24701 24723 24702 Alternatively, you may set the environment variables FM_SERVER_TEST_CFLAGS24703 and FM_SERVER_TEST_LIBS to avoid the need to call pkg-config.24724 Alternatively, you may set the environment variables LIBXML_CFLAGS 24725 and LIBXML_LIBS to avoid the need to call pkg-config. 24704 24726 See the pkg-config man page for more details. 24705 24727 … … 24708 24730 { (exit 1); exit 1; }; } 24709 24731 else 24710 FM_SERVER_TEST_CFLAGS=$pkg_cv_FM_SERVER_TEST_CFLAGS 24711 FM_SERVER_TEST_LIBS=$pkg_cv_FM_SERVER_TEST_LIBS 24732 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS 24733 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS 24734 { echo "$as_me:$LINENO: result: yes" >&5 24735 echo "${ECHO_T}yes" >&6; } 24736 : 24737 fi 24738 24739 24740 24741 24742 pkg_failed=no 24743 { echo "$as_me:$LINENO: checking for GSTREAMER" >&5 24744 echo $ECHO_N "checking for GSTREAMER... $ECHO_C" >&6; } 24745 24746 if test -n "$PKG_CONFIG"; then 24747 if test -n "$GSTREAMER_CFLAGS"; then 24748 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" 24749 else 24750 if test -n "$PKG_CONFIG" && \ 24751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10\"") >&5 24752 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10") 2>&5 24753 ac_status=$? 24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24755 (exit $ac_status); }; then 24756 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10" 2>/dev/null` 24757 else 24758 pkg_failed=yes 24759 fi 24760 fi 24761 else 24762 pkg_failed=untried 24763 fi 24764 if test -n "$PKG_CONFIG"; then 24765 if test -n "$GSTREAMER_LIBS"; then 24766 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" 24767 else 24768 if test -n "$PKG_CONFIG" && \ 24769 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10\"") >&5 24770 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10") 2>&5 24771 ac_status=$? 24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24773 (exit $ac_status); }; then 24774 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10" 2>/dev/null` 24775 else 24776 pkg_failed=yes 24777 fi 24778 fi 24779 else 24780 pkg_failed=untried 24781 fi 24782 24783 24784 24785 if test $pkg_failed = yes; then 24786 24787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24788 _pkg_short_errors_supported=yes 24789 else 24790 _pkg_short_errors_supported=no 24791 fi 24792 if test $_pkg_short_errors_supported = yes; then 24793 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10"` 24794 else 24795 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10"` 24796 fi 24797 # Put the nasty error message in config.log where it belongs 24798 echo "$GSTREAMER_PKG_ERRORS" >&5 24799 24800 { { echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) were not met: 24801 24802 $GSTREAMER_PKG_ERRORS 24803 24804 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24805 installed software in a non-standard prefix. 24806 24807 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24808 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24809 See the pkg-config man page for more details. 24810 " >&5 24811 echo "$as_me: error: Package requirements (gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) were not met: 24812 24813 $GSTREAMER_PKG_ERRORS 24814 24815 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24816 installed software in a non-standard prefix. 24817 24818 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24819 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24820 See the pkg-config man page for more details. 24821 " >&2;} 24822 { (exit 1); exit 1; }; } 24823 elif test $pkg_failed = untried; then 24824 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 24825 is in your PATH or set the PKG_CONFIG environment variable to the full 24826 path to pkg-config. 24827 24828 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24829 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24830 See the pkg-config man page for more details. 24831 24832 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24833 See \`config.log' for more details." >&5 24834 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 24835 is in your PATH or set the PKG_CONFIG environment variable to the full 24836 path to pkg-config. 24837 24838 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24839 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24840 See the pkg-config man page for more details. 24841 24842 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24843 See \`config.log' for more details." >&2;} 24844 { (exit 1); exit 1; }; } 24845 else 24846 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS 24847 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS 24848 { echo "$as_me:$LINENO: result: yes" >&5 24849 echo "${ECHO_T}yes" >&6; } 24850 : 24851 fi 24852 24853 24854 24855 24856 pkg_failed=no 24857 { echo "$as_me:$LINENO: checking for SAMPLERATE" >&5 24858 echo $ECHO_N "checking for SAMPLERATE... $ECHO_C" >&6; } 24859 24860 if test -n "$PKG_CONFIG"; then 24861 if test -n "$SAMPLERATE_CFLAGS"; then 24862 pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS" 24863 else 24864 if test -n "$PKG_CONFIG" && \ 24865 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"samplerate\"") >&5 24866 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 24867 ac_status=$? 24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24869 (exit $ac_status); }; then 24870 pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null` 24871 else 24872 pkg_failed=yes 24873 fi 24874 fi 24875 else 24876 pkg_failed=untried 24877 fi 24878 if test -n "$PKG_CONFIG"; then 24879 if test -n "$SAMPLERATE_LIBS"; then 24880 pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS" 24881 else 24882 if test -n "$PKG_CONFIG" && \ 24883 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"samplerate\"") >&5 24884 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 24885 ac_status=$? 24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24887 (exit $ac_status); }; then 24888 pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null` 24889 else 24890 pkg_failed=yes 24891 fi 24892 fi 24893 else 24894 pkg_failed=untried 24895 fi 24896 24897 24898 24899 if test $pkg_failed = yes; then 24900 24901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24902 _pkg_short_errors_supported=yes 24903 else 24904 _pkg_short_errors_supported=no 24905 fi 24906 if test $_pkg_short_errors_supported = yes; then 24907 SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "samplerate"` 24908 else 24909 SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "samplerate"` 24910 fi 24911 # Put the nasty error message in config.log where it belongs 24912 echo "$SAMPLERATE_PKG_ERRORS" >&5 24913 24914 { { echo "$as_me:$LINENO: error: Package requirements (samplerate) were not met: 24915 24916 $SAMPLERATE_PKG_ERRORS 24917 24918 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24919 installed software in a non-standard prefix. 24920 24921 Alternatively, you may set the environment variables SAMPLERATE_CFLAGS 24922 and SAMPLERATE_LIBS to avoid the need to call pkg-config. 24923 See the pkg-config man page for more details. 24924 " >&5 24925 echo "$as_me: error: Package requirements (samplerate) were not met: 24926 24927 $SAMPLERATE_PKG_ERRORS 24928 24929 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24930 installed software in a non-standard prefix. 24931 24932 Alternatively, you may set the environment variables SAMPLERATE_CFLAGS 24933 and SAMPLERATE_LIBS to avoid the need to call pkg-config. 24934 See the pkg-config man page for more details. 24935 " >&2;} 24936 { (exit 1); exit 1; }; } 24937 elif test $pkg_failed = untried; then 24938 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 24939 is in your PATH or set the PKG_CONFIG environment variable to the full 24940 path to pkg-config. 24941 24942 Alternatively, you may set the environment variables SAMPLERATE_CFLAGS 24943 and SAMPLERATE_LIBS to avoid the need to call pkg-config. 24944 See the pkg-config man page for more details. 24945 24946 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24947 See \`config.log' for more details." >&5 24948 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 24949 is in your PATH or set the PKG_CONFIG environment variable to the full 24950 path to pkg-config. 24951 24952 Alternatively, you may set the environment variables SAMPLERATE_CFLAGS 24953 and SAMPLERATE_LIBS to avoid the need to call pkg-config. 24954 See the pkg-config man page for more details. 24955 24956 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24957 See \`config.log' for more details." >&2;} 24958 { (exit 1); exit 1; }; } 24959 else 24960 SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS 24961 SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS 24712 24962 { echo "$as_me:$LINENO: result: yes" >&5 24713 24963 echo "${ECHO_T}yes" >&6; } … … 24948 25198 24949 25199 pkg_failed=no 25200 { echo "$as_me:$LINENO: checking for ALSA" >&5 25201 echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; } 25202 25203 if test -n "$PKG_CONFIG"; then 25204 if test -n "$ALSA_CFLAGS"; then 25205 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS" 25206 else 25207 if test -n "$PKG_CONFIG" && \ 25208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5 25209 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 25210 ac_status=$? 25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25212 (exit $ac_status); }; then 25213 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null` 25214 else 25215 pkg_failed=yes 25216 fi 25217 fi 25218 else 25219 pkg_failed=untried 25220 fi 25221 if test -n "$PKG_CONFIG"; then 25222 if test -n "$ALSA_LIBS"; then 25223 pkg_cv_ALSA_LIBS="$ALSA_LIBS" 25224 else 25225 if test -n "$PKG_CONFIG" && \ 25226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5 25227 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5 25228 ac_status=$? 25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25230 (exit $ac_status); }; then 25231 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null` 25232 else 25233 pkg_failed=yes 25234 fi 25235 fi 25236 else 25237 pkg_failed=untried 25238 fi 25239 25240 25241 25242 if test $pkg_failed = yes; then 25243 25244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25245 _pkg_short_errors_supported=yes 25246 else 25247 _pkg_short_errors_supported=no 25248 fi 25249 if test $_pkg_short_errors_supported = yes; then 25250 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"` 25251 else 25252 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"` 25253 fi 25254 # Put the nasty error message in config.log where it belongs 25255 echo "$ALSA_PKG_ERRORS" >&5 25256 25257 { echo "$as_me:$LINENO: result: no" >&5 25258 echo "${ECHO_T}no" >&6; } 25259 got_alsa=no 25260 elif test $pkg_failed = untried; then 25261 got_alsa=no 25262 else 25263 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS 25264 ALSA_LIBS=$pkg_cv_ALSA_LIBS 25265 { echo "$as_me:$LINENO: result: yes" >&5 25266 echo "${ECHO_T}yes" >&6; } 25267 got_alsa=yes 25268 fi 25269 25270 25271 if test $got_alsa = yes; then 25272 HAVE_ALSA_TRUE= 25273 HAVE_ALSA_FALSE='#' 25274 else 25275 HAVE_ALSA_TRUE='#' 25276 HAVE_ALSA_FALSE= 25277 fi 25278 25279 if test "$got_alsa" = "yes"; then 25280 25281 cat >>confdefs.h <<_ACEOF 25282 #define HAVE_ALSA 1 25283 _ACEOF 25284 25285 fi 25286 25287 25288 25289 pkg_failed=no 24950 25290 { echo "$as_me:$LINENO: checking for JACK" >&5 24951 25291 echo $ECHO_N "checking for JACK... $ECHO_C" >&6; } … … 25038 25378 25039 25379 pkg_failed=no 25040 { echo "$as_me:$LINENO: checking for ALSA" >&525041 echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; }25380 { echo "$as_me:$LINENO: checking for PULSE" >&5 25381 echo $ECHO_N "checking for PULSE... $ECHO_C" >&6; } 25042 25382 25043 25383 if test -n "$PKG_CONFIG"; then 25044 if test -n "$ ALSA_CFLAGS"; then25045 pkg_cv_ ALSA_CFLAGS="$ALSA_CFLAGS"25384 if test -n "$PULSE_CFLAGS"; then 25385 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS" 25046 25386 else 25047 25387 if test -n "$PKG_CONFIG" && \ 25048 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" alsa\"") >&525049 ($PKG_CONFIG --exists --print-errors " alsa") 2>&525388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse\"") >&5 25389 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5 25050 25390 ac_status=$? 25051 25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25052 25392 (exit $ac_status); }; then 25053 pkg_cv_ ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`25393 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse" 2>/dev/null` 25054 25394 else 25055 25395 pkg_failed=yes … … 25060 25400 fi 25061 25401 if test -n "$PKG_CONFIG"; then 25062 if test -n "$ ALSA_LIBS"; then25063 pkg_cv_ ALSA_LIBS="$ALSA_LIBS"25402 if test -n "$PULSE_LIBS"; then 25403 pkg_cv_PULSE_LIBS="$PULSE_LIBS" 25064 25404 else 25065 25405 if test -n "$PKG_CONFIG" && \ 25066 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" alsa\"") >&525067 ($PKG_CONFIG --exists --print-errors " alsa") 2>&525406 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse\"") >&5 25407 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5 25068 25408 ac_status=$? 25069 25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25070 25410 (exit $ac_status); }; then 25071 pkg_cv_ ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`25411 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse" 2>/dev/null` 25072 25412 else 25073 25413 pkg_failed=yes … … 25088 25428 fi 25089 25429 if test $_pkg_short_errors_supported = yes; then 25090 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`25430 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse"` 25091 25431 else 25092 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`25432 PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse"` 25093 25433 fi 25094 25434 # Put the nasty error message in config.log where it belongs 25095 echo "$ ALSA_PKG_ERRORS" >&525435 echo "$PULSE_PKG_ERRORS" >&5 25096 25436 25097 25437 { echo "$as_me:$LINENO: result: no" >&5 25098 25438 echo "${ECHO_T}no" >&6; } 25099 got_ alsa=no25439 got_pulse=no 25100 25440 elif test $pkg_failed = untried; then 25101 got_ alsa=no25102 else 25103 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS25104 ALSA_LIBS=$pkg_cv_ALSA_LIBS25441 got_pulse=no 25442 else 25443 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS 25444 PULSE_LIBS=$pkg_cv_PULSE_LIBS 25105 25445 { echo "$as_me:$LINENO: result: yes" >&5 25106 25446 echo "${ECHO_T}yes" >&6; } 25107 got_ alsa=yes25108 fi 25109 25110 25111 if test $got_ alsa= yes; then25112 HAVE_ ALSA_TRUE=25113 HAVE_ ALSA_FALSE='#'25114 else 25115 HAVE_ ALSA_TRUE='#'25116 HAVE_ ALSA_FALSE=25117 fi 25118 25119 if test "$got_ alsa" = "yes"; then25447 got_pulse=yes 25448 fi 25449 25450 25451 if test $got_pulse = yes; then 25452 HAVE_PULSE_TRUE= 25453 HAVE_PULSE_FALSE='#' 25454 else 25455 HAVE_PULSE_TRUE='#' 25456 HAVE_PULSE_FALSE= 25457 fi 25458 25459 if test "$got_pulse" = "yes"; then 25120 25460 25121 25461 cat >>confdefs.h <<_ACEOF 25122 #define HAVE_ ALSA125462 #define HAVE_PULSE 1 25123 25463 _ACEOF 25124 25464 … … 25569 25909 { (exit 1); exit 1; }; } 25570 25910 fi 25911 if test -z "${HAVE_ALSA_TRUE}" && test -z "${HAVE_ALSA_FALSE}"; then 25912 { { echo "$as_me:$LINENO: error: conditional \"HAVE_ALSA\" was never defined. 25913 Usually this means the macro was only invoked conditionally." >&5 25914 echo "$as_me: error: conditional \"HAVE_ALSA\" was never defined. 25915 Usually this means the macro was only invoked conditionally." >&2;} 25916 { (exit 1); exit 1; }; } 25917 fi 25571 25918 if test -z "${HAVE_JACK_TRUE}" && test -z "${HAVE_JACK_FALSE}"; then 25572 25919 { { echo "$as_me:$LINENO: error: conditional \"HAVE_JACK\" was never defined. … … 25576 25923 { (exit 1); exit 1; }; } 25577 25924 fi 25578 if test -z "${HAVE_ ALSA_TRUE}" && test -z "${HAVE_ALSA_FALSE}"; then25579 { { echo "$as_me:$LINENO: error: conditional \"HAVE_ ALSA\" was never defined.25925 if test -z "${HAVE_PULSE_TRUE}" && test -z "${HAVE_PULSE_FALSE}"; then 25926 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PULSE\" was never defined. 25580 25927 Usually this means the macro was only invoked conditionally." >&5 25581 echo "$as_me: error: conditional \"HAVE_ ALSA\" was never defined.25928 echo "$as_me: error: conditional \"HAVE_PULSE\" was never defined. 25582 25929 Usually this means the macro was only invoked conditionally." >&2;} 25583 25930 { (exit 1); exit 1; }; } … … 26291 26638 LIBOBJS!$LIBOBJS$ac_delim 26292 26639 PKG_CONFIG!$PKG_CONFIG$ac_delim 26293 FM_SERVER_CFLAGS!$FM_SERVER_CFLAGS$ac_delim 26294 FM_SERVER_LIBS!$FM_SERVER_LIBS$ac_delim 26295 FM_SERVER_TEST_CFLAGS!$FM_SERVER_TEST_CFLAGS$ac_delim 26296 FM_SERVER_TEST_LIBS!$FM_SERVER_TEST_LIBS$ac_delim 26640 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim 26641 GLIB_LIBS!$GLIB_LIBS$ac_delim 26642 LIBXML_CFLAGS!$LIBXML_CFLAGS$ac_delim 26643 LIBXML_LIBS!$LIBXML_LIBS$ac_delim 26644 GSTREAMER_CFLAGS!$GSTREAMER_CFLAGS$ac_delim 26645 GSTREAMER_LIBS!$GSTREAMER_LIBS$ac_delim 26646 SAMPLERATE_CFLAGS!$SAMPLERATE_CFLAGS$ac_delim 26647 SAMPLERATE_LIBS!$SAMPLERATE_LIBS$ac_delim 26297 26648 RGC_SERVER_CFLAGS!$RGC_SERVER_CFLAGS$ac_delim 26298 26649 RGC_SERVER_LIBS!$RGC_SERVER_LIBS$ac_delim 26299 26650 RGC_CLIENT_CFLAGS!$RGC_CLIENT_CFLAGS$ac_delim 26300 26651 RGC_CLIENT_LIBS!$RGC_CLIENT_LIBS$ac_delim 26652 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim 26653 ALSA_LIBS!$ALSA_LIBS$ac_delim 26654 HAVE_ALSA_TRUE!$HAVE_ALSA_TRUE$ac_delim 26655 HAVE_ALSA_FALSE!$HAVE_ALSA_FALSE$ac_delim 26301 26656 JACK_CFLAGS!$JACK_CFLAGS$ac_delim 26302 26657 JACK_LIBS!$JACK_LIBS$ac_delim 26303 26658 HAVE_JACK_TRUE!$HAVE_JACK_TRUE$ac_delim 26304 26659 HAVE_JACK_FALSE!$HAVE_JACK_FALSE$ac_delim 26305 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim26306 ALSA_LIBS!$ALSA_LIBS$ac_delim26307 HAVE_ ALSA_TRUE!$HAVE_ALSA_TRUE$ac_delim26308 HAVE_ ALSA_FALSE!$HAVE_ALSA_FALSE$ac_delim26660 PULSE_CFLAGS!$PULSE_CFLAGS$ac_delim 26661 PULSE_LIBS!$PULSE_LIBS$ac_delim 26662 HAVE_PULSE_TRUE!$HAVE_PULSE_TRUE$ac_delim 26663 HAVE_PULSE_FALSE!$HAVE_PULSE_FALSE$ac_delim 26309 26664 NO_PREFIX_PACKAGE_DATA_DIR!$NO_PREFIX_PACKAGE_DATA_DIR$ac_delim 26310 26665 PACKAGE_DATA_DIR!$PACKAGE_DATA_DIR$ac_delim … … 26320 26675 _ACEOF 26321 26676 26322 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then26677 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then 26323 26678 break 26324 26679 elif $ac_last_try; then … … 27037 27392 echo "" 27038 27393 echo "" 27394 echo "Optional components:" 27395 if test "$got_jack" = "yes"; then 27396 echo " JACK output plugin: yes" 27397 else 27398 echo " JACK output plugin: no" 27399 fi 27400 if test "$got_alsa" = "yes"; then 27401 echo " ALSA output plugin: yes" 27402 else 27403 echo " ALSA output plugin: no" 27404 fi 27405 if test "$got_pulse" = "yes"; then 27406 echo " PulseAudio output plugin: yes" 27407 else 27408 echo " PulseAudio output plugin: no" 27409 fi 27410 echo "" 27039 27411 echo "Build options:" 27040 if test "$got_jack" = "yes"; then 27041 echo " JACK output: yes" 27042 else 27043 echo " JACK output: no" 27044 fi 27045 if test "$got_alsa" = "yes"; then 27046 echo " ALSA output: yes" 27047 else 27048 echo " ALSA output: no" 27049 fi 27412 echo " CFLAGS: ${CFLAGS}" 27050 27413 echo "" 27051 27414 echo "Installation options:" 27052 27415 echo " fm_server will be installed to ${prefix}" 27053 echo " CFLAGS: ${CFLAGS}"27054 27416 echo "" 27055 27417 -
trunk/fm_server/configure.ac
r211 r224 50 50 51 51 # Check for dependencies 52 PKG_CHECK_MODULES(FM_SERVER, glib-2.0 gthread-2.0 gobject-2.0 samplerate gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) 53 AC_SUBST(FM_SERVER_LIBS) 54 AC_SUBST(FM_SERVER_CFLAGS) 55 56 PKG_CHECK_MODULES(FM_SERVER_TEST, glib-2.0 gthread-2.0 gobject-2.0) 57 AC_SUBST(FM_SERVER_TEST_CFLAGS) 58 AC_SUBST(FM_SERVER_TEST_LIBS) 52 PKG_CHECK_MODULES(GLIB, glib-2.0 gthread-2.0 gobject-2.0) 53 AC_SUBST(GLIB_LIBS) 54 AC_SUBST(GLIB_CFLAGS) 55 56 PKG_CHECK_MODULES(LIBXML, libxml-2.0) 57 AC_SUBST(LIBXML_LIBS) 58 AC_SUBST(LIBXML_CFLAGS) 59 60 PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) 61 AC_SUBST(GSTREAMER_LIBS) 62 AC_SUBST(GSTREAMER_CFLAGS) 63 64 PKG_CHECK_MODULES(SAMPLERATE, samplerate) 65 AC_SUBST(SAMPLERATE_LIBS) 66 AC_SUBST(SAMPLERATE_CFLAGS) 59 67 60 68 PKG_CHECK_MODULES(RGC_SERVER, rgc_server) … … 65 73 AC_SUBST(RGC_CLIENT_LIBS) 66 74 AC_SUBST(RGC_CLIENT_CFLAGS) 75 76 77 PKG_CHECK_MODULES(ALSA, alsa, got_alsa=yes, got_alsa=no) 78 AC_SUBST(ALSA_LIBS) 79 AC_SUBST(ALSA_CFLAGS) 80 AM_CONDITIONAL(HAVE_ALSA, test $got_alsa = yes) 81 if test "$got_alsa" = "yes"; then 82 AC_DEFINE_UNQUOTED(HAVE_ALSA, 1, [ ALSA is available. ]) 83 fi 67 84 68 85 … … 76 93 77 94 78 PKG_CHECK_MODULES( ALSA, alsa, got_alsa=yes, got_alsa=no)79 AC_SUBST( ALSA_LIBS)80 AC_SUBST( ALSA_CFLAGS)81 AM_CONDITIONAL(HAVE_ ALSA, test $got_alsa= yes)82 if test "$got_ alsa" = "yes"; then83 AC_DEFINE_UNQUOTED(HAVE_ ALSA, 1, [ ALSAis available. ])95 PKG_CHECK_MODULES(PULSE, libpulse, got_pulse=yes, got_pulse=no) 96 AC_SUBST(PULSE_LIBS) 97 AC_SUBST(PULSE_CFLAGS) 98 AM_CONDITIONAL(HAVE_PULSE, test $got_pulse = yes) 99 if test "$got_pulse" = "yes"; then 100 AC_DEFINE_UNQUOTED(HAVE_PULSE, 1, [ PulseAudio is available. ]) 84 101 fi 85 102 … … 194 211 echo "" 195 212 echo "" 213 echo "Optional components:" 214 if test "$got_jack" = "yes"; then 215 echo " JACK output plugin: yes" 216 else 217 echo " JACK output plugin: no" 218 fi 219 if test "$got_alsa" = "yes"; then 220 echo " ALSA output plugin: yes" 221 else 222 echo " ALSA output plugin: no" 223 fi 224 if test "$got_pulse" = "yes"; then 225 echo " PulseAudio output plugin: yes" 226 else 227 echo " PulseAudio output plugin: no" 228 fi 229 echo "" 196 230 echo "Build options:" 197 if test "$got_jack" = "yes"; then 198 echo " JACK output: yes" 199 else 200 echo " JACK output: no" 201 fi 202 if test "$got_alsa" = "yes"; then 203 echo " ALSA output: yes" 204 else 205 echo " ALSA output: no" 206 fi 231 echo " CFLAGS: ${CFLAGS}" 207 232 echo "" 208 233 echo "Installation options:" 209 234 echo " fm_server will be installed to ${prefix}" 210 echo " CFLAGS: ${CFLAGS}" 211 echo "" 212 235 echo "" 236 -
trunk/fm_server/src/Makefile.am
r212 r224 2 2 3 3 4 AM_CPPFLAGS = $( FM_SERVER_CFLAGS) \4 AM_CPPFLAGS = $(GLIB_CFLAGS) \ 5 5 $(RGC_SERVER_CFLAGS) 6 6 … … 33 33 fm_input_test.c\ 34 34 fm_input_test.h\ 35 fm_input_cdj.c\36 fm_input_cdj.h\37 35 fm_marshal.c\ 38 36 fm_marshal.h\ 39 37 fm_effect_gain.c\ 40 38 fm_effect_gain.h\ 41 fm_effect_rate.c\42 fm_effect_rate.h\43 39 fm_mixer.c\ 44 40 fm_mixer.h\ … … 57 53 58 54 fm_server_LDADD = \ 59 $( FM_SERVER_LIBS) \55 $(GLIB_LIBS) \ 60 56 $(RGC_SERVER_LIBS) \ 61 57 fm_input_gst/libfm_input_gst.la \ … … 63 59 64 60 61 noinst_LTLIBRARIES = 62 63 64 ## Plugins listed here... 65 66 noinst_LTLIBRARIES += libfm_effect_rate.la 67 68 libfm_effect_rate_la_SOURCES = fm_effect_rate.c fm_effect_rate.h 69 libfm_effect_rate_la_CFLAGS = $(SAMPLERATE_CFLAGS) 70 libfm_effect_rate_la_LIBADD = $(SAMPLERATE_LIBS) 71 72 fm_server_LDADD += libfm_effect_rate.la 73 74 75 noinst_LTLIBRARIES += libfm_input_cdj.la 76 77 libfm_input_cdj_la_SOURCES = fm_input_cdj.c fm_input_cdj.h 78 libfm_input_cdj_la_CFLAGS = $(GSTREAMER_CFLAGS) $(LIBXML_CFLAGS) 79 libfm_input_cdj_la_LIBADD = $(GSTREAMER_LIBS) $(LIBXML_CFLAGS) 80 81 fm_server_LDADD += libfm_input_cdj.la 82 83 65 84 if HAVE_ALSA 66 fm_server_SOURCES += \ 67 fm_output_alsa.c \ 68 fm_output_alsa.h 85 noinst_LTLIBRARIES += libfm_server_alsa.la 69 86 70 fm_server_INCLUDES += $(ALSA_CFLAGS) 87 libfm_server_alsa_la_SOURCES = fm_output_alsa.c fm_output_alsa.h 88 libfm_server_alsa_la_CFLAGS = $(ALSA_CFLAGS) 89 libfm_server_alsa_la_LIBADD = $(ALSA_LIBS) 71 90 72 fm_server_LDADD += $(ALSA_LIBS)91 fm_server_LDADD += libfm_server_alsa.la 73 92 endif 74 93 75 94 76 95 if HAVE_JACK 77 fm_server_SOURCES += \ 78 fm_output_jack.c \ 79 fm_output_jack.h 96 noinst_LTLIBRARIES += libfm_server_jack.la 80 97 81 fm_server_INCLUDES += $(JACK_CFLAGS) 98 libfm_server_jack_la_SOURCES = fm_output_jack.c fm_output_jack.h 99 libfm_server_jack_la_CFLAGS = $(JACK_CFLAGS) 100 libfm_server_jack_la_LIBADD = $(JACK_LIBS) 82 101 83 fm_server_LDADD += $(JACK_LIBS)102 fm_server_LDADD += libfm_server_jack.la 84 103 endif 104 105 106 if HAVE_PULSE 107 noinst_LTLIBRARIES += libfm_server_pulse.la 108 109 libfm_server_pulse_la_SOURCES = fm_output_pulse.c fm_output_pulse.h 110 libfm_server_pulse_la_CFLAGS = $(PULSE_CFLAGS) 111 libfm_server_pulse_la_LIBADD = $(PULSE_LIBS) 112 113 fm_server_LDADD += libfm_server_pulse.la 114 endif -
trunk/fm_server/src/Makefile.in
r220 r224 14 14 15 15 @SET_MAKE@ 16 16 17 17 18 VPATH = @srcdir@ … … 34 35 host_triplet = @host@ 35 36 bin_PROGRAMS = fm_server$(EXEEXT) 36 @HAVE_ALSA_TRUE@am__append_1 = \ 37 @HAVE_ALSA_TRUE@ fm_output_alsa.c \ 38 @HAVE_ALSA_TRUE@ fm_output_alsa.h 39 40 @HAVE_ALSA_TRUE@am__append_2 = $(ALSA_CFLAGS) 41 @HAVE_ALSA_TRUE@am__append_3 = $(ALSA_LIBS) 42 @HAVE_JACK_TRUE@am__append_4 = \ 43 @HAVE_JACK_TRUE@ fm_output_jack.c \ 44 @HAVE_JACK_TRUE@ fm_output_jack.h 45 46 @HAVE_JACK_TRUE@am__append_5 = $(JACK_CFLAGS) 47 @HAVE_JACK_TRUE@am__append_6 = $(JACK_LIBS) 37 @HAVE_ALSA_TRUE@am__append_1 = libfm_server_alsa.la 38 @HAVE_ALSA_TRUE@am__append_2 = libfm_server_alsa.la 39 @HAVE_JACK_TRUE@am__append_3 = libfm_server_jack.la 40 @HAVE_JACK_TRUE@am__append_4 = libfm_server_jack.la 41 @HAVE_PULSE_TRUE@am__append_5 = libfm_server_pulse.la 42 @HAVE_PULSE_TRUE@am__append_6 = libfm_server_pulse.la 48 43 subdir = src 49 44 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 60 55 CONFIG_HEADER = $(top_builddir)/config.h 61 56 CONFIG_CLEAN_FILES = 57 LTLIBRARIES = $(noinst_LTLIBRARIES) 58 am__DEPENDENCIES_1 = 59 libfm_effect_rate_la_DEPENDENCIES = $(am__DEPENDENCIES_1) 60 am_libfm_effect_rate_la_OBJECTS = \ 61 libfm_effect_rate_la-fm_effect_rate.lo 62 libfm_effect_rate_la_OBJECTS = $(am_libfm_effect_rate_la_OBJECTS) 63 libfm_effect_rate_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 64 $(LIBTOOLFLAGS) --mode=link $(CCLD) \ 65 $(libfm_effect_rate_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 66 $(LDFLAGS) -o $@ 67 libfm_input_cdj_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ 68 $(am__DEPENDENCIES_1) 69 am_libfm_input_cdj_la_OBJECTS = libfm_input_cdj_la-fm_input_cdj.lo 70 libfm_input_cdj_la_OBJECTS = $(am_libfm_input_cdj_la_OBJECTS) 71 libfm_input_cdj_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 72 $(LIBTOOLFLAGS) --mode=link $(CCLD) \ 73 $(libfm_input_cdj_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 74 $(LDFLAGS) -o $@ 75 @HAVE_ALSA_TRUE@libfm_server_alsa_la_DEPENDENCIES = \ 76 @HAVE_ALSA_TRUE@ $(am__DEPENDENCIES_1) 77 am__libfm_server_alsa_la_SOURCES_DIST = fm_output_alsa.c \ 78 fm_output_alsa.h 79 @HAVE_ALSA_TRUE@am_libfm_server_alsa_la_OBJECTS = \ 80 @HAVE_ALSA_TRUE@ libfm_server_alsa_la-fm_output_alsa.lo 81 libfm_server_alsa_la_OBJECTS = $(am_libfm_server_alsa_la_OBJECTS) 82 libfm_server_alsa_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 83 $(LIBTOOLFLAGS) --mode=link $(CCLD) \ 84 $(libfm_server_alsa_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 85 $(LDFLAGS) -o $@ 86 @HAVE_ALSA_TRUE@am_libfm_server_alsa_la_rpath = 87 @HAVE_JACK_TRUE@libfm_server_jack_la_DEPENDENCIES = \ 88 @HAVE_JACK_TRUE@ $(am__DEPENDENCIES_1) 89 am__libfm_server_jack_la_SOURCES_DIST = fm_output_jack.c \ 90 fm_output_jack.h 91 @HAVE_JACK_TRUE@am_libfm_server_jack_la_OBJECTS = \ 92 @HAVE_JACK_TRUE@ libfm_server_jack_la-fm_output_jack.lo 93 libfm_server_jack_la_OBJECTS = $(am_libfm_server_jack_la_OBJECTS) 94 libfm_server_jack_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 95 $(LIBTOOLFLAGS) --mode=link $(CCLD) \ 96 $(libfm_server_jack_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 97 $(LDFLAGS) -o $@ 98 @HAVE_JACK_TRUE@am_libfm_server_jack_la_rpath = 99 @HAVE_PULSE_TRUE@libfm_server_pulse_la_DEPENDENCIES = \ 100 @HAVE_PULSE_TRUE@ $(am__DEPENDENCIES_1) 101 am__libfm_server_pulse_la_SOURCES_DIST = fm_output_pulse.c \ 102 fm_output_pulse.h 103 @HAVE_PULSE_TRUE@am_libfm_server_pulse_la_OBJECTS = \ 104 @HAVE_PULSE_TRUE@ libfm_server_pulse_la-fm_output_pulse.lo 105 libfm_server_pulse_la_OBJECTS = $(am_libfm_server_pulse_la_OBJECTS) 106 libfm_server_pulse_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 107 $(LIBTOOLFLAGS) --mode=link $(CCLD) \ 108 $(libfm_server_pulse_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 109 $(LDFLAGS) -o $@ 110 @HAVE_PULSE_TRUE@am_libfm_server_pulse_la_rpath = 62 111 am__installdirs = "$(DESTDIR)$(bindir)" 63 112 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 64 113 PROGRAMS = $(bin_PROGRAMS) 65 am__fm_server_SOURCES_DIST = main.c common.h types.h fm_utils.c \66 fm_utils.h src_type_conv.c src_type_conv.h fm_input.c \67 fm_input.h fm_output.c fm_output.h fm_effect.c fm_effect.h \68 fm_element.c fm_element.h fm_sync.c fm_sync.h fm_pipeline.c \69 fm_pipeline.h fm_input_test.c fm_input_test.h fm_input_cdj.c \70 fm_input_cdj.h fm_marshal.c fm_marshal.h fm_effect_gain.c \71 fm_effect_gain.h fm_effect_rate.c fm_effect_rate.h fm_mixer.c \72 fm_mixer.h fm_djmixer.c fm_djmixer.h fm_buffer.c fm_buffer.h \73 fm_effect_pan.c fm_effect_pan.h fm_level_meter.c \74 fm_level_meter.h fm_output_alsa.c fm_output_alsa.h \75 fm_output_jack.c fm_output_jack.h76 @HAVE_ALSA_TRUE@am__objects_1 = fm_output_alsa.$(OBJEXT)77 @HAVE_JACK_TRUE@am__objects_2 = fm_output_jack.$(OBJEXT)78 114 am_fm_server_OBJECTS = main.$(OBJEXT) fm_utils.$(OBJEXT) \ 79 115 src_type_conv.$(OBJEXT) fm_input.$(OBJEXT) fm_output.$(OBJEXT) \ 80 116 fm_effect.$(OBJEXT) fm_element.$(OBJEXT) fm_sync.$(OBJEXT) \ 81 117 fm_pipeline.$(OBJEXT) fm_input_test.$(OBJEXT) \ 82 fm_input_cdj.$(OBJEXT) fm_marshal.$(OBJEXT) \ 83 fm_effect_gain.$(OBJEXT) fm_effect_rate.$(OBJEXT) \ 118 fm_marshal.$(OBJEXT) fm_effect_gain.$(OBJEXT) \ 84 119 fm_mixer.$(OBJEXT) fm_djmixer.$(OBJEXT) fm_buffer.$(OBJEXT) \ 85 fm_effect_pan.$(OBJEXT) fm_level_meter.$(OBJEXT) \ 86 $(am__objects_1) $(am__objects_2) 120 fm_effect_pan.$(OBJEXT) fm_level_meter.$(OBJEXT) 87 121 fm_server_OBJECTS = $(am_fm_server_OBJECTS) 88 am__DEPENDENCIES_1 =89 @HAVE_ALSA_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)90 @HAVE_JACK_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1)91 122 fm_server_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ 92 123 fm_input_gst/libfm_input_gst.la fm_song_db/libfm_song_db.la \ 93 $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) 124 libfm_effect_rate.la libfm_input_cdj.la $(am__append_2) \ 125 $(am__append_4) $(am__append_6) 94 126 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ 95 127 depcomp = $(SHELL) $(top_srcdir)/depcomp … … 104 136 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 105 137 $(LDFLAGS) -o $@ 106 SOURCES = $(fm_server_SOURCES) 107 DIST_SOURCES = $(am__fm_server_SOURCES_DIST) 138 SOURCES = $(libfm_effect_rate_la_SOURCES) \ 139 $(libfm_input_cdj_la_SOURCES) $(libfm_server_alsa_la_SOURCES) \ 140 $(libfm_server_jack_la_SOURCES) \ 141 $(libfm_server_pulse_la_SOURCES) $(fm_server_SOURCES) 142 DIST_SOURCES = $(libfm_effect_rate_la_SOURCES) \ 143 $(libfm_input_cdj_la_SOURCES) \ 144 $(am__libfm_server_alsa_la_SOURCES_DIST) \ 145 $(am__libfm_server_jack_la_SOURCES_DIST) \ 146 $(am__libfm_server_pulse_la_SOURCES_DIST) $(fm_server_SOURCES) 108 147 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 109 148 html-recursive info-recursive install-data-recursive \ … … 150 189 F77 = @F77@ 151 190 FFLAGS = @FFLAGS@ 152 FM_SERVER_CFLAGS = @FM_SERVER_CFLAGS@ 153 FM_SERVER_LIBS = @FM_SERVER_LIBS@ 154 FM_SERVER_TEST_CFLAGS = @FM_SERVER_TEST_CFLAGS@ 155 FM_SERVER_TEST_LIBS = @FM_SERVER_TEST_LIBS@ 191 GLIB_CFLAGS = @GLIB_CFLAGS@ 192 GLIB_LIBS = @GLIB_LIBS@ 156 193 GMSGFMT = @GMSGFMT@ 157 194 GMSGFMT_015 = @GMSGFMT_015@ 158 195 GREP = @GREP@ 196 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 197 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 159 198 INSTALL = @INSTALL@ 160 199 INSTALL_DATA = @INSTALL_DATA@ … … 172 211 LIBS = @LIBS@ 173 212 LIBTOOL = @LIBTOOL@ 213 LIBXML_CFLAGS = @LIBXML_CFLAGS@ 214 LIBXML_LIBS = @LIBXML_LIBS@ 174 215 LN_S = @LN_S@ 175 216 LTLIBICONV = @LTLIBICONV@ … … 202 243 PKG_CONFIG = @PKG_CONFIG@ 203 244 POSUB = @POSUB@ 245 PULSE_CFLAGS = @PULSE_CFLAGS@ 246 PULSE_LIBS = @PULSE_LIBS@ 204 247 RANLIB = @RANLIB@ 205 248 RGC_CLIENT_CFLAGS = @RGC_CLIENT_CFLAGS@ … … 207 250 RGC_SERVER_CFLAGS = @RGC_SERVER_CFLAGS@ 208 251 RGC_SERVER_LIBS = @RGC_SERVER_LIBS@ 252 SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ 253 SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ 209 254 SED = @SED@ 210 255 SET_MAKE = @SET_MAKE@ … … 267 312 top_srcdir = @top_srcdir@ 268 313 SUBDIRS = fm_input_gst fm_song_db 269 AM_CPPFLAGS = $( FM_SERVER_CFLAGS) \314 AM_CPPFLAGS = $(GLIB_CFLAGS) \ 270 315 $(RGC_SERVER_CFLAGS) 271 316 272 fm_server_SOURCES = main.c common.h types.h fm_utils.c fm_utils.h \ 273 src_type_conv.c src_type_conv.h fm_input.c fm_input.h \ 274 fm_output.c fm_output.h fm_effect.c fm_effect.h fm_element.c \ 275 fm_element.h fm_sync.c fm_sync.h fm_pipeline.c fm_pipeline.h \ 276 fm_input_test.c fm_input_test.h fm_input_cdj.c fm_input_cdj.h \ 277 fm_marshal.c fm_marshal.h fm_effect_gain.c fm_effect_gain.h \ 278 fm_effect_rate.c fm_effect_rate.h fm_mixer.c fm_mixer.h \ 279 fm_djmixer.c fm_djmixer.h fm_buffer.c fm_buffer.h \ 280 fm_effect_pan.c fm_effect_pan.h fm_level_meter.c \ 281 fm_level_meter.h $(am__append_1) $(am__append_4) 282 fm_server_INCLUDES = $(am__append_2) $(am__append_5) 283 fm_server_LDADD = $(FM_SERVER_LIBS) $(RGC_SERVER_LIBS) \ 317 fm_server_SOURCES = \ 318 main.c\ 319 common.h\ 320 types.h\ 321 fm_utils.c\ 322 fm_utils.h\ 323 src_type_conv.c\ 324 src_type_conv.h\ 325 fm_input.c\ 326 fm_input.h\ 327 fm_output.c\ 328 fm_output.h\ 329 fm_effect.c\ 330 fm_effect.h\ 331 fm_element.c\ 332 fm_element.h\ 333 fm_sync.c\ 334 fm_sync.h\ 335 fm_pipeline.c\ 336 fm_pipeline.h\ 337 fm_input_test.c\ 338 fm_input_test.h\ 339 fm_marshal.c\ 340 fm_marshal.h\ 341 fm_effect_gain.c\ 342 fm_effect_gain.h\ 343 fm_mixer.c\ 344 fm_mixer.h\ 345 fm_djmixer.c\ 346 fm_djmixer.h\ 347 fm_buffer.c\ 348 fm_buffer.h\ 349 fm_effect_pan.c\ 350 fm_effect_pan.h\ 351 fm_level_meter.c\ 352 fm_level_meter.h 353 354 fm_server_INCLUDES = 355 fm_server_LDADD = $(GLIB_LIBS) $(RGC_SERVER_LIBS) \ 284 356 fm_input_gst/libfm_input_gst.la fm_song_db/libfm_song_db.la \ 285 $(am__append_3) $(am__append_6) 357 libfm_effect_rate.la libfm_input_cdj.la $(am__append_2) \ 358 $(am__append_4) $(am__append_6) 359 noinst_LTLIBRARIES = libfm_effect_rate.la libfm_input_cdj.la \ 360 $(am__append_1) $(am__append_3) $(am__append_5) 361 libfm_effect_rate_la_SOURCES = fm_effect_rate.c fm_effect_rate.h 362 libfm_effect_rate_la_CFLAGS = $(SAMPLERATE_CFLAGS) 363 libfm_effect_rate_la_LIBADD = $(SAMPLERATE_LIBS) 364 libfm_input_cdj_la_SOURCES = fm_input_cdj.c fm_input_cdj.h 365 libfm_input_cdj_la_CFLAGS = $(GSTREAMER_CFLAGS) $(LIBXML_CFLAGS) 366 libfm_input_cdj_la_LIBADD = $(GSTREAMER_LIBS) $(LIBXML_CFLAGS) 367 @HAVE_ALSA_TRUE@libfm_server_alsa_la_SOURCES = fm_output_alsa.c fm_output_alsa.h 368 @HAVE_ALSA_TRUE@libfm_server_alsa_la_CFLAGS = $(ALSA_CFLAGS) 369 @HAVE_ALSA_TRUE@libfm_server_alsa_la_LIBADD = $(ALSA_LIBS) 370 @HAVE_JACK_TRUE@libfm_server_jack_la_SOURCES = fm_output_jack.c fm_output_jack.h 371 @HAVE_JACK_TRUE@libfm_server_jack_la_CFLAGS = $(JACK_CFLAGS) 372 @HAVE_JACK_TRUE@libfm_server_jack_la_LIBADD = $(JACK_LIBS) 373 @HAVE_PULSE_TRUE@libfm_server_pulse_la_SOURCES = fm_output_pulse.c fm_output_pulse.h 374 @HAVE_PULSE_TRUE@libfm_server_pulse_la_CFLAGS = $(PULSE_CFLAGS) 375 @HAVE_PULSE_TRUE@libfm_server_pulse_la_LIBADD = $(PULSE_LIBS) 286 376 all: all-recursive 287 377 … … 317 407 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 318 408 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 409 410 clean-noinstLTLIBRARIES: 411 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) 412 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ 413 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 414 test "$$dir" != "$$p" || dir=.; \ 415 echo "rm -f \"$${dir}/so_locations\""; \ 416 rm -f "$${dir}/so_locations"; \ 417 done 418 libfm_effect_rate.la: $(libfm_effect_rate_la_OBJECTS) $(libfm_effect_rate_la_DEPENDENCIES) 419 $(libfm_effect_rate_la_LINK) $(libfm_effect_rate_la_OBJECTS) $(libfm_effect_rate_la_LIBADD) $(LIBS) 420 libfm_input_cdj.la: $(libfm_input_cdj_la_OBJECTS) $(libfm_input_cdj_la_DEPENDENCIES) 421 $(libfm_input_cdj_la_LINK) $(libfm_input_cdj_la_OBJECTS) $(libfm_input_cdj_la_LIBADD) $(LIBS) 422 libfm_server_alsa.la: $(libfm_server_alsa_la_OBJECTS) $(libfm_server_alsa_la_DEPENDENCIES) 423 $(libfm_server_alsa_la_LINK) $(am_libfm_server_alsa_la_rpath) $(libfm_server_alsa_la_OBJECTS) $(libfm_server_alsa_la_LIBADD) $(LIBS) 424 libfm_server_jack.la: $(libfm_server_jack_la_OBJECTS) $(libfm_server_jack_la_DEPENDENCIES) 425 $(libfm_server_jack_la_LINK) $(am_libfm_server_jack_la_rpath) $(libfm_server_jack_la_OBJECTS) $(libfm_server_jack_la_LIBADD) $(LIBS) 426 libfm_server_pulse.la: $(libfm_server_pulse_la_OBJECTS) $(libfm_server_pulse_la_DEPENDENCIES) 427 $(libfm_server_pulse_la_LINK) $(am_libfm_server_pulse_la_rpath) $(libfm_server_pulse_la_OBJECTS) $(libfm_server_pulse_la_LIBADD) $(LIBS) 319 428 install-binPROGRAMS: $(bin_PROGRAMS) 320 429 @$(NORMAL_INSTALL) … … 360 469 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_effect_gain.Po@am__quote@ 361 470 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_effect_pan.Po@am__quote@ 362 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_effect_rate.Po@am__quote@363 471 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_element.Po@am__quote@ 364 472 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_input.Po@am__quote@ 365 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_input_cdj.Po@am__quote@366 473 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_input_test.Po@am__quote@ 367 474 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_level_meter.Po@am__quote@ … … 369 476 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_mixer.Po@am__quote@ 370 477 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_output.Po@am__quote@ 371 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_output_alsa.Po@am__quote@372 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_output_jack.Po@am__quote@373 478 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_pipeline.Po@am__quote@ 374 479 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_sync.Po@am__quote@ 375 480 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fm_utils.Po@am__quote@ 481 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfm_effect_rate_la-fm_effect_rate.Plo@am__quote@ 482 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfm_input_cdj_la-fm_input_cdj.Plo@am__quote@ 483 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfm_server_alsa_la-fm_output_alsa.Plo@am__quote@ 484 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfm_server_jack_la-fm_output_jack.Plo@am__quote@ 485 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfm_server_pulse_la-fm_output_pulse.Plo@am__quote@ 376 486 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ 377 487 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/src_type_conv.Po@am__quote@ … … 397 507 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 398 508 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 509 510 libfm_effect_rate_la-fm_effect_rate.lo: fm_effect_rate.c 511 @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_effect_rate_la_CFLAGS) $(CFLAGS) -MT libfm_effect_rate_la-fm_effect_rate.lo -MD -MP -MF $(DEPDIR)/libfm_effect_rate_la-fm_effect_rate.Tpo -c -o libfm_effect_rate_la-fm_effect_rate.lo `test -f 'fm_effect_rate.c' || echo '$(srcdir)/'`fm_effect_rate.c 512 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libfm_effect_rate_la-fm_effect_rate.Tpo $(DEPDIR)/libfm_effect_rate_la-fm_effect_rate.Plo 513 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fm_effect_rate.c' object='libfm_effect_rate_la-fm_effect_rate.lo' libtool=yes @AMDEPBACKSLASH@ 514 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 515 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_effect_rate_la_CFLAGS) $(CFLAGS) -c -o libfm_effect_rate_la-fm_effect_rate.lo `test -f 'fm_effect_rate.c' || echo '$(srcdir)/'`fm_effect_rate.c 516 517 libfm_input_cdj_la-fm_input_cdj.lo: fm_input_cdj.c 518 @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_input_cdj_la_CFLAGS) $(CFLAGS) -MT libfm_input_cdj_la-fm_input_cdj.lo -MD -MP -MF $(DEPDIR)/libfm_input_cdj_la-fm_input_cdj.Tpo -c -o libfm_input_cdj_la-fm_input_cdj.lo `test -f 'fm_input_cdj.c' || echo '$(srcdir)/'`fm_input_cdj.c 519 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libfm_input_cdj_la-fm_input_cdj.Tpo $(DEPDIR)/libfm_input_cdj_la-fm_input_cdj.Plo 520 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fm_input_cdj.c' object='libfm_input_cdj_la-fm_input_cdj.lo' libtool=yes @AMDEPBACKSLASH@ 521 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 522 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_input_cdj_la_CFLAGS) $(CFLAGS) -c -o libfm_input_cdj_la-fm_input_cdj.lo `test -f 'fm_input_cdj.c' || echo '$(srcdir)/'`fm_input_cdj.c 523 524 libfm_server_alsa_la-fm_output_alsa.lo: fm_output_alsa.c 525 @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_server_alsa_la_CFLAGS) $(CFLAGS) -MT libfm_server_alsa_la-fm_output_alsa.lo -MD -MP -MF $(DEPDIR)/libfm_server_alsa_la-fm_output_alsa.Tpo -c -o libfm_server_alsa_la-fm_output_alsa.lo `test -f 'fm_output_alsa.c' || echo '$(srcdir)/'`fm_output_alsa.c 526 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libfm_server_alsa_la-fm_output_alsa.Tpo $(DEPDIR)/libfm_server_alsa_la-fm_output_alsa.Plo 527 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fm_output_alsa.c' object='libfm_server_alsa_la-fm_output_alsa.lo' libtool=yes @AMDEPBACKSLASH@ 528 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 529 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_server_alsa_la_CFLAGS) $(CFLAGS) -c -o libfm_server_alsa_la-fm_output_alsa.lo `test -f 'fm_output_alsa.c' || echo '$(srcdir)/'`fm_output_alsa.c 530 531 libfm_server_jack_la-fm_output_jack.lo: fm_output_jack.c 532 @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_server_jack_la_CFLAGS) $(CFLAGS) -MT libfm_server_jack_la-fm_output_jack.lo -MD -MP -MF $(DEPDIR)/libfm_server_jack_la-fm_output_jack.Tpo -c -o libfm_server_jack_la-fm_output_jack.lo `test -f 'fm_output_jack.c' || echo '$(srcdir)/'`fm_output_jack.c 533 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libfm_server_jack_la-fm_output_jack.Tpo $(DEPDIR)/libfm_server_jack_la-fm_output_jack.Plo 534 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fm_output_jack.c' object='libfm_server_jack_la-fm_output_jack.lo' libtool=yes @AMDEPBACKSLASH@ 535 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 536 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_server_jack_la_CFLAGS) $(CFLAGS) -c -o libfm_server_jack_la-fm_output_jack.lo `test -f 'fm_output_jack.c' || echo '$(srcdir)/'`fm_output_jack.c 537 538 libfm_server_pulse_la-fm_output_pulse.lo: fm_output_pulse.c 539 @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_server_pulse_la_CFLAGS) $(CFLAGS) -MT libfm_server_pulse_la-fm_output_pulse.lo -MD -MP -MF $(DEPDIR)/libfm_server_pulse_la-fm_output_pulse.Tpo -c -o libfm_server_pulse_la-fm_output_pulse.lo `test -f 'fm_output_pulse.c' || echo '$(srcdir)/'`fm_output_pulse.c 540 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libfm_server_pulse_la-fm_output_pulse.Tpo $(DEPDIR)/libfm_server_pulse_la-fm_output_pulse.Plo 541 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fm_output_pulse.c' object='libfm_server_pulse_la-fm_output_pulse.lo' libtool=yes @AMDEPBACKSLASH@ 542 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 543 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfm_server_pulse_la_CFLAGS) $(CFLAGS) -c -o libfm_server_pulse_la-fm_output_pulse.lo `test -f 'fm_output_pulse.c' || echo '$(srcdir)/'`fm_output_pulse.c 399 544 400 545 mostlyclean-libtool: … … 580 725 check-am: all-am 581 726 check: check-recursive 582 all-am: Makefile $( PROGRAMS)727 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) 583 728 installdirs: installdirs-recursive 584 729 installdirs-am: … … 612 757 clean: clean-recursive 613 758 614 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am 759 clean-am: clean-binPROGRAMS clean-generic clean-libtool \ 760 clean-noinstLTLIBRARIES mostlyclean-am 615 761 616 762 distclean: distclean-recursive … … 673 819 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 674 820 all all-am check check-am clean clean-binPROGRAMS \ 675 clean-generic clean-libtool c tags ctags-recursive distclean\676 distclean-compile distclean-generic distclean-libtool\677 distclean- tags distdir dvi dvi-am html html-am info info-am\678 install install-am install-binPROGRAMS install-data\679 install-data -am install-dvi install-dvi-am install-exec\680 install-exec -am install-html install-html-am install-info\681 install-info -am install-man install-pdf install-pdf-am\682 install-p s install-ps-am install-strip installcheck\683 installcheck -am installdirs installdirs-am maintainer-clean\684 maintainer-clean -generic mostlyclean mostlyclean-compile\685 mostlyclean- generic mostlyclean-libtool pdf pdf-am ps ps-am\686 tags tags-recursive uninstall uninstall-am \821 clean-generic clean-libtool clean-noinstLTLIBRARIES ctags \ 822 ctags-recursive distclean distclean-compile distclean-generic \ 823 distclean-libtool distclean-tags distdir dvi dvi-am html \ 824 html-am info info-am install install-am install-binPROGRAMS \ 825 install-data install-data-am install-dvi install-dvi-am \ 826 install-exec install-exec-am install-html install-html-am \ 827 install-info install-info-am install-man install-pdf \ 828 install-pdf-am install-ps install-ps-am install-strip \ 829 installcheck installcheck-am installdirs installdirs-am \ 830 maintainer-clean maintainer-clean-generic mostlyclean \ 831 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 832 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ 687 833 uninstall-binPROGRAMS 688 834 -
trunk/fm_server/src/fm_input_gst/Makefile.am
r212 r224 1 AM_CPPFLAGS = $(FM_SERVER_CFLAGS) \ 1 AM_CPPFLAGS = \ 2 $(GLIB_CFLAGS) \ 3 $(GSTREAMER_CFLAGS) \ 2 4 $(RGC_SERVER_CFLAGS) 3 5 … … 17 19 18 20 19 libfm_input_gst_la_LIBADD = $(FM_SERVER_LIBS) \ 21 libfm_input_gst_la_LIBADD = \ 22 $(GLIB_LIBS) \ 23 $(GSTREAMER_LIBS) \ 20 24 $(RGC_SERVER_LIBS) -
trunk/fm_server/src/fm_input_gst/Makefile.in
r220 r224 50 50 am__DEPENDENCIES_1 = 51 51 libfm_input_gst_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ 52 $(am__DEPENDENCIES_1) 52 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) 53 53 am_libfm_input_gst_la_OBJECTS = jack_ringbuffer.lo fm_input_gst.lo \ 54 54 gstfmsink.lo fm_input_gst_common.lo … … 102 102 F77 = @F77@ 103 103 FFLAGS = @FFLAGS@ 104 FM_SERVER_CFLAGS = @FM_SERVER_CFLAGS@ 105 FM_SERVER_LIBS = @FM_SERVER_LIBS@ 106 FM_SERVER_TEST_CFLAGS = @FM_SERVER_TEST_CFLAGS@ 107 FM_SERVER_TEST_LIBS = @FM_SERVER_TEST_LIBS@ 104 GLIB_CFLAGS = @GLIB_CFLAGS@ 105 GLIB_LIBS = @GLIB_LIBS@ 108 106 GMSGFMT = @GMSGFMT@ 109 107 GMSGFMT_015 = @GMSGFMT_015@ 110 108 GREP = @GREP@ 109 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 110 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 111 111 INSTALL = @INSTALL@ 112 112 INSTALL_DATA = @INSTALL_DATA@ … … 124 124 LIBS = @LIBS@ 125 125 LIBTOOL = @LIBTOOL@ 126 LIBXML_CFLAGS = @LIBXML_CFLAGS@ 127 LIBXML_LIBS = @LIBXML_LIBS@ 126 128 LN_S = @LN_S@ 127 129 LTLIBICONV = @LTLIBICONV@ … … 154 156 PKG_CONFIG = @PKG_CONFIG@ 155 157 POSUB = @POSUB@ 158 PULSE_CFLAGS = @PULSE_CFLAGS@ 159 PULSE_LIBS = @PULSE_LIBS@ 156 160 RANLIB = @RANLIB@ 157 161 RGC_CLIENT_CFLAGS = @RGC_CLIENT_CFLAGS@ … … 159 163 RGC_SERVER_CFLAGS = @RGC_SERVER_CFLAGS@ 160 164 RGC_SERVER_LIBS = @RGC_SERVER_LIBS@ 165 SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ 166 SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ 161 167 SED = @SED@ 162 168 SET_MAKE = @SET_MAKE@ … … 218 224 top_builddir = @top_builddir@ 219 225 top_srcdir = @top_srcdir@ 220 AM_CPPFLAGS = $(FM_SERVER_CFLAGS) \ 226 AM_CPPFLAGS = \ 227 $(GLIB_CFLAGS) \ 228 $(GSTREAMER_CFLAGS) \ 221 229 $(RGC_SERVER_CFLAGS) 222 230 … … 232 240 fm_input_gst_common.c 233 241 234 libfm_input_gst_la_LIBADD = $(FM_SERVER_LIBS) \ 242 libfm_input_gst_la_LIBADD = \ 243 $(GLIB_LIBS) \ 244 $(GSTREAMER_LIBS) \ 235 245 $(RGC_SERVER_LIBS) 236 246 -
trunk/fm_server/src/fm_song_db/Makefile.am
r212 r224 1 AM_CPPFLAGS = $(FM_SERVER_CFLAGS) \ 1 AM_CPPFLAGS = \ 2 $(GLIB_CFLAGS) \ 3 $(LIBXML_CFLAGS) \ 2 4 $(RGC_SERVER_CFLAGS) 3 5 … … 13 15 14 16 15 libfm_song_db_la_LIBADD = $(FM_SERVER_LIBS) \ 17 libfm_song_db_la_LIBADD = \ 18 $(GLIB_LIBS) \ 19 $(LIBXML_LIBS) \ 16 20 $(RGC_SERVER_LIBS) -
trunk/fm_server/src/fm_song_db/Makefile.in
r220 r224 50 50 am__DEPENDENCIES_1 = 51 51 libfm_song_db_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ 52 $(am__DEPENDENCIES_1) 52 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) 53 53 am_libfm_song_db_la_OBJECTS = fm_song_db.lo fm_xml_db.lo 54 54 libfm_song_db_la_OBJECTS = $(am_libfm_song_db_la_OBJECTS) … … 101 101 F77 = @F77@ 102 102 FFLAGS = @FFLAGS@ 103 FM_SERVER_CFLAGS = @FM_SERVER_CFLAGS@ 104 FM_SERVER_LIBS = @FM_SERVER_LIBS@ 105 FM_SERVER_TEST_CFLAGS = @FM_SERVER_TEST_CFLAGS@ 106 FM_SERVER_TEST_LIBS = @FM_SERVER_TEST_LIBS@ 103 GLIB_CFLAGS = @GLIB_CFLAGS@ 104 GLIB_LIBS = @GLIB_LIBS@ 107 105 GMSGFMT = @GMSGFMT@ 108 106 GMSGFMT_015 = @GMSGFMT_015@ 109 107 GREP = @GREP@ 108 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 109 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 110 110 INSTALL = @INSTALL@ 111 111 INSTALL_DATA = @INSTALL_DATA@ … … 123 123 LIBS = @LIBS@ 124 124 LIBTOOL = @LIBTOOL@ 125 LIBXML_CFLAGS = @LIBXML_CFLAGS@ 126 LIBXML_LIBS = @LIBXML_LIBS@ 125 127 LN_S = @LN_S@ 126 128 LTLIBICONV = @LTLIBICONV@ … … 153 155 PKG_CONFIG = @PKG_CONFIG@ 154 156 POSUB = @POSUB@ 157 PULSE_CFLAGS = @PULSE_CFLAGS@ 158 PULSE_LIBS = @PULSE_LIBS@ 155 159 RANLIB = @RANLIB@ 156 160 RGC_CLIENT_CFLAGS = @RGC_CLIENT_CFLAGS@ … … 158 162 RGC_SERVER_CFLAGS = @RGC_SERVER_CFLAGS@ 159 163 RGC_SERVER_LIBS = @RGC_SERVER_LIBS@ 164 SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ 165 SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ 160 166 SED = @SED@ 161 167 SET_MAKE = @SET_MAKE@ … … 217 223 top_builddir = @top_builddir@ 218 224 top_srcdir = @top_srcdir@ 219 AM_CPPFLAGS = $(FM_SERVER_CFLAGS) \ 225 AM_CPPFLAGS = \ 226 $(GLIB_CFLAGS) \ 227 $(LIBXML_CFLAGS) \ 220 228 $(RGC_SERVER_CFLAGS) 221 229 … … 227 235 fm_xml_db.h 228 236 229 libfm_song_db_la_LIBADD = $(FM_SERVER_LIBS) \ 237 libfm_song_db_la_LIBADD = \ 238 $(GLIB_LIBS) \ 239 $(LIBXML_LIBS) \ 230 240 $(RGC_SERVER_LIBS) 231 241 -
trunk/fm_server/src/main.c
r212 r224 25 25 #include <config.h> 26 26 27 #include < glib.h>27 #include <stdio.h> 28 28 #include <unistd.h> // for sleep() 29 #include <gst/gst.h>30 29 #include <sys/types.h> 31 30 #include <sys/stat.h> 32 #include <stdio.h> 31 #include <fcntl.h> 32 #include <errno.h> 33 #include <signal.h> 33 34 #include <string.h> 34 #include <fcntl.h> 35 #include <signal.h> 36 #include <libxml/parser.h> 37 #include <libxml/tree.h> 35 36 #include <glib.h> 37 #include <glib-object.h> 38 38 #include <rgc_server.h> 39 #ifdef HAVE_ALSA40 #include <alsa/asoundlib.h>41 #endif42 #ifdef HAVE_JACK43 #undef uintmax_t44 #include <jack/jack.h>45 #endif46 39 47 48 #include "common.h"49 #include "fm_utils.h"50 #include "fm_buffer.h"51 #include "fm_element.h"52 #include "fm_input.h"53 #include "fm_input_test.h"54 /*#include "fm_input_beatgen.h"*/55 #include "fm_input_gst/jack_ringbuffer.h"56 #include "fm_input_gst/fm_input_gst_common.h"57 #include "fm_input_gst/fm_input_gst.h"58 #include "fm_effect.h"59 #include "fm_effect_gain.h"60 #include "fm_effect_pan.h"61 #include "fm_effect_rate.h"62 #include "fm_output.h"63 #include "fm_mixer.h"64 #include "fm_level_meter.h"65 #include "fm_djmixer.h"66 #include "fm_sync.h"67 #include "fm_pipeline.h"68 #include "fm_song_db/fm_xml_db.h"69 #include "fm_song_db/fm_song_db.h"70 #include "fm_input_cdj.h"71 #ifdef HAVE_ALSA72 #include "fm_output_alsa.h"73 #endif74 #ifdef HAVE_JACK75 #include "fm_output_jack.h"76 #endif77 40 78 41 … … 80 43 gboolean global_debug; 81 44 gboolean write_to_disk; 82 FmSongDB *global_song_db; 45 /*FmSongDB *global_song_db;*/ 46 void *global_song_db; 83 47 84 48 void test_case (void); 49 50 /* sorry for these, they will go away when we'll move to a real plugin system */ 51 void fm_element_class_register (void); 52 void fm_input_class_register (void); 53 void fm_effect_class_register (void); 54 void fm_output_class_register (void); 55 void fm_pipeline_class_register (void); 56 void fm_input_test_class_register (void); 57 void fm_effect_gain_class_register (void); 58 void fm_effect_rate_class_register (void); 59 void fm_effect_pan_class_register (void); 60 void fm_input_gst_class_register (void); 61 void fm_input_cdj_class_register (void); 62 void fm_mixer_class_register (void); 63 void fm_djmixer_class_register (void); 64 void fm_level_meter_class_register (void); 65 void fm_output_alsa_class_register (void); 66 void fm_output_jack_class_register (void); 67 //void fm_output_pulse_class_register (void); 68 void fm_song_db_class_register (void); 69 70 void *fm_song_db_new (void); 71 void *gst_init (int*, char***); 85 72 86 73 void … … 151 138 fm_output_jack_class_register (); 152 139 #endif 140 #if HAVE_PULSE 141 /* fm_output_jack_class_register ();*/ 142 #endif 153 143 154 144 GMainLoop *main_loop; -
trunk/fm_server/test/Makefile.am
r212 r224 1 AM_CPPFLAGS = $( FM_SERVER_TEST_CFLAGS) \1 AM_CPPFLAGS = $(GLIB_CFLAGS) \ 2 2 $(RGC_CLIENT_CFLAGS) 3 3 4 4 5 LDADD = $( FM_SERVER_TEST_LIBS) \5 LDADD = $(GLIB_LIBS) \ 6 6 $(RGC_CLIENT_LIBS) 7 7 -
trunk/fm_server/test/Makefile.in
r220 r224 117 117 F77 = @F77@ 118 118 FFLAGS = @FFLAGS@ 119 FM_SERVER_CFLAGS = @FM_SERVER_CFLAGS@ 120 FM_SERVER_LIBS = @FM_SERVER_LIBS@ 121 FM_SERVER_TEST_CFLAGS = @FM_SERVER_TEST_CFLAGS@ 122 FM_SERVER_TEST_LIBS = @FM_SERVER_TEST_LIBS@ 119 GLIB_CFLAGS = @GLIB_CFLAGS@ 120 GLIB_LIBS = @GLIB_LIBS@ 123 121 GMSGFMT = @GMSGFMT@ 124 122 GMSGFMT_015 = @GMSGFMT_015@ 125 123 GREP = @GREP@ 124 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 125 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 126 126 INSTALL = @INSTALL@ 127 127 INSTALL_DATA = @INSTALL_DATA@ … … 139 139 LIBS = @LIBS@ 140 140 LIBTOOL = @LIBTOOL@ 141 LIBXML_CFLAGS = @LIBXML_CFLAGS@ 142 LIBXML_LIBS = @LIBXML_LIBS@ 141 143 LN_S = @LN_S@ 142 144 LTLIBICONV = @LTLIBICONV@ … … 169 171 PKG_CONFIG = @PKG_CONFIG@ 170 172 POSUB = @POSUB@ 173 PULSE_CFLAGS = @PULSE_CFLAGS@ 174 PULSE_LIBS = @PULSE_LIBS@ 171 175 RANLIB = @RANLIB@ 172 176 RGC_CLIENT_CFLAGS = @RGC_CLIENT_CFLAGS@ … … 174 178 RGC_SERVER_CFLAGS = @RGC_SERVER_CFLAGS@ 175 179 RGC_SERVER_LIBS = @RGC_SERVER_LIBS@ 180 SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@ 181 SAMPLERATE_LIBS = @SAMPLERATE_LIBS@ 176 182 SED = @SED@ 177 183 SET_MAKE = @SET_MAKE@ … … 233 239 top_builddir = @top_builddir@ 234 240 top_srcdir = @top_srcdir@ 235 AM_CPPFLAGS = $( FM_SERVER_TEST_CFLAGS) \241 AM_CPPFLAGS = $(GLIB_CFLAGS) \ 236 242 $(RGC_CLIENT_CFLAGS) 237 243 238 LDADD = $( FM_SERVER_TEST_LIBS) \244 LDADD = $(GLIB_LIBS) \ 239 245 $(RGC_CLIENT_LIBS) 240 246
