[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: adding check for libraries to a kdevelop configure.in
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-09-25 19:05:27
Message-ID: 200509251605.27936.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Robert Hogan wrote:
>I'm checking for a library by adding the following line to the
> configure.in in my kdevelop project. is there a better/more robust way?
>
>AC_CHECK_LIB(appname, test_function, [LIBS="$LIBS
>-llibname";],AC_MSG_ERROR(Can't find appname's libraries. Please check
> your installtion of appname.))

Yes, KDE_CHECK_LIB. Also don't forget to enclose the string in 
AC_MSG_ERROR with [ ].
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.

[Attachment #5 (application/pgp-signature)]

 =

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic