X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=d2f8926a3b1d4ecb79fdab777747a0fceb9283f7;hb=3532ed01256b986ecaf37ea5bb29d81465e2aa89;hp=68f9d1f6170209ad35a570fb2622c85b79308270;hpb=b4e31d2aac02fb530326aaabedd3742772c52a2e;p=libsigrok.git diff --git a/configure.ac b/configure.ac index 68f9d1f6..d2f8926a 100644 --- a/configure.ac +++ b/configure.ac @@ -184,10 +184,10 @@ if test "x$HAVE_CXX11" != "x1"; then BINDINGS_CXX="no"; cxx_msg="C++11 compiler required" fi -# The C++ bindings use gccxml to parse libsigrok symbols. -AC_CHECK_PROG([HAVE_GCCXML], [gccxml], [yes]) -if test "x$HAVE_GCCXML" != "xyes"; then - BINDINGS_CXX="no"; cxx_msg="gccxml required" +# The C++ bindings use doxygen to parse libsigrok symbols. +AC_CHECK_PROG([HAVE_DOXYGEN], [doxygen], [yes]) +if test "x$HAVE_DOXYGEN" != "xyes"; then + BINDINGS_CXX="no"; cxx_msg="doxygen required" fi # Python is needed for the C++ bindings. @@ -202,17 +202,6 @@ PKG_CHECK_MODULES([python], [python >= 2.7], CXXLIBS="$CXXLIBS $python_LIBS"], [BINDINGS_PYTHON="no"; python_msg="Python headers required"]) -# The C++ bindings need the pygccxml Python module. -m4_ifdef([AX_PYTHON_MODULE], [AX_PYTHON_MODULE([pygccxml])], - # We'll let it go through even if the macro wasn't found, the python - # module may still be there. - [HAVE_PYTHON_PYGCCXML="yes"; - AC_MSG_NOTICE([Missing macro m4_toupper(aX_PYTHON_MODULE), no pygccxml check])] -) -if test "x$HAVE_PYMOD_PYGCCXML" != "xyes"; then - BINDINGS_CXX="no"; cxx_msg="Python pygccxml module required" -fi - # The Python bindings need the setuptools Python module. m4_ifdef([AX_PYTHON_MODULE], [AX_PYTHON_MODULE([setuptools])], # We'll let it go through even if the macro wasn't found, the python