Skip to content

Commit

Permalink
don't forget to define HAVE_BACKTRACE
Browse files Browse the repository at this point in the history
Signed-off-by: YAMAMOTO Takashi <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
yamt authored and blp committed May 21, 2013
1 parent bc14636 commit 3453ed2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion m4/openvswitch.m4
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ AC_DEFUN([OVS_CHECK_DBDIR],

dnl Defines HAVE_BACKTRACE if backtrace() is found.
AC_DEFUN([OVS_CHECK_BACKTRACE],
[AC_SEARCH_LIBS([backtrace], [execinfo ubacktrace])])
[AC_SEARCH_LIBS([backtrace], [execinfo ubacktrace],
[AC_DEFINE([HAVE_BACKTRACE], [1],
[Define to 1 if you have backtrace(3).])])])

dnl Checks for __malloc_hook, etc., supported by glibc.
AC_DEFUN([OVS_CHECK_MALLOC_HOOKS],
Expand Down

0 comments on commit 3453ed2

Please sign in to comment.