[master] 079e68b Search for backtrace function in libexecinfo
    Tollef Fog Heen 
    tfheen at varnish-cache.org
       
    Mon Nov 11 14:27:22 CET 2013
    
    
  
commit 079e68bae34b303abdff49722d656b12f620a0b3
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Mon Nov 11 14:26:25 2013 +0100
    Search for backtrace function in libexecinfo
diff --git a/configure.ac b/configure.ac
index 0e73cf3..cea8ebc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -257,7 +257,7 @@ AC_SUBST(LIBUMEM)
 # are not available
 AC_CHECK_FUNCS([setproctitle])
 AC_CHECK_FUNCS([srandomdev])
-AC_CHECK_FUNCS([backtrace])
+AC_SEARCH_LIBS(backtrace, [execinfo],[AC_DEFINE([HAVE_BACKTRACE],[1],[Define to 1 if the backtrace function exists])])
 # white lie - we don't actually test it
 AC_MSG_CHECKING([whether daemon() works])
 case $target in
    
    
More information about the varnish-commit
mailing list