get -lnuma/-lm linkage from configure

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2011-11-03 17:05:07 -04:00 committed by Neil Horman
parent 15d4781079
commit b344c71980
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ AUTOMAKE_OPTIONS = no-dependencies
EXTRA_DIST = README INSTALL COPYING autogen.sh cap-ng.m4
INCLUDES = -I${top_srcdir}
LIBS = $(CAPNG_LDADD) $(GLIB_LIBS) -lnuma -lm
LIBS = $(CAPNG_LDADD) $(GLIB_LIBS) @LIBS@
AM_CFLAGS = $(GLIB_CFLAGS)
AM_CPPFLAGS = -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE
noinst_HEADERS = bitmap.h constants.h cpumask.h irqbalance.h non-atomic.h \

View file

@ -55,8 +55,8 @@ AC_HEADER_STDC
AC_CHECK_FUNCS(getopt_long)
AC_CHECK_LIB(numa, numa_available, [], [])
AC_CHECK_LIB(m, floor, [], [])
AC_CHECK_LIB(numa, numa_available)
AC_CHECK_LIB(m, floor)
AC_C_CONST
AC_C_INLINE