summaryrefslogtreecommitdiff
path: root/gr-uhd/swig
diff options
context:
space:
mode:
authorTom Rondeau2010-12-26 14:03:29 -0500
committerTom Rondeau2010-12-26 14:03:29 -0500
commit440b0e3bdd81282a83805693c8eb822ee6815f72 (patch)
treeffa6368a0a6add76cdeefe5760313ff7ca960444 /gr-uhd/swig
parentd209240b15f98233770efd4b184fe429ba77171a (diff)
downloadgnuradio-440b0e3bdd81282a83805693c8eb822ee6815f72.tar.gz
gnuradio-440b0e3bdd81282a83805693c8eb822ee6815f72.tar.bz2
gnuradio-440b0e3bdd81282a83805693c8eb822ee6815f72.zip
gr-uhd: Fixing makefile to define GR_HAVE_UHD for swig. This was lost in the makefile updates with the guile work. This is a better place/fix, anyway.
Diffstat (limited to 'gr-uhd/swig')
-rw-r--r--gr-uhd/swig/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-uhd/swig/Makefile.am b/gr-uhd/swig/Makefile.am
index 3b7b3cc60..f227ac015 100644
--- a/gr-uhd/swig/Makefile.am
+++ b/gr-uhd/swig/Makefile.am
@@ -65,3 +65,9 @@ uhd_swig_swiginclude_headers =
uhd_swig_swig_args = \
$(UHD_CFLAGS) \
-I$(top_srcdir)/gr-uhd/lib
+
+## If UHD was installed, defined GR_HAVE_UHD for swigging headers
+if GR_DEFINE_HAVE_UHD
+ uhd_swig_swig_args += -DGR_HAVE_UHD
+endif
+