X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=configure.in;h=7906e16dd3c780fb639f2581a7815574309907ef;hb=79dfd5d87f557a7914002362e78920ad42243ac9;hp=802f31a560cad4e276078aac381179f0ff171812;hpb=1099d48c9c09059aade8605beddfa4ef98f575aa;p=dump.git diff --git a/configure.in b/configure.in index 802f31a..7906e16 100644 --- a/configure.in +++ b/configure.in @@ -122,6 +122,19 @@ fi echo "Using new style F script" ) +dnl +dnl Handle --enable-largefile +dnl +AC_ARG_ENABLE([largefile], +[ --enable-largefile enable Large File System support (your glibc needs to support it)], +if test "$enableval" = "yes" +then + AC_DEFINE(_FILE_OFFSET_BITS,64) +fi +, +echo "Not enabling Large File System support" +) + dnl dnl set $(CC) from --with-cc=value dnl @@ -303,22 +316,6 @@ if test "$ac_cv_func_glob" = "yes"; then fi fi -dnl -dnl Check if sigaction structure has a sa_sigaction field -dnl -AC_MSG_CHECKING(whether struct sigaction has a sa_sigaction field) -AC_CACHE_VAL(dump_cv_struct_sa_sigaction, -AC_TRY_COMPILE( -[#include -#include ], -[struct sigaction action; action.sa_sigaction = NULL;], -[dump_cv_struct_sa_sigaction=yes], -[dump_cv_struct_sa_sigaction=no])) -AC_MSG_RESULT($dump_cv_struct_sa_sigaction) -if test "$dump_cv_struct_sa_sigaction" = yes; then - AC_DEFINE(HAVE_SIGACTION_SA_SIGACTION) -fi - dnl dnl Check for types dnl