From 364135911b3557b6ca10e7f69d0f531605b518f2 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 20 Apr 2006 16:09:03 +0000 Subject: Added detection of execinfo.h (part of the libexecinfo port on freebsd, default in glibc) -- can be used to make inspircd generate its OWN backtraces :> git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3885 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/configure b/configure index 665d13083..143615673 100755 --- a/configure +++ b/configure @@ -34,6 +34,7 @@ $config{MAX_CHANNE} = "20"; # Default Max. $config{MAX_OPERCH} = "60"; # Default Max. Channels per oper $config{MAXI_MODES} = "20"; # Default Max. Number of Modes set at once. $config{HAS_STRLCPY} = "false"; # strlcpy Check. +$config{HAS_EXECINFO} = "0"; # execinfo.h Check. $config{USE_KQUEUE} = "y"; # kqueue enabled $config{USE_EPOLL} = "y"; # epoll enabled $config{THREADED_DNS} = "n"; # threaded dns (experimental) @@ -177,6 +178,28 @@ if (!$fail) { print "yes\n" if $config{HAS_STRLCPY} eq "true"; print "no\n" if $config{HAS_STRLCPY} eq "false"; +printf "Checking if execinfo.h exists... "; +$config{HAS_EXECINFO} = "0"; +my $fail = 0; +open(EXECINFO, "