Репозитории ALT
S: | 0.9.1-alt5.qa1 |
5.1: | 0.9.1-alt5 |
4.1: | 0.9.1-alt3 |
4.0: | 0.9.1-alt2 |
3.0: | 0.9.0-alt3 |
Группа :: Система/Библиотеки
Пакет: libfame
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libfame-0.9.1-alt-configure.patch
Скачать
Скачать
--- libfame-0.9.1/configure.in.alt 2004-02-11 16:12:24 +0300
+++ libfame-0.9.1/configure.in 2007-04-15 22:01:01 +0400
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(README)
+AC_INIT(libfame, [0.9.1], http://fame.sourceforge.net, libfame)
dnl Set various version strings - taken gratefully from the GTk sources
#
@@ -42,7 +42,7 @@ AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
dnl Setup for automake
-AM_INIT_AUTOMAKE(libfame, $VERSION)
+AM_INIT_AUTOMAKE([dist-bzip2 foreign])
dnl Check for tools
AC_LIBTOOL_WIN32_DLL
@@ -70,9 +70,9 @@ case "$target" in
CFLAGS="$CFLAGS -march=i486 -DHAS_BSWAP"
fi
;;
- i?86-*-*)
+ i?86*)
if test x$ac_cv_prog_gcc = xyes; then
- CFLAGS="$CFLAGS -march=i586 -DHAS_BSWAP"
+ CFLAGS="$CFLAGS -DHAS_BSWAP"
fi
;;
esac
@@ -81,7 +81,7 @@ dnl Set runtime shared library paths as
case "$target" in
*-*-linux*)
- FAME_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib"
+ FAME_RLD_FLAGS=""
;;
*-*-freebsd*)
FAME_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib"
@@ -99,24 +99,6 @@ AC_CHECK_LIB(m, sqrt, LIBS="$LIBS -lm")
dnl Optimize
if test x$ac_cv_prog_gcc = xyes; then
CFLAGS="$CFLAGS -Wall -fexpensive-optimizations -funroll-loops -ffast-math"
-
-dnl -fstrict-aliasing doesn't seem to be supported by gcc < 2.95
- gcc_major_version=`$CC --version | \
- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- gcc_minor_version=`$CC --version | \
- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- gcc_micro_version=`$CC --version | \
- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
-
- dnl ok, I must admit I don't know how to do or/and ;)
- if test $gcc_major_version -eq 2; then
- if test $gcc_minor_version -gt 94; then
- CFLAGS="$CFLAGS -fstrict-aliasing"
- fi
- fi
- if test $gcc_major_version -gt 2; then
- CFLAGS="$CFLAGS -fstrict-aliasing"
- fi
fi
dnl Check for debugging support