root/gnuradio/tags/releases/3.0/config/gr_require_mc4020.m4
| Revision 3534 (checked in by eb, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | dnl |
| 2 | dnl Copyright 2003,2004 Free Software Foundation, Inc. |
| 3 | dnl |
| 4 | dnl This file is part of GNU Radio |
| 5 | dnl |
| 6 | dnl GNU Radio is free software; you can redistribute it and/or modify |
| 7 | dnl it under the terms of the GNU General Public License as published by |
| 8 | dnl the Free Software Foundation; either version 2, or (at your option) |
| 9 | dnl any later version. |
| 10 | dnl |
| 11 | dnl GNU Radio is distributed in the hope that it will be useful, |
| 12 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | dnl GNU General Public License for more details. |
| 15 | dnl |
| 16 | dnl You should have received a copy of the GNU General Public License |
| 17 | dnl along with GNU Radio; see the file COPYING. If not, write to |
| 18 | dnl the Free Software Foundation, Inc., 51 Franklin Street, |
| 19 | dnl Boston, MA 02110-1301, USA. |
| 20 | dnl |
| 21 | |
| 22 | AC_DEFUN([GR_REQUIRE_MC4020],[ |
| 23 | AC_MSG_CHECKING([for mc4020 A/D driver include file]) |
| 24 | AC_COMPILE_IFELSE([ |
| 25 | #include <mc4020.h> |
| 26 | int main (int argc, char **argv) |
| 27 | { |
| 28 | return 0; |
| 29 | } |
| 30 | ],[AC_MSG_RESULT([yes])], |
| 31 | [AC_MSG_RESULT([no]) |
| 32 | AC_MSG_ERROR([mc4020.h not found.])]) |
| 33 | ]) |
Note: See TracBrowser for help on using the browser.
