summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure b/configure
index 48621b585..43a240459 100755
--- a/configure
+++ b/configure
@@ -1040,8 +1040,10 @@ EOF
close(FILEHANDLE);
}
-open(FILEHANDLE, ">include/inspircd_se_config.h");
- print FILEHANDLE <<EOF;
+ if ($writeheader)
+ {
+ open(FILEHANDLE, ">include/inspircd_se_config.h");
+ print FILEHANDLE <<EOF;
/* Auto generated by configure, do not modify or commit to svn! */
#ifndef __CONFIGURATION_SOCKETENGINE__
#define __CONFIGURATION_SOCKETENGINE__
@@ -1050,7 +1052,8 @@ open(FILEHANDLE, ">include/inspircd_se_config.h");
#endif
EOF
-close(FILEHANDLE);
+ close(FILEHANDLE);
+ }
# Create a Modules List..