From: Richard Kettlewell Date: Sun, 25 May 2008 12:06:53 +0000 (+0100) Subject: Less verbose version string X-Git-Tag: 4.0~64 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/240f4b16cb0cd57db5661561fecb4f932eb043bb Less verbose version string --- diff --git a/scripts/make-version-string b/scripts/make-version-string index dfcca41..10112ec 100755 --- a/scripts/make-version-string +++ b/scripts/make-version-string @@ -25,13 +25,11 @@ if(exists $ENV{CC}) { } die "no version found\n" unless defined $version; output("%s (DisOrder) $version\n"); -output(" configure options: $options\n") if defined $options; -output(" compiler: $cc\n") if defined $compiler; -output(" version: $compiler\n") if defined $cc; output("Copyright (C) 2003-2008 Richard Kettlewell et al\n"); output("License GPLv2+: GNU GPL version 2 or later:\n"); output(" http://www.gnu.org/licenses/old-licenses/gpl-2.0.html\n"); output("This is free software: you are free to change and redistribute it.\n"); output("There is NO WARRANTY, to the extent permitted by law.\n"); +output("WARNING: -Werror not used in this build\n") if $cc !~ /-Werror/; close STDOUT or die "$0: stdout: $!\n";