X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=5bccf551f85ae63e6870e0dd31399f84d2cc2824;hb=9da85c7262325478e8730ae9f3e76bd0528a9a8c;hp=ced92b22ff95e4b36dc797749c0efa4ad71b2075;hpb=3f5a78a248406611c3eb7096a72749c892d47653;p=platform%2Fupstream%2Fglib.git diff --git a/configure.ac b/configure.ac index ced92b2..5bccf55 100644 --- a/configure.ac +++ b/configure.ac @@ -245,6 +245,10 @@ AC_ARG_ENABLE(rebuilds, [AS_HELP_STRING([--disable-rebuilds], [disable all source autogeneration rules])],, [enable_rebuilds=yes]) +AC_ARG_ENABLE(kdbus, + [AS_HELP_STRING([--enable-kdbus], + [enable kdbus [default=no]])],, + [enable_kdbus=no]) GLIB_TESTS @@ -262,6 +266,13 @@ AS_IF([test "x$disable_mem_pools" = "xno"], [ AC_MSG_RESULT([yes]) ]) +AC_MSG_CHECKING([whether to enable kdbus]) +AM_CONDITIONAL(KDBUS_TRANSPORT, [test "x$enable_kdbus" = "xyes"]) +AS_IF([test "x$enable_kdbus" = "xyes"], [ + AC_DEFINE(KDBUS_TRANSPORT, 1, [Whether to enable kdbus]) + AC_MSG_RESULT([yes]) +], [ AC_MSG_RESULT([no]) ]) + dnl location to install runtime libraries, e.g. ../../lib to install dnl to /lib if libdir is /usr/lib AC_ARG_WITH(runtime-libdir, @@ -781,7 +792,7 @@ AC_CHECK_HEADERS([sys/param.h sys/resource.h mach/mach_time.h]) AC_CHECK_HEADERS([sys/select.h stdint.h inttypes.h sched.h malloc.h]) AC_CHECK_HEADERS([sys/vfs.h sys/vmount.h sys/statfs.h sys/statvfs.h sys/filio.h]) AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h fstab.h]) -AC_CHECK_HEADERS([linux/magic.h sys/prctl.h]) +AC_CHECK_HEADERS([linux/magic.h linux/memfd.h sys/prctl.h]) # Some versions of MSC lack these AC_CHECK_HEADERS([dirent.h sys/time.h])