Hi, From: Masatake YAMATO <[email protected]> Subject: Re: [LTP] [PATCH 2/3] Proc01: Fix for PPC64 and Support SELinux-enabled Environment v2 Date: Thu, 05 Feb 2009 15:36:21 +0900 (JST)
>> +AC_DEFUN([LTP_CHECK_SELINUX], >> +[dnl >> +AC_CHECK_HEADERS(selinux/selinux.h,[ >> + SELINUX_LIBS="-lselinux"],[ >> + SELINUX_LIBS=""]) >> +AC_SUBST(SELINUX_LIBS) > > > I think checking only the header is not enough to > say libselinux exists. > It may be better to check libselinux with AC_CHECK_LIB > after checking the header file. > Sure, but how often does it happen? Distros are usually making sure headers depend on actual libs packages. $ rpm -q --requires libselinux-devel libselinux = 2.0.73-1.fc10 libselinux.so.1 libsepol-devel >= 2.0.32-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 CAI Qian > > Masatake YAMATO > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
