>>> > +# LTP_CHECK_LIB(/LIBRARY/,/FUNCTIONS/,[/OTHER-LIBRARIES/])
>>> > +# --------------------------------------------------
>>> > +# LTP_CHECK_LIB works like AC_CHECK_LIB.
>>> > +# But it is customized for LTP.
>>> > +#
>>> > +# 1. LIBS is not updated even if /FUNCTION/ is found in /LIBRARY/.
>>> > +# 2. Instead of LIBS, /LIBRARY/_LIBS is set.
>>> > +# 3. LIBS_/LIBRARY/ is passed to AC_SUBST.
>>> > +#
>>> > +AC_DEFUN([LTP_CHECK_LIB],LIBRARY_LIBS
>>> > +[AH_TEMPLATE(AS_TR_CPP([HAVE_LIB$1]),
>>> > +[Define to 1 if you have the `$1' library (-l$1).])
>>> > +AC_CHECK_LIB($1,$2,[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_LIB$1)) 
>>> > AS_TR_CPP([$1_LIBS])="-l$1 $3"],,$3)
>>> > +AC_SUBST(AS_TR_CPP([$1_LIBS]))])
>>> > 
>>> 
>>> With or without libselinux-devel, the messages from ./configure script
>>> does not look good.
>> 
>> Sorry it was broken. LIBRARY_LIBS was not needed.
>> I've reflected all your comment to new patch.
>> It becomes simpler.
>>
> 
> Although it is not perfect, I think I'll Ack this patch below. Then, I
> will provide another patch to address the rest of issues on the top of
> it.

Thank you.

Masatake YAMATO

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to