Debian/Ubuntu.
Don't build GIF support by default.
SVN revision: 56347
# rw_PROG_OBJC_WORKS
# Check whether the Objective C compiler works.
AC_DEFUN([rw_PROG_OBJC_WORKS],
-[AC_REQUIRE([AC_PROG_OBJC])dnl
+[m4_ifdef([AC_PROG_OBJC], [AC_REQUIRE([AC_PROG_OBJC])dnl
AC_CACHE_CHECK([whether the Objective C compiler works],
[rw_cv_prog_objc_works],
[AC_LANG_PUSH([Objective C])
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
[rw_cv_prog_objc_works=yes],
[rw_cv_prog_objc_works=no])
- AC_LANG_POP([Objective C])])
+ AC_LANG_POP([Objective C])])], [rw_cv_prog_objc_works=no])
])
AC_INIT([evas], [v_ver.beta3], [enlightenment-devel@lists.sourceforge.net])
_AM_DEPENDENCIES(OBJC)
],
[
- AC_CHECK_TOOL([OBJC], [gcc])
- AC_SUBST([OBJC])
- AC_SUBST([OBJCFLAGS])
+ dnl#AC_CHECK_TOOL([OBJC], [gcc])
+ dnl#AC_SUBST([OBJC])
+ dnl#AC_SUBST([OBJCFLAGS])
])
rw_PROG_OBJC_WORKS
%bcond_with module_engine_software_xcb
%bcond_with module_engine_xrender_x11
%bcond_with module_engine_xrender_xcb
+%bcond_with module_loader_gif
%bcond_with module_loader_svg
## enabled features
%bcond_without module_saver_png
%bcond_without module_loader_jpeg
%bcond_without module_saver_jpeg
-%bcond_without module_loader_gif
%bcond_without module_loader_tiff
%bcond_without module_saver_tiff
%bcond_without module_loader_eet
%package module_engine_software_x11
Summary: Software X11 rendering engine module for Evas
Group: System Environment/Libraries
+BuildRequires: libX11-devel, libICE-devel, libXext-devel
Requires: evas-module_engine_software_generic
Requires: evas
%description module_engine_software_x11
%package module_engine_xrender_x11
Summary: XRender rendering engine module for Evas
Group: System Environment/Libraries
-#BuildSuggests: xorg-x11-devel, XFree86-devel
-BuildRequires: xrender-devel
+#BuildSuggests: xorg-x11-devel, XFree86-devel, xrender-devel
+BuildRequires: libXrender-devel
Requires: evas-module_engine_software_generic
Requires: evas
%description module_engine_xrender_x11
%package module_engine_xrender_xcb
Summary: Xrender XCB X11 rendering engine module for Evas
Group: System Environment/Libraries
-BuildRequires: xcb-devel
+BuildRequires: libxcb-devel
Requires: evas-module_engine_xrender_x11
Requires: evas
%description module_engine_xrender_xcb
AS_IF([test "x${rw_cv_prog_objc_works}" = "xyes"],
[
- AC_LANG_PUSH([Objective C])
- AC_CHECK_HEADER([/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h],
- [
- have_dep="yes"
- evas_engine_[]$1[]_libs="-framework Cocoa"
- ],
- [have_dep="no"])
- AC_LANG_POP([Objective C])
-
-])
+ m4_ifdef([AC_PROG_OBJC], [AC_LANG_PUSH([Objective C])])
+ AC_CHECK_HEADER([/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h], [
+ have_dep="yes"
+ evas_engine_[]$1[]_libs="-framework Cocoa"
+ ],[
+ have_dep="no"
+ ])
+ m4_ifdef([AC_PROG_OBJC], [AC_LANG_POP([Objective C])], [:])])
AC_SUBST([evas_engine_$1_cflags])
AC_SUBST([evas_engine_$1_libs])
AC_DEFUN([EVAS_MAYBE_GET_OBJCPP],
[AS_IF([test "x${rw_cv_prog_objc_works}" = "xyes"],
- [AC_PROG_OBJCPP])
+ [m4_ifdef([AC_PROG_OBJC], [AC_PROG_OBJCPP], [:])])
])
dnl use: EVAS_CHECK_ENGINE_DEP_GL_GLEW(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])