Fix build on RHEL5.
authormej <mej>
Mon, 8 Feb 2010 07:07:20 +0000 (07:07 +0000)
committermej <mej@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 8 Feb 2010 07:07:20 +0000 (07:07 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@45973 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

acinclude.m4 [new file with mode: 0644]
configure.ac
eina.spec.in

diff --git a/acinclude.m4 b/acinclude.m4
new file mode 100644 (file)
index 0000000..cfc0859
--- /dev/null
@@ -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)])
+])
+])
index bda09ad..fc42446 100644 (file)
@@ -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
index 8abc4d3..58c231f 100644 (file)
@@ -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)