From d52b70b3b7c1112d49ec07cac0f74077d24ffcba Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Mon, 8 Feb 2010 07:07:20 +0000 Subject: [PATCH] Fix build on RHEL5. SVN revision: 45973 --- legacy/eina/acinclude.m4 | 14 ++++++++++++++ legacy/eina/configure.ac | 2 +- legacy/eina/eina.spec.in | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 legacy/eina/acinclude.m4 diff --git a/legacy/eina/acinclude.m4 b/legacy/eina/acinclude.m4 new file mode 100644 index 0000000000..cfc0859e6e --- /dev/null +++ b/legacy/eina/acinclude.m4 @@ -0,0 +1,14 @@ +m4_ifndef([AC_HEADER_ASSERT], [ +# AC_HEADER_ASSERT +# ---------------- +# Check whether to enable assertions. +AC_DEFUN([AC_HEADER_ASSERT], +[ + AC_MSG_CHECKING([whether to enable assertions]) + AC_ARG_ENABLE([assert], + [ --disable-assert turn off assertions], + [AC_MSG_RESULT([no]) + AC_DEFINE(NDEBUG, 1, [Define to 1 if assertions should be disabled.])], + [AC_MSG_RESULT(yes)]) +]) +]) diff --git a/legacy/eina/configure.ac b/legacy/eina/configure.ac index bda09ad9ad..fc42446b40 100644 --- a/legacy/eina/configure.ac +++ b/legacy/eina/configure.ac @@ -3,7 +3,7 @@ rm -f config.cache AC_INIT([eina], [0.9.9.063], [enlightenment-devel@lists.sourceforge.net]) release="ver-pre-svn-05" -AC_PREREQ([2.60]) +AC_PREREQ([2.59]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_MACRO_DIR([m4]) AC_CANONICAL_BUILD diff --git a/legacy/eina/eina.spec.in b/legacy/eina/eina.spec.in index 8abc4d3087..58c231f52b 100644 --- a/legacy/eina/eina.spec.in +++ b/legacy/eina/eina.spec.in @@ -47,7 +47,7 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT %defattr(-, root, root) %doc AUTHORS COPYING README %{_libdir}/*.so.* -%{_libdir}/%{name} +#%{_libdir}/%{name}* %files devel %defattr(-, root, root)