From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Fri, 5 Apr 2019 09:13:24 +0200 Subject: [LTP] [PATCH 1/2] m4: Use common LTP_CHECK_LIBC_FUNCS to check libc implementations In-Reply-To: <5CA6C840.9010707@cn.fujitsu.com> References: <1553765807-31789-1-git-send-email-yangx.jy@cn.fujitsu.com> <20190328151228.GA6002@x230> <20190404103131.GB20565@rei.lan> <20190404115851.GA20924@dell5510> <5CA6C840.9010707@cn.fujitsu.com> Message-ID: <20190405071324.GA30802@dell5510> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Xiao, Cyril, > Thanks for your comment. > I will send v2 patch as you suggested. :-) v2 has LTP_CHECK_LIBC_FUNCS in m4/ltp-libc-funcs.m4. IMHO it'd be better to have simple AC_CHECK_FUNCS() in configure.ac, i.e. the same way we handle AC_CHECK_HEADERS(). It might not be good to mix configure.ac and m4/ltp-*.m4, but I guess general functions like this is easier to find in configure.ac than in some of m4/ltp-*.m4. Kind regards, Petr > Best Regards, > Xiao Yang > On 2019/04/04 19:58, Petr Vorel wrote: > > Hi, > > > > Note about formatting: maybe it'd be easier to edit the file if each function > > > > was on separate line. > > > Agreed, also we have AC_CHECK_FUNCS() in the configure.ac so the best > > > step would be moving these there as well. > > +1 (easier to find general things like this in configure.ac than in m4/ltp-*.m4. > > > Other than that this is a great cleanup, thanks for doing this. > > Kind regards, > > Petr