46 |
|
// |
47 |
|
// Douglas Thrift |
48 |
|
// |
49 |
< |
// Search.cpp |
49 |
> |
// $Id: Search.cpp,v 1.21 2003/07/18 03:52:39 douglas Exp $ |
50 |
|
|
51 |
|
#include "Search.h" |
52 |
|
#include "Indexer.h" |
57 |
|
#include <sys/utsname.h> |
58 |
|
#else |
59 |
|
#include <windows.h> |
60 |
< |
#endif // _WIN32 |
60 |
> |
#endif |
61 |
|
|
62 |
|
string program; |
63 |
|
string programName = "Douglas Thrift's Search Engine"; |
64 |
< |
string programVersion = "1.2a"; |
64 |
> |
string programVersion = "1.2alpha1"; |
65 |
|
bool debug = false; |
66 |
|
|
67 |
|
int main(int argc, char* argv[]) |
227 |
|
else if (arg == "-D") |
228 |
|
{ |
229 |
|
debug = true; |
230 |
+ |
cerr.setf(ios_base::boolalpha); |
231 |
|
} |
232 |
|
else |
233 |
|
{ |
438 |
|
<< "\n" |
439 |
|
<< " This product includes software developed by Douglas Thrift\n" |
440 |
|
<< " (http://computers.douglasthrift.net/searchengine/).\n"; |
441 |
+ |
#ifdef _OpenSSL_ |
442 |
+ |
cout << "\n" << openssl() << " " << SSLeay_version(SSLEAY_BUILT_ON) << " " |
443 |
+ |
<< SSLeay_version(SSLEAY_PLATFORM) << "\n"; |
444 |
+ |
#endif |
445 |
|
} |
446 |
|
|
447 |
|
void license() |