diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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.. |