is it really necessary to have it as an option, and not force its build ?

Vincent

On Wed, Jul 25, 2012 at 4:37 AM, Enlightenment SVN
<[email protected]> wrote:
> Log:
> e_dbus: Add performance application
>
>
>
>   Patch by: Jos?\195?\169 Roberto de Souza  <[email protected]>
>
>
>
> Author:       lucas
> Date:         2012-07-24 19:37:35 -0700 (Tue, 24 Jul 2012)
> New Revision: 74364
> Trac:         http://trac.enlightenment.org/e/changeset/74364
>
> Added:
>   trunk/e_dbus/src/bin/performance.c
> Modified:
>   trunk/e_dbus/configure.ac trunk/e_dbus/src/bin/Makefile.am
>
> Modified: trunk/e_dbus/configure.ac
> ===================================================================
> --- trunk/e_dbus/configure.ac   2012-07-25 02:25:35 UTC (rev 74363)
> +++ trunk/e_dbus/configure.ac   2012-07-25 02:37:35 UTC (rev 74364)
> @@ -124,7 +124,12 @@
>     [enable_eukit=$enableval],
>     [enable_eukit="${want_eukit}"])
>
> +AC_ARG_ENABLE([performance_test],
> +   [AC_HELP_STRING([--disable-performance_test], [Disable performance 
> build])],
> +   [enable_performance_test=$enableval],
> +   [enable_performance_test="${want_eukit}"])
>
> +
>  ### Checks for programs
>
>  AC_PROG_CC
> @@ -191,6 +196,7 @@
>  AM_CONDITIONAL([BUILD_ENOTIFY],  [test "x${enable_enotify}"  = "xyes"])
>  AM_CONDITIONAL([BUILD_EOFONO],   [test "x${enable_eofono}"   = "xyes"])
>  AM_CONDITIONAL([BUILD_EUKIT],    [test "x${enable_eukit}"    = "xyes"])
> +AM_CONDITIONAL([BUILD_PERFORMANCE_TEST],    [test 
> "x${enable_performance_test}"    = "xyes"])
>
>  # Dependencies for the binaries
>
> @@ -203,6 +209,7 @@
>  EFL_ENABLE_BIN([edbus-notify-test], [${enable_enotify}])
>  EFL_ENABLE_BIN([edbus-ofono-test], [${enable_eofono}])
>  EFL_ENABLE_BIN([edbus-ukit-test], [${enable_eukit}])
> +EFL_ENABLE_BIN([edbus-performance-test], [${enable_performance_test}])
>
>  if test "x${have_edbus_test}" = "xyes" ; then
>     PKG_CHECK_MODULES([EDBUS_TEST],
> @@ -267,7 +274,14 @@
>        [have_edbus_ukit_test="no"])
>  fi
>
> +if test "x${have_edbus_performance_test}" = "xyes" ; then
> +   PKG_CHECK_MODULES([EDBUS_PERFORMANCE_TEST],
> +      [ecore >= 1.2.0 eina >= 1.2.0 dbus-1 >= 0.62 ecore-evas >= 1.2.0 
> elementary],
> +      [have_edbus_performance_test="yes"],
> +      [have_edbus_performance_test="no"])
> +fi
>
> +
>  ### Checks for header files
>
>
> @@ -373,6 +387,7 @@
>  echo
>  echo "    EDbus test.........: $have_edbus_test"
>  echo "    EDbus client test..: $have_edbus_test_client"
> +echo "    EDbus performance..: $have_edbus_performance_test"
>  echo "    EBluez test........: $have_edbus_bluez_test"
>  echo "    EConnman (0.7x)test: $have_edbus_connman0_7x_test"
>  echo "    ENotify Daemon test: $have_edbus_notification_daemon_test"
>
> Modified: trunk/e_dbus/src/bin/Makefile.am
> ===================================================================
> --- trunk/e_dbus/src/bin/Makefile.am    2012-07-25 02:25:35 UTC (rev 74363)
> +++ trunk/e_dbus/src/bin/Makefile.am    2012-07-25 02:37:35 UTC (rev 74364)
> @@ -43,6 +43,10 @@
>  bin_PROGRAMS += e_dbus_ukit_test
>  endif
>
> +if BUILD_EDBUS_PERFORMANCE_TEST
> +bin_PROGRAMS += e_dbus_performance
> +endif
> +
>  noinst_PROGRAMS =
>
>  if BUILD_EDBUS_CONNMAN0_7X_TEST
> @@ -167,3 +171,14 @@
>  $(top_builddir)/src/lib/ukit/libeukit.la \
>  @EDBUS_UKIT_TEST_LIBS@
>  endif
> +
> +if BUILD_EDBUS_PERFORMANCE_TEST
> +e_dbus_performance_SOURCES = performance.c
> +e_dbus_performance_CFLAGS = \
> +-I$(top_srcdir)/src/lib/dbus \
> +@EDBUS_PERFORMANCE_TEST_CFLAGS@
> +e_dbus_performance_LDADD = \
> +$(top_builddir)/src/lib/dbus/libedbus.la \
> +@EDBUS_PERFORMANCE_TEST_LIBS@
> +endif
> +
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to