bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: groff 1.20 on Interix (all_source)


From: Jay
Subject: RE: groff 1.20 on Interix (all_source)
Date: Thu, 25 Jun 2009 07:05:42 +0000

Cool, thanks. That works, along with the "desired":


$ diff -u lib.h.orig lib.h
--- lib.h.orig  Wed Jun 24 23:41:22 2009
+++ lib.h       Wed Jun 24 23:41:44 2009
@@ -22,6 +22,10 @@
 #include <config.h>
 #endif
+#if defined(__INTERIX) && !defined(_ALL_SOURCE)
+#define _ALL_SOURCE
+#endif
+
 extern "C" {
 #ifndef HAVE_STRERROR
   char *strerror(int);
 
and configure -without-x.
X is mostly there and mostly groff builds against it, but not quite.
 
 - Jay


 
> Date: Thu, 25 Jun 2009 07:35:39 +0200
> To: address@hidden
> CC: address@hidden
> Subject: Re: groff 1.20 on Interix (all_source)
> From: address@hidden
>
>
> > The autoconf tests are run without the #define of _ALL_SOURCE so
> > they get a different view of if things are declared or not. This is
> > a common problem with autoconf.
>
> Not anymore; autoconf version 2.60 added proper support for this, and
> version 2.62 fixed it for Interix.
>
> > If you can foist the _ALL_SOURCE into the autoconf runs of the
> > compiler, then maybe more success.
>
> Please apply the patch below, call `autoconf', do `make clean', and
> run `configure' again.
>
>
> Werner
>
>
> ======================================================================
>
>
> --- configure.ac.old 2009-03-07 08:00:17.000000000 +0100
> +++ configure.ac 2009-06-25 07:32:11.000000000 +0200
> @@ -43,11 +43,13 @@
> GROFF_VERSION_STRING,
> address@hidden,
> [groff-]GROFF_VERSION_STRING)
> -AC_PREREQ([2.59])
> +AC_PREREQ([2.62])
>
> AC_CONFIG_HEADERS([src/include/config.h:src/include/config.hin])
> AC_CONFIG_SRCDIR([src/roff/groff/groff.cpp])
>
> +AC_USE_SYSTEM_EXTENSIONS
> +
> # checks for programs
> AC_PROG_CC
> AC_PROG_CXX

reply via email to

[Prev in Thread] Current Thread [Next in Thread]