e_dbus: fix 2 --disable for the same thing
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 29 Jul 2012 04:57:40 +0000 (04:57 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 29 Jul 2012 04:57:40 +0000 (04:57 +0000)
PrinceAMD> ahh, guys in e_dbus why is there  --disable-performance-test &
           --disable-performance_test, by default e_dbus says performance
           is disable but still tries to build it and fails, it cant
           find <Eina.h>
PrinceAMD> anyhow with autogen --disable-performance-test
           --disable-performance_test , e_dbus compile

We were actually trying to compile a "component" that is really a test
binary. And for that component we were not applying the CFLAGS. Now
there's only a --disable-performance-test as it was supposed to be.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@74540 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 88903be..90303e6 100644 (file)
@@ -69,7 +69,6 @@ want_ehal="yes"
 want_enotify="yes"
 want_eofono="yes"
 want_eukit="yes"
-want_performance_test="yes"
 
 case "$host_os" in
    mingw*)
@@ -79,7 +78,6 @@ case "$host_os" in
       want_enotify="no"
       want_eofono="no"
       want_eukit="no"
-      want_performance_test="no"
       ;;
 esac
 
@@ -126,12 +124,6 @@ AC_ARG_ENABLE([eukit],
    [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_performance_test}"])
-
-
 ### Checks for programs
 
 AC_PROG_CC
@@ -198,7 +190,6 @@ AM_CONDITIONAL([BUILD_EHAL],     [test "x${enable_ehal}"     = "xyes"])
 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
 
@@ -211,7 +202,7 @@ EFL_ENABLE_BIN([edbus-notify-send], [${enable_enotify}])
 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}])
+EFL_ENABLE_BIN([edbus-performance-test], ["yes"])
 EFL_ENABLE_BIN([edbus-async-test], ["yes"])
 
 if test "x${have_edbus_test}" = "xyes" ; then