Skip to content

Commit

Permalink
config: Add a warning comment to the generated all-settings.c
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Dec 11, 2017
1 parent 0a6796c commit f2cd173
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/config/settings-get.pl
@@ -1,6 +1,13 @@
#!/usr/bin/env perl
use strict;

print "/* WARNING: THIS FILE IS GENERATED - DO NOT PATCH!\n";
print " It's not enough alone in any case, because the defaults may be\n";
print " coming from the individual *-settings.c in some situations. If you\n";
print " wish to modify defaults, change the other *-settings.c files and\n";
print " just delete this file. This file will be automatically regenerated\n";
print " by make. (This file is distributed in the tarball only because some\n";
print " systems might not have Perl installed.) */\n";
print '#include "lib.h"'."\n";
print '#include "array.h"'."\n";
print '#include "ipwd.h"'."\n";
Expand Down

0 comments on commit f2cd173

Please sign in to comment.