#include <cln/output.h>
#include <cln/real.h>
#include <cln/real_io.h>
+#include <cln/version.h>
#include <cctype>
#include <cstdlib>
#include <cstring>
return 0;
}
if (argc == 2 && !strcmp(argv[1],"--version")) {
- cout << "pi (cln) " << CL_VERSION_MAJOR << "." << CL_VERSION_MINOR << endl;
- cout << "Written by Bruno Haible." << endl;
+ cout << "pi (CLN "
+ << version_major << "." << version_minor << "." << version_patchlevel
+ << ")" << endl;
+ cout << "Written by Bruno Haible and Richard B. Kreckel." << endl;
cout << endl;
- cout << "Copyright (C) 1998-2007 Bruno Haible, 2000-2007 Richard B. Kreckel." << endl;
+ cout << "Copyright (C) 1988-2008 Bruno Haible, 2000-2008 Richard B. Kreckel." << endl;
cout << "This is free software; see the source for copying conditions. There is NO" << endl;
cout << "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." << endl;
cout << endl;