=-------##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_define([v_maj], [0])
-m4_define([v_min], [7])
+m4_define([v_min], [8])
m4_define([v_mic], [0])
m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
AC_C_BIGENDIAN
AC_ISC_POSIX
AC_PROG_CC
-AM_PROG_CC_STDC
+AC_PROG_CC_STDC
AC_HEADER_STDC
AC_C_CONST
AC_C___ATTRIBUTE__
ELM_UNIX_DEF="#define"
AC_CHECK_FUNCS(dlopen, res=yes, res=no)
if test "x$res" = "xyes"; then
- AC_CHECK_FUNCS(dladdr, AC_DEFINE(HAVE_DLADDR))
+ AC_CHECK_FUNCS(dladdr, AC_DEFINE(HAVE_DLADDR))
have_dlopen="yes"
else
- AC_CHECK_LIB(dl, dlopen, res=yes, res=no)
- if test "x$res" = "xyes"; then
- AC_CHECK_LIB(dl, dladdr, AC_DEFINE(HAVE_DLADDR))
- dlopen_libs=-ldl
+ AC_CHECK_LIB(dl, dlopen, res=yes, res=no)
+ if test "x$res" = "xyes"; then
+ AC_CHECK_LIB(dl, dladdr, AC_DEFINE(HAVE_DLADDR))
+ dlopen_libs=-ldl
have_dlopen="yes"
- fi
+ fi
fi
have_socket="yes"
;;
have_fork="no"
want_quicklaunch="auto"
AC_ARG_ENABLE([quick-launch],
- [AC_HELP_STRING([--disable-quick-launch], [disable quick-launch support, @<:@default=detect@:>@])],
- [want_quicklaunch=$enableval], [])
+ [AC_HELP_STRING([--disable-quick-launch], [disable quick-launch support, @<:@default=detect@:>@])],
+ [want_quicklaunch=$enableval], [])
if test "x$want_quicklaunch" != "xno"; then
AC_CHECK_FUNCS(fork, [
- have_fork="yes"
- AC_DEFINE(HAVE_FORK)
+ have_fork="yes"
+ AC_DEFINE(HAVE_FORK)
])
fi
-AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x$have_fork" = "xyes" && "x$have_dlopen" = "xyes"])
+AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"])
AC_SUBST(dlopen_libs)
AC_SUBST(lt_enable_auto_import)
)
PKG_CHECK_MODULES([EIO],
- [eio],
- [
- have_eio="yes"
- AC_DEFINE(HAVE_EIO, 1, [Use EIO for asynchronous file access])
- requirement_elm="eio ${requirement_elm}"
- ],
- [have_eio="no"])
+ [eio],
+ [
+ have_eio="yes"
+ AC_DEFINE(HAVE_EIO, 1, [Use EIO for asynchronous file access])
+ requirement_elm="eio ${requirement_elm}"
+ ],
+ [have_eio="no"])
AM_CONDITIONAL([HAVE_EIO], [test "x${have_eio}" = "xyes"])
if test "x$want_elementary_emotion" != "xno"; then
PKG_CHECK_MODULES([EMOTION],
- [emotion],
- [
- have_emotion="yes"
- AC_DEFINE(HAVE_EMOTION, 1, [Use Emotion for asynchronous file access])
- requirement_elm="emotion ${requirement_elm}"
- ],
- [have_emotion="no"])
+ [emotion],
+ [
+ have_emotion="yes"
+ AC_DEFINE(HAVE_EMOTION, 1, [Use Emotion for asynchronous file access])
+ requirement_elm="emotion ${requirement_elm}"
+ ],
+ [have_emotion="no"])
fi
AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"])
AC_MSG_ERROR([ecore-sdl support requested, but not found by pkg-config.])
fi
+have_elementary_cocoa="no"
+want_elementary_cocoa="auto"
+AC_ARG_ENABLE([ecore-cocoa],
+ [AC_HELP_STRING([--disable-ecore-cocoa], [disable ecore-cocoa support. @<:@default=detect@:>@])],
+ [want_elementary_cocoa=$enableval], [])
+
+if test "x$want_elementary_cocoa" != "xno"; then
+ PKG_CHECK_MODULES([ELEMENTARY_COCOA],
+ [ecore-cocoa >= 1.0.0],
+ [
+ AC_DEFINE(HAVE_ELEMENTARY_COCOA, 1, [COCOA support for Elementary])
+ have_elementary_cocoa="yes"
+ requirement_elm="ecore-cocoa >= 1.0.0 ${requirement_elm}"
+ ],
+ [have_elementary_cocoa="no"]
+ )
+else
+ have_elementary_cocoa="no"
+fi
+if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
+ AC_MSG_ERROR([ecore-cocoa support requested, but not found by pkg-config.])
+fi
+
have_elementary_win32="no"
want_elementary_win32="auto"
AC_ARG_ENABLE([ecore-win32],
m4_ifdef([AM_GNU_GETTEXT], [
AM_GNU_GETTEXT([external])
po_makefile_in=po/Makefile.in
-AM_CONDITIONAL([HAVE_PO], [true])
+have_po="yes"
],[
-AM_CONDITIONAL([HAVE_PO], [false])
+have_po="no"
])
AC_SUBST(LTLIBINTL)
+
+if test "x${POSUB}" = "x" ; then
+ have_po="no"
+fi
+
+AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
+
EFL_CHECK_PATH_MAX
echo " X11....................: ${have_elementary_x}"
echo " Framebuffer............: ${have_elementary_fb}"
echo " SDL....................: ${have_elementary_sdl}"
+echo " Cocoa..................: ${have_elementary_cocoa}"
echo " Windows XP.............: ${have_elementary_win32}"
echo " Windows CE.............: ${have_elementary_wince}"
echo