From: Yang Tse Date: Thu, 7 Aug 2008 19:03:46 +0000 (+0000) Subject: Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty. X-Git-Tag: curl-7_19_0~212 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=479466a495ce3047fd7747b867a7f4b0c7d21965;p=thirdparty%2Fcurl.git Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty. --- diff --git a/CHANGES b/CHANGES index 09c74603d5..b5ab4b7134 100644 --- a/CHANGES +++ b/CHANGES @@ -18,6 +18,8 @@ Yang Tse (7 Aug 2008) expansion which consists of a single double-quoted string as the result of concatenating all of them. +- Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty. + - Prevent buildconf from removing 'Makefile' and 'missing' files. This would blow away our CVS checked files 'missing' and 'hiper/Makefile'. diff --git a/acinclude.m4 b/acinclude.m4 index 61669a5a49..dacd9a0577 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -3579,13 +3579,13 @@ curl_includes_inttypes="\ ]) -dnl DO_CURL_OFF_T_CHECK(TYPE, SIZE) +dnl DO_CURL_OFF_T_CHECK (TYPE, SIZE) dnl ------------------------------------------------- dnl Internal macro for CURL_CONFIGURE_CURL_OFF_T AC_DEFUN([DO_CURL_OFF_T_CHECK], [ AC_REQUIRE([CURL_INCLUDES_INTTYPES])dnl - if test "$x_typeof" = "unknown"; then + if test "$x_typeof" = "unknown" && test ! -z "$1"; then tmp_includes="" tmp_source="" tmp_fmt=""