[Ltrace-devel] [PATCH 10/9] Fix minor bugs in previous patch

Zachary T Welch zwelch at codesourcery.com
Fri Nov 5 22:31:31 UTC 2010


Correct the --with-libunwind help text and append build flags (rather
than replacing them).

Signed-off-by: Zachary T Welch <zwelch at codesourcery.com>
---
 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8e82a7e..a16bd3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,12 +62,12 @@ AC_SUBST(libsupcxx_LIBS)
 
 # HAVE_LIBUNWIND
 AC_ARG_WITH(libunwind,
-  AS_HELP_STRING([--enable-libunwind], [Use libunwind frame unwinding support]),
+  AS_HELP_STRING([--with-libunwind], [Use libunwind frame unwinding support]),
   [case "${withval}" in
   (yes|no) enable_libunwind=$withval;;
   (*) enable_libunwind=yes
-    CPPFLAGS="-I${withval}/include"
-    LDFLAGS="-L${withval}/lib"
+    CPPFLAGS="${CPPFLAGS} -I${withval}/include"
+    LDFLAGS="${LDFLAGS} -L${withval}/lib"
     ;;
 esac],[enable_libunwind=maybe])
 
-- 
1.7.2.2




More information about the Ltrace-devel mailing list