patches/ltrace/0.5.3/170-lib-supcc.patch
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:51 2010 +0200 (2010-08-05)
changeset 2069 366bd2b22675
permissions -rw-r--r--
complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0

This is the change introduced by revision 734 of MPC repository.

Author: Paul Zimmermann <Paul.Zimmermann@loria.fr>
Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
rsc@1968
     1
Index: ltrace-0.5.3/configure
rsc@1968
     2
===================================================================
rsc@1968
     3
--- ltrace-0.5.3/configure
rsc@1968
     4
+++ ltrace-0.5.3/configure
rsc@1968
     5
@@ -78,7 +78,10 @@ fi
rsc@1968
     6
 rm -f conftest.c a.out
rsc@1968
     7
 
rsc@1968
     8
 CFLAGS='-g -O2'
rsc@1968
     9
-LIBS='-lelf -lsupc++ -liberty '
rsc@1968
    10
+LIBS='-lelf'
rsc@1968
    11
+[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++"
rsc@1968
    12
+[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty"
rsc@1968
    13
+
rsc@1968
    14
 INSTALL='install -c'
rsc@1968
    15
 iquote='-iquote '
rsc@1968
    16
 iquoteend=''