]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
zap the evil externs, and comment the lot
[user/henk/code/inspircd.git] / configure
index e03739820363e1bae9f48d396d788b8af71773cc..616ebfea790f42ddd5db34bae4b7a6865959ee4b 100755 (executable)
--- a/configure
+++ b/configure
@@ -70,7 +70,7 @@ our $uninstall_list = "";
 
 # This is a list of all files in the core. Each cpp file is mapped to a shared object file,
 # whos file extension is omitted (these can vary from system to system). Auto detected by
-# scanning the src/*.cpp files for files containing /* $Core: */ identifiers.
+# scanning the src/*.cpp files for files containing /* $Core */ identifiers.
 
 our %filelist = ();
 
@@ -1159,6 +1159,7 @@ sub writefiles {
 #define OPTIMISATION $config{OPTIMITEMP}
 #define LIBRARYDIR "$config{LIBRARY_DIR}"
 #define SYSTEM "$incos"
+#define ENTRYPOINT int main(int argc, char** argv)
 
 EOF
 print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n";
@@ -1540,7 +1541,7 @@ sub write_dynamic_makefile
                                while (defined(my $line = <CPP>))
                                {
                                        chomp($line);
-                                       if ($line =~ /\/\* \$Core: (\w+) \*\//i)
+                                       if ($line =~ /\/\* \$Core \*\//i)
                                        {
                                                my $sname = $name;
                                                $sname =~ s/\.cpp$/.o/;