diff options
author | Bertrand SIMONNET <bsimonnet@google.com> | 2015-07-09 11:05:09 -0700 |
---|---|---|
committer | Bertrand SIMONNET <bsimonnet@google.com> | 2015-07-09 16:29:59 -0700 |
commit | 8eb97d044bca094e812492eb49a5cc1790cf1296 (patch) | |
tree | 517e658ceab73e16b9dc6f194a8518699002b480 /configure.ac | |
parent | f551028d5caab29d4b4a4ae8c159c76c3cfd4887 (diff) | |
download | external_curl-8eb97d044bca094e812492eb49a5cc1790cf1296.tar.gz external_curl-8eb97d044bca094e812492eb49a5cc1790cf1296.tar.bz2 external_curl-8eb97d044bca094e812492eb49a5cc1790cf1296.zip |
Don't rely on hardcoded type size.
Instead of hard coding the type size computed in configure (which
prevents cross compilation), use either the type sizes defined by bionic
or sizeof instruction.
BUG: 22347561
Change-Id: Ia1d8ba914e2f410754d0bd49618956d19d517d25
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index 57ac11fc..a5e8b4ce 100644 --- a/configure.ac +++ b/configure.ac @@ -174,14 +174,6 @@ dnl INITIAL_LDFLAGS=$LDFLAGS INITIAL_LIBS=$LIBS -dnl -dnl Detect the canonical host and target build environment -dnl - -AC_CANONICAL_HOST -dnl Get system canonical name -AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS]) - dnl Checks for programs. dnl Our curl_off_t internal and external configure settings @@ -2966,12 +2958,6 @@ AC_HEADER_TIME CURL_CHECK_STRUCT_TIMEVAL CURL_VERIFY_RUNTIMELIBS -AC_CHECK_SIZEOF(size_t) -AC_CHECK_SIZEOF(long) -AC_CHECK_SIZEOF(int) -AC_CHECK_SIZEOF(short) -CURL_CONFIGURE_LONG -AC_CHECK_SIZEOF(time_t) AC_CHECK_SIZEOF(off_t) soname_bump=no |