7 use POSIX
qw(strftime);
9 die "No version string supplied!\n" if($#ARGV == -1);
11 my $build = strftime
"%x,%I:%M%p", gmtime;
12 my $version = $ARGV[0];
14 open(FP
, "> version.h") or die "Cannot create version.h! $!\n";
19 #define PROGNAME_STRING "transsip"
20 #define VERSION_STRING "$version"
21 #define BUILD_STRING "$Config{archname}~$build"
23 #endif /* VERSION_H */