diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -997,18 +997,6 @@ print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n"; print FILEHANDLE "\n#include \"threadengines/threadengine_pthread.h\"\n\n#endif\n"; close(FILEHANDLE); - open(FILEHANDLE, ">include/inspircd_se_config.h.tmp"); - print FILEHANDLE <<EOF; -/* Auto generated by configure, do not modify or commit to svn! */ -#ifndef __CONFIGURATION_SOCKETENGINE__ -#define __CONFIGURATION_SOCKETENGINE__ - -#include "socketengines/$config{SOCKETENGINE}.h" - -#endif -EOF - close(FILEHANDLE); - open(FILEHANDLE, ">include/inspircd_version.h.tmp"); print FILEHANDLE <<EOF; #define VERSION "$version" @@ -1017,7 +1005,7 @@ EOF EOF close FILEHANDLE; - for my $file (qw(include/inspircd_config.h include/inspircd_se_config.h include/inspircd_version.h)) { + for my $file (qw(include/inspircd_config.h include/inspircd_version.h)) { my $diff = 0; open my $fh1, $file or $diff = 1; open my $fh2, $file.'.tmp' or die "Can't read $file.tmp that we just wrote: $!"; |