From: Guenter Knauf Date: Fri, 20 Apr 2012 16:40:30 +0000 (+0000) Subject: Avoid AC_TRY_RUN break with cross-compile. X-Git-Tag: 2.5.0-alpha~7089 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af055354fec419fa7a4ee1abf3ce46e11d1f71f;p=thirdparty%2Fapache%2Fhttpd.git Avoid AC_TRY_RUN break with cross-compile. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1328445 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 6c366e96148..23b16894679 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -707,7 +707,7 @@ int main(void) { return sizeof(void *) < sizeof(long); }], [ap_cv_void_ptr_lt_long=no], [ap_cv_void_ptr_lt_long=yes], - [ap_cv_void_ptr_lt_long=yes])]) + [ap_cv_void_ptr_lt_long="cross compile - not checked"])]) if test "$ap_cv_void_ptr_lt_long" = "yes"; then AC_MSG_ERROR([Size of "void *" is less than size of "long"])