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 2014/01/22 23:26:54 UTC

[Bug 56053] New: APR_CHECK_SIZEOF_EXTENDED should be replaced by AC_CHECK_SIZEOF

https://issues.apache.org/bugzilla/show_bug.cgi?id=56053

            Bug ID: 56053
           Summary: APR_CHECK_SIZEOF_EXTENDED should be replaced by
                    AC_CHECK_SIZEOF
           Product: APR
           Version: HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: vapier@gentoo.org

Created attachment 31249
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31249&action=edit
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.

-- 
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