view netinstall/version.pl @ 4829:9987da5935bd

try to fix problems with link errors involving inlined functions
author Ben Wing <ben@xemacs.org>
date Sun, 27 Dec 2009 20:16:57 -0600
parents 3078fd1074e8
children
line wrap: on
line source

while (<STDIN>) {
  if (/^\$Revision:\s*([0-9\.]*)/) {
    print "char *version = \"$1\";\n";
    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
  }
}