get -lnuma/-lm linkage from configure
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
15d4781079
commit
b344c71980
|
@ -24,7 +24,7 @@ AUTOMAKE_OPTIONS = no-dependencies
|
||||||
EXTRA_DIST = README INSTALL COPYING autogen.sh cap-ng.m4
|
EXTRA_DIST = README INSTALL COPYING autogen.sh cap-ng.m4
|
||||||
|
|
||||||
INCLUDES = -I${top_srcdir}
|
INCLUDES = -I${top_srcdir}
|
||||||
LIBS = $(CAPNG_LDADD) $(GLIB_LIBS) -lnuma -lm
|
LIBS = $(CAPNG_LDADD) $(GLIB_LIBS) @LIBS@
|
||||||
AM_CFLAGS = $(GLIB_CFLAGS)
|
AM_CFLAGS = $(GLIB_CFLAGS)
|
||||||
AM_CPPFLAGS = -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE
|
AM_CPPFLAGS = -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE
|
||||||
noinst_HEADERS = bitmap.h constants.h cpumask.h irqbalance.h non-atomic.h \
|
noinst_HEADERS = bitmap.h constants.h cpumask.h irqbalance.h non-atomic.h \
|
||||||
|
|
|
@ -55,8 +55,8 @@ AC_HEADER_STDC
|
||||||
|
|
||||||
AC_CHECK_FUNCS(getopt_long)
|
AC_CHECK_FUNCS(getopt_long)
|
||||||
|
|
||||||
AC_CHECK_LIB(numa, numa_available, [], [])
|
AC_CHECK_LIB(numa, numa_available)
|
||||||
AC_CHECK_LIB(m, floor, [], [])
|
AC_CHECK_LIB(m, floor)
|
||||||
|
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
|
|
Loading…
Reference in a new issue