~ubuntu-branches/ubuntu/precise/rss-glx/precise

« back to all changes in this revision

Viewing changes to debian/patches/configure.diff

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2011-06-05 18:30:36 UTC
  • mfrom: (2.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110605183036-8ht6gky7rzf0rw2b
Tags: 0.9.1-5ubuntu1
* Merge from Debian unstable. Remaining changes:
  - Added an apport package hook
  - Changed libgl1-mesa-swx11-dev to libgl1-mesa-dev in Build-Depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: Ari Pollak <ari@debian.org>
2
 
Subject: configure fixes
3
 
 Removes some overzealous compilation flags being set inside configure by
4
 
 upstream. We want CFLAGS set by us, not overridden by configure. We also don't
5
 
 want unneeded -lSM and -lICE in LDFLAGS.
6
 
Forwarded: no
7
 
Last-Update: 2010-02-03
8
 
Index: rss-glx-0.9.1/configure
9
 
===================================================================
10
 
--- rss-glx-0.9.1.orig/configure
11
 
+++ rss-glx-0.9.1/configure
12
 
@@ -5001,18 +5001,6 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUI
13
 
  esac
14
 
 
15
 
 
16
 
-if test "x$GCC" = xyes; then
17
 
-       CFLAGS="-O2"
18
 
-fi
19
 
-# Check whether --enable-debug was given.
20
 
-if test "${enable_debug+set}" = set; then :
21
 
-  enableval=$enable_debug; test "$enableval" = "yes" && CFLAGS="-g"
22
 
-fi
23
 
-
24
 
-if test "x$GCC" = xyes; then
25
 
-       CFLAGS="$CFLAGS -Wall"
26
 
-fi
27
 
-
28
 
 ac_ext=cpp
29
 
 ac_cpp='$CXXCPP $CPPFLAGS'
30
 
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31
 
@@ -15912,7 +15900,7 @@ fi
32
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33
 
 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
34
 
 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
35
 
-  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
36
 
+  X_PRE_LIBS="$X_PRE_LIBS"
37
 
 fi
38
 
 
39
 
   LDFLAGS=$ac_save_LDFLAGS