diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-22 11:08:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-22 11:08:00 +0000 |
commit | 7c2dda0b8a8335ddf93c14b99c4cb28e014b20fd (patch) | |
tree | 6ac10ee2319effa3e3a1e4705e1eebe8bd2c7334 /configure | |
parent | 93ddad5bdbd70844ef713126d930f561ff0e0437 (diff) |
Fix -modupdate to not break inspircd_se_config.h (a configure-written header that contains an include for the socketengine header)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4502 e03df62e-2008-0410-955e-edbf42e46eb7
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.. |