From: Garrett Cooper <yaberauneya@us...> - 2009-07-29 08:33:53
Update of /cvsroot/ltp/ltp/m4
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv27959/m4
Add [lib]numa compile checks in autoconf. Nuke ye olde script which did the same thing in a less portable manner.
--- NEW FILE: ltp-numa.m4 ---
dnl Copyright (c) Cisco Systems Inc., 2009
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
dnl the GNU General Public License for more details.
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Author: Garrett Cooper <yanegomi@...>
AC_CHECK_HEADERS(numaif.h,[LTP_SYSCALL_NUMAIF_HEADER=yes], , , [
# include <numa.h>
dnl if test x"$LTP_SYSCALL_NUMA_HEADER" = xyes; then
dnl AC_CHECK_TYPES([struct user_desc, struct modify_ldt_ldt_s],,,[dnl
dnl #include <numa.h>