patches/ltrace/0.5.3/170-lib-supcc.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Thu Nov 22 19:43:26 2012 +0100 (2012-11-22)
branch1.17
changeset 3130 8db540910974
permissions -rw-r--r--
scripts/functions: fix debug-shell

Properly catch resuming the build when continuing past the
failed command.

The 'case ;;&' construct is a bash4ism. Get rid of it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 2af20cfd210bac338ec18d774458c84fd585ef07)
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=''