summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-20 16:13:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-20 16:13:01 +0000
commit67f111a8aa91a5ac5f06b22f74ad0e73cf1276c1 (patch)
tree23b4d1ba864200c1f5ae7037ef4c643e515f9a91 /configure
parent364135911b3557b6ca10e7f69d0f531605b518f2 (diff)
Execinfo stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3886 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 143615673..375635a01 100755
--- a/configure
+++ b/configure
@@ -960,7 +960,6 @@ sub writefiles {
#define REVISION "$revision2"
#define MAXCLIENTS $config{MAX_CLIENT}
#define MAX_DESCRIPTORS $config{MAX_DESCRIPTORS}
-#define HAS_EXECINFO $config{HAS_EXECINFO}
#define NICKMAX $NL
#define CHANMAX $CL
#define MAXCHANS $config{MAX_CHANNE}
@@ -986,7 +985,9 @@ EOF
if ($config{OSNAME} eq "CYG-STATIC") {
print FILEHANDLE "#ifndef FD_SETSIZE\n#define FD_SETSIZE 1024\n#endif\n";
}
-
+ if ($config{HAS_EXECINFO} eq "1") {
+ print FILEHANDLE "#define HAS_EXECINFO\n";
+ }
if ($config{STATIC_LINK} eq "yes") {
print FILEHANDLE "#define STATIC_LINK\n";
}