[maemo-developers] [maemo-developers] about configure.ac - 2
From: geu oopsie dog_toya at yahoo.comDate: Fri Jun 2 06:44:38 EEST 2006
- Previous message: [maemo-developers] about configure.ac
- Next message: [maemo-developers] about configure.ac
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
thanks Pinghang.Koon =) 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? Pinghang.Koon at tietoenator.com 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: maemo-developers-bounces at maemo.org [mailto:maemo-developers-bounces at maemo.org] On Behalf Of geu oopsie Sent: Thursday, June 01, 2006 6:32 PM To: maemo-developers at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060601/c579c3ca/attachment.htm
- Previous message: [maemo-developers] about configure.ac
- Next message: [maemo-developers] about configure.ac
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]