From: <rjo...@us...> - 2003-11-25 08:31:54
|
Update of /cvsroot/openh323/pwlib/tools/configure In directory sc8-pr-cvs1:/tmp/cvs-serv14447/tools/configure Modified Files: configure.cpp Log Message: Fixed display of configured items Index: configure.cpp =================================================================== RCS file: /cvsroot/openh323/pwlib/tools/configure/configure.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** configure.cpp 6 Nov 2003 09:13:20 -0000 1.9 --- configure.cpp 25 Nov 2003 08:21:37 -0000 1.10 *************** *** 25,28 **** --- 25,31 ---- * * $Log$ + * Revision 1.10 2003/11/25 08:21:37 rjongbloed + * Fixed display of configured items + * * Revision 1.9 2003/11/06 09:13:20 rjongbloed * Improved the Windows configure system to allow multiple defines based on file existence. Needed for SDL support of two different distros. *************** *** 444,454 **** for (feature = features.begin(); feature != features.end(); feature++) { cout << " " << feature->displayName << ' '; ! if (feature->checkFiles.empty()) { ! if (feature->simpleDefineValue.empty()) ! cout << "defined"; ! else ! cout << "set to " << feature->simpleDefineValue; ! } ! else if (feature->checkFiles.begin()->found) cout << "enabled"; else --- 447,453 ---- for (feature = features.begin(); feature != features.end(); feature++) { cout << " " << feature->displayName << ' '; ! if (feature->checkFiles.empty() && !feature->simpleDefineValue.empty()) ! cout << "set to " << feature->simpleDefineValue; ! else if (feature->enabled && (feature->checkFiles.empty() || feature->checkFiles.begin()->found)) cout << "enabled"; else |