aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-04-21 15:18:07 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2022-04-22 10:21:42 -0700
commitae65a157634fddf88c1030b4a5bea4c6ec14af95 (patch)
tree369d73f861dd3aea5fb0c6a2ca30a1eaf74b635b
parentd24fd5c01cab09a00ac7be5f5aee9f9ef12f93f3 (diff)
downloadf2fs-tools-ae65a157634fddf88c1030b4a5bea4c6ec14af95.tar.gz
configure.ac: Remove two prototype tests
Since no code uses the HAVE_.*_PROTOTYPE macros, remove the code that sets these macros. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--configure.ac25
1 files changed, 0 insertions, 25 deletions
diff --git a/configure.ac b/configure.ac
index f906be7..c908c93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,31 +146,6 @@ AC_CHECK_FUNCS_ONCE([
AS_IF([test "$ac_cv_header_byteswap_h" = "yes"],
[AC_CHECK_DECLS([bswap_64],,,[#include <byteswap.h>])])
-dnl
-dnl Check to see if llseek() is declared in unistd.h. On some libc's
-dnl it is, and on others it isn't..... Thank you glibc developers....
-dnl
-AC_CHECK_DECL(llseek,[AC_DEFINE(HAVE_LLSEEK_PROTOTYPE, 1,
- [Define to 1 if llseek declared in unistd.h])],,
- [#include <unistd.h>])
-dnl
-dnl Check to see if lseek64() is declared in unistd.h. Glibc's header files
-dnl are so convoluted that I can't tell whether it will always be defined,
-dnl and if it isn't defined while lseek64 is defined in the library,
-dnl disaster will strike.
-dnl
-dnl Warning! Use of --enable-gcc-wall may throw off this test.
-dnl
-dnl
-AC_CHECK_DECL(lseek64,[AC_DEFINE(HAVE_LSEEK64_PROTOTYPE, 1,
- [Define to 1 if lseek64 declared in unistd.h])],,
- [#define _LARGEFILE_SOURCE
- #define _LARGEFILE64_SOURCE
- #include <unistd.h>])
-dnl
-dnl Word sizes...
-dnl
-
# AC_CANONICAL_HOST is needed to access the 'host_os' variable
AC_CANONICAL_HOST