[Patch] Configure broken for Solaris 2.6 (PR#12014)

Jeremy Allison jallison at cthulhu.engr.sgi.com
Thu Dec 17 20:35:37 GMT 1998


David Collier-Brown wrote:

> I'm not entirely sure what the
> --
> #define off_t long
> --
> are in there for, but it definitely causes an interesting
> clash at line 89 of sys/types.h, by causing the line
> to become:
> --
> # 89
> typedef longlong_t       long ;         /* offsets within files */
> --
> 
> Cool!  It normally would say
> --
> typedef longlong_t      off_t;          /* offsets within files */
> --
> but the #define make it suffer a sea-change, rich and strange (;-))
> 
> Can confdefs.h avoid #defining types?  It sort of pollutes the
> configuration tests, although it may be necessary...

This line gets added to confdefs.h if the test for
the definition of off_t fails, done by the :

AC_TYPE_OFF_T

line in configure.in. In other words it thinks
this version of UNIX doesn't have a off_t definition.

The real fix is to determine why the test for off_t
is failing.

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list