commit | d005aeb7529ab690c7b7119f0ef545e2c07a1cea | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Wed Feb 08 20:29:52 2012 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Wed Feb 08 20:29:52 2012 -0200 |
tree | 99c0de89b0c0cd9b564f334d83a3252e040eb587 | |
parent | 995627d04eb73abd689ba243c058616d4dfd3b58 [diff] [blame] |
Check if libc has __xstat uClibc doesn't use __xstat. Check if it exists, otherwise don't export the override function.
diff --git a/configure.ac b/configure.ac index f4bfe78..ce823d3 100644 --- a/configure.ac +++ b/configure.ac
@@ -30,6 +30,8 @@ AC_PATH_PROG([XSLTPROC], [xsltproc]) PKG_PROG_PKG_CONFIG +AC_CHECK_FUNCS_ONCE(__xstat) + AC_ARG_WITH([rootprefix], AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]), [], [with_rootprefix=""])