0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 12:02:28 +02:00
openvpn/install-win32/m4todef.pl
james 657ecf14ac TAP driver now passes signing tests on Vista x64.
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
2007-04-25 21:37:49 +00:00

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";
}
}