speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 1/3] added pkgconfig support


From: Andrei Kholodnyi
Subject: [PATCH 1/3] added pkgconfig support
Date: Sun, 12 Sep 2010 10:21:39 +0200

> I'll review these. ?Maybe the commit message for the first one should be
> more descriptive. ?The one-line commit messages are definitely
> sufficient for the other two.

Yes, you are right.

What about this?
=============================
added pkg-config support for speech-dispatcher.
configure now creates speech-dispatcher.pc
based on the speech-dispatcher.pc.in which was introduced by this patch.

Applications that uses libspeechd can call pkg-config
to insert the correct compiler options for it.
e.g. gcc -o test test.c `pkg-config --libs --cflags speech-dispatcher`

In the application's configure.ac it will look like:

PKG_CHECK_MODULES(SPD,speech-dispatcher,,exit)
AC_SUBST(SPD_CFLAGS)
AC_SUBST(SPD_LIBS)



reply via email to

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