Bug 4635 - HAVE_INTPTR_T not set, although detected by configure
HAVE_INTPTR_T not set, although detected by configure
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.25
x64 FreeBSD
: P3 minor
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-17 16:39 UTC by Mikhail T.
Modified: 2007-06-03 17:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2007-05-17 16:39:56 UTC
The configure script successfully detects the presence of intptr_t type, but does not set corresponding define anywhere, leading to undue compiler warnings (when building libsmbclient.c, for example).
Comment 1 Timur Bakeyev 2007-06-03 17:17:11 UTC
(In reply to comment #0)
> The configure script successfully detects the presence of intptr_t type, but
> does not set corresponding define anywhere, leading to undue compiler warnings
> (when building libsmbclient.c, for example).

Samba configure should use AC_CHECK_TYPES macro instead of AC_CHECK_TYPE, it's up to date with default 2.53 version and safe.

As a side effect AC_CHECK_TYPES defines HAVE_TYPE macros automatically.

WBR,
Timur