denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Trying to build from git


From: Richard Shann
Subject: Re: [Denemo-devel] Trying to build from git
Date: Sat, 24 May 2008 09:44:40 +0100

On Fri, 2008-05-23 at 16:00 -0500, Jeremiah Benham wrote:
...
> I don't know how to link libportaudio.a. Maybe you can point me to the
> docs or explain to me how you linked it and compiled denemo so I can
> update autotools to do this.
I don't know much about these configuration tools - I tend to use
compiler and linker directly when developing something, rather than
trying to talk to make (let alone automake) to get it to do things for
me. I guess it was Adam who created the automake stuff to build with
portaudio V18.
Thomas made some suggestions as to how to test for V18 or V19 at
automake time, but they presuppose more understanding of the autotools
than I have.
Comparing the entries in configure.in

PKG_CHECK_MODULES(LIBAUBIO, aubio >= 0.3.2)
CFLAGS="$CFLAGS $LIBAUBIO_CFLAGS"
LIBS="$LIBS $LIBAUBIO_LIBS"

dnl PKG_CHECK_MODULES(PORTAUDIO, portaudio >= 18)
dnl CFLAGS="$CFLAGS $PORTAUDIO_CFLAGS"
LIBS="$LIBS -lportaudio"

it looks like we could support V19 with

PKG_CHECK_MODULES(PORTAUDIO, portaudio >= 19)
dnl CFLAGS="$CFLAGS $PORTAUDIO_CFLAGS"
LIBS="$LIBS $PORTAUDIO_LIBS"

but without more work we would have to require people to install V19 or
put a separate configure.in for people with V18 to use (? or release two
versions).
What do you think?
Richard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]