summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.de.marchi@gmail.com>2013-04-09 04:16:57 -0300
committerLucas De Marchi <lucas.de.marchi@gmail.com>2013-04-09 04:38:27 -0300
commit55112d19f7067dff89b1481d5bd8cc49139c4ecb (patch)
tree3e9ba480cbc0c22d4773d9e71a365ac403b1180d /configure.ac
parent1407064e730732dd20952671077007dd4133f7db (diff)
downloadkmod-55112d19f7067dff89b1481d5bd8cc49139c4ecb.tar.gz
kmod-55112d19f7067dff89b1481d5bd8cc49139c4ecb.tar.bz2
kmod-55112d19f7067dff89b1481d5bd8cc49139c4ecb.zip
libkmod: Move finit_module() definition to missing.h
Check for finit_module() and don't use our own static inline function if there's such function in libc (or another lib). In testsuite we need to unconditionally define HAVE_FINIT_MODULE because we want to override this function, and never use the static inline one in missing.h
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1c6c793..066515c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,7 @@ PKG_PROG_PKG_CONFIG
AC_CHECK_FUNCS_ONCE(__xstat)
AC_CHECK_FUNCS_ONCE([__secure_getenv secure_getenv])
+AC_CHECK_FUNCS_ONCE([finit_module])
# dietlibc doesn't have st.st_mtim struct member
AC_CHECK_MEMBERS([struct stat.st_mtim], [], [], [#include <sys/stat.h>])