mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 05:31:05 +08:00

Added new settings to settings.in to better control build process. Removed some unneeded JYFIXMEs from source code. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1874 e7ae566f-a301-0410-adde-c780ea21d3b5
16 lines
264 B
Perl
16 lines
264 B
Perl
#!/usr/bin/perl
|
|
|
|
# used to convert version.m4 to simple
|
|
# definition format
|
|
|
|
while (<STDIN>) {
|
|
chomp;
|
|
if (/^\s*$/) {
|
|
print "\n";
|
|
} elsif (/^define\((\w+),\[(.*?)\]\)/) {
|
|
print "!define $1 \"$2\"\n";
|
|
} elsif (/^dnl(.*)$/) {
|
|
print "#$1\n";
|
|
}
|
|
}
|