diff options
author | David Robillard <d@drobilla.net> | 2007-06-08 03:16:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-06-08 03:16:02 +0000 |
commit | b11af4da2f170107124f5fb171a826d7ebb003fb (patch) | |
tree | 7d36b69c8bdabdfb62324177351851a3c166789b | |
parent | fa8289b45fbc3d161f90b57df43eef5ed0f2e054 (diff) | |
download | patchage-b11af4da2f170107124f5fb171a826d7ebb003fb.tar.gz patchage-b11af4da2f170107124f5fb171a826d7ebb003fb.tar.bz2 patchage-b11af4da2f170107124f5fb171a826d7ebb003fb.zip |
Link against, and initialize, glib threads.
git-svn-id: http://svn.drobilla.net/lad/patchage@533 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/main.cpp | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 5b8bac8..4affbe4 100644 --- a/configure.ac +++ b/configure.ac @@ -114,6 +114,7 @@ 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" +PKG_CHECK_MODULES(GTHREAD, gthread-2.0) PKG_CHECK_MODULES(GTKMM, gtkmm-2.4) PKG_CHECK_MODULES(GNOMECANVASMM, libgnomecanvasmm-2.6) PKG_CHECK_MODULES(LIBGLADEMM, libglademm-2.4) diff --git a/src/Makefile.am b/src/Makefile.am index 04e30c6..b0915f1 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@ @RAUL_CFLAGS@ -patchage_LDADD = @LIBGLADEMM_LIBS@ @GNOMECANVASMM_LIBS@ @JACK_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @FLOWCANVAS_LIBS@ @RAUL_LIBS@ +AM_CXXFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" @GTHREAD_CFLAGS@ @LIBGLADEMM_CFLAGS@ @GNOMECANVASMM_CFLAGS@ @JACK_CFLAGS@ @ALSA_CFLAGS@ @LASH_CFLAGS@ @FLOWCANVAS_CFLAGS@ @RAUL_CFLAGS@ +patchage_LDADD = @GTHREAD_LIBS@ @LIBGLADEMM_LIBS@ @GNOMECANVASMM_LIBS@ @JACK_LIBS@ @ALSA_LIBS@ @LASH_LIBS@ @FLOWCANVAS_LIBS@ @RAUL_LIBS@ EXTRA_DIST = patchage.gladep diff --git a/src/main.cpp b/src/main.cpp index 42195e1..c17e3e0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,6 +32,8 @@ int main(int argc, char** argv) { try { + Glib::thread_init(); + Gnome::Canvas::init(); Gtk::Main app(argc, argv); |