forked from old/legacy-imlib2
parent
7720c15f5f
commit
8c0a176a17
|
@ -101,15 +101,16 @@ AC_ARG_ENABLE(mmx,[ --disable-mmx attempt compiling using mmx assembl
|
|||
fi
|
||||
],
|
||||
[
|
||||
if test x$target_os = xlinux-gnu; then
|
||||
if test x$target_os = xlinux-gnu -o x$target_os = xlinux; then
|
||||
if test x$target_cpu = x$host_cpu; then
|
||||
mmx=`cat /proc/cpuinfo | grep mmx`
|
||||
if test -n "$mmx"; then
|
||||
mmx=yes
|
||||
echo "You appear to be compiling on a "$target_cpu/$target_os" system; using MMX."
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
echo "You are cross-compiling on a "$host_cpu" machine for a "$target_os" machine."
|
||||
echo "You are cross-compiling on a "$host_cpu" machine for a "$target_cpu/$target_os" machine."
|
||||
echo "If this target supports mmx, please enable mmx with --enable-mmx as a"
|
||||
echo "configure option."
|
||||
echo ""
|
||||
|
@ -117,6 +118,7 @@ if test x$target_os = xlinux-gnu; then
|
|||
else
|
||||
echo ""
|
||||
echo "You are not running Linux - This script cannot auto-detect mmx assembly."
|
||||
echo "(You appear to be running $target_os.)"
|
||||
echo "You will have to enable the mmx assembly (which gives anywhere from 10%"
|
||||
echo "to 300% speedups) by adding --enable-mmx on the configure command-line."
|
||||
echo ""
|
||||
|
@ -402,6 +404,9 @@ echo " ZLIB....................: $zlib_ok"
|
|||
echo " BZIP2...................: $bz2_ok"
|
||||
echo
|
||||
echo
|
||||
echo "Use MMX for extra speed...: $mmx"
|
||||
echo
|
||||
echo
|
||||
echo "Installation Path.........: $prefix"
|
||||
echo
|
||||
echo "Compilation...............: make"
|
||||
|
|
|
@ -10,7 +10,7 @@ Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.or
|
|||
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
|
||||
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
||||
#BuildSuggests: xorg-x11-devel
|
||||
BuildRequires: freetype-devel XFree86-devel
|
||||
BuildRequires: freetype2-devel XFree86-devel
|
||||
Requires: %{name}-loader_jpeg = %{version}
|
||||
Requires: %{name}-loader_png = %{version}
|
||||
Requires: %{name}-loader_argb = %{version}
|
||||
|
@ -26,7 +26,7 @@ rendering and blending, dynamic binary filters, scripting, and more.
|
|||
Summary: Imlib2 headers, static libraries and documentation
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
Requires: freetype-devel >= 2
|
||||
Requires: freetype2-devel >= 2
|
||||
%description devel
|
||||
Headers, static libraries and documentation for Imlib2.
|
||||
|
||||
|
@ -117,7 +117,7 @@ gz compressed image loader/saver for Imlib2
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
%{configure} --prefix=%{_prefix}
|
||||
%{configure} --prefix=%{_prefix} $RPM_CONFIGURE_OPTS
|
||||
%{__make} %{?_smp_mflags} %{?mflags}
|
||||
|
||||
%install
|
||||
|
|
Loading…
Reference in New Issue