summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-06-06 01:17:16 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-06-06 01:17:16 +0000
commit1b9ec672001a26fcc45e61b88545ac4362a10e85 (patch)
tree617fc4eab3c592617f45c36158030fa781c32564 /x11-misc/electricsheep
parentBump to 2.8.3; bug #135969 (diff)
downloadgentoo-2-1b9ec672001a26fcc45e61b88545ac4362a10e85.tar.gz
gentoo-2-1b9ec672001a26fcc45e61b88545ac4362a10e85.tar.bz2
gentoo-2-1b9ec672001a26fcc45e61b88545ac4362a10e85.zip
version bump as per bug #135055 thanks to Mivz
(Portage version: 2.1_rc4-r1)
Diffstat (limited to 'x11-misc/electricsheep')
-rw-r--r--x11-misc/electricsheep/ChangeLog8
-rw-r--r--x11-misc/electricsheep/electricsheep-2.6.7.ebuild85
-rw-r--r--x11-misc/electricsheep/files/digest-electricsheep-2.6.3-r22
-rw-r--r--x11-misc/electricsheep/files/digest-electricsheep-2.6.42
-rw-r--r--x11-misc/electricsheep/files/digest-electricsheep-2.6.73
-rw-r--r--x11-misc/electricsheep/files/electricsheep-2.6.7-cflagsfix.patch591
6 files changed, 690 insertions, 1 deletions
diff --git a/x11-misc/electricsheep/ChangeLog b/x11-misc/electricsheep/ChangeLog
index 1b56b81c090e..938a7ef6d22e 100644
--- a/x11-misc/electricsheep/ChangeLog
+++ b/x11-misc/electricsheep/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/electricsheep
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.31 2006/01/04 22:29:39 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.32 2006/06/06 01:17:16 dragonheart Exp $
+
+*electricsheep-2.6.7 (06 Jun 2006)
+
+ 06 Jun 2006; Daniel Black <dragonheart@gentoo.org>
+ +files/electricsheep-2.6.7-cflagsfix.patch, +electricsheep-2.6.7.ebuild:
+ version bump as per bug #135055 thanks to Mivz
*electricsheep-2.6.4 (04 Jan 2006)
*electricsheep-2.6.3-r2 (04 Jan 2006)
diff --git a/x11-misc/electricsheep/electricsheep-2.6.7.ebuild b/x11-misc/electricsheep/electricsheep-2.6.7.ebuild
new file mode 100644
index 000000000000..3b0b7bc32ce8
--- /dev/null
+++ b/x11-misc/electricsheep/electricsheep-2.6.7.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/electricsheep-2.6.7.ebuild,v 1.1 2006/06/06 01:17:16 dragonheart Exp $
+
+inherit eutils flag-o-matic kde-functions
+
+DESCRIPTION="realize the collective dream of sleeping computers from all over the internet"
+HOMEPAGE="http://electricsheep.org/"
+SRC_URI="http://electricsheep.org/${P}.tar.gz"
+IUSE="kde"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+RDEPEND="|| ( ( x11-libs/libXv
+ x11-libs/libICE
+ x11-libs/libSM
+ )
+ virtual/x11
+ )
+ dev-libs/expat
+ net-misc/curl
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/libsdl
+ virtual/libc
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}
+ || ( ( x11-proto/xextproto
+ x11-libs/libXt
+ )
+ virtual/x11
+ )
+ sys-apps/groff
+ dev-lang/perl
+ >=sys-apps/sed-4
+ media-libs/libmpeg2
+ sys-apps/gawk
+ sys-apps/grep
+ sys-devel/libtool"
+
+src_unpack() {
+ unpack ${A}
+ # Detect PIC requirement from direct from compiler instead of
+ # macro PIC.
+ sed -i -e 's/def PIC/def __PIC__/' ${S}/mpeg2dec/src/cpu_accel.c
+ epatch ${FILESDIR}/${P}-cflagsfix.patch
+}
+
+# Also detects and ties in sys-libs/slang, media-libs/aalib media-libs/svgalib and nas
+# if they exist on the user machine although these aren't deps.
+
+src_install() {
+
+
+ # prevent writing for xscreensaver
+ sed -i "s/^install-data-local:$/install-data-local:\nmy-install-data-local:/" \
+ Makefile || die "sed Makefile failed"
+
+ # install the xscreensaver config file
+ insinto /usr/share/xscreensaver/config
+ doins electricsheep.xml
+
+ make install DESTDIR="${D}" || die "make install failed"
+
+ dodir /usr/share/electricsheep
+ if [ ! -f "${ROOT}/usr/share/electricsheep/electricsheep-uniqueid" ]
+ then
+ "${D}/usr/bin/uniqueid" > \
+ "${D}/usr/share/electricsheep/electricsheep-uniqueid"
+ fi
+
+ if use kde;
+ then
+ set-kdedir
+ insinto /usr/share/applications
+ doins "${FILESDIR}/${PN}.desktop"
+ insinto "${KDEDIR}//share/applnk/System/ScreenSavers"
+ doins "${FILESDIR}/${PN}.desktop"
+ fi
+
+ # remove header files that are installed over libmpeg2
+ rm -rf "${D}/usr/include"
+}
diff --git a/x11-misc/electricsheep/files/digest-electricsheep-2.6.3-r2 b/x11-misc/electricsheep/files/digest-electricsheep-2.6.3-r2
index 6b459cf6101e..7ba66b32f61b 100644
--- a/x11-misc/electricsheep/files/digest-electricsheep-2.6.3-r2
+++ b/x11-misc/electricsheep/files/digest-electricsheep-2.6.3-r2
@@ -1 +1,3 @@
MD5 ef3eec7b07313928ff253562e1994820 electricsheep-2.6.3.tar.gz 1438987
+RMD160 2732d689843320c48f328defe80891e94f71df7a electricsheep-2.6.3.tar.gz 1438987
+SHA256 771d42106a765942fd6fb6f63e4506a983f067896c8b6f5e8e447e2001dd2abd electricsheep-2.6.3.tar.gz 1438987
diff --git a/x11-misc/electricsheep/files/digest-electricsheep-2.6.4 b/x11-misc/electricsheep/files/digest-electricsheep-2.6.4
index f16918e543dc..d2b66d12c8d4 100644
--- a/x11-misc/electricsheep/files/digest-electricsheep-2.6.4
+++ b/x11-misc/electricsheep/files/digest-electricsheep-2.6.4
@@ -1 +1,3 @@
MD5 59834e2b6a13280e9e6313533c7ff6cf electricsheep-2.6.4.tar.gz 1387634
+RMD160 98d328abc5e6856ef7ce07fc73b53cc414e69da7 electricsheep-2.6.4.tar.gz 1387634
+SHA256 2941d130365a4a6fc02fe3173b674d9034ef3d8fdd4d00f8e7aa34317b7e945e electricsheep-2.6.4.tar.gz 1387634
diff --git a/x11-misc/electricsheep/files/digest-electricsheep-2.6.7 b/x11-misc/electricsheep/files/digest-electricsheep-2.6.7
new file mode 100644
index 000000000000..4d907db17fd0
--- /dev/null
+++ b/x11-misc/electricsheep/files/digest-electricsheep-2.6.7
@@ -0,0 +1,3 @@
+MD5 1a484c9b7ef8c7843bf3ba608753ac00 electricsheep-2.6.7.tar.gz 1387836
+RMD160 b842ec3761294bb6501127daf9fc377752bd830d electricsheep-2.6.7.tar.gz 1387836
+SHA256 f7b91f7a81a556a213543ab76c9595a738dd931fe2bc2acac6b704b5d09253f0 electricsheep-2.6.7.tar.gz 1387836
diff --git a/x11-misc/electricsheep/files/electricsheep-2.6.7-cflagsfix.patch b/x11-misc/electricsheep/files/electricsheep-2.6.7-cflagsfix.patch
new file mode 100644
index 000000000000..75b2edb6cbbf
--- /dev/null
+++ b/x11-misc/electricsheep/files/electricsheep-2.6.7-cflagsfix.patch
@@ -0,0 +1,591 @@
+--- electricsheep-2.6.7/mpeg2dec/configure.in.orig 2005-07-20 16:19:40.000000000 +1000
++++ electricsheep-2.6.7/mpeg2dec/configure.in 2006-06-06 10:55:02.000000000 +1000
+@@ -15,70 +15,6 @@
+ AC_PROG_CC
+ AC_PROG_GCC_TRADITIONAL
+
+-dnl CC-specific flags
+-if test x"$CC" = x"checkergcc"; then
+- enable_sdl=no
+-elif test x"$GCC" = x"yes"; then
+-
+- dnl GCC-specific flags
+- dnl -Wall -Werror moved to the end to not disturb the configure script
+-
+- dnl -O3
+- changequote(<<,>>)
+- OPT_CFLAGS=`echo "$CFLAGS"|sed "s/-O[0-9]*//g;"`
+- changequote([,])
+- OPT_CFLAGS="$OPT_CFLAGS -O3"
+- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
+-
+- dnl -fomit-frame-pointer
+- OPT_CFLAGS="$CFLAGS -fomit-frame-pointer"
+- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
+-
+- dnl arch-specific flags
+- case "$host_alias" in
+- i?86-* | k?-*)
+- AC_DEFINE([ARCH_X86],,[x86 architecture])
+- case "$host_alias" in
+- i386-*) OPT_CFLAGS="$CFLAGS -march=i386";;
+- i486-*) OPT_CFLAGS="$CFLAGS -march=i486";;
+- i586-*) OPT_CFLAGS="$CFLAGS -march=pentium";;
+- i686-*) OPT_CFLAGS="$CFLAGS -march=pentiumpro";;
+- k6-*) OPT_CFLAGS="$CFLAGS -march=k6";;
+- esac
+- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+- ppc-* | powerpc-*)
+- OPT_CFLAGS="$CFLAGS -Wa,-m7400"
+- AC_TRY_CFLAGS([$OPT_CFLAGS],
+- [CFLAGS=$OPT_CFLAGS; AC_DEFINE([ARCH_PPC],,[ppc architecture])]);;
+- sparc-* | sparc64-*)
+- OPT_CFLAGS="$CFLAGS -march=ultrasparc -mvis -Wa,-Av9"
+- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+- mips-sgi-irix6.*) dnl do we need to be that specific ?
+- OPT_CFLAGS="$CFLAGS -mabi=64"
+- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+- esac
+-elif test x"$CC" = x"tcc" -a x"`$CC -version 2>&1 | grep TenDRA`" != x""; then
+- dnl TenDRA portability checking compiler
+- TENDRA=yes
+- CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h -DELIDE_CODE"
+- enable_mlib=no
+- no_x=yes
+- enable_sdl=no
+-elif test x"$CC" = x"icc" -a x"`$CC -V 2>&1 | grep Intel`" != x""; then
+- dnl Intel C++ compiler
+- CFLAGS="-g -O3 -unroll -ip"
+-else
+- dnl non-gcc flags - we probably need exact configuration triplets here.
+- case "$host_alias" in
+- mips-sgi-irix6.*)
+- OPT_CFLAGS="$CFLAGS -64"
+- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+- sparc-sun-solaris*)
+- OPT_CFLAGS="$CFLAGS -xCC -fast -xO5"
+- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
+- esac
+-fi
+-
+ dnl Checks for libtool - this must be done after we set cflags
+ AC_DISABLE_SHARED
+ AC_LIBTOOL_WIN32_DLL
+--- electricsheep-2.6.7/mpeg2dec/configure.orig 2005-07-20 16:24:34.000000000 +1000
++++ electricsheep-2.6.7/mpeg2dec/configure 2006-06-06 10:55:02.000000000 +1000
+@@ -3245,515 +3245,6 @@
+ fi
+
+
+-if test x"$CC" = x"checkergcc"; then
+- enable_sdl=no
+-elif test x"$GCC" = x"yes"; then
+-
+-
+-
+- OPT_CFLAGS=`echo "$CFLAGS"|sed "s/-O[0-9]*//g;"`
+-
+- OPT_CFLAGS="$OPT_CFLAGS -O3"
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS
+- else
+- :
+- fi
+-
+- OPT_CFLAGS="$CFLAGS -fomit-frame-pointer"
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS
+- else
+- :
+- fi
+-
+- case "$host_alias" in
+- i?86-* | k?-*)
+-
+-cat >>confdefs.h <<\_ACEOF
+-#define ARCH_X86
+-_ACEOF
+-
+- case "$host_alias" in
+- i386-*) OPT_CFLAGS="$CFLAGS -march=i386";;
+- i486-*) OPT_CFLAGS="$CFLAGS -march=i486";;
+- i586-*) OPT_CFLAGS="$CFLAGS -march=pentium";;
+- i686-*) OPT_CFLAGS="$CFLAGS -march=pentiumpro";;
+- k6-*) OPT_CFLAGS="$CFLAGS -march=k6";;
+- esac
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS
+- else
+- :
+- fi;;
+- ppc-* | powerpc-*)
+- OPT_CFLAGS="$CFLAGS -Wa,-m7400"
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS;
+-cat >>confdefs.h <<\_ACEOF
+-#define ARCH_PPC
+-_ACEOF
+-
+- else
+- :
+- fi;;
+- sparc-* | sparc64-*)
+- OPT_CFLAGS="$CFLAGS -march=ultrasparc -mvis -Wa,-Av9"
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS
+- else
+- :
+- fi;;
+- mips-sgi-irix6.*) OPT_CFLAGS="$CFLAGS -mabi=64"
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS
+- else
+- :
+- fi;;
+- esac
+-elif test x"$CC" = x"tcc" -a x"`$CC -version 2>&1 | grep TenDRA`" != x""; then
+- TENDRA=yes
+- CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h -DELIDE_CODE"
+- enable_mlib=no
+- no_x=yes
+- enable_sdl=no
+-elif test x"$CC" = x"icc" -a x"`$CC -V 2>&1 | grep Intel`" != x""; then
+- CFLAGS="-g -O3 -unroll -ip"
+-else
+- case "$host_alias" in
+- mips-sgi-irix6.*)
+- OPT_CFLAGS="$CFLAGS -64"
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS
+- else
+- :
+- fi;;
+- sparc-sun-solaris*)
+- OPT_CFLAGS="$CFLAGS -xCC -fast -xO5"
+- echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
+-echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
+- SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="$OPT_CFLAGS"
+- cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h. */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext
+-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+- (eval $ac_compile) 2>conftest.er1
+- ac_status=$?
+- grep -v '^ *+' conftest.er1 >conftest.err
+- rm -f conftest.er1
+- cat conftest.err >&5
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } &&
+- { ac_try='test -z "$ac_c_werror_flag"
+- || test ! -s conftest.err'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; } &&
+- { ac_try='test -s conftest.$ac_objext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+- ac_cv_try_cflags_ok=yes
+-else
+- echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-ac_cv_try_cflags_ok=no
+-fi
+-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="$SAVE_CFLAGS"
+- echo "$as_me:$LINENO: result: $ac_cv_try_cflags_ok" >&5
+-echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
+- if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS=$OPT_CFLAGS
+- else
+- :
+- fi;;
+- esac
+-fi
+-
+ # Check whether --enable-shared or --disable-shared was given.
+ if test "${enable_shared+set}" = set; then
+ enableval="$enable_shared"