summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric BAIL <cedric@efl.so>2013-11-10 08:51:42 +0100
committerCedric BAIL <cedric.bail@samsung.com>2013-12-17 19:37:05 +0900
commit0a1cc79a917b770ef66afe8b99731f6d5754ca44 (patch)
tree99d52907af9d893cb1fc08d75cd1b9f2ab2bfd0c /configure.ac
parent99e3ce489adbdc711571fa7d71acbd03a413ec00 (diff)
Ecore_Avahi: initial commit.
TODO: - Add tests, how ? - Integrate with Eo, needed ?
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac59
1 files changed, 59 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 29c67ae..788d392 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2568,6 +2568,62 @@ AC_SUBST([ECORE_WIN32_LIBS])
2568EFL_LIB_END_OPTIONAL([Ecore_Win32]) 2568EFL_LIB_END_OPTIONAL([Ecore_Win32])
2569#### End of Ecore_Win32 2569#### End of Ecore_Win32
2570 2570
2571#### Ecore_Avahi
2572
2573EFL_LIB_START([Ecore_Avahi])
2574
2575### Default values
2576
2577### Additional options to configure
2578
2579want_avahi="yes"
2580
2581AC_ARG_ENABLE([avahi],
2582 [AC_HELP_STRING([--disable-avahi],
2583 [disable avahi support. @<:@default=enabled@:>@])],
2584 [
2585 if test "x${enableval}" = "xyes" ; then
2586 want_avahi="yes"
2587 else
2588 want_avahi="no"
2589 fi
2590 ], [
2591 want_avahi="yes"
2592 ])
2593
2594### Checks for programs
2595
2596### Checks for libraries
2597EFL_INTERNAL_DEPEND_PKG([ECORE_AVAHI], [ecore])
2598EFL_INTERNAL_DEPEND_PKG([ECORE_AVAHI], [eina])
2599EFL_INTERNAL_DEPEND_PKG([ECORE_AVAHI], [eo])
2600
2601EFL_OPTIONAL_DEPEND_PKG([ECORE_AVAHI], [${want_avahi}], [AVAHI], [avahi-client])
2602
2603EFL_ADD_FEATURE([ECORE_AVAHI], [avahi-client], [${have_avahi}])
2604
2605# Needed bu example as they use avahi directly in that case
2606if test "x${have_avahi}" = "xyes"; then
2607 PKG_CHECK_MODULES([AVAHI_CLIENT], [avahi-client])
2608fi
2609
2610EFL_EVAL_PKGS([Ecore_Avahi])
2611
2612### Checks for header files
2613
2614### Checks for types
2615
2616### Checks for structures
2617
2618### Checks for compiler characteristics
2619
2620### Checks for linker characteristics
2621
2622### Checks for library functions
2623
2624EFL_LIB_END([Ecore_Avahi])
2625
2626#### End of Ecore_Avahi
2571 2627
2572#### Ecore_WinCE 2628#### Ecore_WinCE
2573EFL_LIB_START_OPTIONAL([Ecore_WinCE], [test "${have_wince}" = "yes"]) 2629EFL_LIB_START_OPTIONAL([Ecore_WinCE], [test "${have_wince}" = "yes"])
@@ -3748,6 +3804,7 @@ src/examples/eet/Makefile
3748src/examples/eo/Makefile 3804src/examples/eo/Makefile
3749src/examples/evas/Makefile 3805src/examples/evas/Makefile
3750src/examples/ecore/Makefile 3806src/examples/ecore/Makefile
3807src/examples/ecore_avahi/Makefile
3751src/examples/eio/Makefile 3808src/examples/eio/Makefile
3752src/examples/eldbus/Makefile 3809src/examples/eldbus/Makefile
3753src/examples/ephysics/Makefile 3810src/examples/ephysics/Makefile
@@ -3795,6 +3852,7 @@ pc/ecore-evas.pc
3795pc/ecore-imf.pc 3852pc/ecore-imf.pc
3796pc/ecore-imf-evas.pc 3853pc/ecore-imf-evas.pc
3797pc/ecore-audio.pc 3854pc/ecore-audio.pc
3855pc/ecore-avahi.pc
3798pc/embryo.pc 3856pc/embryo.pc
3799pc/eio.pc 3857pc/eio.pc
3800pc/eldbus.pc 3858pc/eldbus.pc
@@ -3914,6 +3972,7 @@ echo "Ecore_Win32.....: $have_win32"
3914echo "Ecore_WinCE.....: $have_wince" 3972echo "Ecore_WinCE.....: $have_wince"
3915fi 3973fi
3916echo "Ecore_Audio.....: ${efl_lib_optional_ecore_audio} (${features_ecore_audio})" 3974echo "Ecore_Audio.....: ${efl_lib_optional_ecore_audio} (${features_ecore_audio})"
3975echo "Ecore_Avahi.....: yes (${features_ecore_avahi})"
3917echo "Ecore_Evas......: yes (${features_ecore_evas})" 3976echo "Ecore_Evas......: yes (${features_ecore_evas})"
3918echo "Eeze............: ${efl_lib_optional_eeze} (${features_eeze})" 3977echo "Eeze............: ${efl_lib_optional_eeze} (${features_eeze})"
3919echo "EPhysics........: ${efl_lib_optional_ephysics}" 3978echo "EPhysics........: ${efl_lib_optional_ephysics}"