mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
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
This commit is contained in:
parent
93ddad5bdb
commit
7c2dda0b8a
9
configure
vendored
9
configure
vendored
@ -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..
|
||||
|
Loading…
x
Reference in New Issue
Block a user