From: Eric Bollengier Date: Tue, 9 Aug 2011 14:33:35 +0000 (+0200) Subject: Fix backtrace detection in configure X-Git-Tag: Release-7.0.0~591 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f75294d107cea0fe6643be80016eac1f5b398b35;p=bacula%2Fbacula Fix backtrace detection in configure --- diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index a3cd88fa69..edd891790f 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -271,7 +271,8 @@ #undef HAVE_ATTR_H /* Defines if your system have the cxxabi.h and execinfo.h header files for - backtrace() */ + * backtrace() + */ #undef HAVE_BACKTRACE /* Set if Bacula bat Qt4 GUI support enabled */ diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 0f76ee3ef0..2b358b7657 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -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 --------------------------------------------------------------------------