fixed build with bundled OpenSSL
[public/netxms.git] / tools / patch_config.status.pl
1 #!/usr/bin/perl
2
3 while(<STDIN>)
4 {
5 chomp;
6 $line = $_;
7
8 if ($line =~ /\"\$PRIVATE\"\) CONFIG_FILES/)
9 {
10 for($i = 0; $i <= $#ARGV; $i++)
11 {
12 print "\t\"" . $ARGV[$i]. "\") CONFIG_FILES=\"\$CONFIG_FILES " . $ARGV[$i] . "\" ;;\n";
13 }
14 $line = "";
15 }
16
17 if ($line ne "")
18 {
19 print "$line\n";
20 }
21 }