You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2011/08/25 22:27:19 UTC
DO NOT REPLY [Bug 51724] New: [PATCH] Invalid detection of
apr_size_t and apr_ssize_t in configure
https://issues.apache.org/bugzilla/show_bug.cgi?id=51724
Bug #: 51724
Summary: [PATCH] Invalid detection of apr_size_t and
apr_ssize_t in configure
Product: APR
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: APR
AssignedTo: bugs@apr.apache.org
ReportedBy: ipkiss@gmail.com
Classification: Unclassified
Created attachment 27435
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27435
Patch solving the issue
When cross-compiling apr (on linux) to target Windows 64, the configure script
fails with the following error:
checking size of ssize_t... 8
checking which format to use for apr_ssize_t... configure: error: could not
determine the proper format for apr_ssize_t
The attached patch fixes the problem (and a similar one with apr_size_t), by
dealing with the "long long" case which was not properly taken care of.
Side note: in configure.in:1500, the test seems dubious, because it references
"$ac_cv_sizeof_longlong", which is not used in any other place in the generated
configure script (unlike "$ac_cv_sizeof_long_long", used in many places). This
looks like dead code to me...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org