This reverts commit 3fb4f96bb7.

This reverts commit 1772222cb3.
reorder include dirs
This commit is contained in:
Hoernchen 2013-03-12 19:38:11 +01:00
parent 3fb4f96bb7
commit 69e0003407
8 changed files with 12 additions and 13 deletions

View File

@ -128,10 +128,10 @@ endif(ENABLE_MIRI)
# Setup configuration file
########################################################################
ADD_DEFINITIONS(-DHAVE_CONFIG_H=1)
include_directories(APPEND ${CMAKE_CURRENT_BINARY_DIR})
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
${CMAKE_CURRENT_BINARY_DIR}/gr_osmosdr_config.h
${CMAKE_CURRENT_BINARY_DIR}/config.h
@ONLY)
########################################################################

View File

@ -25,7 +25,7 @@
* file included in your .cc file.
*/
#ifdef HAVE_CONFIG_H
#include "gr_osmosdr_config.h"
#include "config.h"
#endif
#include "miri_source_c.h"

View File

@ -24,7 +24,7 @@
* file included in your .cc file.
*/
#ifdef HAVE_CONFIG_H
#include "gr_osmosdr_config.h"
#include "config.h"
#endif
#include "osmosdr_snk_c.h"

View File

@ -24,7 +24,7 @@
* file included in your .cc file.
*/
#ifdef HAVE_CONFIG_H
#include "gr_osmosdr_config.h"
#include "config.h"
#endif
#include "osmosdr_src_c.h"

View File

@ -27,7 +27,7 @@
#include <sstream>
#ifdef HAVE_CONFIG_H
#include "gr_osmosdr_config.h"
#include "config.h"
#endif
/*
#define ENABLE_OSMOSDR

View File

@ -24,7 +24,7 @@
* file included in your .cc file.
*/
#ifdef HAVE_CONFIG_H
#include "gr_osmosdr_config.h"
#include "config.h"
#endif
#include <osmosdr_sink_c_impl.h>

View File

@ -24,8 +24,7 @@
* file included in your .cc file.
*/
#ifdef HAVE_CONFIG_H
// FIXME: make it config.h again when they've fixed gnuradio master
#include "gr_osmosdr_config.h"
#include "config.h"
#endif
#include <osmosdr_source_c_impl.h>
@ -114,9 +113,9 @@ osmosdr_source_c_impl::osmosdr_source_c_impl (const std::string &args)
dev_types.push_back("miri");
#endif
std::cerr << "gr-osmosdr "
<< "(" << GR_OSMOSDR_VERSION << " / " << GR_OSMOSDR_LIBVER << ") "
<< "supported device types:" << std::endl;
std::cerr << "gr-osmosdr ("
<< GR_OSMOSDR_VERSION << " / " << GR_OSMOSDR_LIBVER
<< ") supported device types:" << std::endl;
std::cerr << " " << std::flush;
BOOST_FOREACH(std::string dev_type, dev_types)
std::cerr << dev_type << " ";

View File

@ -24,7 +24,7 @@
* file included in your .cc file.
*/
#ifdef HAVE_CONFIG_H
#include "gr_osmosdr_config.h"
#include "config.h"
#endif
#include "rtl_source_c.h"