mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-11-04 01:03:04 +00:00 
			
		
		
		
	Require at least Boost 1.45, so boost:filesystem::temp_directory_path()
can be used. It is useful on Mac OS X, where the log folder is not at /tmp. Boost 1.45 was released on Nov 9th, 2010, so it is unlikely that any user is using something older.
This commit is contained in:
		@@ -230,7 +230,6 @@ if(GNURADIO_INSTALL_PREFIX)
 | 
				
			|||||||
    endif(EXISTS "${GNURADIO_INSTALL_PREFIX}/lib/libboost_thread-mt.so")
 | 
					    endif(EXISTS "${GNURADIO_INSTALL_PREFIX}/lib/libboost_thread-mt.so")
 | 
				
			||||||
endif(GNURADIO_INSTALL_PREFIX)
 | 
					endif(GNURADIO_INSTALL_PREFIX)
 | 
				
			||||||
set(Boost_ADDITIONAL_VERSIONS
 | 
					set(Boost_ADDITIONAL_VERSIONS
 | 
				
			||||||
    "1.42.0" "1.42" "1.43.0" "1.43" "1.44.0" "1.44"
 | 
					 | 
				
			||||||
    "1.45.0" "1.45" "1.46.0" "1.46"                 "1.48.0" "1.48" "1.49.0" "1.49"
 | 
					    "1.45.0" "1.45" "1.46.0" "1.46"                 "1.48.0" "1.48" "1.49.0" "1.49"
 | 
				
			||||||
    "1.50.0" "1.50" "1.51.0" "1.51"                 "1.53.0" "1.53" "1.54.0" "1.54"
 | 
					    "1.50.0" "1.50" "1.51.0" "1.51"                 "1.53.0" "1.53" "1.54.0" "1.54"
 | 
				
			||||||
    "1.55.0" "1.55" "1.56.0" "1.56" "1.57.0" "1.57" "1.58.0" "1.58" "1.59.0" "1.59"
 | 
					    "1.55.0" "1.55" "1.56.0" "1.56" "1.57.0" "1.57" "1.58.0" "1.58" "1.59.0" "1.59"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -134,14 +134,11 @@ int main(int argc, char** argv)
 | 
				
			|||||||
    google::InitGoogleLogging(argv[0]);
 | 
					    google::InitGoogleLogging(argv[0]);
 | 
				
			||||||
    if (FLAGS_log_dir.empty())
 | 
					    if (FLAGS_log_dir.empty())
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
             // temp_directory_path() is only available from
 | 
					            std::cout << "Logging will be done at "
 | 
				
			||||||
             // Boost 1.45. Ubuntu 10.10 and Debian 6.0.6 ships with 1.42
 | 
					                << boost::filesystem::temp_directory_path()
 | 
				
			||||||
             std::cout << "Logging will be done at "
 | 
					                << std::endl
 | 
				
			||||||
                 //<< boost::filesystem::temp_directory_path()
 | 
					                << "Use gnss-sdr --log_dir=/path/to/log to change that."
 | 
				
			||||||
                 << "/tmp"
 | 
					                << std::endl;
 | 
				
			||||||
                 << std::endl
 | 
					 | 
				
			||||||
                 << "Use gnss-sdr --log_dir=/path/to/log to change that."
 | 
					 | 
				
			||||||
                 << std::endl;
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user