X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=acinclude.m4;h=812f4d44f8950932cbe6fd7da050ac6364ad05f5;hb=2da08e801be698df268f35ac6e21cc8a345ba1fb;hp=61290a1802158861f1fbb736838f2c20a6e4690d;hpb=873165af1d9ae450483816b892aa17afd669a7c0;p=pspp-builds.git diff --git a/acinclude.m4 b/acinclude.m4 index 61290a18..812f4d44 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -37,7 +37,10 @@ AC_DEFUN([PSPP_PERL], dnl Check that libplot is available. AC_DEFUN([PSPP_LIBPLOT], [ - AC_ARG_WITH(libplot, [ --without-libplot don't compile in support of charts (using libplot)]) + AC_ARG_WITH( + libplot, + [AS_HELP_STRING([--without-libplot], + [don't compile in support of charts (using libplot)])]) if test x"$with_libplot" != x"no" ; then # Check whether we can link against libplot without any extra libraries. @@ -65,24 +68,6 @@ AC_DEFUN([PSPP_LIBPLOT], fi ]) -dnl Check that off_t is defined as an integer type. -dnl Solaris sometimes declares it as a struct, if it -dnl thinks that the compiler does not support `long long'. -AC_DEFUN([PSPP_OFF_T], -[ - AC_COMPILE_IFELSE([#include - #include - off_t x = 0; - int main (void) - { - lseek (0, 1, 2); - return 0; - }], [], [AC_MSG_ERROR( - [Your system's definition of off_t is broken. You are probably - using Solaris. You can probably fix the problem with - `--disable-largefile' or `CFLAGS=-ansi'.])]) -]) - dnl Check whether a C compiler option is accepted. dnl If so, add it to CFLAGS. dnl Example: PSPP_ENABLE_OPTION(-Wdeclaration-after-statement)