but, what is MACRO_LIBRARY_NAME, how can I get that one of openobex-1.2 and bluez-libs-2.21, because there is no describtion bout that in .pc file.
Yesterday I've tried to generate my _arm.deb file of my program (with no additional library at all, no HILDON no GTK, just standard C). but it failed when I try to installed it in n770.
<clip>
Unable to install <my_program_name>
component is built in.
<clip>
why? what does it mean?
[EMAIL PROTECTED] wrote:
I had written something about that.
This document is describing how to include additional library in an
automake/autoconf project.
1) Check if the library is pkg-config enabled, usually the library
would have the .pc file in the /usr/lib/pkgconfig directory.
2) From the .pc file, edit and check the version of the library.
3) At the configure.ac add the following:
PKG_CHECK_MODULES(, >=
AC_SUBST(_LIBS)
AC_SUBST(_CFLAGS)
4) At the Makefile.am at the src directory, add the following:
Append $(_CFLAGS) in the INCLUDES line.
Append $(_LIBS) in the LDADD line.
________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of geu oopsie
Sent: Thursday, June 01, 2006 6:32 PM
To: maemo-developers@maemo.org
Subject: [maemo-developers] about configure.ac
For example, in maemopad, the configure.ac defines the use of
gnome-vfs-2.0 with
PKG_CHECK_MODULES(OSSO, libosso >= 0.8.4 gnome-vfs-2.0 >=2.2
gnome-vfs-module-2.0 >= 2.2)
AC_SUBST(OSSO_LIBS)
AC_SUBST(OSSO_CFLAGS)
how can I define openobex-1.2 and bluez-libs-2.21 like maemopad example
above?
or if there are links about PKG_CHECK_MODULES syntax please inform me.
thanks,
geuis
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers