aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-18 15:49:47 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-18 15:49:47 -0500
commiteda3df296ed9ec5b885172d53b02fde5cef2a2a1 (patch)
tree45fccfe941fbdbba540862bacc02908a803654e2
parentadd checks for signal() return types (diff)
downloadsandbox-eda3df296ed9ec5b885172d53b02fde5cef2a2a1.tar.gz
sandbox-eda3df296ed9ec5b885172d53b02fde5cef2a2a1.tar.bz2
sandbox-eda3df296ed9ec5b885172d53b02fde5cef2a2a1.zip
add configure checks for the 64bit lfs funcs as well
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--configure.ac4
-rw-r--r--tests/creat64-0.c1
-rw-r--r--tests/fopen64-0.c1
-rw-r--r--tests/open64-0.c1
-rw-r--r--tests/truncate64-0.c1
5 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 756f3cb..06157ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,9 +93,11 @@ AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_CHECK_FUNCS_ONCE([ \
backtrace \
+ creat64 \
faccessat \
fchmodat \
fchownat \
+ fopen64 \
ftruncate \
futimesat \
getcwd \
@@ -109,6 +111,7 @@ AC_CHECK_FUNCS_ONCE([ \
mkdirat \
mkfifoat \
mknodat \
+ open64 \
openat \
openat64 \
pathconf \
@@ -127,6 +130,7 @@ AC_CHECK_FUNCS_ONCE([ \
strstr \
strtok_r \
symlinkat \
+ truncate64 \
unlinkat \
utime \
utimensat \
diff --git a/tests/creat64-0.c b/tests/creat64-0.c
index a7e957e..a494abd 100644
--- a/tests/creat64-0.c
+++ b/tests/creat64-0.c
@@ -1,3 +1,4 @@
+#define CONFIG HAVE_CREAT64
#define FUNC creat64
#define SFUNC "creat64"
#define FUNC_STR "\"%s\", %o"
diff --git a/tests/fopen64-0.c b/tests/fopen64-0.c
index eb2fe44..66f92cf 100644
--- a/tests/fopen64-0.c
+++ b/tests/fopen64-0.c
@@ -1,3 +1,4 @@
+#define CONFIG HAVE_FOPEN64
#define FUNC fopen64
#define SFUNC "fopen64"
#define FUNC_STR "\"%s\", \"%s\""
diff --git a/tests/open64-0.c b/tests/open64-0.c
index 27329c3..9a24de4 100644
--- a/tests/open64-0.c
+++ b/tests/open64-0.c
@@ -1,3 +1,4 @@
+#define CONFIG HAVE_OPEN64
#define FUNC open64
#define SFUNC "open64"
#define FUNC_STR "\"%s\", %o"
diff --git a/tests/truncate64-0.c b/tests/truncate64-0.c
index f22c525..dcb0576 100644
--- a/tests/truncate64-0.c
+++ b/tests/truncate64-0.c
@@ -1,3 +1,4 @@
+#define CONFIG HAVE_TRUNCATE64
#define FUNC truncate64
#define SFUNC "truncate64"
#define FUNC_STR "\"%s\", %i"