case "$host_os" in
- mingw32ce* | cegcc*)
+ mingw32ce*)
MODULE_ARCH="$host_os-$host_cpu"
install_vim="no"
have_edje_cc="no"
],
[have_ecore_imf="no"])
-have_eio="no"
PKG_CHECK_MODULES([EIO],
- [
- eio >= 1.0.0
- ],
+ [eio >= 1.0.0],
[
AC_DEFINE([HAVE_EIO], [1], [Eio is available for monitoring file assynchronously])
have_eio="yes"
],
[have_sndfile="no"; want_multisense="no"]
)
-
+
if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
AC_MSG_ERROR([sndfile support requested, but not found by pkg-config.])
fi
if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
AC_MSG_ERROR([alsa support requested, but not found by pkg-config.])
fi
-fi
+fi
AM_CONDITIONAL([HAVE_LIBALSA], [test "x${have_alsa_lib}" = "xyes"])
# Dependencies for the binaries
-if test "x$have_edje_cc" = "xyes"; then
- PKG_CHECK_MODULES([EDJE_CC], [ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0])
+if test "x${have_edje_cc}" = "xyes" ; then
+ PKG_CHECK_MODULES([EDJE_CC],
+ [ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0])
EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
fi
-AM_CONDITIONAL([BUILD_EPP], [test "x$have_edje_cc" = "xyes"])
+AM_CONDITIONAL([BUILD_EPP], [test "x${have_edje_cc}" = "xyes"])
-if test "x$have_edje_decc" = "xyes"; then
- PKG_CHECK_MODULES([EDJE_DECC], [ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0])
+if test "x${have_edje_decc}" = "xyes" ; then
+ PKG_CHECK_MODULES([EDJE_DECC],
+ [ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0])
fi
-if test "x$have_edje_player" = "xyes"; then
- PKG_CHECK_MODULES([EDJE_PLAYER], [ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
+if test "x${have_edje_player}" = "xyes" ; then
+ PKG_CHECK_MODULES([EDJE_PLAYER],
+ [ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
fi
-if test "x$have_edje_inspector" = "xyes"; then
- PKG_CHECK_MODULES([EDJE_INSPECTOR], [ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
+if test "x${have_edje_inspector}" = "xyes" ; then
+ PKG_CHECK_MODULES([EDJE_INSPECTOR],
+ [ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
fi
-if test "x$have_edje_external_inspector" = "xyes"; then
- PKG_CHECK_MODULES([EDJE_EXTERNAL_INSPECTOR], [ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
+if test "x${have_edje_external_inspector}" = "xyes" ; then
+ PKG_CHECK_MODULES([EDJE_EXTERNAL_INSPECTOR],
+ [ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
fi
-if test "x$have_edje_watch" = "xyes"; then
- PKG_CHECK_MODULES([EDJE_WATCH], [ecore >= 1.2.0 eina >= 1.2.0 eio >= 1.0.0])
+if test "x${have_edje_watch}" = "xyes" ; then
+ PKG_CHECK_MODULES([EDJE_WATCH],
+ [ecore >= 1.2.0 eina >= 1.2.0 eio >= 1.0.0],
+ [have_edje_watch="yes"],
+ [have_edje_watch="no"])
fi
+AM_CONDITIONAL([BUILD_EDJE_WATCH], [test "x${have_edje_watch}" = "xyes"])
+
### Checks for header files
AC_CHECK_HEADERS([locale.h sys/resource.h])
mingw32ce*)
EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
;;
- cegcc*)
- EDJE_CFLAGS="${EDJE_CFLAGS} -mwin32 -D_WIN32_WCE=0x0420"
- ;;
esac
lt_enable_auto_import=""
case "$host_os" in
- mingw* | cegcc*)
+ mingw*)
lt_enable_auto_import="-Wl,--enable-auto-import"
;;
esac
AC_FUNC_ALLOCA
case "$host_os" in
- mingw* | cegcc*)
+ mingw*)
AC_DEFINE([HAVE_REALPATH], [1], [Define to 1 if you have the `realpath' function.])
;;
*)