diff options
-rw-r--r-- | configure.ac | 32 | ||||
-rw-r--r-- | src/JackDriver.h | 2 | ||||
-rw-r--r-- | src/Makefile.am | 4 |
3 files changed, 16 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac index 6ebbbbc..ffdfec9 100644 --- a/configure.ac +++ b/configure.ac @@ -5,10 +5,9 @@ AC_CONFIG_SRCDIR([src/main.cpp]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE -# Checks for compilers -AC_PROG_CXX +AC_LANG([C++]) -# Check other stuff.. +AC_PROG_CXX AC_TYPE_SIZE_T AC_CHECK_FUNCS([strerror]) @@ -21,8 +20,6 @@ PKG_CHECK_MODULES(RAUL, raul >= 0.0.0) # Check for FlowCanvas PKG_CHECK_MODULES(FLOWCANVAS, flowcanvas >= 0.1.0) -AC_SUBST(FLOWCANVAS_CFLAGS) -AC_SUBST(FLOWCANVAS_LIBS) # Check for Jack PKG_CHECK_MODULES(JACK, jack >= 0.100.0) @@ -61,8 +58,6 @@ if test "$build_lash" = "yes"; then fi if test "$have_lash" = "yes"; then AC_DEFINE(HAVE_LASH, 1, [Has lash.h]) - AC_SUBST(LASH_CFLAGS) - AC_SUBST(LASH_LIBS) else AC_MSG_WARN([LASH not found, session support will not be built.]) fi @@ -98,22 +93,21 @@ fi CXXFLAGS="$CXXFLAGS -pipe -Wall -fmessage-length=139 -fdiagnostics-show-location=every-line" CFLAGS="$CFLAGS -pipe -Wall -fmessage-length=139 -fdiagnostics-show-location=every-line" -# Check for GTKMM PKG_CHECK_MODULES(GTKMM, gtkmm-2.4) -AC_SUBST(GTKMM_CFLAGS) -AC_SUBST(GTKMM_LIBS) - -# Check for gnomecanvasmm PKG_CHECK_MODULES(GNOMECANVASMM, libgnomecanvasmm-2.6) -AC_SUBST(GNOMECANVASMM_CFLAGS) -AC_SUBST(GNOMECANVASMM_LIBS) - -# Check for libglademm PKG_CHECK_MODULES(LIBGLADEMM, libglademm-2.4) -AC_SUBST(LIBGLADEMM_CFLAGS) -AC_SUBST(LIBGLADEMM_LIBS) -# Write it! AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([src/Makefile]) + AC_OUTPUT + +AC_MSG_RESULT([]) +AC_MSG_RESULT([**********************************************************************]) +AC_MSG_RESULT([Patchage build configuration:]) +AC_MSG_RESULT([]) +AC_MSG_RESULT([Alsa support: $ALSA_FOUND]) +AC_MSG_RESULT([Lash support: $have_lash]) +AC_MSG_RESULT([**********************************************************************]) +AC_MSG_RESULT([]) + diff --git a/src/JackDriver.h b/src/JackDriver.h index e434ffc..ece89d3 100644 --- a/src/JackDriver.h +++ b/src/JackDriver.h @@ -21,7 +21,7 @@ #include <string> #include <boost/shared_ptr.hpp> #include <jack/jack.h> -#include "Mutex.h" +#include <raul/Mutex.h> #include "Driver.h" class Patchage; class PatchageFlowCanvas; diff --git a/src/Makefile.am b/src/Makefile.am index 4a22449..27d23df 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ -AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" @LIBGLADEMM_CFLAGS@ @GNOMECANVASMM_CFLAGS@ @JACK_CFLAGS@ @ALSA_CFLAGS@ @LASH_CFLAGS@ @FLOWCANVAS_CFLAGS@ -patchage_LDADD = @LIBGLADEMM_LIBS@ @GNOMECANVASMM_LIBS@ @JACK_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @FLOWCANVAS_LIBS@ +AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" @LIBGLADEMM_CFLAGS@ @GNOMECANVASMM_CFLAGS@ @JACK_CFLAGS@ @ALSA_CFLAGS@ @LASH_CFLAGS@ @FLOWCANVAS_CFLAGS@ @RAUL_CFLAGS@ +patchage_LDADD = @LIBGLADEMM_LIBS@ @GNOMECANVASMM_LIBS@ @JACK_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @FLOWCANVAS_LIBS@ @RAUL_CFLAGS@ EXTRA_DIST = patchage.gladep |