Репозитории ALT
S: | 0.9.1-alt10 |
5.1: | 0.9.0-alt1 |
4.1: | 0.8.1-alt2 |
4.0: | 0.8.1-alt1 |
3.0: | 0.7.4-alt3.1.1 |
Группа :: Графические оболочки/Прочее
Пакет: rss_glx
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: rss-glx-0.9.1-debian-configure.patch
Скачать
Скачать
From: Ari Pollak <ari@debian.org>
Subject: configure fixes
Removes some overzealous compilation flags being set inside configure by
upstream. We want CFLAGS set by us, not overridden by configure.
Also, don't use $X_PRE_LIBS since we don't need -lSM and -lICE.
Forwarded: no
Last-Update: 2011-04-18
Index: rss-glx-0.9.1/configure.in
===================================================================
--- rss-glx-0.9.1.orig/configure.in
+++ rss-glx-0.9.1/configure.in
@@ -11,28 +11,8 @@ AM_PROG_CC_C_O
AC_PROG_CC_C99
AC_C_BIGENDIAN
-if test "x$GCC" = xyes; then
- CFLAGS="-O2"
-fi
-AC_ARG_ENABLE([debug], [AC_HELP_STRING([--enable-debug],
- [build with debugging information default=no])],
- [test "$enableval" = "yes" && CFLAGS="-g"])
-if test "x$GCC" = xyes; then
- CFLAGS="$CFLAGS -Wall"
-fi
-
AC_PROG_CXX
-if test "x$GXX" = xyes; then
- CXXFLAGS="-O2"
-fi
-AC_ARG_ENABLE([debug], [AC_HELP_STRING([--enable-debug],
- [build with debugging information default=no])],
- [test "$enableval" = "yes" && CXXFLAGS="-g"])
-if test "x$GXX" = xyes; then
- CXXFLAGS="$CXXFLAGS -Wall"
-fi
-
AC_PROG_INSTALL
AM_DISABLE_SHARED
AC_PROG_LIBTOOL
@@ -48,15 +28,12 @@ fi
# Checks for header files.
AC_HEADER_STDC
-AC_PATH_XTRA
-if test "x${ac_cv_have_x:0:10}" != "xhave_x=yes"; then
- AC_MSG_ERROR([X11 is missing but required.])
-fi
+PKG_CHECK_MODULES(X, x11)
CFLAGS="$CFLAGS $X_CFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
-LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
+LIBS="$LIBS $X_LIBS"
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST