Fix build error for TV product
[platform/core/multimedia/libmm-sound.git] / configure.ac
index 1b1281b..c2ac18b 100644 (file)
@@ -87,6 +87,21 @@ AC_SUBST(TREMOLO_LIBS)
 fi
 AM_CONDITIONAL([OGG_SUPPORT], [test "x$OGG_SUPPORT" = "xyes"])
 
+AC_ARG_ENABLE(lwipc, AC_HELP_STRING([--enable-lwipc], [enable light weight ipc]),
+[
+ case "${enableval}" in
+         yes) USE_LWIPC=yes ;;
+         no)  USE_LWIPC=no ;;
+         *)   AC_MSG_ERROR(bad value ${enableval} for --enable-lwipc) ;;
+ esac
+ ],[USE_LWIPC=no])
+if test "x$USE_LWIPC" = "xyes"; then
+PKG_CHECK_MODULES(LWIPC, lwipc)
+AC_SUBST(LWIPC_CFLAGS)
+AC_SUBST(LWIPC_LIBS)
+fi
+AM_CONDITIONAL([USE_LWIPC], [test "x$USE_LWIPC" = "xyes"])
+
 dnl use security ---------------------------------------------------------------
 AC_ARG_ENABLE(security, AC_HELP_STRING([--enable-security], [using security]),
 [
@@ -116,6 +131,16 @@ AC_ARG_ENABLE(focus, AC_HELP_STRING([--enable-focus], [enable focus feature]),
  ],[USE_FOCUS=no])
 AM_CONDITIONAL([USE_FOCUS], [test "x$USE_FOCUS" = "xyes"])
 
+AC_ARG_ENABLE(prelink, AC_HELP_STRING([--enable-prelink], [enable pre-link feature]),
+[
+ case "${enableval}" in
+     yes) USE_PRELINK=yes ;;
+     no)  USE_PRELINK=no ;;
+     *)   AC_MSG_ERROR(bad value ${enableval} for --enable-prelink) ;;
+ esac
+ ],[USE_PRELINK=no])
+AM_CONDITIONAL([USE_PRELINK], [test "x$USE_PRELINK" = "xyes"])
+
 AC_ARG_WITH(plugindir, AS_HELP_STRING([--with-plugindir=<path>],[sound-server plugin dir]))
 if test -z "$with_plugindir" ; then
 PLUGIN_DIR=/usr/lib/soundplugins/
@@ -149,7 +174,6 @@ server/Makefile
 server/plugin/Makefile
 server/plugin/wav/Makefile
 server/plugin/ogg/Makefile
-server/plugin/keytone/Makefile
 server/plugin/tone/Makefile
 focus_server/Makefile
 pkgconfig/Makefile