thanks Pinghang.Koon =)<br><br>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.<br><br>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. <br>&lt;clip&gt;<br>&nbsp;&nbsp;&nbsp; Unable to install &lt;my_program_name&gt;<br>&nbsp;&nbsp;&nbsp; component is built in.<br>&lt;clip&gt;<br><br>why? what does it mean?<br><br><br><b><i>Pinghang.Koon@tietoenator.com</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> I had written something about that.<br><br>This document is describing how to include additional library in an<br>automake/autoconf project.<br>1) Check if the library is pkg-config enabled, usually the library<br>would have the .pc file in the /usr/lib/pkgconfig
 directory.<br>2) From the .pc file, edit and check the version of the library.<br>3) At the configure.ac add the following:<br><br>PKG_CHECK_MODULES(<MACRO_LIBRARY_NAME>, <library_name> &gt;= <VERSION><br>AC_SUBST(<MACRO_LIBRARY_NAME>_LIBS)<br>AC_SUBST(<MACRO_LIBRARY_NAME>_CFLAGS)<br><br>4) At the Makefile.am at the src directory, add the following:<br><br>Append $(<MACRO_LIBRARY_NAME>_CFLAGS) in the INCLUDES line.<br>Append $(<MACRO_LIBRARY_NAME>_LIBS) in the LDADD line.<br>________________________________________<br>From: maemo-developers-bounces@maemo.org<br>[mailto:maemo-developers-bounces@maemo.org] On Behalf Of geu oopsie<br>Sent: Thursday, June 01, 2006 6:32 PM<br>To: maemo-developers@maemo.org<br>Subject: [maemo-developers] about configure.ac<br><br>For example, in maemopad, the configure.ac defines the use of<br>gnome-vfs-2.0 with<br>PKG_CHECK_MODULES(OSSO, libosso &gt;= 0.8.4 gnome-vfs-2.0 &gt;=2.2<br>gnome-vfs-module-2.0 &gt;=
 2.2)<br>AC_SUBST(OSSO_LIBS)<br>AC_SUBST(OSSO_CFLAGS)<br><br>how can I define openobex-1.2 and bluez-libs-2.21 like maemopad example<br>above?<br>or if there are links about PKG_CHECK_MODULES syntax please inform me.<br><br>thanks,<br>geuis<br><br></MACRO_LIBRARY_NAME></MACRO_LIBRARY_NAME></MACRO_LIBRARY_NAME></MACRO_LIBRARY_NAME></VERSION></library_name></MACRO_LIBRARY_NAME></blockquote><br><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com