Summary: | APR_CHECK_SIZEOF_EXTENDED should be replaced by AC_CHECK_SIZEOF | ||
---|---|---|---|
Product: | APR | Reporter: | Mike Frysinger <vapier> |
Component: | APR | Assignee: | Apache Portable Runtime bugs mailinglist <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | HEAD | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | apr-delete-APR_CHECK_SIZEOF_EXTENDED.patch |
Added to trunk in r 1871980. Backported to apr v1.7 in r 1871981. |
Created attachment 31249 [details] apr-delete-APR_CHECK_SIZEOF_EXTENDED.patch APR_CHECK_SIZEOF_EXTENDED was written to work around deficiencies in old versions of AC_CHECK_SIZEOF. autoconf has since improved significantly. looks like the release is using autoconf-2.69, so it shouldn't be a big problem to update things. specifically, AC_CHECK_SIZEOF supports non-native types (ones that are defined in headers and not the compiler itself), and it supports detecting the size even when cross-compiling. the attached patch against trunk should do the trick.