4 [AC_HELP_STRING([--enable-libxosd],[use libxosd library (default yes)])],
6 [enable_libxosd="yes"])
9 [AC_HELP_STRING([--enable-gnome],[create gnome applet too (default yes)])],
17 TARGETS="wmradio xwmradio"
20 dnl libxosd test -----------------------------------------------
24 if test "$enable_libxosd" = "yes"; then
27 AC_MSG_ERROR(Can't find libxosd))
30 dnl gnome panel test -------------------------------------------------
33 if test "$enable_gnome" = "yes" ; then
34 AC_PATH_PROG(PKG_CONFIG, pkg-config )
35 if test "$PKG_CONFIG" = "" ; then
36 AC_MSG_ERROR(pgk-config not found)
38 TARGETS="$TARGETS gwmradio"
39 PANEL_LIBS="`$PKG_CONFIG --libs libpanelapplet-2.0`"
40 PANEL_CFLAGS="`$PKG_CONFIG --cflags libpanelapplet-2.0`"
43 AC_SUBST(PANEL_CFLAGS)
45 if test "x${prefix}" = "xNONE"; then
46 AC_DEFINE_UNQUOTED(LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale")
48 AC_DEFINE_UNQUOTED(LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale")
54 config/wmradio-config.py