diff options
author | Tom Rondeau | 2010-12-26 14:03:29 -0500 |
---|---|---|
committer | Tom Rondeau | 2010-12-26 14:03:29 -0500 |
commit | 440b0e3bdd81282a83805693c8eb822ee6815f72 (patch) | |
tree | ffa6368a0a6add76cdeefe5760313ff7ca960444 /gr-uhd/swig | |
parent | d209240b15f98233770efd4b184fe429ba77171a (diff) | |
download | gnuradio-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.am | 6 |
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 + |