summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-03 20:37:42 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-03 20:37:42 +0000
commit68188ac0c89407cb35a0f04f86ad44b0deb95bdb (patch)
tree0ddf76421ab114f162c5a113f65119a6662d6a54 /configure.ac
parentf7cc32f78bf86c804a3f3ae7b8428a408092fbdf (diff)
efl: merge eeze.
Changes also in this commit: * fix missing EAPI in symbols used by modules * removed old libudev and libmount support as agreed by discomfitor/zmike * replaced __UNUSED__ with EINA_UNUSED * fixed docs hierarchy SVN revision: 82100
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac96
1 files changed, 96 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8206881..c53c4b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3125,6 +3125,99 @@ EFL_INTERNAL_DEPEND_PKG([EFREET], [eina])
3125EFL_LIB_END([Efreet]) 3125EFL_LIB_END([Efreet])
3126#### End of Efreet 3126#### End of Efreet
3127 3127
3128#### Eeze
3129EFL_LIB_START_OPTIONAL([Eeze], [test "${have_linux}" = "yes"])
3130
3131### Additional options to configure
3132AC_ARG_ENABLE([tizen],
3133 [AC_HELP_STRING([--enable-tizen],
3134 [enable tizen support. @<:@default=disabled@:>@])],
3135 [
3136 if test "x${enableval}" = "xyes" ; then
3137 want_tizen="yes"
3138 else
3139 want_tizen="no"
3140 fi
3141 ],
3142 [want_tizen="no"])
3143
3144AC_ARG_ENABLE([mount],
3145 [AC_HELP_STRING([--disable-mount],
3146 [disable mount support (libmount). @<:@default=enabled@:>@])],
3147 [
3148 if test "x${enableval}" = "xyes" ; then
3149 want_mount="yes"
3150 else
3151 want_mount="no"
3152 fi
3153 ],
3154 [want_mount="yes"])
3155
3156AC_ARG_WITH([mount],
3157 [AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@])],
3158 [with_eeze_mount=$withval], [with_eeze_mount="detect"])
3159AC_ARG_WITH([umount],
3160 [AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@])],
3161 [with_eeze_umount=$withval], [with_eeze_umount="detect"])
3162AC_ARG_WITH([eject],
3163 [AS_HELP_STRING([--with-eject], [specify eject bin @<:@default=detect@:>@])],
3164 [with_eeze_eject=$withval], [with_eeze_eject="detect"])
3165
3166### Default values
3167
3168### Checks for programs
3169
3170### Checks for libraries
3171EFL_INTERNAL_DEPEND_PKG([EEZE], [eina])
3172EFL_INTERNAL_DEPEND_PKG([EEZE], [ecore])
3173EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EEZE], [${want_mount}], [ecore-file])
3174EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EEZE], [${want_mount}], [ecore-con])
3175EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EEZE], [${wantx_mount}], [eet])
3176
3177EFL_DEPEND_PKG([EEZE], [UDEV], [libudev >= 148])
3178EFL_OPTIONAL_DEPEND_PKG([EEZE], [${want_mount}], [EEZE_MOUNT], [mount >= 2.19.0])
3179
3180## modules
3181if test "${want_tizen}" = "yes"; then
3182 PKG_CHECK_MODULES([TIZEN_SENSOR], [capi-system-sensor])
3183fi
3184
3185EFL_EVAL_PKGS([EEZE])
3186
3187AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test "${want_mount}" = "yes"])
3188AM_CONDITIONAL([HAVE_EEZE_TIZEN], [test "${want_tizen}" = "yes"])
3189
3190### Checks for header files
3191
3192### Checks for types
3193
3194### Checks for structures
3195
3196### Checks for compiler characteristics
3197
3198### Checks for linker characteristics
3199
3200### Checks for library functions
3201
3202### Checks for binaries
3203if test "x$with_eeze_mount" = "xdetect"; then
3204 AC_PATH_PROG([with_eeze_mount], [mount], [])
3205fi
3206AC_DEFINE_UNQUOTED([EEZE_MOUNT_BIN], ["$with_eeze_mount"], [mount bin to use])
3207
3208if test "x$with_eeze_umount" = "xdetect";then
3209 AC_PATH_PROG([with_eeze_umount], [umount], [])
3210fi
3211AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_eeze_umount"], [umount bin to use])
3212
3213if test "x$with_eeze_eject" = "xdetect";then
3214 AC_PATH_PROG([with_eeze_eject], [eject], [])
3215fi
3216AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eeze_eject"], [eject bin to use])
3217
3218EFL_LIB_END_OPTIONAL([Eeze])
3219#### End of Eeze
3220
3128AC_CONFIG_FILES([ 3221AC_CONFIG_FILES([
3129Makefile 3222Makefile
3130data/Makefile 3223data/Makefile
@@ -3187,6 +3280,7 @@ pc/edbus2.pc
3187pc/efreet.pc 3280pc/efreet.pc
3188pc/efreet-mime.pc 3281pc/efreet-mime.pc
3189pc/efreet-trash.pc 3282pc/efreet-trash.pc
3283pc/eeze.pc
3190dbus-services/org.enlightenment.Efreet.service 3284dbus-services/org.enlightenment.Efreet.service
3191$po_makefile_in 3285$po_makefile_in
3192]) 3286])
@@ -3390,6 +3484,8 @@ echo " Ecore_Evas...................: $have_ecore_evas"
3390 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn" 3484 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
3391#fi 3485#fi
3392echo 3486echo
3487
3488echo "Eeze...................: ${efl_lib_optional_eeze} (tizen: ${want_tizen})"
3393echo "Tests..................: ${build_tests}" 3489echo "Tests..................: ${build_tests}"
3394 3490
3395echo "Examples...............: make examples" 3491echo "Examples...............: make examples"