google-glog (0.3.0-1) 20100726-autoconf_libunwind.diff

Summary

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Index: google-glog/configure.ac
===================================================================
--- google-glog.orig/configure.ac	2010-07-26 13:09:42.000000000 +0900
+++ google-glog/configure.ac	2010-07-26 13:10:24.000000000 +0900
@@ -34,7 +34,7 @@
 # For backtrace with glibc.
 AC_CHECK_HEADERS(execinfo.h)
 # For backtrace with libunwind.
-AC_CHECK_HEADERS(libunwind.h)
+AC_CHECK_HEADERS(libunwind.h, ac_cv_have_libunwind_h=1, ac_cv_have_libunwind_h=0)
 AC_CHECK_HEADERS(ucontext.h)
 AC_CHECK_HEADERS(sys/utsname.h)
 AC_CHECK_HEADERS(pwd.h)