]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/autoconf/configure.in
Fix backtrace detection in configure
[bacula/bacula] / bacula / autoconf / configure.in
index 0f76ee3ef0ec671ae74bc8a858f9a823ec68c7be..2b358b76574f3d96b0d576fba1069afd48c6771d 100644 (file)
@@ -2107,7 +2107,7 @@ AC_MSG_RESULT($fstype)
 AC_CHECK_HEADER(sys/statvfs.h, [ AC_DEFINE(HAVE_SYS_STATVFS_H,1,[Defines if your system have the sys/statvfs.h header file])] , )
 
 AC_LANG_PUSH(C++)
-AC_CHECK_HEADERS([cxxabi.h execinfo.h], [ AC_DEFINE(HAVE_BACKTRACE,1,[Defines if your system have the cxxabi.h and execinfo.h header files for backtrace()])] , )
+AC_CHECK_FUNCS(backtrace)
 AC_LANG_POP(C++)
 
 dnl --------------------------------------------------------------------------